"Just The Maths" Unit Number 14.2 Partial Differentiation 2 (Partial Derivatives of Order Higher Than One) by A.J.Hobson
"Just The Maths" Unit Number 14.2 Partial Differentiation 2 (Partial Derivatives of Order Higher Than One) by A.J.Hobson
"Just The Maths" Unit Number 14.2 Partial Differentiation 2 (Partial Derivatives of Order Higher Than One) by A.J.Hobson
UNIT NUMBER
14.2
PARTIAL DIFFERENTIATION 2
(Partial derivatives of order higher than one)
by
A.J.Hobson
In Unit 14.1, the partial derivatives encountered are known as partial derivatives of the first
order; that is, the dependent variable was differentiated only once with respect to each
independent variable.
But a partial derivative will, in general contain all of the independent variables, suggesting
that we may need to differentiate again with respect to any of those variables.
For example, in the case where a variable, z, is a function of two independent variables, x
and y, the possible partial derivatives of the second order are
(i)
∂2z
!
∂ ∂z
2
, which means ;
∂x ∂x ∂x
(ii)
∂2z
!
∂ ∂z
2
, which means ;
∂y ∂y ∂y
(iii)
∂2z
!
∂ ∂z
, which means ;
∂x∂y ∂x ∂y
(iv)
∂2z
!
∂ ∂z
, which means .
∂y∂x ∂y ∂x
The last two can be shown to give the same result for all elementary functions likely to be
encountered in science and engineering.
Note:
Occasionally, it may be necessary to use partial derivatives of order higher than two, as
illustrated, for example, by
∂3z
" !#
∂ ∂ ∂z
, which means
∂x∂y 2 ∂x ∂y ∂y
1
and
∂4z
" !#!
∂ ∂ ∂ ∂z
2 2
, which means .
∂x ∂y ∂x ∂x ∂y ∂y
EXAMPLES
Determine all the first and second order partial derivatives of the following functions:
1.
z = 7x3 − 5x2 y + 6y 3 .
Solution
∂z ∂z
∂x
= 21x2 − 10xy; ∂y
= −5x2 + 18y 2 ;
∂2z ∂2z
∂x2
= 42x − 10y; ∂y 2
= 36y;
∂2z ∂2z
∂y∂x
= −10x; ∂x∂y
= −10x.
2.
z = y sin x + x cos y.
Solution
∂z ∂z
∂x
= y cos x + cos y; ∂y
= sin x − x sin y;
∂2z ∂2z
∂x2
= −y sin x; ∂y 2
= −x cos y;
∂2z ∂2z
∂y∂x
= cos x − sin y; ∂x∂y
= cos x − sin y.
2
3.
z = exy (2x − y).
Solution
∂z ∂z
∂x
= exy [y(2x − y) + 2] ∂y
= exy [x(2x − y) − 1]
= exy [2xy − y 2 + 2]; = exy [2x2 − xy − 1];
∂2z ∂2z
∂x2
= exy [y(2xy − y 2 + 2) + 2y] ∂y 2
= exy [x(2x2 − xy − 1) − x]
∂2z ∂2z
∂y∂x
= exy [x(2xy − y 2 + 2) + 2x − 2y] ∂x∂y
= exy [y(2x2 − xy − 1) + 4x − y]
14.2.2 EXERCISES
1. Determine all the first and second order partial derivatives of the following functions:
(a)
z = 5x2 y 3 − 7x3 y 5 ;
(b)
z = x4 sin 3y.
2. Determine all the first and second order partial derivatives of the function
3. If !
x
z = (x + y) ln ,
y
show that
∂2z 2
2∂ z
x2 = y .
∂x2 ∂y 2
3
4. If
z = f (x + ay) + F (x − ay),
show that
∂2z 1 ∂2z
= 2 2.
∂x2 a ∂y
∂2z ∂2z
∂x2
= 10y 3 − 42xy 5 ; ∂y 2
= 30x2 y − 140x3 y 3 ;
∂2z ∂2z
∂y∂x
= 30xy 2 − 105x2 y 4 ; ∂x∂y
= 30xy 2 − 105x2 y 4 .
∂2z ∂2z
∂x2
= 12x2 sin 3y; ∂y 2
= −9x4 sin 3y;
∂2z ∂2z
∂y∂x
= 12x3 cos 3y; ∂x∂y
= 12x3 cos 3y.
∂w ∂w ∂w
= yz 2 exy + cos(y 2 z); = z 2 xexy − 2xyz sin(y 2 z); = 2zexy − xy 2 sin(y 2 z);
∂x ∂y ∂z
4
∂2w ∂2w
= = z 2 exy + z 2 xyexy − 2yz sin(y 2 z);
∂x∂y ∂y∂x
∂2w ∂2w
= = 2zxexy − 2xy sin(y 2 z) − 2xy 3 z cos(y 2 z);
∂y∂z ∂z∂y
∂2w ∂2w
= = 2zyexy − y 2 sin(y 2 z).
∂z∂x ∂x∂z
3.
∂2z 1 y ∂2z 1 x
2
= − 2
and 2
= − + 2.
∂x x x ∂y y y
4.
∂2z 00 00 ∂2z
= f (x + ay) + F (x − ay) and = a2 f 00 (x + ay) + a2 F 00 (x − ay).
∂x2 ∂y 2