Chapter - Partial Derivatives
Chapter - Partial Derivatives
TOPIC:
PARTIAL DERIVATIVES
Prepared by:
Dr Zaiton Mat Isa
1
REVISION
Differentiation
2
Differentation rules
Product d
Rule
u ( x)v( x) u '( x)v( x) u ( x)v '( x)
dx
Chain d
Rule dx
f g ( x ) f ' g ( x ) g '( x )
3
PARTIAL DERIVATIVES
Objective
4
Introduction note
The function that we are dealing with in this topic
is a function with two or three independent
variables.
f ( x) 2 x 3 ln x sin x
- 1 independent variable which is x
f ( x, y ) 2 xy y 3 e x
- 2 independent variables which are x and y
f ( x, y, z ) 3z xy sin( xz )
- 3 independent variables which are x , y and z
The dependent variable is not necessarily using the
letter f. It could be any available letter. e.g.
V x, h x 2 xh ,
ct
p (r , t ) 4 (c is a constant)
r
5
1. Partial derivatives (Explicit function)
1.1 First order partial derivatives
Note:
The stylized “d” symbol in the notation is called
roundback d, curly d or del d.
It is not the usual derivative d (dee) or (delta ).
6
Remember
differentiate with respect to one of its
variables while keeping the other
variables fixed (treat as constant)
4 x y
b) f ( x , y ) 2 y sin x 7 e 6e
7
Example 3:
Determine the partial derivatives of the following
functions with respect to each of the independent
variables:
(a) f ( x, y) xy 2 ln(x)
2 5
(b) z ( x 3 y )
(c) z x cos(2 x 2 5 y )
sin( x 2 y)
(d) f ( x, y )
(1 4 x 3 y)
(e ) f(x,y) = x2cos(x/y)
8
For a function of three independent variables, x,y,
and z, that is f ( x, y , z ) , there are three partial
derivatives:
f x , f y and f z
The partial derivative f x is calculated by holding
y and z constant. Likewise, for f y and f z .
Example 4:
2 x y 3
Let f ( x, y , z ) cos x 2 ye z , find:
y
(a) f x (b) f y (c) f z
9
1.2 Higher order Partial Derivatives
If f ( x, y ) is a function with two variables, then f x ( x, y)
and f y ( x, y ) are also functions with two variables.
Partial derivatives of f x ( x, y) and f y ( x, y ) are the
second-order partial derivatives of f ( x, y ) and they
are defined as
f 2 f
f x x f xx 2
x x x
f 2 f
f x y f xy
y x yx
f 2 f
f y x f yx
x y xy
f 2 f
f y y f yy 2
y y y
10
Example 5:
2 3y
f , f , f , f
Find xx xy yx yy of f ( x , y ) x e
11
Other form of problems (Proving
questions)
Example 5a:
i. Final Sem 2 2017/18 Q1a
12
ii. Final Sem 1 2017/18 Q1b
13
2. Chain rules (Partial Derivatives of
Composite Functions)
14
If z f (x, y) is differentiable and x and y
are differentiable functions of t, then z is a
differentiable function of t and
dz z dx z dy
dt x dt y dt
x t
z
y t
Example 6:
Suppose that � = �3 � where x ln(2t ) and
2 ��
� = � ����. By using chain rule, find .
��
For 3 independent
variables, just add one
more term
15
Example 7:
dw
Find by using the chain rule if w xyz with
dt
x t 3 , y t 2 and z t 4 .
Theorem 3
If z f (u , v ) , u g ( x , y ) and
v h( x, y ) and the partial derivatives of
f, g, and h exist, then
z z u z v
x u x v x
16
z z u z v
y u y v y
If w f (u , v , r ) , u g( x, y, z), v h( x, y, z)and
r s ( x , y , z ) , then
17
w w u w v w r
x u x v x r x
w w u w v w r
y u y v y r y
w w u w v w r
z u z v z r z
x
u y
z
x
v y
w
z
r x
y
Example 8: Sample from past years questions
z
i. Test 1 Sem 2 2009/10 Q4
18
ii. Test 1 Sem 2 2012/13 Q3
19
(iv)Final Sem 1 2017/18 Q1c
20
Other form of problems (Proving
questions involving arbitrary function)
21
iii. Final Sem 2 2012/13 Q1c
23
vi. Final Sem 1 2019/20 Q1b
24
vii. Tutorial 1 Q10c
25
3. Partial derivatives of an Implicit Function
Theorem 4
If F ( x, y , z ) 0 implicitly defines a differentiable
function z as a function of two variables x and y, then
¶z Fx (x, y, z) ¶z Fy (x, y, z)
= - , =- *
¶x Fz (x, y, z) ¶y Fz (x, y, z)
Example 9:
z z
Find x and y if z is a function of two variable
x and y is implicitly defined as
27
a) ��2 + �� =− � sin (�3 + 2�)
b) e xy ln z x y
c) cos( x 2 z ) 3 y 2 ln y 2 xyz 0
d) ���ℎ(���) = � + � + 3�
28
4. Application: Increments and Differential
In here, we would like to apply partial derivatives
to estimate (approximate):
- error(increment/decrement), change, rate of
change, maximum change and maximum
percentage error
29
From the differentiation definition, we know that
f ( x x, y) f ( x, y)
fx
x
f ( x, y y ) f ( x, y )
and fy ,
y
which implies
� � + ��, � − �(�, �) ≈ �� �, � ��
� �, � + �� − �(�, �) ≈ �� �, � ��
If we take
z f ( x x, y) f ( x, y) f ( x, y y) f ( x, y)
then,
dz » fx (x, y)dx + fy (x, y)dy . (*)
Note:
- d is also denoted as D (both is delta)
- Increment = change or error
z zx ( x, y) x z y ( x, y) y
31
dz z x ( x, y )dx z y ( x, y )dy
where �� = �� and �� = ��.
w wx ( x, y , z ) x wy ( x, y , z ) y wz ( x, y , z ) z
32
The symbol �� also can be denoted by dz and in
this case it is called as the differential
Example 10:
If z f ( x, y ) x 2e x xy , approximate the
change in � �, � as (�, �) varies from the point
2,3 to the point 2.02,2.99 .
33
Example 10a:
Test 1 Sem 1 201920 Q5
34
Example 11:
Let the measurements of a cuboid vary from 9 cm,
6 cm and 4 cm to 9.02, 5.97 and 4.01 cm.
Approximate the change in the volume.
Example 11a:
Test 1 Sem 2 2009/10 Q5
35
4.3 Rate of change, maximum error and
maximum percentage error
Two (2) independent variables
Let � = �(�, �), then
dz
rate of change is given by where
dt
dz dx dy
zx z y
dt dt dt
dz = zxdx + zydy
36
maximum percentage change/maximum
percentage error is given by
dz
´ 100% where
z
dz 禳
镲zxdx zydy
镲
´ 100% = 睚 + ´ 100%
z 镲
镲 z z
铪
Three (3) independent variables
Let � = �(�, �, �), then
dw
rate of change is given by where
dt
dw dx dy dz
wx wy wz
dt dt dt dt
37
maximum percentage change/ maximum
percentage error is given by
dw
´ 100% where
w
禳
镲
dw
´ 100% = 镲wxdx + wydy + wzdz ´ 100%
睚
w 镲
镲 w w w
铪
Example 12: Sample from past years questions
38
ii. Test 1 Sem 2 2016/17 Q4
39
iii. Final Sem 1 2019/20 Q1c
40
iv. Test 1 Sem 1 2017/18 Q3
41
vi. Test 1 Sem 2 2020/21
42
5. Local Extrema
Extrema refers to either maximum or minimum.
maximum
43
minimum
44
45
Sometimes, a function also can have a saddle
point.
*Saddle point: The name derives from the fact that the
prototypical example in two dimensions is a surface that curves
up in one direction, and curves down in a different direction,
resembling a saddle or a mountain pass.
46
How do we find the local extrema point(s)?
Theorem 5
A surface is given by � = �(�, �). If f x and f y exist
at ( a , b ) , then
f x (a, b) 0 and f y ( a , b ) 0
47
STEP 3:
Second Derivatives Test
Suppose that �(�, �) is a function of two variables
that has continuous second partial derivatives on a
region R and (�, �) is a critical point in R.
Let 2
� �, � = ��� �, � ��� �, � − ��� (�, �)
or
��� (�, �) ��� (�, �)
�(�, �) =
��� (�, �) ��� (�, �)
Then
In Step x2 4 x 2 0 and x2 4
2 x 2, 2 x 0, 2, 2
Example 13:
Find the critical point(s) of the following
functions and determine the nature of those points.
.
(i) � �, � = 2�3 − 6�� − �2
�3
(ii) � �, � = − �2 − �
3
49
(iii) � �, � = �4 + 16�� + �4
50
51
Example13a: Test 1 Sem 1 2017/18 Q5
52
Application example
Example 14:
If an open rectangular box is to have a fixed
volume of 500m3, what relative dimensions will
make the surface area minimum?
53
Example 15: Sample from past years
questions
54
55