Académique Documents
Professionnel Documents
Culture Documents
kT
Example 1 If p = , find the partial derivatives of p:
V
(a) with respect to T , (b) with respect to V .
Solut ion
(a) This part of the example proceeds as follows:
kT
p = V ,
∂p k
∴ = ,
∂T V
where V is treat ed as a consta nt for this calculatio n.
(b) For this part, T is treated as a consta nt. Thus
1
p = kT = kT V −1 ,
V
∂p ∴
∂V
2
= −kT V kT
= .
V2
Section 1: Partial Differe ntiation (Introduct ion) 5
The symbol ∂ is used whenever a function with more than one variable
is being differentiated but the techniques of partial differentiat ion are
exactly the same as for (ordinary ) differentiat ion.
∂z ∂z
Example 2 Find 2 3
∂x and ∂y for the function z = x y .
Solut ion
z = x2 For the first part y 3 is treated as
3
y
∂z 3 a constant and the derivative of
∴ = 2xy , x2 with respect to x is 2x.
∂x
∂z For the second part x2 is treated
and = x2 3y 2
as a consta nt and the
∂y , derivati ve of y 3 with respect to y
= 3x2 y 2 is 3y2 .
.
∂z ∂z ∂y
Exe rcise 1. Find and
∂x
for each of the following functions.
(Click on the green letters for solutions.)
1
(a) z = x2 y 4 , (b) z = (x4 + x2 )y 3 , (c) z = y 2 sin(x).
?
Section 2: The Rules of Partial Differe ntiation 6
u= xy and v =
cos (xy)
∂u ∂v
∴ = y and = y sin(xy) .
∂x ∂x
Thu
s
∂z ∂u ∂v 2
= v+ u = y cos(xy) − xy
sin(xy) .
∂x ∂x ∂x
Section 2: The Rules of Partial = Differe ntiation 7
∂z ∂z
Exe rcise 2. Find and for each of the following functions.
∂x ∂y
(Click on the green letters for solutio ns.)
cos(x)
(a) z = (x2 +3x) sin(y), (b) z = , (c) z = ln(xy),
y5
2 +y 2
(d) z = sin(x) cos(xy), (e) z = e(x )
, ( f ) z = sin(x2 + y).
∂z ∂z ∂z 1 ∂z
(a) = , (b) = ,
∂x ∂y ∂x x ∂y
1 ∂z ∂z 1 ∂z 1 ∂z
= , (d) = .
(c) y ∂x ∂y y ∂x x ∂y
3 2
Section 3: Higher Order Partial Deri vatives 9
Solut ion First differe ntiate z with respect to x, keeping y consta nt,
then differ entiate this function with respect to x, again keeping y
consta nt. 3 2
z = e(x +y )
∂z 3 2
∴ = 3x2 e (x +y )using the chain rule
∂x
3
+y 2 )
∂2 ∂(3x2 ) 3 2 ∂(e (x )
z (x +y ) 2
= e + 3x using the product rule
∂x ∂x
∂x2 3 2 3 2
∂2 z
∂x2 = 6xe (x +y )
+ 3x2 (3x2 e(x +y )
)
4 (x3 +y2 )
= (9x + 6x)e
2 2 2 2
Section 3: Higher Order Partial Deri vatives 10
∂ z ∂ z
In addition to both and , when there are two variables there
∂x2 ∂y 2 3 2
is also the possibility of a mixed second order deri vative.
∂ 2z
Example 5 Find if z = e(x +y )
.
∂x∂y
∂ ∂z
∂ z is interpret ed as ; in words,
Solut ion The symbol
∂x∂y ∂x ∂y
first differ entiate z with respect to y, keeping x consta nt, then differ-
entiate this function with respect to x, keeping y consta nt. (It is this
differentiat ion, first with respect to x and then with respect to y, that
leads to the name of mixed derivative.)
∂z
First with x consta nt = 2ye(x +y ) (using the chain rule.)
∂y
∂ z ∂
Second with y consta nt = 2ye(x +y )
∂x∂y 3 23 2
∂x
3 +y 2
= 3x2 2ye(x )
3 +y 2 )
= 6x2 ye(x .
22 3 2
Section 3: Higher Order Partial Deri vatives 11
∂ z ∂ ∂z 3
+y 2 )
Example 6 Find = if z = e(x .
∂y∂x ∂y ∂x
Solut ion
∂z
First with y consta nt = 3x2 e(x +y )
(using the chain rule).
∂x
∂ z ∂ 3 2
Second with x consta nt = 3x2 e(x +y )
∂y∂x ∂y
3 +y2
= 2y3x2 e(x )
3 2 ∂2 z
= 6x2 ye(x +y ) .
= ∂x∂y
As a general rule, when calculating mixed derivatives the order of
differentiat ion may be reversed without affecting the final result.
2 2
Section 3: Higher Order Partial Deri vatives 12
Exe rcise 3. Confirm the state ment on the previous page by finding
∂ z ∂ z
both and for each of the following functions, whose first
∂x∂y ∂y∂x
order partial derivatives have already been found in exercise 2. (Click
Solutions to Exercises
∂z
Exercise 1(a) To calculate the partial derivative of the function
∂x
z = x2 y4 , the factor y 4 is treated as a consta nt:
∂z
= x2 y 4 = x2 × y 4 = 2x(2−1) × y 4 = 2xy 4 .
∂ ∂
∂x ∂x ∂x
∂z
Similarly, to find the partial derivative , the factor x2 is treated
∂y
as a consta nt:
∂z x2 y 4 = x2 × y4 = x2 × 4y (4−1) = 4x2 y3 .
= ∂
∂
∂y ∂y ∂y
∂z
Exercise 1(b) To calculate for the function z = (x4 + x2 )y 3 , the
∂x
factor y3 is treat ed as a consta nt:
∂z
= (x4 + x2 )y 3 = x4 + x2 × y3 = (4x3 + 2x)y 3 .
∂ ∂
∂x ∂x ∂x
∂z
To find the partial derivative 4 2
∂y the factor (x + x ) is treated as a
consta nt:
∂
∂z (x4 + x2 )y 3 = (x4 + x2 ) × y 3 = 3(x4 + x2 )y 2 .
=
∂
∂y ∂y ∂y
∂z 1 ∂ 12 1 − 12
= 2 sin(x) y × sin(x) y sin(x) .
∂ = =
∂y ∂y ∂y 2
Click on the green square to retu rn
Solutions to Exercises 17
to x:
∂z sin(x)
= sin(x)y −5 = .
∂x y5
Treating cos(x) as a consta nt and differentiati ng with respect to y:
∂v cos(x)
= cos(x)( 5y −6 ) = 5 .
∂y y6
2 +y 2
Exercise 2(e) To calculate the partial derivatives of z = e(x )
the
chain rule has to be applied with u = (x2 + y 2 ):
∂z ∂u ∂u
= (e u ) = eu ,
∂
∂x ∂u ∂x ∂x
∂z ∂u ∂u
= (e u ) = eu .
∂
∂y ∂u ∂y ∂y
∂z ∂u 2
+y 2 )
= eu = 2x e(x ,
∂x ∂x
∂z ∂u
= eu = 2y
2 2
(x +y )
e .
∂x ∂x
Click on the green square to retu rn
Solutions to Exercises 22
∂z ∂ ∂u ∂u
= (sin(u)) = cos(u) .
∂y ∂u ∂y ∂y
Exercise 3(a)
From exercise 2(a) , the first order partial derivatives of
z = (x2 + 3x) sin(y) are
∂z ∂z
= (2x + 3) sin(y) , = (x2 + 3x) cos(y) .
∂x ∂y
The mixed second order derivatives are
∂2 z ∂
= ∂ ∂z
= (x2 + 3x) cos(y) = (2x + 3) cos(y) ,
∂x∂y ∂x ∂y ∂x
∂2 z ∂
= ∂ ∂z
= ((2x + 3) sin(y)) = (2x + 3) cos(y) .
∂y∂x ∂y ∂x ∂y
Click on the green square to retu rn
Solutions to ? ? , .
Exercises 24
?
Exercise 3(b)
cos(x)
From exercise 2(b) , the first order partial derivatives of z
= y5
are
∂z sin(x) ∂z cos(x)
= , =− ,
y5 ∂y y6
∂x 5
Exercise 3(c)
From exercise 2(c) , the first order partial derivatives of z = ln(xy)
are
∂z 1 ∂z 1
= , = .
∂x x ∂y y
The mixed second order derivatives are
∂2 z
= ∂ ∂z
= ∂ 1 = 0,
∂x∂y ∂x ∂y
∂2 z ∂x y
= ∂ ∂z
= = 0.
∂y∂x ∂y ∂x ∂ 1
∂y x
Click on the green square to retu rn
Solutions to ? Exercises 26
Exercise 3(e) From exercise 2(e) , the first order partial derivatives
2 2
of z = e(x +y ) are
∂z 2 2 ∂z 2 2
= 2xe (x +y ) , = 2ye(x +y ) .
∂x ∂y
The mixed second order derivatives are thus
∂2 z ∂ ∂z ∂ 2 2 2 +y2 )
= = 2ye(x +y ) = 4xye(x ,
∂x∂y ∂x ∂y ∂x
∂2 z ∂ ∂z ∂ 2 2 2 2
= =
∂y∂x ∂y ∂x ∂y 2xe (x +y )
= 4yxe (x +y )
.
Click on the green square to retu rn
?
Solutions to Exercises 28
?
Exercise 3(f ) From exercise 2(f ), the first order partial derivati ves
of z = sin(x2 + y) are
∂z ∂z
= 2x cos(x2 + y) , = cos(x2 + y) .
∂x ∂y
The mixed second order derivatives are thus
∂2 z ∂
= ∂ ∂z
= cos(x2 + y) = 2x sin(x2 + y) ,
∂x∂y ∂x ∂y ∂x
∂2 z ∂
= ∂ ∂z
= 2x cos(x2 + y) = 2x sin(x2 + y) .
∂y∂x ∂y ∂x ∂y
Click on the green square to retu rn
Solutions to Quizzes 29
Solutions to Quizzes
Solut ion to Qu iz:
To determine which of the options is correct, the partial derivatives
of z = cos(xy) must be calculated. From the calculations of exercise
2(d) the partial derivatives of z = cos(xy) are
∂ ∂ cos(u) ∂u
cos(xy) = = − sin(u)y = − y sin(xy) ,
∂x ∂u ∂x
∂ ∂ cos(u) ∂u
cos(xy) = = − sin(u)x = −x sin(xy) .
∂y ∂u ∂y
Therefo re
1 ∂ 1 ∂
cos(xy) = − sin(xy) = cos(xy) .
y ∂x x ∂y