Multivariable Calculus, Interactive EditionXYZ Homework Edition

⇩ Download ▾

3.2 Limits Along Different Roads

In one variable, a point can be approached from only two sides, and a limit exists when left and right agree. In the plane there are infinitely many roads into any point — every direction, every curve — and lim(x,y)(a,b)f(x,y)\lim_{(x,y)\to(a,b)} f(x,y) exists only if all of them agree. That is a far stronger demand, and this section builds a surface on which you can watch it fail: different straight roads into the origin genuinely arrive at different heights.

The specimen is

f ( x , y ) = 2 x y x 2 + y 2 , f(x, y) = \frac{2xy}{x^2 + y^2},

defined everywhere except the origin. Away from (0,0)(0, 0) its graph is smooth ridges and valleys, but at the origin it pleats into a sharp vertical fin — and the fin, it will turn out, is the failed limit.

A red-and-blue surface that pleats into a sharp vertical fin at the origin, ridges at height 1 along the diagonal y = x and valleys at height -1 along y = -x. Three thick straight roads ride the surface through the origin: a green one flat at height 0, a red one at height 1, and a blue one at height -1. A fourth amber road is hidden.Explore in 3D (opens in a new tab)
The red-and-blue surface z=2xy/(x2+y2)z = 2xy/(x^2+y^2) (the expression carries a tiny +0.000001+\,0.000001 in the denominator so the mesh stays finite at the origin), pleating into a vertical fin at (0,0)(0,0). Three thick straight roads ride the surface through the origin: green along y=0y = 0 at height 00, red along y=xy = x at height 11, and blue along y=xy = -x at height 1-1. A fourth, amber road along y=2xy = 2x hides in the object list.

Explore

  1. Orbit slowly around the origin. Each colored road lies in a vertical plane over a straight line in the xyxy-plane. For each of the three visible roads, read off two things: the line it travels over, and the height it travels at.
  2. Every road is perfectly level — constant height — yet all three pass over the same point (0,0)(0, 0). What are the three heights over the origin? Could any single value f(0,0)f(0,0) agree with all three roads at once?
  3. The hidden amber road runs along y=2xy = 2x, a line that sits between y=0y = 0 (green, height 00) and y=xy = x (red, height 11). Before revealing it, predict: will its height land between 00 and 11? Closer to which? Commit to a number.
  4. Reveal the amber road with its eye toggle in the object list, orbit to a side view, and read its height against the grid. How close was your guess? The example below does the algebra.
  5. Now make the scene grade your computation. Edit the amber road's yy-component from 2*t to 5*t: the road jumps off the surface, because its zz-component still carries the old height. Compute the correct height for slope 55, retype the zz-component, and watch — if the road settles back onto the surface, your value is right.
  6. All your computations follow one formula: the road over y=kxy = kx rides at height 2k/(1+k2)2k/(1+k^2). Which slope rides highest? Which lowest? Sketch height against kk on paper.

Why the limit fails

Along any line through the origin the function is constant, so each road is level — but the constants differ from road to road, filling the whole range from 1-1 to 11. For the limit to exist, one number would have to be the destination of every road at once. No number is, so

lim ( x , y ) ( 0 , 0 ) 2 x y x 2 + y 2 does not exist. \lim_{(x,y)\to(0,0)} \frac{2xy}{x^2+y^2} \quad \text{does not exist.}

Continuity at the origin is then beyond rescue: it would require f(0,0)f(0,0) to equal a limit that is not there. No choice of value plugs the fin — the fin is the disagreement between roads, made solid.

2·k·x2·(k2·x2+x2)12 \cdot k \cdot x^{2} \cdot \left(k^{2} \cdot x^{2} + x^{2}\right)^{-1}
Every straight road is level, at height 2k/(1 + k²) ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text Every straight road is level, at height 2k/(1 + k²), computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The substitution the worked example performs, done by machine. Putting y=kxy = kx into ff leaves 2kx2/(k2x2+x2)2kx^2/(k^2x^2 + x^2), and the certificate confirms that is the constant 2k/(1+k2)2k/(1+k^2) — no xx left anywhere, which is exactly the claim that each lifted road is level.

Two limits on what it proves, both worth stating. The cancellation is division by x2x^2, so the identity holds for x0x \neq 0 — the same restriction the example writes down before substituting. And y=kxy = kx is not every road: it is the family of straight lines through the origin except the vertical one, and no curved road at all. So the certificate covers exactly the roads the figure draws, which is the family that suffices to disprove the limit — and, as the section's closing warning says, would never have sufficed to prove one.

11
The red road arrives at height 1 ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The red road arrives at height 1, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

Set k=1k = 1 and take the honest one-variable limit as the road runs into the origin. It exists, and it is 11.

1-1
The blue road arrives at height −1 ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The blue road arrives at height −1, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

Set k=1k = -1 and do it again: 1-1.

Two certificates, one point, two different answers — and that is the section's argument in full. Neither limit is in doubt; each is exact. What fails is the demand that one number be the destination of every road, and it fails because these two roads have already produced two numbers. A limit that does not exist is usually hard to certify, since there is no value to check. Here it is easy: disagreement between two things that do exist.

513\frac{5}{13}
The edited road's height, computed ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The edited road's height, computed, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The substitution the solution performs, done by a computer algebra system: put y=5xy = 5x into 2xy/(x2+y2)2xy/(x^2+y^2) and every xx cancels, leaving the single constant the amber road must be reseated to. That the xx's vanish is the whole point — it is why each lifted road is level, and why roads of different slope sit at different heights.

Explore step 5 lets you check yourself against the picture, and it is worth knowing exactly how far that check goes. The scene tests no predicate — nothing compares your number to anything — so a value close to 5/135/13 looks just as seated as the right one. And the drawn surface carries a tiny +0.000001+\,0.000001 in its denominator so the mesh stays finite at the origin, which has a peculiar consequence: for |x||x| down to about 0.0010.001 the drawn height matches 5/135/13 to three decimals or better, but over that last thousandth the regularized surface dives to 00 while the true road holds 5/135/13 all the way in. Right where the section's whole argument lives, the picture is not merely approximate — it disagrees, by the entire height. That is the price of a finite mesh, and it is why this number is computed rather than read off the screen.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Aligned to OpenStax Calculus Volume 3 (Strang & Herman), © OpenStax (Rice University), licensed CC BY-NC-SA 4.0; no OpenStax content is reproduced, and this work is not affiliated with or endorsed by OpenStax or Rice University. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.