Multivariable calculus
Limit of arctan(1/(x^2+y^2)) at the Origin
The limit of arctan(1 / (x^2 + y^2)) as (x, y) approaches the origin is pi/2, about 1.5708. Every approach sends x^2 + y^2 to 0 from above, so 1/(x^2 + y^2) grows without bound, and the arctangent of a quantity running to plus infinity tends to pi/2.
The limit exists
| Path | Limit along it |
|---|---|
| along y = 0 | 1.5707963267948966 |
| along y = x | 1.5707963267948966 |
| along y = 3x | 1.5707963267948966 |
The paths climb toward the same ceiling
Along a line through the origin is a constant times , so the quantity inside the arctangent grows like a constant over .
The values rise toward and never reach it, because is strictly below at every real input. A limit does not have to be attained, and often is not.
An inside limit and an outside limit
Let . Away from the origin , and exactly when , so the inner expression runs to .
The composition step is legitimate because is continuous on the whole real line and has the horizontal asymptote as its argument grows. Whatever route the point takes, the inner quantity ends up large and positive, and the outer function converts large and positive into something near .
In polar coordinates , with no at all. The function is constant on every circle around the origin, so direction cannot possibly matter and the path tests were never going to disagree.
The mistake: taking the inside limit and stopping
A common slip is to compute , write , and then either declare the limit undefined or write without saying what that means. is not a number. The honest statement is one sided: forces , and that is what pins the answer to .
The one sided part carries the whole argument. Replace the inside by and the quantity approaches from both sides: runs to along and to along .
Two paths, two different values, so that variant has no limit. The difference between the two problems is nothing more than a sign in the denominator, which is why the sign is worth stating out loud.
Frequently asked questions
Is the limit exactly pi/2?
Exactly , which is about . The function never equals anywhere, since is strictly less than at every real input, but the values get and stay arbitrarily close as the point nears the origin. That is all a limit asks for.
Can the function be made continuous at the origin?
Yes. Define . The limit exists and equals that value, so the extended function is continuous at the origin, and it was already continuous everywhere else because off the origin.