Professional Documents
Culture Documents
Chap 1 Advanced Differentiation
Chap 1 Advanced Differentiation
1.1 INTRODUCTION
dy dy du
= × where u=u ( x ) .
dx du d x
Let u(x ) and v( x) be the function of variable x and y=f ( x )=u ∙ v then
dy du dv
=v +u ∨ y ' =v u' +u v ' .
dx dx dx
u
Let u(x ) and v( x) be the function of variable x and y=f ( x )= then
v
du dv
v −u
dy dx dx ' v u ' −uv '
= ∨ y = .
dx v2 v2
−1
dy 1
[ 2
]
= ( 3 x −4 x +9 ) 2 ( 6 x −4 ) .
dx 2
1
Chapter 1 Advanced Differentiation
3 dy
Example 2 Given y=e2 x−x . Find dx .
Solution:
dy
Example 3 Given y=sin ( 2 x +1 ) . Find .
dx
Solution:
dy
Example 4 Given y=ln ( x5 + cos x ) . Find .
dx
Solution:
dy
Example 5 Given y=2 x 3 e−5 x. Find .
dx
du x∧dv
=6 =−5 e−5 x
dx dx
dy du dv
=v +u =e−5 x ∙ 6 x + (−5 e−5 x ) ∙ 2 x 3
dx dx dx
dy
=6 x e−5 x −10 x 3 e−5 x .
dx
x 2−x dy
.
Example 6 Given y= . Find
ln x dx
du 1∧dv 1
=2 x− =
dx dx x
2
Chapter 1 Advanced Differentiation
du dv 1
v −u ln x ( 2 x−1 ) −( x 2−x )
dy dx dx x
= =
dx v 2
( ln x ) 2
3
1 1 dy 2 1 2
(
y= x + 2
x
2
) { ( dx )(
=3 2 x − 3 x 2 + 2
x x )}
2 y=tan ( 3 x 2+ 4 )
{ dydx =6 x sec (3 x + 4)}
2 2
3 y=x 3 e 5 x
{ dydx =3 x e
2 5x
+5 e 5 x x3 }
4 y=ln ( 2−x + x−3 ) −4
dy (−1−3 x )
{ =
dx ( 2−x+ x−3 ) }
5 2 √x 1
y=
1−x
{ dy √ x
=
+√x
dx ( 1−x )2 }
1.2 IMPLICIT DIFFERENTIATION
a) u= y 5
b) w=e 3 t
c) f =cos 2 θ
3
Chapter 1 Advanced Differentiation
Solution:
du dy
a) =5 y 4 .
dx dx
dw dt
b) =3 e 3 t .
dx dx
df dθ
c) =−2 sin2 θ .
dx dx
a) f ( t ,θ )=e 2 t sin 3θ .
1
b) w ( u , v )=u 3 v 4 .
ln y
c) z ( x , y )= 2 .
x −1
Solution:
df dt dθ 2 t dt dθ
a)
dx (
= 2 e2 t
dx )
sin 3 θ+ 3 cos 3θ
dx( )
e =( 2 e2 t sin 3 θ ) + ( 3 e 2 t sin 3θ ) .
dx dx
−2 1 −2 1
dw 1 du 4 dv 3 1 du ( )dv
b) = u
dx 3 ( 3
dx ) (
v + 4 v3
dx
u = u
3 ) ( 3
v4 ) dx
+ 4 u 3 v3
dx
.
( x 2−1 ) 1 dy −2 x ln y
c) dz = y dx
=
1 dy 2 x ln y
− .
dx 2
( x −1 )
2
y ( x −1 ) dx ( x 2−1 )
2 2
d 2
( x + 2 xy − y 2 )= d ( 3 )
dx dx
d 2
( x ) +2 d ( xy )− d ( y 2) =0
dx dx dx
dy dy
(
2 x+2 y+ x
dx )
−2 y =0
dx
4
Chapter 1 Advanced Differentiation
dy dy
2x −2 y =−2 x−2 y
dx dx
dy −2 x−2 y −( x+ y )
= =
dx 2 x−2 y ( x− y )
dy
Example 10 Find if sin xy=3 x−2.
dx
Solution:
d d
( sin xy )= ( 3 x−2 )
dx dx
( y + x dydx )cos xy =3
dy
y cos xy + x cos xy =3
dx
dy 3− y cos xy
= .
dx x cos xy
Solution:
d 2 xy d
( e ) = ( ln x−x 3 )
dx dx
dy 2 xy 1
(
2 y+x
dx)e = −3 x 2
x
dy 1
2 x e 2 xy = −3 x 2−2 y
dx x
1
−3 x 2−2 y
dy x
= .
dx 2 x e 2 xy
5
Chapter 1 Advanced Differentiation
1 x + x 2 y + y 3=100 dy −1−2 xy
{ =
dx x 2+ 3 y 2 }
2 2 x2 + y 2=3 e xy dy 3 y −2 x
{ =
dx 2 y−3 x e xy }
3 ln ( 3 xy )=sin x−cos y 1
{ dy
=
dx 1
cos x−
y
−sin y
x
}
2 2
4 x e x + y =5 2
dy −( 2 x +1 )
{ dx
=
2 xy }
5 2 x +3 y
x2 + y2
=9
{ dydx = 1−6
6 x−1
y}
In calculus, partial derivative of function with several variables is its derivatives with
respect to one of those variables where others variables is held as a constant. Partial derivative
is used in approximation error, vector calculus and differential geometry.
The partial derivative of a function f with respect to the variable x is variously denoted by
∂f ∂ f (x , y)
f x∨ ∨ ∨D x .
∂x ∂x
f ( x , y )=x 2+ 2 xy + y 2 .
∂f ∂ ∂ ∂
=f x = ( x 2 ) + ( 2 xy ) + ( y 2)
∂x ∂x ∂x ∂x
∂f
=2 x+ 2 y ( 1 ) +0
∂x
6
Chapter 1 Advanced Differentiation
∂f
=f x =2 x +2 y .
∂x
If we differentiate f (x , y ) with respect to y, then variable x must be the constant, hence will get
∂f ∂ 2 ∂
=f y = ( x ) + ( 2 xy )+ ∂ ( y 2 )
∂y ∂y ∂y ∂y
∂f
=f y =0+2 x(1)+2 y
∂y
f y =2 x+ 2 y .
y 3
Solution: Then f x =2 e y −3 x e z 2 , f y =2 x e y +ln z and f z = −2 z x .
z
Let consider a function of two variables, f (x , y ), the first order of partial derivatives can
be done with respect to x∨ y . Then, for second order partial derivatives, we can have 4 possible
cases, that is,
∂ ∂f ∂2 f
( f x ) x =f xx = ( ) = 2
∂x ∂x ∂x
∂ ∂f ∂2 f
( f x ) y =f xy= ( ) =
∂ y ∂x ∂ y ∂ x
∂ ∂f ∂2 f
( f y ) x =f yx= ( ) =
∂x ∂ y ∂ x∂ y
∂ ∂f ∂2 f
( f y ) y =f yy = ( )= 2
∂y ∂ y ∂ y
Solution:
f x =6 x +2 y , f y =−2 e 2 y + 2 x
f xx =6 , f yy =−4 e2 y
7
Chapter 1 Advanced Differentiation
∂
( f x ) y = ∂ y ( 6 x +2 y )=2 ,
∂ 2y
( f y ) x = ∂ x (−2 e + 2 x ) =2.
Solution:
Solution:
Partial derivatives also can be done implicit way when you have implicit function as example
below.
∂f ∂f
Example 16 Find the value of and at the point ( 4 ,−5 ).
∂x ∂y
f ( x , y )=x 2+3 xy + y −1
Solution:
∂f
=2 x+ 3 y
∂x
∂ f ( 4 ,−5 )
=2 ( 4 ) +3 (−5 )=−7.
∂x
∂f
=3 x +1
∂y
∂ ( 4 ,−5 )
=3 ( 4 ) +1=13.
∂x
∂z
Example 17 Determine if the equation is
∂x
8
Chapter 1 Advanced Differentiation
yz−ln z =x+ y .
Solution: The function is define z as dependent variable and x , y are the independent
variables.
∂ ∂ ∂
( yz )− ( ln z )= ( x+ y )
∂x ∂x ∂x
∂z 1 ∂z ∂ ∂
y − = ( x )+ ( y )
∂ x z ∂ x ∂x ∂x
( y − 1z ) ∂∂ xz =1
∂z 1
= .
∂x 1
y−
z
∂2 f
∂f ∧∂2 f
Find , ∂ f ∂2 f ∂ 2 f ∂ x ∂ y
, 2, 2 ,
.
∂x
∂y ∂x ∂y ∂ y∂x
−1 −1
{f xx =
( x+ y ) 2
∧f yy =
( x + y )2 }
−1
{f yx=f x y =
( x+ y )2 }
4. f ( x , y )=sin ( x−3 y ) { f x =cos ( x−3 y )∧f y =−3 cos ( x −3 y ) }
9
Chapter 1 Advanced Differentiation
5. f ( x , y )=e xy ln y e xy
{ xy
f x = y e ln y∧f y =x e ln y+
xy
y }
x e xy x xy
{ 2 xy
f xx = y e ln y∧f yy =x e ln y +
xy 2
2
xy
xy
xy
y
+ e
y }
{ f yx =f xy=e ln y+ x e ln y +e }
Total differential is the derivative of a function with several variables and involved the partial
differentiation of each variables, example, let f (x , y , z) and x ( t ) , y ( t ) and z ( t );
df ∂ f ∂f ∂f
= dx+ dy + dz∨¿
dt ∂ x ∂y ∂z
df ∂ f dx ∂ f dy ∂ f dz
= ∙ + ∙ + ∙
dt ∂ x dt ∂ y dt ∂ z dt
∂w ∂w
Solution: The total differential, dw= ∙ dx + ∙ dy .
∂x ∂y
∂w ∂w
=2 x−3 y , =−3 x +2 y
∂x ∂y
10
Chapter 1 Advanced Differentiation
Example 19 Determine the smallest perimeter possible for a rectangle whose area is 16 cm2.
16
y= .
x
16
Substitute y= into perimeter;
x
32
P=2 x + =2 x +32 x−1 (i)
x
dP
=2−32 x−2 (ii)
dx
dp
Find the critical point, =0 ;
dx
2−32 x−2=0
32
=2
x2
x 2=16
x=± 4
Differentiate once again Equation (ii) to determine whether the critical value is the maximum or
the minimum one,
d2 P −3
2
=64 x
dx
If x=−4,
d2 P 64
2
= =−1
dx (−4 )3
If x=4,
11
Chapter 1 Advanced Differentiation
d 2 P 64
= =1
d x 2 ( 4 )3
d2 P
Since >0 then we choose x=4 as the minimum critical point.
d x2
16
y= =4 .
4
Example 20 As a designer, you are asked to design a 1 l can shaped like a right circular
cylinder. Determine the dimensions will use the least material.
1000
h=
π r2
500
Then, substitute h= into the surface area, we get
π r2
A=2 π r 2 +2 πr
( 1000
πr )
2
A=2 π r 2 + ( 2000
r )
2
=2 π r +2000 r −1
dA
=4 πr−2000 r −2
dr
12
Chapter 1 Advanced Differentiation
dA
=4 πr−2000 r −2=0
dr
2000
4 πr =
r2
2000
r 3=
4π
2000
r=
√
3
4π
≈ 5.42 .
To determine which is the minimum or maximum critical point, differentiate once again;
d2 A −3
2
=4 π +4000 r
dr
2000
If r =
√
3
4π
=5.42, then
d2 A 2000
2
=4 π + ,(+ve value )
dr (5.42 )3
1000
h= =10.84 cm.
π ( 5.42 )2
1 Find the smallest perimeter possible for a rectangle which area is 16 cm 2. Determine the
dimension. { 16 cm ; x=4 , y =4 }
5 Your iron works has contracted to design and build a 500 ft 3 , square-based, open-top,
rectangular steel holding tank for a paper company. The tank is to be made by welding
thin stainless steel plates together along their edges. As the production engineer, your
job is to find dimensions for the base and height that will make the tank weigh as little
as possible. What dimensions do you tell the shop to use?
{ edges of the base=10 ft∧depth=5 ft }
Generally we can obtain the rates of change of many problems by using the total
differential equation where if given that z=f ( x , y , z ) then the rates of change is
df ∂ f dx ∂ f dy ∂ f dz
= + + .
dt ∂ x dt ∂ y dt ∂ z dt
Example 21 The height of a right circular cone is increasing at 3 mm/ s and its radius is
decreasing at 2 mm/ s. Determine the rate at which the volume is changing , correct to 3
significant figures, when the height is 3.2 cm and the radius is 1.5 cm.
Solution:
1 2
Volume of a right circular cone, V = π r h .(i)
3
dV ∂V dr ∂ V dh
= + .(ii)
dt ∂ r dt ∂ h dt
dh
Given that the height is increasing, =+3 mm/ s=+0.3 cm/s .
dt
dr
Also, the radius is decreasing, =−2 mm/ s=¿−0.2 cm/s ¿.
dt
14
Chapter 1 Advanced Differentiation
∂V 2 πrh∧∂V 1 2
= = πr .
∂r 3 ∂h 3
dV 2 πrh
= (−0.2 ) + π r 2 ( 0.3 )
dt 3
When r =1.5∧h=3.2 ;
dV −0.4
= π ( 1.5 ) ( 3.2 )+ 3 π ( 1.5 )2=−1.304 cm3 /s .
dt 3
1
Example 22 The area A of a triangle is given by A= ac sin B, where B is the angle
2
between sides a and c. If a is increasing at 0.4 units /s, c is decreasing at 0.8 units /s and
B is increasing at 0.2 units/ s, find the rate of change of the area of the triangle, correct to
π
3 significant figures, when a is 3 units, c is 4 units and B is rad .
6
Solution:
1
A= ac sin B .(i)
2
da dc s∧dB
Also, =+0.4 units /s , =−0.8 unit / =+ 0.2unit / s .
dt dt dt
dA ∂ A da ∂ A dc ∂ A dB
= + + (ii)
dt ∂ a dt ∂ c dt ∂ B dt
∂A 1 ∂A 1 ∂A 1
= c sin B , = a sin B , = ac cos B .
∂a 2 ∂c 2 ∂B 2
15
Chapter 1 Advanced Differentiation
dA 1 1 1
= c sin B ( 0.4 ) + a sin B (−0.8 )+ ac cos B ( 0.2 )
dt 2 2 2
π
When a=3 units , c=4 units∧B= ,
6
dA 1 π 1 π 1 π
= ( 4 ) sin
dt 2 6()
( 0.4 ) + ( 3 ) sin
2 ()
6
(−0.8 ) + ( 3 ) ( 4 ) cos
2 6()
( 0.2 )=0.839 unit 2 /s .
The approximation or small increment (small changes) of any model or function, let say
f ( x , y , z ) can be obtained by
∂f ∂f ∂f
δf ≈ δx + δy + δz .
∂x ∂y ∂z
p V 1.4=k .(i)
Determine the approximate percentage error in k when the pressure is increased by 4 % and the
volume is decreased by 1.5 %.
Solution:
From the total differential, we can obtain the approximate percentage error equation,
∂k ∂k
δk ≈ δp+ δV .(ii)
∂p ∂V
∂ k V 1.4 ∧∂ k 0.4
= =1.4 p V
∂p ∂V
There is also 1.5% of volume decreased, then changes in volume is δV =−1.5 %V =−0.015 V .
16
Chapter 1 Advanced Differentiation
R4 θ 4 −1
G= =R θ L ( i)
L
where R is the radius, θ is the angle of twist and L is the length. Determine the approximate
percentage error in G when R is increased by 2 %, θ is reduced by 5 % and L is increased by
4 %.
Solution:
From the total differential, we can obtain the approximate percentage error equation,
∂G ∂G ∂G
δG ≈ δR + δθ + δL .(ii)
∂R ∂θ ∂L
There is 4% of the length increased, then the changes in the length is δL=+ 4 %L=0.04 L.
17