Functions of Several Variables
1
From one variable to several
So far every function has had a single input: y = f (x), a rule from R to R, whose graph is a curve in the
plane. Many quantities in science and engineering depend on more than one input. The temperature in a
room depends on position (x, y, z); the pressure of a gas depends on volume and temperature; the price of
an option depends on the stock price and time. To model these we need functions of several variables.
Definition 1.1. A real-valued function of n variables is a rule
(x1 , . . . , xn ) ∈ D ⊆ Rn ,
z = f (x1 , x2 , . . . , xn ),
assigning to each point of a set D exactly one real number z. The xi are the independent variables; z is the
dependent variable.
A function written directly as z = f (x1 , . . . , xn ) is called explicit; a function defined by a relation
Φ(z, x1 , . . . , xn ) = 0 that is not solved for z is called implicit. For most of this chapter we work with n = 2,
writing z = f (x, y), because the ideas and the pictures are clearest there and extend to higher n without
change.
Graph. The graph of z = f (x, y) is the set of points (x, y, z) in three-dimensional space with z = f (x, y).
It is a surface sitting above (or below) the xy-plane.
2
Domain and range
Definition 2.1. The domain D of z = f (x, y) is the set of all points (x, y) in the plane for which f (x, y)
is defined (gives a real value). The range is the set of all resulting values of z.
The domain may be the whole plane, or a region bounded by curves. Finding it means asking: for which
(x, y) does the formula make sense? The usual obstructions are the same as in one variable, no even root
of a negative number, no division by zero, no logarithm or inverse-sine of an out-of-range argument.
p
Example 2.2. z = 1 − x2 − y 2 .
For z to be real we need 1 − x2 − y 2 ≥ 0, i.e.
x2 + y 2 ≤ 1.
So the domain is the closed unit disc. As (x, y) ranges over it, 1 − x2 − y 2 runs from 0 (on the boundary
circle) to 1 (at the origin), so z runs over [0, 1]: the range is [0, 1]. (The graph is the upper unit hemisphere.)
1
.
x2 − y 2
We need x2 − y 2 ̸= 0, i.e. x ̸= ±y. The domain is the whole plane minus the two lines y = x and
y = −x. The range is all nonzero reals, R \ {0}.
Example 2.3. z =
Example 2.4. z = ln(x + y).
The logarithm needs a positive argument: x + y > 0. The domain is the open half-plane above the line
x + y = 0. The range is all of R.
Example 2.5. z = sin−1 (x + y).
The inverse sine needs −1 ≤ x + y ≤ 1. The domain is the strip between the parallel lines x + y = −1
and x + y = 1. The range is [− π2 , π2 ].
1
Example 2.6. z =
p
(9 − x2 − y 2 )(x2 + y 2 − 1).
We need the product to be ≥ 0, so both factors have the same sign. Both ≥ 0 means 1 ≤ x2 + y 2 ≤ 9;
both ≤ 0 would need x2 + y 2 ≥ 9 and ≤ 1, which is impossible. So the domain is the closed annulus (ring)
between the circles of radius 1 and 3 centred at the origin.
ln(x − y)
Example 2.7. z = p
.
4 − x2 − y 2
The logarithm needs x > y, i.e. points below the line y = x; the square root in the denominator needs
4 − x2 − y 2 > 0 (strictly, since it divides), i.e. the open disc of radius 2. The domain is the part of that
open disc lying below the line y = x, an open half-disc.
x2 + y 2 ≤ 1
3
−1 ≤ x + y ≤ 1
x+y >0
Distance, neighbourhoods, bounded functions
To speak of limits we first need to say what “close” means in the plane.
Distance. For P (x0 , y0 ) and Q(x1 , y1 ) in R2 ,
p
|P Q| = (x1 − x0 )2 + (y1 − y0 )2 .
Definition 3.1. The δ-neighbourhood of P (x0 , y0 ) is the open disc of radius δ about P :
o
n
p
Nδ (P ) = (x, y) : (x − x0 )2 + (y − y0 )2 < δ .
p
Because |x − x0 | ≤ (x − x0 )2 + (y − y0 )2 and similarly for y, the disc contains and is contained in
squares, so an equivalent “square” neighbourhood is {|x − x0 | < δ, |y − y0 | < δ}. Either may be used.
y
Nδ (P )
δ
P (x0 , y0 )
x
Definition 3.2. f is bounded on D if there is a constant M > 0 with |f (x, y)| ≤ M for all (x, y) ∈ D.
4
Limits
Definition 4.1. Let z = f (x, y) be defined on a domain D and let P (x0 , y0 ) be a point of D or of its
boundary. We write
lim
f (x, y) = ℓ
(x,y)→(x0 ,y0 )
2
if for every ε > 0 there exists δ > 0 such that
|f (x, y) − ℓ| < ε
whenever
0<
p
(x − x0 )2 + (y − y0 )2 < δ.
In words: f (x, y) can be made as close to ℓ as we please by taking (x, y) sufficiently close to (x0 , y0 ), but
not equal to it.
4.1
The single most important point
In one variable, x can approach x0 from only two sides. In the plane, (x, y) can approach (x0 , y0 ) along
infinitely many paths, straight lines of every slope, parabolas, spirals. Since a limit, if it exists, is unique, it
must come out the same along every path.
line
line
(x0 , y0 )
parabola
axis
This gives two working principles:
• To show a limit does not exist: find two paths along which f tends to different values (or one path
along which it does not tend to a finite value).
• To find a limit along one path proves nothing about existence, it only gives a candidate value,
which must then be confirmed to hold along all paths (e.g. by an ε–δ or polar-coordinate argument).
4.2
Worked examples: non-existence
x2 − y 2
.
(x,y)→(0,0) x2 + y 2
Along the line y = mx,
Example 4.2.
lim
1 − m2
x2 − m 2 x2
=
,
x2 + m 2 x2
1 + m2
which depends on m: along the x-axis (m = 0) the value is 1, along the y-axis it is −1. Different paths,
different values ⇒ the limit does not exist.
x2 y
.
Example 4.3.
lim
(x,y)→(0,0) x4 + y 2
x2 · mx
mx
= 2
→ 0. So every straight line gives 0, tempting, but not
4
2
2
x +m x
x + m2
conclusive. Try the parabola y = x2 :
x2 · x2
x4
1
=
= .
x4 + x 4
2x4
2
1
Line paths give 0, the parabola gives 2 ⇒ no limit. (Moral: checking only lines can mislead.)
Along any line y = mx:
Example 4.4.
xy 2
.
(x,y)→(0,0) x2 + y 4
lim
Along x = 0 the value is 0; along any line y = mx it is
parabola x = y 2 :
m2 x3
m2 x
=
→ 0. Now try the
x2 + m 4 x4
1 + m 4 x2
y2 · y2
1
= .
4
4
y +y
2
Again lines give 0 but a parabola gives 12 =⇒ no limit. The rule of thumb: match the powers. Here x
and y 2 appear with equal weight, so the path x = y 2 is the natural one to try.
3
x2 + y
.
(x,y)→(1,2) x + y 2
The denominator tends to 1+4 = 5 ̸= 0, so this is not an indeterminate form: the quotient of continuous
1+2
3
functions is continuous where the denominator is nonzero, and the limit is simply the value
= .
1+4
5
Example 4.5.
4.3
lim
Iterated limits and the double limit
Besides the double (simultaneous) limit
lim
f (x, y), one can take the limits one variable at a time.
(x,y)→(x0 ,y0 )
The two iterated (repeated) limits are
lim lim f (x, y)
and
y→y0 x→x0
lim
lim f (x, y) .
x→x0 y→y0
These are different notions, and the relationship between them is one-directional.
Theorem 4.6. If the double limit
lim
f (x, y) = ℓ exists, and an iterated limit exists, then that
(x,y)→(x0 ,y0 )
iterated limit also equals ℓ.
The theorem gives a test for non-existence, and nothing more:
What we find
What we may conclude
both iterated limits exist and are unequal
the double limit does not exist
both iterated limits exist and are equal
nothing, the double limit may or may not exist
an iterated limit does not exist
nothing, the double limit may still exist
So iterated limits can be used only to disprove the existence of a double limit, and only when both exist
and differ. They can never prove that a double limit exists.
Example 4.7 (iterated limits that disagree).
x−y
lim
(x,y)→(0,0) x + y
Taking the limits one at a time:
x − y
−y
lim lim
= lim
= −1,
y→0 x→0 x + y
y→0 y
.
x − y
x
lim lim
= lim = +1.
x→0 x
x→0 y→0 x + y
Both iterated limits exist and differ, so the double limit does not exist.
xy
xy
. For fixed y ̸= 0, lim 2
=
2
2
x→0
x
+
y
x
+ y2
(x,y)→(0,0)
1
0, so the first iterated limit is 0; by symmetry the second is also 0. Yet along y = x the value is , so the
2
double limit does not exist. Equal iterated limits prove nothing.
Example 4.8 (equal iterated limits, yet no double limit).
4.4
lim
Worked examples: existence
When a limit does exist, path-testing can only suggest the value; we confirm it by bounding |f − ℓ|, often
using polar coordinates x = r cos θ, y = r sin θ, so that (x, y) → (0, 0) becomes r → 0 uniformly in θ.
1
1
+ y sin (defined off the axes).
y
x
(x,y)→(0,0)
p
1
1
Since | sin(·)| ≤ 1, x sin y + y sin x ≤ |x| + |y| ≤ 2 x2 + y 2 → 0. So the double limit exists and equals 0.
Example 4.9.
lim
x sin
Now consider the iterated limit lim lim f . For each fixed x ̸= 0 the inner limit lim x sin y1 does not exist,
x→0 y→0
y→0
so this iterated limit does not exist. This is entirely consistent with Theorem 4.6, which only says that an
iterated limit, if it exists, must agree with the double limit; it does not require the iterated limits to exist.
4
Example 4.10 (ε–δ proof with a square neighbourhood). Prove that
lim
(3x + 4y) = 10.
(x,y)→(2,1)
Rough work. We must make |3x + 4y − 10| small. Rewrite it in terms of the distances |x − 2| and |y − 1|:
|3x + 4y − 10| = |3(x − 2) + 4(y − 1)| ≤ 3|x − 2| + 4|y − 1|.
Proof. Let ε > 0 and take the square neighbourhood |x − 2| < δ, |y − 1| < δ. Then
|3x + 4y − 10| ≤ 3|x − 2| + 4|y − 1| < 3δ + 4δ = 7δ.
ε
gives |3x + 4y − 10| < ε whenever |x − 2| < δ and |y − 1| < δ. Hence the limit is 10.
7
(The square form {|x − x0 | < δ, |y − y0 | < δ} is often the easier one to work with, because each coordinate
can be bounded separately. Since the disc of radius δ lies inside this square, the same δ also works for the
disc.)
Choosing δ =
Example 4.11.
x2 y
= 0.
(x,y)→(0,0) x2 + y 2
lim
Since x2 ≤ x2 + y 2 , we have
x2
≤ 1, so
x2 + y 2
p
x2 y
x2
x2 + y 2 < ε
=
|y|
≤
|y|
≤
x2 + y 2
x2 + y 2
when
p
x2 + y 2 < ε.
So the limit is 0 (take δ = ε).
x3 + y 3
.
(x,y)→(0,0) x2 + y 2
Put x = r cos θ, y = r sin θ:
Example 4.12.
lim
x3 + y 3
r3 (cos3 θ + sin3 θ)
=
= r (cos3 θ + sin3 θ).
x2 + y 2
r2
Since | cos3 θ + sin3 θ| ≤ 2, the expression is ≤ 2r → 0 as r → 0, independently of θ. So the limit is 0.
Example 4.13.
Example 4.14.
sin(x2 + y 2 )
sin u
= 1, by putting u = x2 + y 2 → 0 and using
→ 1.
2
2
x +y
u
(x,y)→(0,0)
lim
lim
(x,y)→(0,2)
Write
1 · 2 = 2.
sin(xy)
.
x
sin(xy)
sin u
sin(xy)
=
· y. As (x, y) → (0, 2), u = xy → 0, so
→ 1, while y → 2. The limit is
x
xy
u
Example 4.15.
Example 4.16.
exy − 1
exy − 1
eu − 1
= lim
· x = 1 · 2 = 2, using
→ 1 as u = xy → 0.
y
xy
u
(x,y)→(2,0)
lim
lim
(x2 + y 2 ) ln(x2 + y 2 ).
(x,y)→(0,0)
In polar form this is r2 ln r2 = 2r2 ln r, which depends on r alone. Since r2 ln r → 0 as r → 0+ (a power
beats a logarithm), the limit is 0.
5
Continuity
Definition 5.1. f is continuous at (x0 , y0 ) if
lim
(x,y)→(x0 ,y0 )
f (x, y) = f (x0 , y0 ).
As in one variable this bundles three requirements: f (x0 , y0 ) is defined, the limit exists, and the two are
equal. f is continuous on D if it is continuous at every point of D.
5
Definition 5.2 (ε–δ form of continuity). f is continuous at (x0 , y0 ) if for every ε > 0 there exists δ > 0
such that
p
|f (x, y) − f (x0 , y0 )| < ε
whenever
(x − x0 )2 + (y − y0 )2 < δ.
Remark 5.3. Compare with the definition of a limit: the limit value ℓ is replaced by the actual value
√
f (x0 , y0 ), and the restriction 0 < · · · is dropped, because at the point itself |f (x0 , y0 ) − f (x0 , y0 )| = 0 < ε
holds automatically.pThe recipe for proving continuity is: bound |f (x, y) − f (x0 , y0 )| by a quantity that
tends to 0 with r = (x − x0 )2 + (y − y0 )2 , then read off δ.
Example 5.4 (continuity by ε–δ). Show that
4
4
2x + 3y ,
f (x, y) =
x2 + y 2
0,
(x, y) ̸= (0, 0)
(x, y) = (0, 0)
is continuous at (0, 0).
Put x = r cos θ, y = r sin θ, where r =
p
x2 + y 2 ̸= 0. Then
r4 (2 cos4 θ + 3 sin4 θ)
≤ r2 2| cos4 θ| + 3| sin4 θ| ≤ 5r2 < ε
2
2
2
r (cos θ + sin θ)
p
p
p
provided r < ε/5. So choosing δ < ε/5, we find |f (x, y) − f (0, 0)| < ε whenever 0 < x2 + y 2 < δ.
Hence
lim f (x, y) = 0 = f (0, 0), and f is continuous at (0, 0).
|f (x, y) − f (0, 0)| =
(x,y)→(0,0)
Example 5.5 (continuity by reduction to one variable). Show that
−1
sin (x + 2y) ,
f (x, y) = tan−1 (2x + 4y)
1
2,
x + 2y ̸= 0
(x, y) = (0, 0)
is continuous at (0, 0).
Put x + 2y = t. Then 2x + 4y = 2t, and t → 0 as (x, y) → (0, 0). Therefore
−1 sin t
t
sin−1 t
2t
1
1
=
lim
lim f (x, y) = lim
= 1 · 1 · = = f (0, 0).
t→0
t→0 tan−1 2t
t
2
2
tan−1 2t 2t
(x,y)→(0,0)
So f is continuous at (0, 0). (The function depends on (x, y) only through t = x + 2y, which reduces the
problem to a one-variable limit.)
Example 5.6 (finding an explicit δ). Let
4
2 3
5
x y − 3x y + y , (x, y) ̸= (0, 0)
(x2 + y 2 )2
f (x, y) =
0,
(x, y) = (0, 0).
Find a δ > 0 such that |f (x, y) − f (0, 0)| < 0.01 whenever
p
x2 + y 2 < δ.
Put x = r cos θ, y = r sin θ:
r5 (cos4 θ sin θ − 3 cos2 θ sin3 θ + sin5 θ)
r4 (cos2 θ + sin2 θ)2
= r cos4 θ sin θ − 3 cos2 θ sin3 θ + sin5 θ .
|f (x, y) − f (0, 0)| =
Each trigonometric term is at most 1 in absolute value, so this is
≤ r(1 + 3 + 1) = 5r = 5
p
x2 + y 2 < 0.01
when
p
0.01
x2 + y 2 <
= 0.002.
5
Hence δ = 0.002 works (any smaller δ also does). In particular f is continuous at (0, 0).
6
xy
Example 5.7 (continuous by an estimate). Show f (x, y) = p
(with f (0, 0) = 0) is continuous at
x2 + y 2
(0, 0).
Using |xy| ≤ 21 (x2 + y 2 ),
x2 + y 2
|f (x, y) − 0| ≤ p
=
2 x2 + y 2
p
x2 + y 2
<ε
2
when
p
x2 + y 2 < 2ε.
So lim(x,y)→(0,0) f = 0 = f (0, 0): continuous.
Example 5.8. For what value of k is
4
4
x − y , (x, y) ̸= (0, 0)
f (x, y) = x2 + y 2
k,
(x, y) = (0, 0)
continuous at the origin? Factorise:
(x2 − y 2 )(x2 + y 2 )
= x2 − y 2 → 0. So f is continuous at (0, 0) if and
x2 + y 2
only if k = 0.
Remark 5.9 (which functions are continuous). Polynomials in x, y are continuous everywhere; a rational
function is continuous wherever its denominator is nonzero; sums, products, quotients (nonzero denominator) and compositions of continuous functions are continuous. The only points needing care are where a
denominator vanishes or a piecewise definition changes, exactly the points we test by paths.
Remark 5.10 (kinds of discontinuity). If the limit exists but the function is undefined there or takes a
different value, the discontinuity is removable (redefine f at the point). If the limit fails to exist (path
dependence), it is irremovable.
x3 + y 3
(undefined at the origin) has limit 0 there
x2 + y 2
(Example 4.12), so it has a removable discontinuity. Setting g(0, 0) = 0 makes it continuous.
Example 5.11 (removable vs irremovable). (i) g(x, y) =
(ii) h(x, y) =
x2 − y 2
has no limit at the origin (Example 4.2), so its discontinuity there is irremovable.
x2 + y 2
Practice problems
1. Find and sketch the domain, and give the range: (i) z =
2. Show that each limit does not exist: (i)
p
1
y − x2 ; (ii) z = √ ; (iii) z = ln(9−x2 −y 2 ).
xy
xy
x2 y 2
;
(ii)
lim
(try the axes,
(x,y)→(0,0) x2 + y 2
(x,y)→(0,0) x2 y 2 + (x − y)2
lim
then y = x).
3. Evaluate, confirming by polar coordinates or an estimate:
x3 − y 3
xy(x2 − y 2 )
(i)
lim
; (ii)
lim
.
2
2
x2 + y 2
(x,y)→(0,0) x + y
(x,y)→(0,0)
2
2
x − y , (x, y) ̸= (0, 0)
4. Discuss the continuity at (0, 0) of f (x, y) = x2 + y 2
0,
(x, y) = (0, 0).
5. Using the ε–δ definition, prove
x3
= 0.
(x,y)→(0,0) x2 + y 2
lim
6. Compute both iterated limits of f (x, y) =
7. Evaluate
x2 − y 2
at the origin and comment on the double limit.
x2 + y 2
tan(x2 + y 2 )
ln(x + y)
p
and
lim
.
x2 + y 2
(x,y)→(0,0)
(x,y)→(1,0)
x2 + y 2
lim
7
8. Find the value of k making f (x, y) =
x3 y
(x,
y)
=
̸
(0,
0)
, f (0, 0) = k, continuous at the origin, or
x4 + y 2
show that no such k exists.
6
Partial derivatives
A function of two variables can change in the x-direction and in the y-direction, and these rates may differ.
We measure each by holding the other variable fixed.
Definition 6.1. The first-order partial derivatives of z = f (x, y) are
fx =
∂f
f (x + ∆x, y) − f (x, y)
= lim
,
∂x ∆x→0
∆x
fy =
∂f
f (x, y + ∆y) − f (x, y)
= lim
,
∆y→0
∂y
∆y
provided the limits exist. Other notations: fx = zx = ∂x f .
Practical rule. To find fx , differentiate f with respect to x treating y as a constant; to find fy , treat
x as constant.
Example 6.2. f (x, y) = x3 y − sin(xy) + y 2 .
fx = 3x2 y − y cos(xy),
fy = x3 − x cos(xy) + 2y.
(In fx the term y 2 is a constant, so it drops; in fy it contributes 2y.)
Example 6.3. f (x, y) = x2 cos y + 2xy. Holding y fixed, x2 and x are differentiated while cos y and 2y are
constant multipliers; holding x fixed, the roles reverse:
fy = −x2 sin y + 2x.
fx = 2x cos y + 2y,
Example 6.4 (from the definition). f (x, y) = x2 + y 2 + x. By the definition,
2
x + (y + ∆y)2 + x − x2 + y 2 + x
2y ∆y + (∆y)2
= lim
= 2y,
fy = lim
∆y→0
∆y→0
∆y
∆y
agreeing with the practical rule (fy = 2y, fx = 2x + 1).
Example 6.5 (a power with a variable exponent). f (x, y) = xy (x > 0). Treating y as constant, xy is a
power function; treating x as constant, it is an exponential with base x. Hence
fx = y xy−1 ,
fy = xy ln x.
(A common slip is to use the power rule for fy as well.)
Example 6.6 (evaluating at a point). f (x, y) = ln(x2 + y 2 ). Then
fx =
2x
,
x2 + y 2
fy =
2y
,
x2 + y 2
so at (1, 2): fx = 52 , fy = 54 .
Example 6.7 (three variables). u = x2 y + y 2 z + z 2 x. Each partial is taken holding the other two variables
fixed:
ux = 2xy + z 2 ,
uy = x2 + 2yz,
uz = y 2 + 2zx,
and so ux + uy + uz = (x + y + z)2 .
8
7
Geometric meaning
7.1
Recall: one variable
f (x0 + h) − f (x0 )
is the limit of slopes of chords P Q, and so it
h→0
h
is the slope of the tangent line to the curve at P (x0 , f (x0 )). The tangent line is y = f (x0 ) + f ′ (x0 )(x − x0 ).
For y = f (x), the derivative f ′ (x0 ) = lim
y
Q
tangent, slope f ′ (x0 )
chord
P
x0
7.2
x
x0 + h
Partial derivatives
The graph of z = f (x, y) is a surface S. Let P x0 , y0 , f (x0 , y0 ) be a point of S.
• The vertical plane y = y0 cuts S in a curve C1 . On C1 only x varies: C1 is the graph of the one-variable
function g(x) = f (x, y0 ). Since fx (x0 , y0 ) = g ′ (x0 ),
fx (x0 , y0 ) = slope of the tangent T1 to the curve C1 at P
• The vertical plane x = x0 cuts S in the curve C2 , the graph of h(y) = f (x0 , y), and fy (x0 , y0 ) = h′ (y0 ) is
the slope of the tangent T2 to C2 at P .
z
z
plane y = y0
plane x = x0
P
P
C1
y
T1 : slope fx
T2 : slope fy
C2
y
(x0 , y0 )
(x0 , y0 )
x
x
(1) fx : slope of the curve in the plane y = y0 .
(2) fy : slope of the curve in the plane x = x0 .
Example 7.1. Let f (x, y) = 4 − x2 − 2y 2 (a downward paraboloid). Find fx (1, 1), fy (1, 1).
fx = −2x, fy = −4y, so fx (1, 1) = −2, fy (1, 1) = −4, and P = (1, 1, 1).
Check with the curves. In the plane y = 1 the curve is z = 2 − x2 , whose slope at x = 1 is −2x 1 =
−2 = fx (1, 1). In the plane x = 1 the curve is z = 3 − 2y 2 , whose slope at y = 1 is −4y 1 = −4 = fy (1, 1).
Remark 7.2 (link with one variable). A partial derivative is not a new kind of derivative: it is an ordinary
derivative of the one-variable function obtained by freezing the other variables. Every rule of differentiation
(product, quotient, chain, and the geometry of slopes and tangents) therefore carries over unchanged, one
variable at a time. What is new is that a surface has infinitely many directions through P , and fx , fy
describe only two of them, which is why partials alone can fail to capture the behaviour of f .
9
8
Higher-order partial derivatives
Partial derivatives are themselves functions of x, y and may be differentiated again:
fxx =
∂
(fx ),
∂x
fyy =
∂
(fy ),
∂y
fxy =
∂
(fx ),
∂y
fxy and fyx are the mixed second partials. Other notations: fxx =
fyx =
∂
(fy ).
∂x
∂2f
∂2f
,
f
=
(differentiate first in
xy
∂x2
∂y ∂x
x, then in y).
Theorem 8.1 (Clairaut / Schwarz). If fxy and fyx are both continuous in a neighbourhood of a point, then
they are equal there: fxy = fyx .
Example 8.2. f (x, y) = x2 exy . Then fx = 2xexy + x2 yexy , and
∂
fxy =
2xexy + x2 yexy = x2 (xy + 3)exy ,
∂y
while fy = x3 exy gives fyx = x2 (xy + 3)exy too. So fxy = fyx , as Clairaut predicts.
Example 8.3. f (x, y) = exy + ln(x2 + y). First partials:
fx = yexy +
2x
x2 + y
fy = xexy +
,
1
x2 + y
.
Mixed partials:
fxy =
2x
∂
(fx ) = exy + xyexy − 2
,
∂y
(x + y)2
fyx =
∂
2x
(fy ) = exy + xyexy − 2
,
∂x
(x + y)2
so fxy = fyx .
Example 8.4. Let g(x, y, z) = ex−2y+3z . The first partials are gx = ex−2y+3z , gy = −2ex−2y+3z , gz =
3ex−2y+3z . Each can be differentiated in three ways, giving nine second partials; writing E = ex−2y+3z ,
gxx = E,
gxy = −2E, gxz = 3E,
gyx = −2E, gyy = 4E,
gyz = −6E,
gzx = 3E,
gzy = −6E, gzz = 9E.
The array is symmetric (gxy = gyx , etc.), as Clairaut’s theorem predicts.
Example 8.5. f (x, y) = xey + yex . Then fx = ey + yex , fy = xey + ex , and
fxy = ey + ex = fyx ,
fxx = yex ,
fyy = xey .
Remark 8.6 (link with iterated limits). Writing each derivative as a limit,
f (x + h, y + k) − f (x + h, y) − f (x, y + k) + f (x, y)
,
k→0 h→0
hk
and fyx is the same expression with the two limits taken in the opposite order. So fxy and fyx are a pair
of iterated limits of one quotient. We saw that iterated limits taken in different orders need not agree;
Clairaut’s theorem gives conditions (continuity of the mixed partials) under which these two do.
fxy (x, y) = lim lim
Example 8.7. Let
2
2
xy(x − y ) , (x, y) ̸= (0, 0)
f (x, y) =
x2 + y 2
0,
(x, y) = (0, 0).
For y ̸= 0, from the definition,
f (h, y) − f (0, y)
y(h2 − y 2 )
= lim
= −y,
h→0
h→0 h2 + y 2
h
fx (0, y) = lim
and fx (0, 0) = 0, so fx (0, y) = −y for all y. Similarly fy (x, 0) = x for all x. Hence
fxy (0, 0) =
d
−y
= −1,
dy
0
fyx (0, 0) =
d x
= +1.
dx
0
The mixed partials exist but are unequal; Clairaut’s theorem does not apply because fxy is not continuous
at the origin.
10
Definition 8.8. A function u(x, y) is harmonic if it satisfies Laplace’s equation
uxx + uyy = 0.
Example 8.9. Show that u = ln
p
x2 + y 2 = 21 ln(x2 + y 2 ) is harmonic.
x
(x2 + y 2 ) − 2x2
y 2 − x2
x2 − y 2
,
so
u
=
=
.
By
symmetry
u
=
. Adding,
xx
yy
x2 + y 2
(x2 + y 2 )2
(x2 + y 2 )2
(x2 + y 2 )2
uxx + uyy = 0.
ux =
p
1
x
1 3x2
Example 8.10. For u = , r = x2 + y 2 + z 2 , we have ux = − 3 (using rx = x/r) and uxx = − 3 + 5 .
r
r
r
r
Adding the three similar terms
3
3(x2 + y 2 + z 2 )
uxx + uyy + uzz = − 3 +
= 0.
r
r5
So 1/r is harmonic away from the origin.
9
Two cautionary facts
Remark 9.1 (existence of partials does not imply continuity). For
xy
, (x, y) ̸= (0, 0)
2
2
f (x, y) = x + y
0,
(x, y) = (0, 0),
f (∆x, 0) − 0
0
= lim
= 0, and similarly fy (0, 0) = 0.
∆x→0
∆x→0 ∆x
∆x
Yet f is not continuous at (0, 0) (the limit does not exist).
both partials exist at the origin: fx (0, 0) = lim
Remark 9.2 (continuity does not imply partials exist). For
f (x, y) =
(x + y) sin
1
,
x+y
0,
x + y ̸= (0, 0)
(x, y) = (0, 0),
f is continuous at the origin, but fx (0, 0) and fy (0, 0) fail to exist. So neither property implies the other.
Theorem 9.3. Let f (x, y) be a function defined in a neighborhood of the point (x0 , y0 ). If both partial
derivatives fx and fy exist, and at least one of them is bounded in a neighborhood of (x0 , y0 ), then the
function f (x, y) is continuous at (x0 , y0 ). (Sufficient but not necessary)
10
Differentiability and the total derivative
For a one-variable function, differentiability means the graph has a tangent line, a good linear approximation.
For two variables we ask for a tangent plane.
Definition 10.1. z = f (x, y) is differentiable at (x0 , y0 ) if the increment ∆z = f (x0 +∆x, y0 +∆y)−f (x0 , y0 )
can be written
∆z = fx (x0 , y0 ) ∆x + fy (x0 , y0 ) ∆y + ε1 ∆x + ε2 ∆y,
where ε1 , ε2 → 0 as (∆x, ∆y) → (0, 0). The linear part is the total differential
dz =
∂f
∂f
dx +
dy
∂x
∂y
11
10.1
Why ∆z ≈ dz: a derivation
Split the increment into a step in x followed by a step in y:
∆z = f (x + ∆x, y + ∆y) − f (x, y + ∆y) + f (x, y + ∆y) − f (x, y) .
|
{z
} |
{z
}
only x changes
only y changes
Each bracket is an increment of a function of one variable, so the one-variable Mean Value Theorem gives
∆z = fx (x + θ1 ∆x, y + ∆y) ∆x + fy (x, y + θ2 ∆y) ∆y,
0 < θ1 , θ2 < 1.
If fx , fy are continuous, the two partials on the right differ from fx (x, y), fy (x, y) by quantities ε1 , ε2 → 0;
this is the definition of differentiability, and it proves the sufficient condition below. Geometrically: we walk
from (x, y) to (x + ∆x, y + ∆y) along two edges of a rectangle, using the one-variable slope along each edge.
Theorem 10.2 (Sufficient condition). If f has continuous first-order partial derivatives at a point P , then
f is differentiable at P and therefore also continuous at P . The hierarchy is
continuous partials ⇒ differentiable ⇒ continuous,
and neither arrow reverses.
Remark 10.3. The two cautionary functions of Section 9 show both failures: the first has partials but is
not even continuous (so not differentiable); so partials existing is strictly weaker than differentiability.
Example 10.4. z = tan−1
x
y
−x
. Then fx = 2
, fy = 2
, so
2
y
x +y
x + y2
dz =
1
x2 + y 2
(y dx − x dy).
p
Example 10.5. Estimate (3.02)2 + (3.96)2 .
p
Let f (x, y) = x2 + y 2 , take the base point (3, 4) where f = 5, and set dx = 0.02, dy = −0.04. Since
x
y
fx = p
, fy = p
, at (3, 4) we have fx = 53 , fy = 45 . Then
2
2
2
2
x +y
x +y
f ≈ 5 + dz = 5 + 53 (0.02) + 45 (−0.04) = 5 + 0.012 − 0.032 = 4.980.
(The true value is 4.98016 . . .)
Example 10.6. Approximate (1.04)2.02 . Take f = xy at the base point (1, 2), where f = 1, with dx = 0.04,
dy = 0.02. From Example 6.5, fx = yxy−1 = 2 and fy = xy ln x = 0 at (1, 2). So
(1.04)2.02 ≈ 1 + 2(0.04) + 0(0.02) = 1.08
11
(true value 1.0824 . . .).
The chain rule
When the inputs x, y themselves depend on other variables, the derivatives combine through the chain rule.
Theorem 11.1 (Chain rule). Let z = f (x, y) have continuous partial derivatives.
(a) One parameter. If x = x(t), y = y(t) are differentiable, then z = z(t) and
dz
∂f dx ∂f dy
=
+
dt
∂x dt
∂y dt
(b) Two parameters. If x = x(u, v), y = y(u, v), then
∂z
∂f ∂x ∂f ∂y
=
+
,
∂u
∂x ∂u ∂y ∂u
12
∂z
∂f ∂x ∂f ∂y
=
+
.
∂v
∂x ∂v
∂y ∂v
(c) n variables. For z = f (x1 , . . . , xn ) with each xi = xi (t),
n
dz X ∂f dxi
=
.
dt
∂xi dt
i=1
Example 11.2. f = x cos y + ex sin y, with x = t2 + 1, y = t3 + t. Find
df
at t = 0.
dt
At t = 0: x = 1, y = 0. By the chain rule,
df
= cos y + ex sin y (2t) + −x sin y + ex cos y (3t2 + 1).
dt
At t = 0 the first bracket is multiplied by 2t = 0, and the second is (0 + e1 · 1)(1) = e. Hence
Example 11.3. z = x2 + y 2 , with x = u2 − v 2 , y = 2uv. Find
df
= e.
dt 0
∂z
.
∂u
∂z
= 2x · (2u) + 2y · (2v) = 4ux + 4vy = 4u(u2 − v 2 ) + 4v(2uv) = 4u(u2 + v 2 ).
∂u
(Check: z = (u2 − v 2 )2 + (2uv)2 = (u2 + v 2 )2 , so zu = 2(u2 + v 2 )(2u) = 4u(u2 + v 2 ). ✓)
1
Example 11.4. f (x, y) = sin(x + y) with x = st2 , y = s2 + . Find fs and ft .
t
1
By the chain rule. fx = fy = cos(x + y), xs = t2 , xt = 2st, ys = 2s, yt = − 2 , so
t
1
fs = cos(x + y) (t2 + 2s),
ft = cos(x + y) 2st − 2 ,
t
with x + y = st2 + s2 + 1t .
By substitution. f = sin st2 + s2 + 1t , and differentiating directly gives the same two expressions.
Example 11.5. z = ln(x2 + y 2 ) with x = et , y = e−t . Then
2x
2y
2e2t − 2e−2t
dz
= 2
et + 2
(−e−t ) = 2t
= 2 tanh 2t.
2
2
dt
x +y
x +y
e + e−2t
Example 11.6. u = x2 − y 2 with x = 2r − 3s + 4, y = −r + 8s − 5. Then
ur = ux xr + uy yr = (2x)(2) + (−2y)(−1) = 4x + 2y = 6r + 4s + 6.
Example 11.7. If u = f (y − z, z − x, x − y), show that ux + uy + uz = 0.
Put p = y − z, q = z − x, w = x − y, so u = f (p, q, w). By the chain rule,
ux = −fq + fw ,
uy = fp − fw ,
uz = −fp + fq .
Adding, every term cancels: ux + uy + uz = 0.
Example 11.8. If F (x, y) = 0 defines y as a function of x, differentiate F (x, y(x)) = 0 with respect to x:
dy
Fx + F y
= 0, so
dx
dy
Fx
=−
(Fy ̸= 0).
dx
Fy
For x3 + y 3 = 3axy: Fx = 3x2 − 3ay, Fy = 3y 2 − 3ax, so
13
dy
x2 − ay
ay − x2
=− 2
= 2
.
dx
y − ax
y − ax
Practice problems
1. Find fx and fy : (i) f = x2 y + xy 3 ; (ii) f = exy ln y; (iii) f =
x−y
.
x+y
2. Verify Clairaut’s theorem (fxy = fyx ) for f = x3 y 2 + x sin y.
3. For f = x2 y + y 3 , compute all four second partials.
xy
(with f (0, 0) = 0) has both partials at the origin, yet is not continuous
4. Show that f (x, y) = 2
x + y2
there.
5. Find the total differential of (i) z = x2 y 3 ; (ii) z = ln(x2 + y 2 ).
6. Use differentials to approximate (1.98)3 (3.01)2 , taking the base point (2, 3).
7. If z = f (x, y) with x = r cos θ, y = r sin θ, show that
∂z 2
∂x
8. If z = x2 y with x = cos t, y = sin t, find
9. For f (x, y) =
+
∂z 2
∂y
=
∂z 2
1 ∂z 2
.
r2 ∂θ
dz
and verify by direct substitution.
dt
xy(x2 − y 2 )
, f (0, 0) = 0, verify from the definition that fxy (0, 0) = −1 and fyx (0, 0) = 1.
x2 + y 2
10. If w = f (u, v) with u = x + at, v = x − at, show that
12
∂r
+
2
∂2w
2 ∂ w (the wave equation).
=
a
∂t2
∂x2
Homogeneous functions
Definition 12.1. A function f (x, y) is homogeneous of degree n if, for all λ > 0 (and all (x, y) in its
domain),
f (λx, λy) = λn f (x, y).
The same definitions apply to any number of variables: f (λx1 , . . . , λxm ) = λn f (x1 , . . . , xm ).
The degree n may be any real number, positive, negative, zero or fractional.
Example 12.2.
(i) f = x2 + xy: f (λx, λy) = λ2 (x2 + xy), degree 2.
y
(ii) f = tan−1 : unchanged when x, y are scaled, degree 0.
x
1
(iii) f = 4
: degree −4.
x + y4 + z4
√
x
(iv) f = p
: numerator degree 12 , denominator degree 1, so degree − 12 .
x2 + y 2 + z 2
(v) f = √
(vi) f =
√ 1 + (y/x)
x+y
p
: degree 12 .
√ = x
x+ y
1 + y/x
x2 + y
is not homogeneous: the terms have different degrees, so no single power of λ factors out.
x + y2
14
13
Euler’s theorem
Theorem 13.1 (Euler). Let f (x, y) be homogeneous of degree n with continuous first- and second-order
partial derivatives. Then
(i)
x
∂f
∂f
+y
= nf
∂x
∂y
For m variables, (i) reads
m
X
xi
i=1
(ii)
x2
2
∂2f
∂2f
2 ∂ f
+
2xy
= n(n − 1) f.
+
y
∂x2
∂x ∂y
∂y 2
∂f
= nf .
∂xi
∂f
Remark 13.2. In polar coordinates x = r cos θ, y = r sin θ, the chain rule gives r
= xfx + yfy . So
∂r
Euler’s theorem says
∂f
r
= nf.
∂r
Example 13.3. f = x3 + 3x2 y + y 3 has degree 3, and xfx + yfy = x(3x2 + 6xy) + y(3x2 + 3y 2 ) =
3x3 + 9x2 y + 3y 3 = 3f .
When u itself is not homogeneous
Often u is not homogeneous but some function F (u) is. Then Euler’s theorem is applied to F (u).
Corollary 13.4. If F (u) is homogeneous of degree n in x, y, then
x ux + y uy = g(u) := n
F (u)
,
F ′ (u)
Proof of the first formula. By Euler, x
x2 uxx + 2xy uxy + y 2 uyy = g(u) g ′ (u) − 1 .
∂
∂
F (u) + y
F (u) = nF (u), i.e. F ′ (u)(xux + yuy ) = nF (u).
∂x
∂y
x+y
1
√ (0 < x, y < 1), prove that x ux + y uy = − cot u.
2
x+ y
"
#
√
x+y
1 + (y/x)
p
Here cos u = √
is homogeneous of degree 21 . Euler’s theorem for F = cos u,
√ = x
x+ y
1 + y/x
n = 12 :
Example 13.5. If u = cos−1 √
∂
∂
(cos u) + y
(cos u) = 21 cos u =⇒ − sin u (xux + yuy ) = 21 cos u =⇒ xux + yuy = − 12 cot u.
∂x
∂y
y
x
Example 13.6. If u(x, y) = x2 tan−1 − y 2 tan−1 (x, y > 0), evaluate x2 uxx + 2xy uxy + y 2 uyy .
x
y
2
Since u(λx, λy) = λ u(x, y), u is homogeneous of degree 2. By Euler (ii) with n = 2, the expression
equals 2(2 − 1)u = 2u.
x
Example 13.7. If u = tan−1
x3 + y 3
, show that x ux + y uy = sin 2u.
x−y
x3 + y 3
is homogeneous of degree 2. By Corollary 13.4,
x−y
tan u
xux + yuy = 2
= 2 sin u cos u = sin 2u.
sec2 u
x+y
Example 13.8. If u = sin−1 √
√ , show that
x+ y
F (u) = tan u =
sin u cos 2u
.
4 cos3 u
sin u
1 − 2 cos2 u
cos 2u
= 12 tan u. Then g ′ (u)−1 = 21 sec2 u−1 =
=−
,
F = sin u has degree 12 , so g(u) = 12
2
cos u
2 cos u
2 cos2 u
and
′
sin u
cos 2u
sin u cos 2u
g(u) g (u) − 1 =
· −
=−
.
2
2 cos u
2 cos u
4 cos3 u
xux + yuy = 21 tan u,
x2 uxx + 2xy uxy + y 2 uyy = −
15
14
Jacobians
14.1
Definition and geometric meaning
Definition 14.1. If u = u(x, y), v = v(x, y) have first-order partial derivatives, the Jacobian of u, v with
respect to x, y is the determinant
J=
∂(u, v)
u uy
= ux vy − uy vx .
= x
vx vy
∂(x, y)
For three functions u, v, w of x, y, z it is the 3 × 3 determinant of all first partials, and similarly for n
variables.
Remark 14.2 (geometric meaning). |J| is the local area magnification of the transformation:
area element in the (u, v)-plane ≈
∂(u, v)
× area element in the (x, y)-plane.
∂(x, y)
The sign of J records whether orientation is preserved (J > 0) or reversed (J < 0), and J = 0 means the
map squashes small regions flat. This is why Jacobians appear when changing variables in double and triple
integrals.
y
v
x = x(u, v)
dv
y = y(u, v)
du
u
x
area ≈
area du dv
∂(x,y)
∂(u,v)
du dv
Example 14.3 (polar coordinates). For x = r cos θ, y = r sin θ,
∂(x, y)
cos θ −r sin θ
=
= r.
sin θ r cos θ
∂(r, θ)
A small polar “rectangle” dr × dθ has sides dr and r dθ, so its area is r dr dθ. The Jacobian is exactly this
stretching factor. Hence dx dy = r dr dθ, useful in double integrals.
y
r dθ
dr
dθ
θ
x
Example 14.4. For u = x2 − y 2 , v = 2xy:
∂(u, v)
2x −2y
= 4(x2 + y 2 ).
=
2y 2x
∂(x, y)
Example 14.5 (spherical coordinates). For x = r sin θ cos ϕ, y = r sin θ sin ϕ, z = r cos θ, expanding the
3 × 3 determinant gives
∂(x, y, z)
= r2 sin θ,
∂(r, θ, ϕ)
so dx dy dz = r2 sin θ dr dθ dϕ (useful in triple integrals).
16
14.2
Properties
Theorem 14.6.
(i) Chain rule.
∂(u, v)
∂(u, v) ∂(r, s)
=
·
.
∂(x, y)
∂(r, s) ∂(x, y)
(ii) Inverse. If J =
If u, v are functions of r, s, and r, s are functions of x, y, then
∂(u, v)
∂(x, y)
and J ′ =
, then JJ ′ = 1.
∂(x, y)
∂(u, v)
(iii) Functional dependence. u and v are functionally dependent (one is a function of the other,
∂(u, v)
Φ(u, v) = 0) if and only if
≡ 0.
∂(x, y)
∂(x, y)
1 − v −u
=
= u. Inverting, u = x + y and
v
u
∂(u, v)
∂(u, v)
1
1
1
y
, and a direct calculation gives
=
= . So JJ ′ = u · = 1.
v=
x+y
∂(x, y)
x+y
u
u
Example 14.7. Let x = u(1 − v), y = uv. Then
x+y
∂(u, v)
, v = tan−1 x + tan−1 y. A direct computation gives
= 0, so u and
1 − xy
∂(x, y)
v are dependent. Indeed, by the addition formula, v = tan−1 u.
∂(u, v, w)
= 0, and the relation is
Likewise u = x + y + z, v = xy + yz + zx, w = x2 + y 2 + z 2 have
∂(x, y, z)
w = u2 − 2v.
Example 14.8. Let u =
15
Maxima and minima
15.1
Definitions and geometric picture
Definition 15.1. Let f be defined near a point (a, b). Then (a, b) is a point of
• local minimum if f (a + h, b + k) ≥ f (a, b) for all sufficiently small h, k;
• local maximum if f (a + h, b + k) ≤ f (a, b) for all sufficiently small h, k.
If the inequality holds over the whole domain (including its boundary), the value is the absolute (global)
minimum or maximum. Maxima and minima together are called extreme values (extrema).
Geometrically, a local minimum is the bottom of a pit and a local maximum the top of a peak. A third
possibility, with no counterpart for functions of one variable, is a saddle point: the surface rises in some
directions and falls in others, like a mountain pass.
minimum
z = x2 + y 2
15.2
saddle point
maximum
z = −(x2 + y 2 )
z = x2 − y 2
Necessary condition
Theorem 15.2. If f has first-order partial derivatives at (a, b) and has a local extremum there, then
fx (a, b) = 0
and
17
fy (a, b) = 0.
15.3
Sufficient condition: the second-derivative test
Theorem 15.3. Let f have continuous second partial derivatives near a critical point (a, b), and write
r = fxx (a, b),
s = fxy (a, b),
t = fyy (a, b).
(i) If rt − s2 > 0 and r > 0: local minimum.
(ii) If rt − s2 > 0 and r < 0: local maximum.
(iii) If rt − s2 < 0: saddle point (neither).
(iv) If rt − s2 = 0: no conclusion; further investigation is needed.
Working rule.
1. Solve fx = 0, fy = 0 simultaneously to find all critical points.
2. At each, compute r, s, t and rt − s2 .
3. Classify by the test. For global extrema on a closed bounded region, also examine the boundary and
compare all candidate values.
Example 15.4. Find the extrema of f (x, y) = x3 + y 3 − 3xy.
fx = 3x2 − 3y = 0 and fy = 3y 2 − 3x = 0 give y = x2 and x = y 2 , so x4 = x: the critical points are
(0, 0) and (1, 1). Here r = 6x, s = −3, t = 6y, so rt − s2 = 36xy − 9.
• (0, 0): rt − s2 = −9 < 0 — saddle point.
• (1, 1): rt − s2 = 27 > 0, r = 6 > 0 — local minimum, f (1, 1) = −1.
Example 15.5. Find the local extrema of f (x, y) = 2(x2 − y 2 ) − x4 + y 4 .
fx = 4x − 4x3 = 0 gives x = 0, ±1; fy = −4y + 4y 3 = 0 gives y = 0, ±1. So there are nine critical points
(0, 0), (0, ±1), (±1, 0), (±1, ±1). Now
r = 4 − 12x2 ,
s = 0,
t = −4 + 12y 2 ,
rt − s2 = −16(1 − 3x2 )(1 − 3y 2 ).
point
rt − s2
r
nature
f
(0, ±1)
32
4
local minimum
−1
(±1, 0)
32
−8
local maximum
1
(0, 0)
−16
saddle
0
(±1, ±1)
−64
saddle
0
Example 15.6. For f = x4 + y 4 , g = −(x4 + y 4 ) and h = x4 − y 4 , the origin is a critical point with
r = s = t = 0, so rt − s2 = 0 for all three. Yet f has a minimum, g a maximum and h a saddle there
(examine the signs directly). This is why case (iv) (when rt − s2 = 0) gives no conclusion.
16
Constrained extrema: Lagrange’s method of multipliers
In many problems the variables are not independent but are tied by one or more conditions. For example:
find the point of the plane x + 2y + 3z = 14 nearest the origin.
16.1
The method
To find the extrema of f (x1 , . . . , xn ) subject to k conditions ϕi (x1 , . . . , xn ) = 0 (i = 1, . . . , k), form the
auxiliary function
F = f + λ1 ϕ1 + · · · + λk ϕk ,
18
where λ1 , . . . , λk are undetermined constants, Lagrange’s multipliers. The stationary points are found from
k
X ∂ϕi
∂F
∂f
=
+
=0
λi
∂xj
∂xj
∂xj
(j = 1, . . . , n),
ϕi = 0
(i = 1, . . . , k),
i=1
which are n + k equations in the n + k unknowns x1 , . . . , xn , λ1 , . . . , λk . Whether a stationary point is a
maximum or minimum is usually decided from the nature of the problem.
Example 16.1. Maximise f = xy subject to x + y = 10. With F = xy + λ(x + y − 10): Fx = y + λ = 0,
Fy = x + λ = 0, so x = y, and the constraint gives x = y = 5. The maximum is 25. (Check: xy = x(10 − x)
has its maximum at x = 5.)
Example 16.2. Find the point of the plane x + 2y + 3z = 14 nearest the origin.
Minimise f = x2 + y 2 + z 2 (the squared distance) with F = x2 + y 2 + z 2 + λ(x + 2y + 3z − 14):
2x + λ = 0,
2z + 3λ = 0 =⇒ (x, y, z) = − λ2 (1, 2, 3).
2y + 2λ = 0,
Substituting in the constraint, − λ2 (1 + 4 + 9) = 14, so λ = −2 and the point is (1, 2, 3), at distance
√
14.
Example 16.3. Find the minimum of x2 + y 2 + z 2 subject to xyz = a3 (a > 0).
Let F = x2 + y 2 + z 2 + λ(xyz − a3 ). Then
Fx = 2x + λyz = 0,
Fy = 2y + λxz = 0,
Fz = 2z + λxy = 0.
Multiplying these by x, y, z respectively: λxyz = −2x2 = −2y 2 = −2z 2 , so x2 = y 2 = z 2 . With xyz = a3
this gives the points (a, a, a), (a, −a, −a), (−a, a, −a), (−a, −a, a), at each of which x2 + y 2 + z 2 = 3a2 .
x2 + y 2 + z 2
≥ (x2 y 2 z 2 )1/3 = a2 , so x2 + y 2 + z 2 ≥ 3a2 .
3
That this is the minimum follows from AM–GM:
The minimum value is 3a2 .
Practice problems
1. State the degree of homogeneity, if any: (i)
x3 + y 3
x
1
; (ii) sin ; (iii) x2 + y; (iv) p
.
2
x+y
y
x + y2
2. Verify Euler’s theorem for f = ax2 + 2hxy + by 2 and for f =
3. If u = log
x1/4 + y 1/4
.
x1/5 + y 1/5
x4 + y 4
, show that xux + yuy = 3.
x+y
4. If u = sin−1
x2 + y 2
, show that xux + yuy = tan u.
x+y
5. If x = r cos θ, y = r sin θ, verify that
6. Show that u =
∂(x, y) ∂(r, θ)
·
= 1.
∂(r, θ) ∂(x, y)
x−y
xy
and v =
are functionally dependent and find the relation between them.
x+y
(x + y)2
7. If u = x + y + z, uv = y + z, uvw = z, show that
∂(x, y, z)
= u2 v.
∂(u, v, w)
8. Find and classify the critical points of (i) x2 + xy + y 2 − 6x + 2; (ii) x4 + y 4 − 2x2 + 4xy − 2y 2 .
9. Using Lagrange’s method, find the dimensions of the rectangular box of maximum volume that can be
inscribed in the sphere x2 + y 2 + z 2 = a2 .
10. Find the maximum and minimum of x2 + 2y 2 on the circle x2 + y 2 = 1.
19
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )