Maths - 1 - Unit - 4.3
Maths - 1 - Unit - 4.3
GTU # 3110014
Unit-4
Partial
Derivatives
( )
𝜕f
𝜕x ( a , b)
=0∧
𝜕f
𝜕y ( ) ( a ,b )
=0 .
𝜕f 𝜕f
( 𝟐 ) . Solv =0 , =0to find the stationary points
e 𝜕x 𝜕y
2 2 2
𝜕 f 𝜕 f 𝜕 f
( 𝟑 ) . Findr = 2 , s= & t= .
𝜕x 𝜕 x𝜕 y 𝜕y
2
( ) ( ) ( )
2 2 2
( 𝟒 ) . Findr = 𝜕 f2 , s=
𝜕 f
& t=
𝜕 f
.
𝜕x ( a 1, b 1 ) 𝜕x𝜕 y (a1 , b1 ) 𝜕y
2
( a1 , b1 )
( )
2
𝜕 f 𝜕 𝜕 f 𝜕
r= ¿
2
𝜕x 𝜕x 𝜕x
¿
𝜕 x
( )¿ 6 x −30
( )
2
𝜕 f ¿ 𝜕 𝜕f ¿ 𝜕
s= ( )¿ 6 y
𝜕x𝜕 y 𝜕x 𝜕 y 𝜕 x
( )
2
𝜕 f 𝜕 𝜕f 𝜕
t= ¿ ¿ ()¿ 6 x −30
𝜕y 𝜕y 𝜕y 𝜕 y
2
⇒ Max ( f ) =112
⇒ Min ( f )=108
( )
n: 2
𝜕 f 𝜕 𝜕 f 𝜕
𝜕f
r= ¿
2
𝜕x 𝜕x 𝜕x
¿
𝜕 x
( ¿
) 2
=¿ 2 x − y −1
𝜕x
𝜕x𝜕 y 𝜕x(𝜕 y ) 𝜕 x
2
𝜕 f ¿ 𝜕 𝜕f ¿ 𝜕
s= ( )¿ −1
𝜕f
𝜕y
−2
−
=¿ 2 y − x +1
( )
2
𝜕 f 𝜕 𝜕f 𝜕
t= ¿ ¿ ()¿−2
𝜕y 𝜕y 𝜕y 𝜕 y
2
⇒ r=2 , s=−1∧t =− 2 at
3 1
,
5 5 ( )
⇒ rt − s =( 2 ) ( − 2 ) − ( −¿1−
) 4 − 1¿ − 5
2 2
2
⇒ rt − s < 0
3 1
( )
⇒ , is saddle point .
5 5
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 14
Example of Local Extreme Values
Example For what values of the constant k does the second
8: derivative test
guarantee that will have a saddle point at
A local minimum at
Solutio Here,
( )
n: 𝜕 f 𝜕 𝜕 f
2
𝜕
𝜕f
r= ¿
2
𝜕x 𝜕x 𝜕x
¿
𝜕 x ¿
() 2
𝜕 x 2 x +ky
=¿
( )
2
𝜕 f ¿ 𝜕 𝜕f ¿ 𝜕 ()
𝜕f s= 𝜕 x ¿k
𝜕x𝜕 y 𝜕x 𝜕 y
𝜕y
k
=¿
kxx + 2 y
( )
2
𝜕 f 𝜕 𝜕f 𝜕
t= ¿ ¿ ¿2
()
𝜕y 𝜕y 𝜕y 𝜕 y
2
⇒ F ( x , y , z ) =( )+ λ () z
𝜕F 𝜕F 𝜕F
=0 ,
Solve the four equations =0 , =0 & ϕ ( x , y , z )=0
to find
𝜕x 𝜕y 𝜕z
the stationary
points.
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 25
Example of Lagrange’s Multiplier Method
Solution F ( x , y , z )=( xyz ) + λ ( x+ y + z − a )
Continue:
𝜕F 𝜕F 𝜕F
=¿yz + λ ( 1 )=0=¿xz + λ (1 )=0 𝜕z
=¿xy + λ ( 1 )=0
𝜕x 𝜕y
−− → ( 𝟏 ) ⇒ λ=− xz
⇒ λ=− yz −− → ( 𝟐 ) ⇒ λ=− xy −− → ( 𝟑 )
⇒ PQ =¿( x −1 ) + ( y −1 ) + ( z − 1 ) ¿ x +2 y + 3 z=13
2 2 2 2
2 2 2
⇒ f ( x , y , z ) =( x − 1 ) + ( y − 1 ) + ( z − 1 )
¿ ϕ ( x , y , z ) =x +2 y +3 z −13=0
𝜕F
𝜕z
=¿2 ( z − 1 ) + λ ( 3 )=0 x +2 y +3 z −13=0
⇒ λ =−
2
( z−−
−1 → ) (𝟑 ) ⇒ x +2 y +3 z =13
−− → ( 𝟒 )
3
From equations we get 2 ( x − 1 )= y −1
2 ⇒ 2 x − 2= y − 1
−2 ( x −1 )= − ( y −1 ) =− ( z −1 )
3 ⇒ 2 x= y+1
y +1
⇒ x= −− → ( 𝟓 )
2
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 30
Example of Lagrange’s Multiplier Method
Solution +3 zz=13
x +2 y +3 =13−− → ( 𝟒 )
Continue:
y+1
y +1
x=
2 2
−− → ( 𝟓 )
2
( y −1) = ( z −1)
3
⇒ 3 ( y −1 ) =2 ( z −1 )
⇒ 3 y −3=2 z −2
⇒
( )
¿ + 2 y +3 ¿ =13
( )
⇒ 3 y −1=2 z
33yy−−11
⇒ ( y+1
2
+2 y + )
9 y −3
2
=13 ( )
⇒ z=
22
−− → ( 𝟔 ) ⇒ y +1+4 y +9 y −3=26
⇒ 14 y =28
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 31
Example of Lagrange’s Multiplier Method
Solution y+1
Continue:
x=
2
−− → ( 𝟓 )
y+1 3 y −1
14 y =28 x=
2
z=
2 3 y −1
28 z=
2
−− → ( 𝟔 )
⇒ y= 2+1 3 (2)− 1
14 ⇒ x= ⇒ z=
2 2
⇒ y=2 3 5
⇒ x= ⇒ z=
2 2
2 2 2 2 2 2 2
⇒ PQ =¿( x − 1 ) + ( y − 2 ) + ( z+ 1 ) ¿ x + y + z =24
2 2 2
⇒ f ( x , y , z ) =( x − 1 ) + ( y − 2 ) + ( z +1 )
2 2 2
( )
¿ ϕ x , y , z =x + y + z −24=0
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 33
Example of Lagrange’s Multiplier Method
2 2 2 2 2
Solution f ( x , y , z( x
)=−( x1 − 1() y+−
) + ( y2−
) +2() z+
+ (1
z )+
Continue: 2 2 2 2 2 2
Construct the new function ϕ ( x , y , z )x
=+ + y+ +
x y z z−24
−24=0
as
⇒ F ( x , y , z ) =( ) + λ ( )
𝜕F 𝜕F 𝜕F
Solve the four =0 , =0 , =0 & ϕ ( x , y , z )=0to find
equations 𝜕 x 𝜕 y 𝜕 z the
stationary
𝜕points.
F 𝜕F
=¿2 ( x − 1 ) + λ ( 2 x )=0 =¿2 ( y −2 ) + λ ( 2 y )=0
𝜕x 𝜕y
( x −1 ) ( y − 2)
⇒ λ=−
x
−− → ( 𝟏 ) ⇒ λ=− −− → ( 𝟐 )
y
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 34
Example of Lagrange’s Multiplier Method
Solution
Continue:
F ( x , y , z )=( ( x − 1 ) + ( y − 2 ) + ( z +1 ) ) + λ ( x + y + z − 24 )
2 2 2 2 2 2
𝜕F 2 2 2
=¿2 ( z +1 ) + λ ( 2 z ) =0 x + y + z −24 =0
𝜕z
( z+ 1 ) ⇒ x
2
+ y
2
+ z
2
=24−− → ( 𝟒 )
⇒ λ=− −− → ( 𝟑 )
z
( x −1 ) ( y − 2 )
=
From equations we get x y
( x − 1) ( y −2 ) ( z +1 ) ⇒ xy − y =xy − 2 x
− =− =−
x y z ⇒ − y =−2 x
( x −1 ) ( y − 2 ) ( z +1 ) y
⇒ = = ⇒ x= −− → ( 𝟓 )
x y z 2
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 35
Example of Lagrange’s Multiplier Method
yy
Solution 2
=24−− → ( 𝟒x) =
+zz =24
x +y +
22 22
−− → ( 𝟓
22
Continue:
( x −1 ) ( y − 2 ) ( z +1 )
= =
x y z
( y − 2 ) ( z +1 ) 2 2
( )¿ + y + − ¿ =24
( )
2
= ⇒
y z
⇒ z ( y − 2 )= y ( z +1 ) y 2 y
2 2
⇒ +y + = 24
⇒ yz −2 z= yz + y 4 4
2 2 2
y
y ⇒ y + 4 y + y =96
− −− → ( 𝟔 )
⇒ z =− 2 2
2
2 ⇒ 6 y =96⇒ y =16
⇒ y =± 4
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 36
Example of Lagrange’s Multiplier Method
Solution y =± 4 x=
y
−− → ( 𝟓 )
Continue: 2
y
y y z= − −− → ( 𝟔
x= z= − 2
2 2
¿±4 ¿± 4
⇒ x= ⇒ z =−
2 2
⇒ x =± 2 ⇒ z =∓ 2
Hence, stationary P
points are
At, point
PQ=¿√ ( 2 −1 ) + ( 4 − 2 ) + ( −2+1 )
2 2 2
⇒ PQ =√ 6
¿ √ 1+ 4+ 1¿ √ 6 Which is shortest
At, point distance
PQ=¿√ ( −2 −1 ) + (− 4 −2 ) + ( 2+ 1 )
2 2 2 ⇒ PQ =√ 54
Which is largest
¿ √ 9+ 36+ 9¿ √ 54 distance
⇒ x =2
2 yy
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 42
Example of Lagrange’s Multiplier Method
y =2 √ 2
3
Solution
Continue:
x=2 y z=2 y
⇒ x =4 √ 2 ⇒ z =4 √ 2
3 3
Dimensions¿ ( x , y , z ) =( 4 √ 2 , 2 √ 2 , 4 √ 2 ) .
3 3 3
Del
operator(nabla)
¿(𝜕
,
𝜕
,
𝜕
¿
𝜕x 𝜕 y 𝜕z 𝜕x
𝜕 ^ 𝜕 ^ 𝜕 ^
i+
𝜕y
j+
𝜕z
k. )
The gradient of a scalar function is denoted by defined as
grad ¿
𝜕
(,
𝜕
,
𝜕
𝜕x 𝜕 y 𝜕z
f¿ , ) (
𝜕 f 𝜕 f 𝜕 f 𝜕 f ^ 𝜕f ^ 𝜕 f ^
, ¿
𝜕x 𝜕 y 𝜕z 𝜕x
i+
𝜕y
j+
𝜕z
k )
The gradient of scalar function is
a vector.
( )
n: 𝜕 f 𝜕f 𝜕 f
⇒ ∇ f =¿𝜕 x , 𝜕 y , 𝜕 z
¿ e
2 2 2
x + y +z
¿2e (x, y , z)
2
r
⇒ ∇ f =2 e ( x , y , z )
⇒
A 1
= ( 3 ,− 4 ) =
| A| 5
3
5 ( ,
−4
5 )
( ) ( ) ( )
A 3 −4 3 −4 5
D x f =( ∇ f )( a , b ) ∙ ¿ ( 1 , 2) ∙ , ¿1 +2 ¿−
| A| 5 5 5 5 5
⇒ D A f =− 1
⇒ ∇ f (1 , 1 ,0 )=( 2 , −2 , −1 )
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 53
Example of Directional Derivative
Example Define gradient of a function. Use it to find directional
3: at in the direction
derivative of .
Solution Here, .
Continue:
⇒|a|= √ 2 + ( −3 ) + 6
2 2 2
⇒
a 1
|a| 7
2
7
3 6
= ( 2 , −3 , 6 )= ,− ,
7 7 ( )
( )
a
D x f =( ∇ f )( 1 ,1 ,0 ) ∙ ¿ ( 2 , −2 , −1 ) ∙ 2 ,− 3 , 6 4
|a| 7 7 7 ⇒ Dx f = 7
¿2
2
7
−2 − ( ) ( ) ( )
3
7
6 4 6
−1 ¿ + − =
7 7 7
6
7
4
7
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 54
Example of Directional Derivative
Example Find the directional derivative of at along a direction
10: equally inclined with co-
Solutio
n:
ordinate axis. Point
Here, Direction ¿
(
𝜕 f 𝜕f 𝜕 f
⇒ ∇ f =¿𝜕 x , 𝜕 y , 𝜕 z ¿ 2 2
( )
2 2
) 2 2
2 xy z ,2 yx z ,2 zx y
⇒ ∇ f (1 , 1 ,−1 )=¿( 2 ( 1 ) ( 1 )2 ( − 1 )2 , 2 ( 1 ) ( 1 )2 ( − 1 ) 2 , 2 ( − 1 ) ( 1 )2 ( 1 )2 )
⇒ ∇ f (1 , 1 ,−1 )=( 2 , 2 , −2 ) .
c Here, ⇒|a|= √ 1 + 1 + 1 2 2 2
⇒
a
=¿
1
|a| √ 3
( 1 , 1 ,1¿
)
( 1
,
1
,
√3 √3 √3
1
)
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 55
Example of Directional Derivative
Example Find the directional derivative of at along a direction
10: equally inclined with co-
ordinate axis.
Solution
Continue: a
D x f =( ∇ f )( 1 ,1 ,− 1) ∙
1 1 1
¿ ( 2 , 2 , −2 ) ∙
|a| ( √3 , ,
√3 √3 )
( ) ( ) ( )
1 1 1 2
¿2 +2 −2 ¿
√3 √3 √3 √ 3
2
⇒DAf =
√3
Prof. Darshan R. Pipaliya #3110014 (M-I) Unit 4 – Partial Derivatives 56
Example of Directional Derivative
Example Find the directional derivative if
12:
and u is the unit vector given What is
Solutio by angle
n:
c The directional derivative ofin direction of unit vectorwhich
makes an angle with positivex-axis and at
.pointis
THA
NK
YOU