13 Partial Differentiation
13 Partial Differentiation
Examples
1) If z = x2 + 4y2 find ∂z
∂x and ∂z
∂y
∂z
= 2x + 0 [since y is treated as a constant]
∂x
= 2x
∂z
= 0 + 8y [since x is treated as a constant]
∂y
= 8y.
∂f ∂f
2) If f ( x, y) = xy + 2y2 find ∂x and ∂y
∂f
= y+0 [Just as the derivative of 2x is x,the derivative of xy is y
∂x
when y is treated as a constant]
=y
∂f
= x + 4y
∂y
2
∂f ∂f
3) If f ( x, y) = x2 y + y2 sin x find ∂x and ∂y
∂f
= 2xy + y2 cos x
∂x
∂f
= x2 + 2y sin x
∂y
∂f ∂f
4) If f ( x, y) = xy2 sin( xy) find ∂x and ∂y
∂f
= y2 sin( xy) + xy2 × y cos( xy)[applying the product rule]
∂x
= y2 sin( xy) + xy3 cos( xy)
∂f
= 2xy sin( xy) + xy2 × x cos( xy)
∂y
= 2xy sin( xy) + x2 y2 cos( xy)
Example
If f ( x, y) = 2x3 y + 3y2 find f y (1, 3)
f ( x, y) = 2x3 y + 3y2
⇒ f y = 2x3 + 6y
⇒ f y (1, 3) = 2 + 18
= 20.
Example
Find all second order partial derivatives of f ( x, y) = x2 y3 + 2x cos y
f x = 2xy3 + 2 cos y
⇒ f xx = 2y3 and f xy = 6xy2 − 2 sin y
f y = 3x2 y − 2x cos y
⇒ f yy = 6x2 y − 2x sin yand f yx = 6xy2 − 2 sin y
Exercises
∂z ∂z
1. Find the partial derivatives ∂x and ∂y for each of the following
a) z = 3x4 + 2y3
b) z = x2 y
c) z = 3xe2y
d) z = ln( x3 y5 − 2)
Answers
∂z
a) ∂x = 12x3 , ∂y
∂z
=6y2
∂z ∂z 2
b) ∂x = 2xy, ∂y = x
∂z 2y ∂z 2y
c) ∂x = 3e , ∂y = 6xe
∂z 3x2 y5 ∂z 5x3 y4
d) ∂x = x3 y5 −2 , ∂y = x3 y5 −2
2. Find the value of the indicated partial derivative at the given point
a) f ( x, y) = x4 − 4y2 , find f x (2, 3)
b) f ( x, y) = ln( x2 + y3 ), find f y (−1, 1)
Answers
a) 32
b) 1.5
3. Find the first and second order partial derivatives of the following
a) f ( x, y) = x ln(y)
b) f ( x, y) = x3 + x2 y − 3xy2 + y3
c) f ( x, y) = sin( xy)
d) f ( x, y) = x cos y + ye x
Answers
a) f x = ln y, f y = yx , f xx = 0, f xy = − yx2 , f xy = f yx = y1
b) f x = 3x2 + 2xy − 3y2 , f y = x2 − 6xy + 3y2 ,
4