MA2104 Week 02
MA2104 Week 02
3 Limits
4 Continuity
1/74
Functions of Two Variables
2/74
Functions of Two Variables
3/74
Functions of Two Variables
4/74
Functions of Two Variables
Example 1
Find the domain of
y 2 − x > 0.
5/74
Functions of Two Variables
The domain of f is
D = {(x, y ) : x < y 2 }.
6/74
Functions of Two Variables
7/74
Functions of Two Variables
8/74
Functions of Two Variables
Traces:
Sometimes, to visualise the graph for f (x, y), we can take hints
from its horizontal and vertical traces.
9/74
Functions of Two Variables
Example 2
Match the functions f (x, y ) = ln(x 2 + y 2 ) and
g(x, y) = cos(x 2 + y 2 ) to the surfaces shown below:
10/74
Level curves
11/74
Level curves
12/74
Level curves
13/74
Level curves
Example 3
Sketch some level curves of h(x, y ) = 4x 2 + y 2 .
Solution.
■
14/74
Cylinders and Quadric Surfaces
15/74
Cylinders and Quadric Surfaces
16/74
Cylinders and Quadric Surfaces
Definition 4 (Cylinders)
A surface is a cylinder if there is a plane P such that all the
planes parallel to P intersect the surface in the same curve
(when viewed in 2-dimension).
17/74
Cylinders and Quadric Surfaces
Example 4
The surface given by
y 2 + z2 = 1
is a cylinder.
18/74
Cylinders and Quadric Surfaces
■
In fact, any equation in x, y and z where one of the variable is
missing is a cylinder.
19/74
Cylinders and Quadric Surfaces
Example 5
Sketch the graph of the surface z = x 2 .
Solution.
■
20/74
Cylinders and Quadric Surfaces
Ax 2 + By 2 + Cz 2 + J = 0 or Ax 2 + By 2 + Iz = 0
" !
21/74
Cylinders and Quadric Surfaces
22/74
Cylinders and Quadric Surfaces
x2 y2 z
2
+ 2 =
a b c
Horizontal traces: ellipses.
23/74
Cylinders and Quadric Surfaces
x2 y2 z
The graph of the elliptic paraboloid a2
+ b2
= c when c > 0.
24/74
Cylinders and Quadric Surfaces
x2 y2 z
2
− 2 = .
a b c
Horizontal traces: hyperbolas.
25/74
Cylinders and Quadric Surfaces
26/74
Cylinders and Quadric Surfaces
Definition 8 (Ellipsoid)
x 2 y 2 z2
+ 2 + 2 =1
a2 b c
27/74
Cylinders and Quadric Surfaces
28/74
Cylinders and Quadric Surfaces
x 2 y 2 z2
+ 2 − 2 =0
a2 b c
Horizontal traces: ellipses.
29/74
Cylinders and Quadric Surfaces
30/74
Cylinders and Quadric Surfaces
x 2 y 2 z2
+ 2 − 2 =1
a2 b c
Horizontal traces: ellipses.
Vertical traces: hyperbolas.
31/74
Cylinders and Quadric Surfaces
32/74
Cylinders and Quadric Surfaces
x 2 y 2 z2
+ 2 − 2 = −1
a2 b c
Horizontal traces in z = k are ellipses if k > c or k < −c.
Vertical traces: hyperbolas.
33/74
Cylinders and Quadric Surfaces
34/74
Cylinders and Quadric Surfaces
Example 6
Identify and sketch the surface
x 2 + 2z 2 − 6x − y + 10 = 0.
z2
(y − 1) = (x − 3)2 +
1/2
35/74
Cylinders and Quadric Surfaces
36/74
Cylinders and Quadric Surfaces
37/74
Cylinders and Quadric Surfaces
Example 7
Identify and sketch the surface
x2 z2
− y2 − = 1.
4 2
z2 x 2
y2 + − = −1.
2 4
This is a hyperboloid of two sheets symmetrical about the
x-axis.
38/74
Cylinders and Quadric Surfaces
■
39/74
Functions of Three Variables
Definition 12
A function f of three variables is a rule that assigns to each
ordered triple of real numbers (x, y, z) in a set
D ⊆ R3 = R × R × R a unique real number denoted by f (x, y , z).
40/74
Functions of Three Variables
41/74
Functions of Three Variables
Example 8
Find the level surfaces of the function
f (x, y, z) = x 2 + y 2 + z 2 .
42/74
Functions of Three Variables
43/74
Limits
If we write
lim f (x, y ) = L
(x,y)→(a,b)
44/74
Limits
for two variable function f (x, y), we can get close to a point
(a, b) in the domain via infinitely many directions!
45/74
Limits
lim f (x, y ) = L
(x,y)→(a,b)
46/74
Limits
Remark:
(1) f is not required to be defined at (a, b) (i.e the domain D
might not contain (a, b)).
47/74
Limits
Thus, the definition says that the distance between f (x, y) and
L can be made arbitrarily small by making the distance from
(x, y ) to (a, b) sufficiently small (but not 0).
48/74
Limits
49/74
Limits
' $
(2) Show that the limit f (x, y) does not exist at (a, b).
& %
Methods used to solve them are different.
50/74
Limits
lim f (x, y)
(x,y)→(a,b)
51/74
Limits
If we suspect the limit of f (x, y) does not exist at (a, b), some
paths to try (for obtaining different limits) are
x = a, y → b (vertical lines);
y = b, x → a (horizontal lines);
y = g(x), x → a where g(x) is some simple function such
that g(a) = b;
x = g(y), y → b where g(x) is some simple function such
that g(a) = b.
52/74
Limits
Example 9
Determine whether the following limit exists.
y
lim .
(x,y)→(1,0) x + y − 1
53/74
Limits
0
lim = lim 0 = 0.
(x,0)→(1,0) x + 0 − 1 x→1
54/74
Limits
Example 10
Determine whether the following limit exists.
xy
lim 2
.
(x,y)→(0,0) x + y2
0
lim = lim 0 = 0.
(0,y)→(0,0) 0 + y 2 y→0
55/74
Limits
0
lim = lim 0 = 0.
(x,0)→(0,0) x 2 + 0 x→0
Be careful! Just because these two limits are the same does
not mean that the limit exists.
For a limit to exist, the limit must be the same for ALL paths
through (0, 0), not just the two we had considered.
56/74
Limits
x2 1 1
lim 2 2
= lim = .
(x,x)→(0,0) x + x x→0 2 2
Since this limit does not match the limit along the first two paths
we considered, the limit does not exist.
■
57/74
Limits
Example 11
xy 2
Let f (x, y ) = . Show that lim(x,y)→(0,0) f (x, y) does not
x2 + y4
exist.
x · (mx)2
lim f (x, y ) = lim
(x,mx)→(0,0) x→0 x 2 + (mx)4
x 3 m2
= lim
x→0 x 2 (1 + m4 x 2 )
xm2
= lim = 0.
x→0 1 + m4 x 2
58/74
Limits
y2 · y2 1
lim f (x, y ) = lim = .
(y 2 ,y)→(0,0) y→0 y 4 + y 4 2
59/74
Limits
60/74
Limits
' $
61/74
Limits
lim f (x, y )g(x, y ) = lim f (x, y) lim g(x, y) .
(x,y)→(a,b) (x,y)→(a,b) (x,y)→(a,b)
62/74
Limits
63/74
Limits
Example 12
Find the limit
sin(xπ) + cos(yπ)
lim .
(x,y)→(1,1) x2 + y2
Solution.
64/74
Limits
Theorem 18 (Squeeze)
Suppose that |f (x, y ) − L| ≤ g(x, y) for all (x, y) in the interior
of some circle centered at (a, b), except possible at (a, b). If
lim(x,y)→(a,b) g(x, y) = 0, then
lim f (x, y ) = L.
(x,y)→(a,b)
Proof is omitted.
65/74
Limits
Example 13
Show that
3x 2 y
lim = 0.
(x,y)→(0,0) x 2 + y 2
3x 2 y
Solution. We begin by finding an upper bound for x 2 +y 2
−0 :
3x 2 y x2
− 0 = 3 |y| ≤ 3|y|.
x2 + y2 x2 + y2
Since lim(x,y)→(0,0) |y| = 0, the result follows from the Squeeze
theorem.
■
66/74
Continuity
67/74
Continuity
68/74
Continuity
x 2 + x 3y
f (x, y) =
x +y
is continuous on
D = {(x, y) : x + y ̸= 0}.
69/74
Continuity
Example 14
Find all points where the given function is continuous:
(
x4
(x 2 +y 2 )
if (x, y) ̸= (0, 0),
g(x, y) =
0 if (x, y) = (0, 0).
70/74
Continuity
x4 x4
|g(x, y )| = ≤ = |x 2 | = x 2 .
(x 2 + y 2 ) (x 2 )
Since lim(x,y)→(0,0) x 2 = 0, we deduce that (by Squeeze
theorem)
lim g(x, y ) = 0 = g(0, 0).
(x,y)→(0,0)
71/74
Continuity
72/74
Continuity
Example 15
2
Discuss the continuity of the function f (x, y) = ex y .
73/74
Continuity
Example 16 (revisited)
Find the limit
sin(xπ) + cos(yπ)
lim .
(x,y)→(1,1) x2 + y2
■
74/74