Skip to content
MasterMath

Limit Calculator

The limit of a function at a point, worked out from both sides and with L’Hôpital’s rule when an indeterminate form appears.

Limit

—

Limit—
From the left—
From the right—
Indeterminate form—
Method used—
Function—

How it was solved

    The formula

    if substituting gives 0/0 or ∞/∞, differentiate top and bottom

    Why it works

    A limit is not the value of the function at the point: it is what the function approaches as x approaches. That is why it is worked out from both sides, and why it can exist even when the function is undefined there — the classic case is sin(x)/x at zero, which is one even though the expression reads 0/0. If the two sides disagree the limit does not exist, and saying so matters as much as giving a number. When a quotient gives 0/0 or ∞/∞, L’Hôpital’s rule lets you differentiate numerator and denominator separately as many times as needed.

    How to solve it by hand

    1. Substitute the point for x and see what comes out
    2. If it gives a number, the function is continuous there and that is the limit
    3. If it gives 0/0 or ∞/∞, differentiate top and bottom and substitute again
    4. Check both sides: if they disagree, the limit does not exist

    What is worth knowing

    L’Hôpital’s rule only applies to the indeterminate forms 0/0 and ∞/∞: using it on 0·∞ or ∞−∞ without turning them into a quotient first is the commonest mistake, and it gives false answers. When there is no quotient indeterminacy, this page approaches the point numerically and says the figure is approximate: that is the difference between an exact result and a good estimate, and it is worth knowing which one you are looking at. A function can have an infinite limit from both sides — 1/x² at zero — and then the limit exists and is infinity; if the signs differ, as in 1/x, it does not.

    Frequently asked questions

    What is the limit of sin(x)/x as x approaches 0?

    One. It is a 0/0 indeterminate form resolved by L’Hôpital or by the squeeze theorem.

    Can a limit exist if the function is undefined at the point?

    Yes, and that is the usual case in exercises: a limit looks at what the function approaches, not what it equals there.

    When does a limit not exist?

    When the two sides give different things. For instance 1/x at zero: −∞ from the left and +∞ from the right.

    Can I always use L’Hôpital?

    No. Only on 0/0 and ∞/∞. The other indeterminate forms have to be turned into a quotient first.