Two sides on a line
For a function of one variable, the limit as x tends to a asks what value f(x) gets close to when x is close to a, but not equal to it. On a number line x can come toward a from only two sides: from the left, through values below a, and from the right, through values above it.
So one-variable limits are checked from two sides. The limit exists when the left-hand limit and the right-hand limit are the same number, and that number is the limit.
Every path on a plane
A function of two variables takes a point (x, y) of the plane and gives a height f(x, y). Its limit as (x, y) tends to (a, b) asks what value f(x, y) gets close to when the point (x, y) is close to (a, b), but not equal to it. Close means that the distance between the two points is small.
On a plane a point can come toward (a, b) from any direction: along the x-axis, along the line y = x, along a parabola, or spiraling in. There are infinitely many paths. The limit is L only if f(x, y) gets close to L along every one of them, however (x, y) approaches.
Two paths that disagree
Take near the origin. Substituting x = 0 and y = 0 gives , which says only that substitution fails. The behavior near (0, 0) has to be found along paths.
Along the x-axis, y = 0, so the top is 0 and f = 0 at every point except the origin. Along the line y = x, at every point except the origin. At x = 0.1, 0.01 and 0.001 on those two lines, f is 0 and 1 each time.
Two paths into (0, 0) give two different values, 0 and 1. No single number L is close to both, so the limit does not exist. One disagreement is enough.
Along any line y = mx, . The x cancels, so f has the same value at every point of the line, and that value depends on the gradient m. The line y = 2x gives , and the line y = −x gives −1.
The value of along the line y = mx, plotted against the gradient m: . The marked points are the lines y = 0, y = x, y = −x and y = 2x, which give 0, 1, −1 and 0.8. Each line gives its own constant value, so the paths into the origin disagree.
along the ray at 30°, f = sin 2θ = 0.87 at every distance from the origin: the value depends on the direction of approach, not on the distance
Turn the ray onto y = −x and read the value
A ray into the origin at angle , over the same function. Along the ray at every distance, so at 30° it reads sin 60° = 0.87 all the way in. Along y = x, at 45°, it reads 1, and along y = −x, at 135°, it reads −1.
Agreement along lines is not enough
Two paths that agree prove nothing, and neither do all the straight lines together. Take near the origin.
Along the x-axis, g = 0. Along any line y = mx with m not 0, , which tends to 0 as x tends to 0. Along y = x, for example, g is about 0.099 at x = 0.1 and about 0.01 at x = 0.01. Every straight line gives 0.
Now approach along the parabola . Then at every point of it except the origin. A curved path gives ½, the straight lines give 0, so g has no limit at (0, 0).
The height of along two paths, plotted against x. The gold line is the path , where g = ½ at every point. The dashed curve is the path y = x, where , which runs into 0. Neither path includes the origin, so both are drawn open there.
Showing that a limit exists
Paths can only disprove a limit. To prove one, find a bound that holds on every path at once. Take near the origin.
Since , the fraction is between 0 and 1. So h, which is that fraction times y, is never farther from 0 than y is: .
As (x, y) tends to (0, 0) along any path, y tends to 0, so both bounds tend to 0, and h is squeezed between them. The limit of h is 0. At (0.01, −0.02), for example, h = −0.004, which is inside the bound 0.02.
The usual mistakes
Substituting the point and giving , or 0, as the limit. The form says only that substitution fails.
Testing one path, or the two axes, and calling the value found the limit. is 0 along both axes and has no limit at the origin.
Testing every straight line and calling it a proof. gives 0 along every line through the origin and ½ along the parabola .
A mixer tap
In the application below, the temperature of the water from a mixer tap is a function of the hot and cold flows, and it has no value when both are 0. Closing the tap along a line y = mx keeps the temperature fixed at , so two different mixes, closed down, give two different limits.
Worked example: A Mixer Tap Being Turned Off: The Temperature of the Water, and Whether It Approaches One Value as the Flow Stops
Question A mixer tap takes hot water at 60°C and cold water at 15°C. With x liters per minute of hot water and y liters per minute of cold, the water comes out at T(x, y) = 60x + 15yx + y degrees Celsius. The formula holds whenever water flows, and it has no value at (0, 0), when the tap is shut. (a) Find the temperature with 6 liters per minute of hot water and 3 liters per minute of cold. (b) Show that T has no limit as (x, y) approaches (0, 0). Then find the ratio of hot flow to cold flow which, held fixed while the tap closes, keeps the water at 42°C.
1.(a) T(6, 3) = 60 × 6 + 15 × 36 + 3 = 360 + 459 = 4059 = 45°C.
(a) With 6 liters a minute of hot water and 3 of cold, the water comes out at 45°C. 2.(b) Close the tap keeping the cold flow a fixed multiple of the hot flow, y = mx with m ≥ 0. Along that line T = 60x + 15mxx + mx = 60 + 15m1 + m. The x cancels, so the temperature stays the same all the way in to (0, 0).
(b) Along a line y = mx through the shut tap the ratio of the flows is fixed, and so is the temperature. 3.Along y = 0.5x, the mix in (a), the value is 60 + 7.51.5 = 45°C; along y = x it is 752 = 37.5°C. Two paths into (0, 0) give different values, so T has no limit there, and no value given to T(0, 0) could make T continuous there.
The line y = x gives 37.5°C and the line y = 0.5x gives 45°C: two values at the same point, so no limit. 4.For 42°C, solve 60 + 15m1 + m = 42: 60 + 15m = 42 + 42m, so 27m = 18 and m = 23. The cold flow is two thirds of the hot flow, a ratio of hot to cold of 3 : 2.
Each line through (0, 0) is a level curve of T; the one for 42°C is y = 23x, a ratio of 3 : 2. 5.Check: with 3 liters per minute of hot water and 2 of cold, T = 180 + 305 = 42°C, and halving both flows to 1.5 and 1 gives 90 + 152.5 = 42°C again.
Three liters a minute of hot water with two of cold give 42°C, and so does any smaller flow in the same ratio.
Answer: (a) 45°C; (b) along y = 0.5x the temperature stays at 45°C and along y = x it stays at 37.5°C, so there is no limit; a ratio of hot to cold of 3 : 2 keeps it at 42°C
Common mistakes
- Substituting x = 0 and y = 0 and giving 00, or 0°C, as the limit. 00 says only that substitution fails; the behavior near (0, 0) has to be found along paths.
- Testing one path, finding a value, and calling it the limit. A limit must be the same along every path; the path y = 0, hot water only, gives 60°C, and the path x = 0 gives 15°C.
More functions of several variables problems, worked step by step →