Professional Documents
Culture Documents
PARTIAL DERIVATIVES
The derivative is a way to find out how a function of a single variable will change when
the variable changes. We often want to extend this idea to functions of several variables. This requires the introduction of methods for calculating the effect of changing
one variable while the other variables are fixed. These ideas are illustrated below.
Consider the area enclosed in Figure 7.1. The solid box encloses the original area A0 .
The length of the sides of the solid box are denoted by x, y. The dotted lines in the figure
represent an expansion of the original area. We wish to find the change in the total area.
Let the sides of the original box with area A0 increase by increments Dx and Dy:
First note that the original area is A0 x y and the total area is AT (x Dx )
(y Dy) or AT x y xDy y Dx Dx Dy: The change in area is
D A AT A0 y D x x D y D x Dy D Ajy D Ajx D x Dy
93
94
where jy and jx signify that the sides of the solid box with lengths y and x are not
changed. If the length y is fixed, then DAjy y Dx or y DA=Dxjy . If the length x
is fixed, DAjx x Dy or x DA=Dyjx . Substituting these expressions into DA gives
DA
DA
Dx
Dy Dx Dy
DA
D xy
Dy x
If we let Dx ! 0 and Dy ! 0, we obtain the differential of A(x, y) expanded in terms
of partial derivatives (@A=@x, @A=@y) and differentials (dx, dy) such that
@A
@A
dA dx dy
@x y
@y x
where the second-order term is negligible. A more formal treatment of these ideas
follows.
7.1
PARTIAL DIFFERENTIATION
A function y is a function of several variables if it is a function of two or more independent variables. A function of n variables has the form
y f (x1 , x2 , . . . , xn )
where x1 , x2 , . . . , xn are n independent variables and y is a dependent variable. The
function f ( ) is a mapping from Rn ! R, where R is the set of real numbers and Rn
is an n-dimensional set of real numbers.
The partial derivative of y with respect to xi is defined by
@y
f (x1 , . . . , xi Dxi , . . . , xn ) f (x1 , . . . , xi , . . . , xn )
lim
@xi Dxi !0
Dxi
and all other {xj } are held constant. Higher-order partial derivatives are found by
successive applications of this definition; thus
@ @f
@ 2f
@ @f
@ 2f
fxy
2 fxx ,
@x @x
@x
@y @x
@x@y
The symbol fxy denotes the partial differentiation of f with respect to x and then y.
The order of differentiation is commutative. If f xy and f yx are continuous
functions of x and y, then f xy f yx .
PARTIAL DERIVATIVES
95
2a
@x2 @x @x
@ 2z
@ @z
2c
@y2 @y @y
@ 2z
@ @z
@ @z
b
@x@y @x @y
@y @x
EXERCISE 7.1: Let f (x, y) e xy : Find f xy , f yx .
The total differential of a function y of variables {xi : i 1, n} is
dy
n
X
@y
i1
@xi
dxi
Example: Let y x21 x32 . In this case n 2 because there are two independent
variables and
dy
@y
@y
dx1
dx2 2x1 dx1 3x22 dx2
@x1
@x2
EXERCISE 7.2: Let y x21 x21 x2 x32 . Calculate @y=@x1 , @y=@x2 , and dy.
Suppose we have a function z of two parameterized variables such that
z f (x(t), y(t))
The total derivative of the parameterized function z of two variables is
dz @f dx @f dy
dt @x dt @y dt
This expression can readily be generalized for a parameterized function of several
variables.
96
@y1
@y1
dx1
dx2
@x1
@x2
dy2
@y2
@y2
dx1
dx2
@x1
@x2
or
dy1 J11 dx1 J12 dx2
dy2 J21 dx1 J22 dx2
where
Jij
@yi
@x j
2
X
Jij dxj
j1
@yi
@xj
EXERCISE 7.4: Find the Jacobian of the coordinate rotation y ax, where a is the
matrix of coordinate rotations introduced in Chapter 4, Section 4.1.
7.2
VECTOR ANALYSIS
PARTIAL DERIVATIVES
97
3
X
m1
i2
u2
v2
i3
u3 v u
v3
um v m
98
Example: The expansion of the triple scalar product of the vector fields A, B, C
gives
^i
^ bx
A (B C) (ax^i ay ^j az k)
c
x
^j
by
cy
k^
bz
c
z
@
@
@
i2
i3
@x1
@x2
@x3
Applying r to the scalar field f gives a vector field called the gradient of f. It is
denoted as
grad f rf i1
@f
@f
@f
i2
i3
@x1
@x2
@x3
The gradient of f points in the direction in which the scalar field f changes the
most with respect to a change in position. The vector field rf is perpendicular, or
normal, to the surfaces corresponding to constant values of f. The arrows in
Figure 7.2 illustrate the direction of the gradient at several points around the
surface of constant f.
Figure 7.2
Direction of gradient.
PARTIAL DERIVATIVES
99
because im in dmn , where dmn is the Kronecker delta. The cross product of the
operator r and the vector a is called the rotation of a or the curl of a. It is given by
i1
@
curl a ; r a
@x1
a
1
i2
@
@x2
a2
i3
@
@x3
a3
@
@
@
a r a1 i1 a2 i2 a3 i3 i1
i2
i3
@x1
@x2
@x3
3
X
m1
am
@
@xm
and
i1
a
a r 1
@
@x
i2
a2
@
@x2
i3
a3
@
@x3
The divergence of the gradient of a scalar field f gives the Laplacian of f ; thus in
Cartesian coordinates we have
r (rf )
3
X
@ 2f
m1
@x2m
; r2 f
100
r(f g) rf rg
r (u v) r u r v
r (u v) r u r v
r( fg) f (rg) g(rf )
r ( f u) f (r u) (rf ) u
r ( f u) f (r u) (rf ) u
Product of fields
r (u v) v (r u) u (r v)
r (u v) u(r v) (v r)
u v(r u) (u r)v
r(u v) u (r v) v(r u)
(v r) u (u r)v
r (rf ) r2 f
r (r u) r(r u) r2 u
Laplacian
Example: Suppose A 2xy^i x2^j Ax^i Ay^j: Then the dot product is
rA
@
@
Ax Ay 2y
@x
@y
^j
@
@y
Ay
k^
@
@z
Az
PARTIAL DERIVATIVES
101
@ 2f @ 2f @ 2f
2y
@x2 @y2 @z2
A field vector v is called irrotational if the curl, or rotation, of v vanishes, that is,
rv0
The vector field v is said to be solenoidal if
rv0
A vector field V that is the gradient of a scalar field f is irrotational because the curl
of a gradient vanishes; thus
r V r (rf) 0
Similarly, a vector field U that is the curl of a vector field u is solenoidal because the
divergence of the curl vanishes; thus
r U r (r u) 0
^ Evaluate (a) r jrj; (b) r r; (c) r r;
EXERCISE 7.5: Let r x^i y^j zk:
(d) r(r); and (e) r(1=r):
Application: Propagation of Seismic Waves. Seismic waves are vibrations, or
displacements from an undisturbed position, that propagate from a source, such as
an explosion, through the earth. Seismic wave propagation is an example of a
displacement propagating through an elastic medium. The equation for a wave
propagating through an elastic, homogeneous, isotropic medium is
r
@ 2u
(l 2m) r (r u) mr (r u)
@t2
(7:2:1)
where r is the mass density of the medium, l and m are properties of the elastic
medium called Lames constants, and u measures the displacement of the
medium from its undisturbed state [Tatham and McCormack, 1991].
If the displacement uI is irrotational, then uI satisfies the constraint
r uI 0
102
r
@t2
(7:2:2)
r(r u) r (r u) r2 u
(7:2:3)
(7:2:4)
(7:2:5)
(7:2:6)
PARTIAL DERIVATIVES
103
A solution of Eq. (7.2.6) that is solenoidal is the solution for a transverse wave
propagating in the z direction:
us u0 ei(kxvt) k^
The irrotational displacement uI represents a longitudinal P (primary) wave,
whereas the solenoidal displacement us represents a slower transverse S (secondary)
wave. Both types of waves are associated with earthquakes and explosions on or
below the earths surface. The waves are useful for geophysical studies of the
earths interior.
7.3
(7:3:1)
f 0 (z) lim
Dz!0
f (z D z) f (z)
Dz
(7:3:2)
The complex increment Dz Dx iDy may approach 0 along any path in a neighborhood of z. A neighborhood of z is an open set in the complex plane that encloses
the point z. One example path for Dz ! 0 is to approach the point z by letting Dx !
0 and then Dy ! 0. In this case, Dz ! iDy and Eq. (7.3.2) becomes
f 0 (z) lim
Dy!0
(7:3:3)
f 0 (z) lim
Dy!0
(7:3:4)
104
or
v(x, y Dy) v(x, y)
Dy!0
Dy
f 0 (z) lim
(7:3:5)
i lim
Applying the definition of partial derivative in Section 7.1 to Eq. (7.3.5) yields
f 0 (z)
@v
@u
i
@y
@y
(7:3:6)
D x!0
f (x D x, y) f (x, y)
Dx
(7:3:7)
By analogy with the procedure leading from Eq. (7.3.3) to (7.3.6), we obtain
f 0 (z)
@u
@v
i
@x
@x
(7:3:8)
@x @y
(7:3:9)
and
@u @v
@y @x
(7:3:10)
The validity of the CauchyRiemann equations depends on the existence of f 0 (z), which
depends on the analyticity of f (z). If the function f (z) is analytic, then f 0 (z) exists and the
CauchyRiemann equations are valid. Conversely, if the CauchyRiemann equations
apply, then the function f (z) is analytic and f 0 (z) exists [Kreyszig, 1999].
If we differentiate Eq. (7.3.9) with respect to x and Eq. (7.3.10) with respect to y,
we obtain
@ 2u
@ 2v
2
@x
@x@y
(7:3:11)
PARTIAL DERIVATIVES
105
and
@ 2u
@ 2v
2
@y
@y@x
(7:3:12)
Subtracting Eq. (7.3.12) from (7.3.11) gives Laplaces equation in two Cartesian
dimensions:
@ 2u @ 2u
0
@x2 @y2
(7:3:13)
Laplaces equation is an example of a partial differential equation. Partial differential equations are discussed in more detail in Chapter 12.
EXERCISE 7.6: Given f (z) z2 , show that the Cauchy Riemann equations are
satisfied and evaluate f 0 (z).