Multivariable calculus
Limit of (xy+z^2)/(x^2+y^2+z^2) Does Not Exist
The limit of (xy + z^2)/(x^2 + y^2 + z^2) at the origin in three variables does not exist. Along the x-axis the function is 0, along the line y = x with z = 0 it is 1/2, and along the z-axis it is 1. Three paths give three values, so no limit can exist.
The limit does not exist
| Path | Limit along it |
|---|---|
| along the x-axis | 0 |
| along y = x in the plane z = 0 | 0.5 |
| along the z-axis | 1 |
Three variables, same two-path test
Nothing about the method changes in three dimensions. Pick a curve through the origin, substitute, simplify, and take the parameter to zero. Start with the -axis, where .
Now the -axis, where the numerator is and the denominator is also .
That is already two different values, so the limit does not exist. A third path adds a value in between: take inside the plane .
Both numerator and denominator are homogeneous of degree two, so on every ray from the origin the function is constant. That constant depends on the direction, which is the whole problem.
Spherical coordinates give the full picture
Put , , . The denominator is and the numerator carries as well, so the radius cancels.
There is no , so the value never changes as you slide toward the origin along a fixed direction. Reading off the special directions is now easy.
- points along the -axis and gives .
- , points along the -axis and gives .
- , gives .
- , gives , the smallest value.
The function takes every value from to at points arbitrarily close to the origin.
The mistake: testing only the three coordinate axes
In three variables the reflex is to check the -, -, and -axes and stop. Here that happens to work, because the -axis and -axis already disagree. But the reflex is dangerous in general: had the numerator been alone, all three axes would give and you would still need the diagonal to find the value .
Approaching a point in space means approaching from a two-parameter family of directions, plus every curve. Axes are three of those directions. Treat them as a first probe, never as a proof.
When the axes do agree, switch to spherical coordinates or an inequality. If the -free part still depends on the angles, the limit does not exist; if a positive power of survives in front of a bounded factor, the limit is zero.
Frequently asked questions
Does this function have a limit along any plane through the origin?
Not on the planes you are likely to try. In the plane it reduces to , which has no limit at the origin, and in the plane the point gives , which is when and when . A plane still holds a whole family of directions, so the two-path argument runs inside it.
How would the answer change if the numerator were xyz?
Then the numerator is degree three against a degree-two denominator, and gives , so the limit would be . Mismatched degrees make the limit exist; matched degrees are what let direction matter.