Professional Documents
Culture Documents
f f ( x x , y ) f ( x , y ) f
lim ( )y fx
x x 0 x x
f f ( x , y y ) f ( x , y ) f
lim ( )x f y
y y 0 y y
f 2 f f 2 f
( ) f xy ( ) f yx
x y xy y x yx
Chapter 5 Partial differentiation
5.2 The total differential and total derivative
x x x and y y y f f f
f f ( x x , y y ) f ( x , y )
f ( x x , y y ) f ( x , y y ) f ( x , y y ) f ( x , y )
f ( x x , y y ) f ( x , y y ) f ( x , y y ) f ( x , y )
[ ]x [ ]y
x y Re z
as x 0 and y 0, the total differential df is
f f
df dx dy
x y
for n - variable function f ( x1 , x 2 ,... x n )
f f f
df dx1 dx2 .......... .... dxn
x1 x 2 x n
variables xi , i 1,2,3,......, n, for a given x i x i ( x1 )
the total derivative of f ( x1 , x 2 ,... x i ... x n ) with respect to x1 is
df f f dx2 f dxi f dxn
( ) ......... ( ) ..... ( )
dx1 x1 x 2 dx1 x i dx1 x n dx1
Chapter 5 Partial differentiation
Ex: Find the total derivative of f ( x , y ) x 3 xy with respect to x , given
2
1
that y sin x
f f dy 1
2 x 3 y, 3 x;
x y dx (1 x 2 )1 / 2
df 1 1 3x
2x 3 y 3x 2 x 3 sin x
dx (1 x 2 )1 / 2 (1 x 2 )1 / 2
Properties of exact
f f
differentials:
A( x , y )dx B( x , y )dy df
x
A( x , y ) and
y
B( x , y )
2 f A 2 f B A( x , y ) B( x , y )
yx y xy x y x
Chapter 5 Partial differentiation
for n variables
n
df g i ( x1 , x 2 ,......., x n )dxi is exact, if
i 1
g i g j 1
for all pairs i , j n( n 1) relationships
x j x i 2
Ex: Show that (y+z)dx+xdy+xdz is an exact differential
g1 ( x , y , z ) y z , g2 x , g 3 x
g 1 g g 3 g g 2 g
1 2 , 1 1 , 0 3
y x x z z y
by inspection f ( x , y , z ) x( y z ) c
5.4 Useful theorems of partial differentiation
x x
x x ( y , z ) dx ( ) z dy ( ) y dz
y z
y y
y y( x , z ) dy ( ) z dx ( ) x dz
x z
z z
z z ( x , y ) dz ( ) y dx ( ) x dy
x y
Chapter 5 Partial differentiation
x y x y x
dx ( ) z ( ) z dx [( ) z ( ) x ( ) y ]dz
y x y z z
if z is a constant dz 0 if x is a constant dx 0
x y y z x
( ) z ( ) z 1 reciprocity relation ( ) x ( ) y ( ) z 1 cyclic relation
y x z x y
f f
0 and 0
x y
1
f ( x , y ) f ( x0 , y0 )
[x 2 f xx 2xyf xy y 2 f yy ]
2!
x x x0 , ΔΔ y-y0 , rearranging
1 f xy y 2 f 2
xy
f ( x , y ) f ( x0 , y0 ) [ f xx ( x ) y 2 ( f yy )]
2 f xx f xx
1 1 1 1
f
2 r
a e
r r
T
M
m
a e
m m
2 r m
a a e T
r m r m me
2 r m
a a
r m m rm
2 r
a r2 r
1
(1) minimum : f r a r2 0 all eigenvalues are greater than zero
2 r
1
(2) maximum : f r a r2 0 all eigenvalues are less than zero
2 r
(3) saddle point : all eigenvalues have mixed signs
Chapter 5 Partial differentiation
Ex: Derivative the conditions for maxima, minima and saddle points for a
function of two variables, using the above analysis.
f xx f xy f f xy
M xx
0 ( f )( f ) f xy 0
2
f yx f yy f yx f yy xx yy
1
[( f xx f yy ) ( f xx f yy ) 2 4 f xy2 ]
2
(1) minima : two eigenvalues are real and positive
f xx 0 , f yy 0 and f xx f yy ( f xx f yy ) 2 4 f xy2 f xy2 f xx f yy
(2) maxima : f xx 0 and f yy 0 f xx f yy 0
( f xx f yy ) 2 ( f xx - f yy ) 2 4 f xy2 f xy2 f xx f yy
(3) saddle point : two eigenvalues have mixed sign
if f xx f yy 0 ( f xx f yy ) ( f xx f yy ) 2 4 f xy2 0 f xy2 f xx f yy
if f xx f yy 0 ( f xx f yy ) ( f xx f yy ) 2 4 f xy2 0 f xy2 f xx f yy
Chapter 5 Partial differentiation
5.9 Stationary values under constraints
Find the maximum value of the differentiable function f ( x , y )
subject to the constraint g ( x , y ) c
(i) ( f g ) 3 x 2 2 x 0
x
( f g ) 3 y 2 2 y 0
y
( f g ) 3 z 2 2 z 0
z
x y z 2 / 3 put into x 2 y 2 z 2 1 3 / 2
stationary points occur at x y z 1 / 3
* note : another condition : for some of x , y and z is zero :
(a) x 0, y 0 and z 0
3 y 2 2 y 0, 3 z 2 2 z 0, y 2 z 2 1 y z 2 / 3 1 / 2
Chapter 5 Partial differentiation
(b) x y 0, z 0 3 z 2 2 λz 0, z 2 1 z 1
(c) x z 0, y 0 3 y 2 2 λy 0, y 2 1 y 1
stationary points : ( 0,1 / 2 ,1 / 2 ), (0,0,1), (0,1,0)
Similarily, for the case y 0 and z 0
stationary points for y 0 : ( 1 / 2 ,0,1 / 2 ), (0,0,1), ( 1,0,0)
z 0 : ( 1 / 2 ,1 / 2 ,0), ( 1 ,0 ,0) , (0,1,0)
(ii) ( f g h) 3 x 2 2 x 0 - - - (1)
x
( f g h) 3 y 2 2y 0 - - - (2)
y
( f g h) 3 z 2 2z 0 - - - (3)
z
(1) ( 2) 3( x 2 y 2 ) 2 ( x y ) 0 3( x y ) 2 ( x y ) 0
(a) if x y , from x y z 0 z 2 x
from x 2 y 2 z 2 1 6 x 2 1 x 1 / 6 , y 1 / 6 , z 2 / 6
Chapter 5 Partial differentiation
similarily , if x z x 1 / 6 , y 2 / 6 , z 1 / 6
if y z x 2 / 6 , y 1 / 6 , z 1 / 6
(b) if x y 3( x y ) 2 0
y z 3( y z ) 2 0
x z 3( x z ) 2 0
included in condition (a)
(c) x y z prohibited by constraints
(d) x , y and z are all different inconsistent
Chapter 5 Partial differentiation
5.11 Thermodynamic relations
indefinite integral
F ( x , t )
F ( x , t ) f ( x , t )dt f ( x, t )
x
2 F ( x, t ) 2 F ( x, t ) F ( x , t ) F ( x , t ) f ( x , t )
[ ] [ ]
t x xt t x x t x
F ( x , t ) F ( x , t ) f ( x , t )
[ ]dt f ( x , t )dt dt
t x x x x
definite integral
t v
I ( x) f ( x , t )dt F ( x , v ) F ( x , u)
t u
dI ( x ) F ( x , v ) F ( x , u) v f ( x , t ) u f ( x , t )
dt dt
dx x x x x
dI v f ( x , t )
dx u x
dt
Chapter 5 Partial differentiation
(2) The integral’s limits are function of x
t v( x )
I f ( x , t )dt F ( x .v ( x )) F ( x , u( x ))
t u( x )
I I
f ( x , v ( x )), f ( x , u( x ))
v u
dI I dv I du I dv du v ( x )
dx x u( x )
f ( x , v ( x )) f ( x , u( x )) f ( x , t )dt
dx v dx u dx x dx
dI dv du v ( x ) f ( x , t )
f ( x , v ( x )) - f ( x,u( x )) dt
dx dx dx u ( x ) x