Multivariable calculus
Limit of (x^2+y^2)ln(x^2+y^2) at the Origin
The limit of (x^2 + y^2) ln(x^2 + y^2) as (x, y) approaches the origin is 0. Writing u = x^2 + y^2 reduces it to the one variable limit of u ln(u) as u tends to 0 from above, which is 0: the factor shrinking to zero beats the logarithm diverging to minus infinity.
The limit exists
| Path | Limit along it |
|---|---|
| along y = 0 | 0 |
| along y = x | 0 |
| along y = 2x | 0 |
The paths creep to zero from below
Every line through the origin makes a constant times , so each path test is a shrinking factor multiplied by the logarithm of a shrinking factor.
All three values are negative near the origin, since the logarithm of a small positive number is negative, and they rise to from below. Convergence is slow: at distance from the origin the value is still about , so a numerical table alone would leave you unsure.
Reduce to u ln(u) and see which factor wins
The function depends on the point only through , and under every approach, so the problem becomes a single one sided limit.
The middle step rewrites the product as a quotient of the form so that L'Hopital's rule applies, and one differentiation clears it. This is the standard result that any positive power beats a logarithm.
In polar coordinates the function is , with no in sight. The value near the origin depends only on distance, so it is constant on every circle centred at the origin.
The mistake: reading minus infinity off the logarithm
The logarithm really does diverge to , so the second factor is unbounded, and it is easy to conclude that the product must be unbounded too. But a quantity tending to times a quantity tending to is an indeterminate form: it can settle on any number, diverge, or fail to have a limit at all.
Compare with as . Same logarithm, opposite outcomes, decided entirely by what it is paired with. Only a rate comparison settles the question, which is exactly what the L'Hopital step performs.
One more point worth being clear about: is defined at every point except the origin, since off the origin means the logarithm always has a positive argument. The single bad point is the one the limit is taken at, which is precisely the situation limits exist to handle.
Frequently asked questions
Does the limit still exist with a different power in front?
Yes for every positive power. tends to whenever , however small is, because beats for any . At the function is just , which diverges to , and for it diverges as well.
Can the function be made continuous at the origin?
Yes. Setting matches the limit, so the extended function is continuous on the whole plane. Both partial derivatives at the origin also come out to , since .