- Practice
- About 20 min
- 5 practice questions
Functions of several variables: limits and continuity
Picture a function of two variables as a surface, use discs as neighbourhoods, test whether a two-variable limit exists by comparing paths, and check continuity at a point.
If something looks wrong, please tell us.
By the end of this lesson you can
- Describe the graph of z = F(x, y) as a surface and find its traces in planes x = constant or y = constant.
- Recall the ε–δ meaning of a limit in one variable and extend it using r-neighbourhoods (open discs).
- Show that a two-variable limit does not exist by finding two paths that give different values.
- Prove continuity at a point using limit rules or a bounding (squeeze) argument.
A company making pens and notebooks has a profit that depends on how many of each it makes; the volume of a box depends on three lengths. Sections 8.3 and 8.4 of the Tamil Nadu textbook start the study of such functions of several variables with the ideas of limit and continuity, which the derivatives of the next lesson need.
Graphs of functions of two variables
To picture F(x, y) we plot z = F(x, y) in xyz-space: above each point (x, y) of the plane we put a point at height F(x, y). The result is usually a surface. For example, g(x, y) = 20 − x² − y² gives a dome-shaped paraboloid with its top at (0, 0, 20). Fixing y = 1 cuts the surface in the curve z = 19 − x², a parabola; fixing x = 2 gives z = 16 − y², another parabola. Such sections are functions of one variable, and this is how partial derivatives will be defined.
Limits in one variable, recalled
lim (x → x₀) f(x) = L means: for every ε > 0 there is a δ > 0 such that |f(x) − L| < ε whenever 0 < |x − x₀| < δ. In words, f(x) can be made as close to L as we like by taking x close enough to x₀, but not equal to it. On the line, x can approach x₀ only from the left or the right, so the limit exists exactly when the left and right limits exist and are equal. f is continuous at x₀ if f(x₀) is defined, the limit L exists and L = f(x₀).
Neighbourhoods and limits in two variables
In the plane, an r-neighbourhood of (u, v) is the open disc B_r(u, v) = {(x, y) : (x − u)² + (y − v)² < r²}; removing the centre gives a deleted neighbourhood. We say lim ((x, y) → (u, v)) F(x, y) = L if for every ε > 0 there is a δ > 0 such that |F(x, y) − L| < ε for every (x, y) ≠ (u, v) in the δ-disc around (u, v).
There is a new subtlety. A point can now approach (u, v) along infinitely many paths: straight lines of every slope, parabolas, spirals. The limit exists only if F(x, y) approaches the same value along every path. All the usual limit rules (sum, product, quotient with non-zero denominator) still hold.
Deciding whether lim (x, y) → (u, v) of F exists
-
Direct substitution works
F is built from continuous pieces with no zero denominator at (u, v).
- The limit is F(u, v)
-
Two paths give different values
Try lines y = mx, then curves such as x = y².
- The limit does not exist
-
F − L can be bounded
Show |F(x, y) − L| ≤ something that tends to 0.
- The limit is L
Worked example 1: a limit by substitution
Find lim ((x, y) → (1, 2)) (x² + 3y)/(1 + x² + y²). Working: the numerator tends to 1 + 6 = 7 and the denominator to 1 + 1 + 4 = 6, which is not 0. By the quotient rule the limit is 7/6. In fact the denominator is at least 1 everywhere, so the same argument shows this function is continuous at every point of R².
Worked example 2: a limit that does not exist
Let f(x, y) = (x² − y²)/(x² + y²) for (x, y) ≠ (0, 0). Along the line y = mx (x ≠ 0): f = (x² − m²x²)/(x² + m²x²) = (1 − m²)/(1 + m²). Along the x-axis (m = 0) this is 1; along y = x (m = 1) it is 0. Two paths give different values, so the limit at (0, 0) does not exist, and whatever value we give f(0, 0), f cannot be continuous there.
Worked example 3: lines are not enough
Let h(x, y) = xy²/(x² + y⁴) for (x, y) ≠ (0, 0). Along y = mx: h = m²x³/(x² + m⁴x⁴) = m²x/(1 + m⁴x²) → 0, and along the y-axis h = 0. So every straight line gives 0. But along the parabola x = y²: h = y⁴/(y⁴ + y⁴) = 1/2. Hence the limit does not exist. Agreement along all lines does not prove that a limit exists.
Worked example 4: continuity by a bound
Let g(x, y) = x²y/(x² + y²) for (x, y) ≠ (0, 0) and g(0, 0) = 0. Is g continuous at the origin? Working: since x² ≤ x² + y², we have x²/(x² + y²) ≤ 1, so |g(x, y) − 0| = [x²/(x² + y²)] |y| ≤ |y|. As (x, y) → (0, 0), |y| → 0, so g(x, y) → 0 = g(0, 0). All three conditions hold: g is continuous at (0, 0). Away from the origin it is a quotient with a non-zero denominator, so g is continuous on all of R².
F is continuous at (u, v) if (1) F(u, v) is defined, (2) L = lim ((x, y) → (u, v)) F(x, y) exists, and (3) L = F(u, v).
Key takeaways: z = F(x, y) is a surface, and fixing one variable gives a curve; neighbourhoods in the plane are open discs; a two-variable limit must be the same along every path, so two paths with different values prove that it does not exist, while a bound |F − L| ≤ (something → 0) proves that it does; continuity needs the value, the limit and their equality.
Check your understanding
-
1. For F(x, y) = 9 − x² − y², the section of the surface z = F(x, y) by the plane y = 2 is
- z = 5 − x²
- z = 9 − x²
- z = 7 − x²
- z = 5 − y²
Show answer
Answer: A. Putting y = 2 gives z = 9 − x² − 4 = 5 − x², a parabola in the plane y = 2.
-
2. The value of lim ((x, y) → (2, 1)) (3x − y)/(x + y) is
- 1
- 5
- 3
- 5/3
Show answer
Answer: D. The denominator tends to 3 ≠ 0, so substitute: (6 − 1)/(2 + 1) = 5/3.
-
3. For f(x, y) = xy/(x² + y²), the limit along y = mx as x → 0 is
- 0 for every m
- m/(1 + m²)
- 1/2 for every m
- m
Show answer
Answer: B. f(x, mx) = mx²/(x² + m²x²) = m/(1 + m²). It changes with m, so the two-variable limit at the origin does not exist.
-
4. Which statement is correct?
- If F has the same limit along every straight line through (u, v), the limit exists
- A two-variable limit exists if the left and right limits are equal
- If two paths give different limits, the limit does not exist
- Every function of two variables is continuous where it is defined
Show answer
Answer: C. One counter-path is enough to show the limit fails. Equal limits along all lines are not enough (xy²/(x² + y⁴) shows this), and 'left and right' only makes sense in one variable.
-
5. Let g(x, y) = y³/(x² + y²) for (x, y) ≠ (0, 0) and g(0, 0) = 0. Then
- g is not defined at the origin
- the limit at the origin is 1
- the limit at the origin does not exist
- g is continuous at the origin
Show answer
Answer: D. y²/(x² + y²) ≤ 1, so |g(x, y)| ≤ |y| → 0 = g(0, 0). The limit exists and equals the value, so g is continuous there.
Sign in to keep track of the lessons you finish.