MA2001 Differential Calculus of Multivariable Functions
1 Introduction
Quantities of interest in real problems usually depend on more than one variable.
Examples
(a) The height of the ground at map coordinates (x, y) might be expressed mathematically as Height =h(x, y).
(b) The temperature in a lecture room varies with position and time,Temperature =T(x, y, z, t).
(c) The volume of a rectangular box of length x, width y and heightz is V(x, y, z) =xyz.
(d) The magnitude of the electric potential u(x, y, z) due to a uniformly charged sphere with total charge Q isu(x, y, z) = 4πε Q
0(x2+y2+z2), x2+y2+z2 > a2 , where a is the radius of the sphere.
These are all real-valued functions of real variables. In general we have z =f(x1, x2,· · · , xn)≡f ~xT
, where x1, x2,· · · , xn are the independent variables and z is the dependent variable. f ~xT
is a scalar field.
It is possible to visualize a function of two variables (a surface in 3-D space) by drawing its graph.
One way is to draw a contour map. A level curve off(x, y) is a set of points (x, y) for which f(x, y) = c, where cis a constant.
A collection of level curves then forms a contour map (as in the familiar contour maps produced by map makers).
Chapter 2
Level curves of a function are defined in the same manner as one obtains contour lines for a topographical map.
Contour map (b)
Contour map
Same level curves for the function f(x, y) = x2+y2
Level curves shown on the graph off(x, y) =x2+y2 (c)
Level curves for the functionf(x, y) =x2−y2
Some level curves on the graph of f(x, y) = x2−y2
Computer generated graphs usually show lines for which x is constant and lines for which y is constant in order to give a picture of the surface.
Examples
Part (a) shows a computer-generated graph of z =x2−y2. Part (b) shows this graph with level curves lifted to it.
2 Limit, Continuity and Partial Derivative
The concepts of limit, continuity and derivative naturally generalize from the one variable situation to two or more variables.
A function f(x, y) is said to possess a limit f0 at the point (x0, y0) if for anyε >0 it is possible to find a δ >0 such that whenever 0<
q
(x−x0)2+ (y−y0)2 < δ, that is, (x, y) is in disc of radius δ centered at (x0, y0), we have|f(x, y)−f0|< ε. We write lim
(x,y)→(x0,y0)f(x, y) = f0 or lim
x→x0 y→y0
f(x, y) = f0. Intuitively, the above says that when (x, y) is approaching (x0, y0), f(x, y) is approaching f0 then the function f(x, y) is said to possess a limit at the point (x0, y0).
Note that the limit exists only if,f(x, y) is approaching f0 independently of the manner in which (x, y) is approaching (x0, y0).
Example lim
(x,y)→(1,2)(x2+ 3y2+xy) = 12+ 3×22+ 1×2 = 15
Example
Show thatf(x, y) = x2x+y2 2 has no limit at the origin.
Solution:
As (x, y)→(0,0) along the liney = 0, f(x,0) = xx22 = 1 and the limiting value is 1.
As (x, y)→(0,0) along the liney = 0, f(0, y) and the limiting value is 0.
Hence lim(x,y)→(0,0) x2
x2+y2 does not exist.
z = x2x+y2 2,−1≤x≤1,−1≤y≤1
Example Show lim
(x,y)→(0,0) x2
(x2+y2)12 = 0 Solution:
Now, 0≤ x2
(x2+y2)12 ≤ x2+y2
(x2+y2)12 = (x2+y2)12. We observe that lim
(x,y)→(0,0)(x2 +y2)12 = 0. Therefore, lim
(x,y)→(0,0) x2
(x2+y2)12 = 0.
A function f(x, y) is said to be continuous at the point (x0, y0) if and only if it possesses a limit at (x0, y0) and lim
(x,y)→(x0,y0)f(x, y) =f(x0, y0).
Examples
(a) f(x, y) =x2+ 3y2+xy is continuous everywhere.
Solution:
(b) f(x, y) = x2x+y2 2 is continuous everywhere except at the origin where f(x, y) is not defined.
Solution:
If then (x0, y0)6= (0,0) is defined at (x0, y0) and f(x0, y0) = x2x20
0+y20. In addition,
(x,y)→(xlim0,y0)f(x, y) = lim
(x,y)→(x0,y0) x2
x2+y2 = x2x20
0+y20 =f(x0, y0). (c) f(x, y) =
x2
(x2+y2)12 (x, y)6= (0,0) A (x, y) = (0,0)
is continuous everywhere iff A= 0.
Solution:
Since lim
(x,y)→(0,0) x2
(x2+y2)12 = 0, f(x, y) =
x2
(x2+y2)12 (x, y)6= (0,0) A (x, y) = (0,0)
is continuous everywhere iff A= 0.
Example
Give an example of a functionf(x, y) such that f(x, y) has the same limit asf(0,0) when (x, y) approaches (0,0) along any straight line passing through the origin, however, the function is not continuous at (0,0).
Solution:
Consider the function:
f(x, y) =
2xy2
x2+y4 if (x, y)6= (0,0) 0 if (x, y) = (0,0) .
Suppose (x, y) is approaching (0,0) along the line x=tcosθ, y =tsinθ where θ is an angle made counterclockwise from the positive direction of x-axis to the line x=tcosθ, y =tsinθ and t is any real number.
Then if cosθ 6= 0 lim
(x,y)→(0,0) x=tcosθ y=tsinθ
f(x, y) = lim
t→0f(tcosθ, tsinθ) = lim
t→0
2t3cosθsin2θ
t2cos2θ+t4sin4θ = lim
t→0
2t3 cosθsin2θ t2 t2 cos2θ+t4 sin4θ
t2
= lim
t→0
2tcosθsin2θ
cos2θ+t2sin4θ = cos02θ = 0 =f(0,0)
If cosθ= 0, then this is the case that (x, y) is approaching (0,0) along y-axis.
It is obvious that lim
(x,y)→(0,0) x=0
f(x, y) = lim
y→0f(0, y) = lim
y→00 = 0 =f(0,0).
However, if is (x, y) approaching (0,0) along the curve x=t2, y =t where t is any real number, we have lim
(x,y)→(0,0) x=t2
y=t
f(x, y) = lim
t→0f(t2, t) = lim
t→0 2t4
t4+t4 = 16= 0 =f(0,0).
3 Partial Differentiation
Recall that for a function f(x) of one variable
df
dx(x0) = lim
h→0
f(x0+h)−f(x0)
h or dxdf (x0) = lim
x→x0
f(x)−f(x0) x−x0
Now consider the functionf(x, y) of two variables. If y is held constant, sayy =y0, then f(x, y0) becomes a function of one variable, x and we may define its derivative at x0,
the partial derivative of f with respect to x at the point (x0, y0) as
∂f
∂x(x0, y0) = lim
h→0
f(x0+h,y0)−f(x0,y0)
h or ∂f∂x(x0, y0) = lim
x→x0
f(x,y0)−f(x0,y0) x−x0
Similarly, the partial derivative of f with respect toy at the point (x0, y0) as
∂f
∂y (x0, y0) = lim
k→0
f(x0,y0+k)−f(x0,y0)
k or ∂f∂y(x0, y0) = lim
y→y0
f(x0,y)−f(x0,y0) y−y0
Note:
(a) A partial derivative is just an ordinary derivative with respect to the variable which is not held constant.
Figure 1: AB− curve of f(x, y0),CD− curve of f(x0, y) and similarly for ∂f∂y(x, y) =fy(x, y) = ∂z∂y(x, y) = zy(x, y).
(c) The definition of a partial derivative only requires the idea of a limit of a function of a single variable.
Example
Find the first partial derivatives of f(x, y) = x2y+y3sinx.
Solution:
f(x, y) = x2y+y3sinx⇒ ∂f∂x = 2xy+y3cosx,∂f∂y =x2+ 3y2sinx
Example
Evaluate ∂f∂x(1,2) for f(x, y) = x2y+y3sinx Solution:
Method 1:
Method 2:
f(x, y) = x2y+y3sinx⇒ ∂f∂x = 2xy+y3cosx.Then ∂f∂x(1,2) = (2xy+y3cosx)|x=1
y=2 = 4 + 8 cos 1.
Example
Find the first partial derivatives of f(x, y, z) = e2zcosxy.
Solution:
f(x, y, z) =e2zcosxy⇒ ∂f∂x =−e2zysinxy,∂f∂y =−e2zxsinxy,∂f∂z = 2e2zcosxy.
We may differentiate the first partial derivatives of a function again to obtain second partial derivatives.
fxx = ∂x∂x∂2f = ∂x∂ ∂f∂x
, fyy = ∂y∂y∂2f = ∂y∂
∂f
∂y
, fxy = ∂y∂x∂2f = ∂y∂ ∂f∂x
, fyx = ∂x∂y∂2f = ∂x∂
∂f
∂y
. Higher order partial derivatives may be similarly defined.
Example
Letf(x, y) = log (x2+y2)12, find its partial derivatives up to order two.
Solution:
f(x, y) = log (x2+y2)12 ⇒fx = ∂f∂x = x2+yx 2, fy = ∂f∂y = x2+yy 2
⇒fxx = ∂∂x2f2 = ∂x∂ ∂f∂x
= ∂x∂
x x2+y2
= x2+y1 2 − 2x2
(x2+y2)2 = y2−x2
(x2+y2)2
, fyy = ∂∂y2f2 = ∂y∂ ∂f
∂y
= x2−y2
(x2+y2)2, fxy = ∂y∂ ∂f∂x
= ∂y∂ x
x2+y2
= −2xy
(x2+y2)2
fyx = ∂x∂
∂f
∂y
= ∂x∂
y x2+y2
= −2xy
(x2+y2)2
Note that in the above example fxy =fyx, which is the case for most functions that are useful in engineering and science. However, it is not always true.
f(x, y) =
xy(x2−y2)
x2+y2 if (x, y)6= (0,0) 0 if (x, y) = (0,0)
(a)If (x, y)6= (0,0), findfxy(x, y), fyx(x, y) and verify that they are equal.
(b)Show that fx(0,0) =fy(0,0).
(c)Show that fxy(0,0), fyx(0,0) exist but they are not equal.
Solution:
(a)
There is a theorem saying that if fxy(x, y)&fyx(x, y) exist at (x0, y0) and nearby and fxy(x, y)&fyx(x, y) both are continuous at (x0, y0) thenfxy(x0, y0) = fyx(x0, y0).
Now, if (x, y)6= (0,0) fxy(x, y) = ∂y∂
∂
∂x
xy(x2−y2)
x2+y2
= ∂y∂ h
4x2y3+x4y−y5 (x2+y2)2
i
= −y6−9x2y4+9x4y2+x6
(x2+y2)3
fyx(x, y) = ∂x∂
h−4y2x3−y4x+x5 (x2+y2)2
i
= −y6−9x2y4+9x4y2+x6
(x2+y2)3
Sofxy(x, y) = fyx(x, y) (b)
fx(0,0) = lim
x→0
f(x,0)−f(0,0)
x = lim
x→0 0−0
x = 0, fy(0,0) = lim
y→0
f(0,y)−f(0,0)
y = lim
x→0 0−0
y = 0 (c)
Ify 6= 0, fx(0, y) = lim
x→0
f(x,y)−f(0,y)
x = lim
x→0
xy(x2−y2)
x2+y2 −0
x = lim
x→0
y(x2−y2)
x2+y2 =−y Thus,fx(0, y) =
−y if y6= 0 0 if y= 0
=−y,∀y fxy(0,0) = lim
y→0
fx(0,y)−fx(0,0)
y = lim
y→0
−y−0
y =−1
Similarly,
Ifx6= 0, fy(x,0) = lim
y→0
f(x,y)−f(x,0)
y = lim
y→0
xy(x2−y2)
x2+y2 −0
y = lim
y→0
x(x2−y2)
x2+y2 =x Thus,fY(x,0) = x
Forfxy(x, y) =
−y6−9x2y4+9x4y2+x6
(x2+y2)3 if (x, y)6= (0,0)
−1 if (x, y) = (0,0) ,we observe that along y= 0, lim
(x,y)→(0,0)fxy(x, y) = lim
x→0fxy(x,0) = 1.
However, alongx= 0, lim
(x,y)→(0,0)fxy(x, y) = lim
y→0fxy(0, y) = −1.
It concludes that fxy(x, y) is not continuous at (0,0).
4 The Chain Rule
For functions of one variable, if y=f(x) and x=x(t), theny=f[x(t)] and dydt = dxdfdxdt. Iff =f(u) and u=u(x, y) then ∂f∂x = dudf∂u∂x and ∂f∂y = dudf∂u∂y.
Example
Iff =f(u) = logu and u= (x2 +y2)12, evaluate ∂f∂x,∂f∂y. Solution:
∂f
∂x = dudf∂u∂x = u1 × 12(x2+y2)−
1
2 ×2x= 1
(x2+y2)12 × 12(x2+y2)−
1
2 ×2x= x2+yx 2
And ∂f∂y = dudf ∂u∂y = x2+yy 2
For a function of two variables we have
Theorem
Ifz =f(x, y) and x=x(t), y =y(t) then dzdt = ∂f∂xdxdt + ∂f∂ydydt. Proof:
dz
dt = lim
δt→0
z(t+δt)−z(t)
δt = limδt→0 f[x(t+δt),y(t+δt)]−f[x(t),y(t)]
δt .
Now ast change tot+δt, xand y change byδx and δy respectively, where, δx=x(t+δt)−x(t).
Thus the change in f may be expressed as
f[x(t+δt), y(t+δt)]−f[x(t), y(t)] =f(x+δx, y+δy)−f(x, y) =QC =QR+RC =P B+RC
= [f(x+δx, y)−f(x, y)] + [f(x+δx, y+δy)−f(x+δx, y)]
, and
dz
dt = lim
δt→0
z(t+δt)−z(t)
δt = lim
δt→0
f[x(t+δt),y(t+δt)]−f[x(t),y(t)]
δt
= lim
δt→0
f(x+δx,y)−f(x,y)+f(x+δx,y+δy)−f(x+δx,y) δt
= lim
δt→0
hf(x+δx,y)−f(x,y) δx
δx
δt + f(x+δx,y+δy)−f(x+δx,y) δy
δy δt
i
= lim
δx→0
f(x+δx,y)−f(x,y)
δx lim
δt→0 δx
δt + lim
δy→0
f(x+δx,y+δy)−f(x+δx,y)
δy lim
δt→0 δy δt
= ∂f∂xdxdt + ∂f∂ydydt
Example
Letz =f(x, y) = x2+ 2xy and x= sint and y= cost, find dzdt. Solution:
dz
dt = ∂f∂xdxdt +∂f∂ydydt = (2x+ 2y) cost+ 2x(−sint) = (2 sint+ 2 cost) cost+ 2 sint(−sint)
= sin 2t+ 2 cos 2t
This may be confirmed by direct substitution:
z =f(sint,cost) = sin2t+ 2 sintcost⇒ dzdt = 2 sintcost−2 sin2t+ 2 cos2t= sin 2t+ 2 cos 2t
A special case is when z =f(x, y) andy =y(x), that is, x=x and hence z is a function of xonly.
Then dxdz = ∂f∂xdxdx+ ∂f∂ydydx = ∂f∂x +∂f∂ydxdy.
Example
z =f(x, y) = tan−1
x y
, y = sinx, find dzdx Solution:
dz
dx = ∂f∂xdxdx+ ∂f∂ydydx = ∂f∂x +∂f∂ydydx = x2+yy 2 − x2+yx 2 cosx= x2+sinsinx2x − x2x+sincosx2x = sinx2x−x+sincos2xx
Example (Chain rule involving second derivatives) Letz =f(x, y), x=x(t), y =y(t), evaluate ddt2z2. Solution:
dz
dt = ∂f∂xdxdt +∂f∂ydydt.
d2z
dt2 = dtd dzdt
= dtd
∂f
∂x dx
dt +∂f∂ydydt
= ∂f∂xddt22x +dtd ∂f∂xdx
dt +∂f∂yddt22y + dtd
∂f
∂y
dy dt.
We observe that ∂f∂x is depending onx and y directly, depending indirectly on t through x and y respectively. To evaluate dtd ∂f∂x
we need the Chain Rule and we have
d dt
∂f
∂x
= ∂x∂ ∂f∂xdx
dt + ∂y∂ ∂f∂xdy
dt = ∂∂x2f2
dx
dt +∂y∂x∂2f dydt For the same reason, dtd
∂f
∂y
= ∂x∂
∂f
∂y
dx
dt + ∂y∂
∂f
∂y
dy
dt = ∂x∂y∂2f dxdt + ∂∂y2f2
dy dt
Then it follows that
d2z
dt2 = ∂f∂xddt2x2 +dtd ∂f∂xdx
dt + ∂f∂yddt2y2 +dtd
∂f
∂y
dy dt
= ∂f∂xddt2x2 +h
∂
∂x
∂f
∂x
dx
dt +∂y∂ ∂f∂xdy
dt
idx
dt + ∂f∂yddt22y +h
∂
∂x
∂f
∂y
dx
dt +∂y∂
∂f
∂y
dy dt
idy dt
= ∂f∂xddt2x2 + ∂∂x2f2
dx dt
2
+ ∂y∂x∂2f dydtdxdt + ∂f∂yddt22y + ∂x∂y∂2f dxdtdydt + ∂∂y2f2
dy dt
2
Example
z =f(x, y), x=t2, y =t. Suppose
∂f
∂x(1,1) = ∂f∂y(1,1) = ∂∂x2f2(1,1) = ∂∂y2f2(1,1) = e,∂x∂y∂2f (1,1) = ∂y∂x∂2f (1,1) = 2e. Evaluate ddt22z fort = 1 Solution:
x=t2 ⇒ dxdt = 2t,ddt2x2 = 2, y =t ⇒ dydt = 1,ddt22y = 0. Ift = 1, then x= 1, y = 1.
So
d2z dt2
t=1 = ∂f∂x(1,1)ddt2x2
t=1+ ∂∂x2f2(1,1) dxdt2
t=1+ ∂y∂x∂2f (1,1)dydt t=1
dx dt
t=1
+ ∂f∂y(1,1)ddt2y2
t=1
+ ∂x∂y∂2f (1,1)dxdt t=1
dy dt
t=1
+ ∂∂y2f2(1,1) dydt2 t=1
=e×2 +e×4 + 2e×1×2 +e×0 + 2e×2×1 +e×1 = 15e
Theorem (Change of Variable)
Ifz =f(x, y) and x=x(s, t), y =y(s, t), find ∂z∂s,∂z∂t. Solution:
∂z
∂s = ∂f∂x∂x∂s + ∂f∂y∂y∂s, ∂z∂t = ∂f∂x∂x∂t +∂f∂y∂y∂t
Example
Ifz =f(x, y) = e2xy and there is the change of variablesx=rcosθ, y =rsinθ, find ∂z∂r,∂z∂θ. Solution:
∂z
∂r = ∂f
∂x
∂x
∂r + ∂f
∂y
∂y
∂r = 2ye2xycosθ+ 2xe2xysinθ = 2rer2sin 2θsin 2θ and
∂z
∂θ = ∂f
∂x
∂x
∂θ + ∂f
∂y
∂y
∂θ = 2ye2xy(−rsinθ) + 2xe2xyrcosθ
= 2r2er2sin 2θcos 2θ
Again these results may be checked by substitution and direct partial differentiation.
Example (Chain rule involving second partial derivatives) Letz =f(x, y), x=x(s, t), y =y(s, t), evaluate ∂∂t22z. Solution:
∂z
∂t = ∂f∂x∂x∂t + ∂f∂y∂y∂t
∂2z
∂t2 = ∂t∂ ∂z∂t
= ∂t∂
∂f
∂x
∂x
∂t +∂f∂y∂y∂t
= ∂t∂ ∂f∂x∂x∂t
+ ∂t∂
∂f
∂y
∂y
∂t
= ∂t∂ ∂f∂x∂x
∂t +∂f∂x∂t∂ ∂x∂t
+ ∂t∂
∂f
∂y
∂y
∂t +∂f∂y∂t∂ ∂y∂t
We observe that both ∂f∂x,∂f∂y are depending on x andy directly, depending indirectly on t through x and y respectively. To evaluate ∂t∂ ∂f∂x
,∂t∂
∂f
∂y
we need the Chain Rule and we have
∂
∂t
∂f
∂x
= ∂x∂ ∂f∂x∂x
∂t +∂y∂ ∂f∂x∂y
∂t = ∂∂x2f2∂x
∂t + ∂y∂x∂2f ∂y∂t
∂
∂t
∂f
∂y
= ∂x∂
∂f
∂y
∂x
∂t +∂y∂
∂f
∂y
∂y
∂t = ∂x∂y∂2f ∂x∂t +∂∂y2f2
∂y
∂t
It follows that
∂2z
∂t2 = ∂t∂ ∂f∂x∂x
∂t +∂f∂x∂t∂ ∂x∂t
+∂t∂
∂f
∂y
∂y
∂t + ∂f∂y∂t∂ ∂y∂t
=
∂2f
∂x2
∂x
∂t +∂y∂x∂2f ∂y∂t
∂x
∂t + ∂f∂x∂∂t22x +
∂2f
∂x∂y
∂x
∂t + ∂∂y2f2
∂y
∂t
∂y
∂t +∂f∂y∂∂t2y2
= ∂∂x2f2
∂x
∂t
2
+∂y∂x∂2f ∂y∂t∂x∂t + ∂f∂x∂∂t22x +∂x∂y∂2f ∂x∂t∂y∂t + ∂∂y2f2
∂y
∂t
2
+∂f∂y∂∂t2y2
= ∂∂x2f2
∂x
∂t
2
+ 2∂x∂y∂2f ∂x∂t∂y∂t + ∂∂y2f2
∂y
∂t
2
+∂f∂x∂∂t2x2 +∂f∂y∂∂t2y2
Example
Consider z =f(x, y), suppose x=rcosθ, y =rsinθ. Show that
∂2z
∂r2 = cos2θ∂∂x2f2 + 2 sinθcosθ∂x∂y∂2f + sin2θ∂∂y2f2
Solution:
∂z
∂r = ∂f∂x∂x∂r + ∂f∂y∂y∂r = cosθ∂f∂x+ sinθ∂f∂y
∂2z
∂r2 = ∂r∂ ∂z∂r
= ∂r∂
cosθ∂f∂x + sinθ∂f∂y
= cosθ∂r∂ ∂f∂x
+ sinθ∂r∂
∂f
∂y
= cosθ
∂2f
∂x2
∂x
∂r +∂y∂x∂2f ∂y∂r
+ sinθ
∂2f
∂x∂y
∂x
∂r + ∂∂y2f2
∂y
∂r
= cos2θ∂x∂22f(x, y) + 2 sinθcosθ∂x∂y∂2 f(x, y) + sin2θ∂y∂22f(x, y)
Example
Show that in polar coordinates (r, θ) in R2, Laplace’s equation ∇2u= ∂∂x2u2 +∂∂y2u2 = 0 takes the form ∂∂r2u2 +r12
∂2u
∂θ2 +1r∂u∂r = 0 Solution:
∂u
∂r = ∂u∂x∂x∂r + ∂u∂y∂y∂r
∂u
∂θ = ∂u∂x∂x∂θ + ∂u∂y∂y∂θ
x=rcosθ, y =rsinθ⇒ ∂x∂r = cosθ,∂y∂r = sinθ,∂x∂θ =−rsinθ,∂y∂θ =rcosθ Thus,
∂u
∂r = ∂u∂xcosθ+ ∂u∂ysinθ ∂u∂θ = ∂u∂x(−rsinθ) + ∂u∂yrcosθ Therefore,
∂u
∂r
∂u
∂θ
=
cosθ sinθ
−rsinθ rcosθ
∂u
∂x
∂u
∂y
⇒
∂u
∂x
∂u
∂y
=
cosθ sinθ
−rsinθ rcosθ
−1
∂u
∂r
∂u
∂θ
⇒
∂u
∂x
∂u
∂y
=
cosθ −sinrθ sinθ cosrθ
∂u
∂r
∂u
∂θ
So ∂u∂x = cosθ∂u∂r −sinrθ∂u∂θ · · ·(∗), ∂u∂y = sinθ∂u∂r +cosrθ∂u∂θ · · ·(∗∗)
From (∗∗), we learn that ∂(f∂y) = sinθ∂(f∂r)+ cosrθ∂(f∂θ). Notice that the f in the left side of (∗∗) is a
function of x, y, however, the f in the right side of (∗∗) after x, y being replaced by rcosθ and rsinθ, respectively, is a function of r, θ. Let ∂u∂y =f, therefore, we have
In addition, we notice that ∂u∂y = sinθ∂u∂r +cosrθ∂u∂θ Therefore,
∂2u
∂y2 = ∂y∂
∂u
∂y
= sinθ∂r∂ sinθ∂u∂r +cosrθ∂u∂θ
+ cosrθ∂θ∂ sinθ∂u∂r +cosrθ∂u∂θ
= sinθ
sinθ∂∂r2u2 + cosrθ∂r∂θ∂2u − cosr2θ∂u
∂θ
+ cosrθ
cosθ∂u∂r + sinθ∂θ∂r∂2u − sinθr ∂u∂r +cosrθ∂θ∂r∂2u
· · ·(1) Similarly,
∂2u
∂x2 = ∂
∂x ∂u
∂x
= cosθ ∂
∂r ∂u
∂x
−sinθ r
∂
∂θ ∂u
∂x
= cosθ ∂
∂r
cosθ∂u
∂r − sinθ r
∂u
∂θ
−sinθ r
∂
∂θ
cosθ∂u
∂r − sinθ r
∂u
∂θ
= cosθ
cosθ∂2u
∂r2 +sinθ r2
∂u
∂θ − sinθ r
∂2u
∂r∂θ
− sinθ r
cosθ ∂2u
∂θ∂r −sinθ∂u
∂r − sinθ r
∂2u
∂θ2 − cosθ r
∂u
∂θ
· · ·(2)
Finally, (1)+(2) we have ∂∂x2u2 + ∂∂y2u2 = ∂∂r2u2 +r12
∂2u
∂θ2 +1r∂u∂r = 0
5 Implicit Functions
Letf(x, y) be a function of two independent variables and supposefx(x, y)&fy(x, y) exist and are continuous at (x0, y0) and nearby, in addition,f(x0, y0) = 0&fy(x0, y0)6= 0. Then about (x0, y0) the equation f(x, y) = 0 determines an mplicit function y=y(x) about x0 with y0 =y(x0) and y=y(x) being differentiable atx0.
The above is also applicable to system of equations:
The system of equations
f1(x1,· · · , xn, y1,· · · , ym) = 0 ...
fm(x1,· · ·, xn, y1,· · · , ym) = 0
of x1,· · · , xn and the partial
derivatives ofy1,· · · , ym with respect toxi,1≤i≤n can be found.
Example
The equation x3−xy2+yz2−z3 = 5 determine z as a function of x, y.Find ∂z∂x. Solution:
Differentiating x3−xy2+yz2−z3 = 5 with respect tox gives 3x2−y2+ 2zy∂x∂z −3z2∂z∂x = 0 and ∂z∂x = 2zy−3zy2−3x22 if 2zy−3z2 6= 0
Example
Find the gradient of the tangent dxdy at a point (x, y) of the conic
f(x, y) = ax2+ 2hxy+by2+ 2gx+ 2f y+c= 0
Solution:
y is defined as an implicit function of x by the equation