Home→Math→Calculus→Limits

Limits in Calculus: What They Are and How to Find Them

A clear guide to limits: what a limit means, a step-by-step method for finding one, the limit laws, one-sided limits, limits at infinity, worked examples and practice problems with answers.

Practice Limits Free
By LearnAppu Team · Last updated

What is a limit?

A limit describes the value a function approaches as its input gets closer and closer to some number, even if the function never actually reaches that value. It is written:

and read “the limit of f(x) as x approaches a is L.” A limit only cares about what happens near a, not at a. That is the key idea: a function can have a limit at a point where it is undefined.

For example, f(x) = (x² − 4)/(x − 2) is undefined at x = 2 (it gives 0/0). But try inputs close to 2: f(1.9) = 3.9, f(1.99) = 3.99, f(2.01) = 4.01. The outputs close in on 4 from both sides, so the limit is 4. The graph is the line y = x + 2 with a hole at (2, 4).

Limits are the foundation of calculus. The derivative is defined as a limit of slopes, and the definite integral is defined as a limit of sums.

How to find a limit: step by step

Work through these steps in order. Most limits are solved by step 1 or step 2.

  1. Direct substitution. Plug in x = a. If you get a real number, that is the limit. This works for every polynomial and for any function that is continuous at a.
  2. If you get 0/0, simplify. 0/0 is an indeterminate form: it means “keep working,” not “no limit.” Try, in this order:
    • factor the top and bottom and cancel the common factor;
    • multiply by the conjugate if there is a square root;
    • combine fractions if there is a fraction inside a fraction;
    • use a special trig limit such as sin x / x → 1.
  3. If you get (nonzero number)/0, the limit is infinite or does not exist. Check the one-sided limits to see whether the function goes to ∞ or −∞ on each side.
  4. If x → ∞, compare the degrees of the numerator and denominator (see limits at infinity below).
  5. If nothing works, use a graph or table, the squeeze theorem, or L'Hôpital's rule.

Limit laws

If both and exist, limits can be split up the way you would expect:

Sum and difference

Constant multiple

Product

Quotient (if the bottom limit is not 0)

Power

Constant and identity

These laws are why direct substitution works for polynomials and rational functions wherever the denominator is not zero.

Special limits worth memorizing

The first two require x in radians.

Worked limit examples

Example 1: Direct substitution

Easy

lim (x→3) (2x + 1)

Step 1: Plug in x = 3
2(3) + 1 = 7
Polynomials are continuous everywhere, so substitution always works.
Final Answer:
7

Example 2: Factor and cancel

Easy

lim (x→2) (x² − 4)/(x − 2)

Step 1: Try substitution
(4 − 4)/(2 − 2) = 0/0
Indeterminate, so simplify.
Step 2: Factor the top
(x − 2)(x + 2)/(x − 2)
Step 3: Cancel and substitute
x + 2 → 2 + 2 = 4
Canceling is allowed because the limit never uses x = 2 itself.
Final Answer:
4

Example 3: Rationalize with the conjugate

Medium

lim (x→0) (√(x + 9) − 3)/x

Step 1: Try substitution
(3 − 3)/0 = 0/0
There is a square root, so use the conjugate.
Step 2: Multiply top and bottom by √(x + 9) + 3
(x + 9 − 9) / [x(√(x + 9) + 3)]
(a − b)(a + b) = a² − b² removes the root from the top.
Step 3: Cancel x
1 / (√(x + 9) + 3)
Step 4: Substitute x = 0
1 / (3 + 3) = 1/6
Final Answer:
1/6

Example 4: A fraction inside a fraction

Medium

lim (x→3) (1/x − 1/3)/(x − 3)

Step 1: Combine the top over a common denominator
1/x − 1/3 = (3 − x)/(3x)
Step 2: Divide by (x − 3)
(3 − x) / [3x(x − 3)] = −1/(3x)
3 − x = −(x − 3), so the factors cancel and leave −1.
Step 3: Substitute x = 3
−1/9
Final Answer:
−1/9

Example 5: A trig limit

Medium

lim (x→0) sin(5x)/x

Step 1: Match the special limit
sin(5x)/x = 5 · sin(5x)/(5x)
Multiply and divide by 5 so the angle and the denominator match.
Step 2: Apply sin(u)/u → 1
5 · 1 = 5
As x → 0, u = 5x → 0 too.
Final Answer:
5

Example 6: A limit at infinity

Easy

lim (x→∞) (3x² − x)/(5x² + 2)

Step 1: Divide every term by x²
(3 − 1/x) / (5 + 2/x²)
x² is the highest power in the denominator.
Step 2: Let x → ∞
(3 − 0)/(5 + 0) = 3/5
Terms like 1/x go to 0.
Final Answer:
3/5, so y = 3/5 is a horizontal asymptote

Example 7: A limit that does not exist

Medium

lim (x→0) |x|/x

Step 1: Left side (x < 0)
|x|/x = −x/x = −1
Step 2: Right side (x > 0)
|x|/x = x/x = 1
Step 3: Compare
−1 ≠ 1
The one-sided limits disagree, so the two-sided limit does not exist.
Final Answer:
Does not exist (DNE)

One-sided limits and when a limit does not exist

A left-hand limit uses inputs less than a, and a right-hand limit uses inputs greater than a:

The two-sided limit exists only when both one-sided limits exist and are equal. A limit fails to exist in three ways:

  • Jump. The left and right limits are different numbers, like |x|/x at 0.
  • Infinite behavior. The function grows without bound near a vertical asymptote. For 1/(x − 2)², both sides go to ∞, so we write the limit as ∞. For 1/(x − 2), the left side goes to −∞ and the right side to ∞, so the limit does not exist.
  • Oscillation. sin(1/x) swings between −1 and 1 infinitely often near 0 and never settles.

Limits at infinity

A limit at infinity asks what happens to f(x) as x grows without bound. For rational functions, compare the degree (highest power) of the top and bottom:

DegreesLimit as x → ∞Example
Bottom is larger0(2x + 1)/(x² + 4) → 0
EqualRatio of leading coefficients(3x² − x)/(5x² + 2) → 3/5
Top is larger∞ or −∞x³/(x² + 1) → ∞

A finite limit at infinity gives a horizontal asymptote. An infinite limit at a point gives a vertical asymptote.

The squeeze theorem

If a function is trapped between two others that approach the same limit, it must approach that limit too. If g(x) ≤ f(x) ≤ h(x) near a, and both g and h approach L, then f approaches L.

Example: find lim (x→0) x² sin(1/x). Since −1 ≤ sin(1/x) ≤ 1, multiplying by x² gives −x² ≤ x² sin(1/x) ≤ x². Both −x² and x² approach 0, so the limit is 0, even though sin(1/x) on its own has no limit at 0.

Continuity

A function is continuous at x = a when all three of these are true:

  1. f(a) is defined;
  2. lim (x→a) f(x) exists;
  3. the two are equal: lim (x→a) f(x) = f(a).

Informally, you can draw the graph through x = a without lifting your pencil. Polynomials, sine, cosine and eˣ are continuous everywhere. Continuity is what makes direct substitution work, and it is required for the Intermediate Value Theorem and for a function to be differentiable.

Common limit mistakes

  • Treating 0/0 as the answer. It means you need to simplify, not that the limit is 0 or undefined.
  • Confusing the limit with f(a). They can be different numbers, and one can exist without the other.
  • Checking only one side. At a piecewise break or an absolute value, find both one-sided limits.
  • Writing “= 0/0” in a solution. Write “substitution gives 0/0, so factor” instead; teachers deduct for treating 0/0 as a number.
  • Using degrees in trig limits. sin x / x → 1 only works in radians.
  • Dropping the lim notation too early. Keep writing lim until the step where you actually substitute.

Limits practice problems (with answers)

Evaluate each limit. Try each one before opening the answer.

  1. lim (x→−1) (x² + 3x)
    Show answer

    −2 (direct substitution: 1 − 3)

  2. lim (x→3) (x² − 9)/(x − 3)
    Show answer

    6 (factor: (x − 3)(x + 3)/(x − 3) = x + 3)

  3. lim (x→2) (x² + x − 6)/(x − 2)
    Show answer

    5 (factor: (x + 3)(x − 2)/(x − 2) = x + 3)

  4. lim (x→1) (x² − 1)/(x² + x − 2)
    Show answer

    2/3 (factor: (x + 1)/(x + 2), then substitute)

  5. lim (x→4) (√x − 2)/(x − 4)
    Show answer

    1/4 (multiply by the conjugate √x + 2 to get 1/(√x + 2))

  6. lim (x→0) sin(3x)/(2x)
    Show answer

    3/2 (rewrite as (3/2) · sin(3x)/(3x))

  7. lim (x→∞) (4x³ + 1)/(2x³ − x)
    Show answer

    2 (same degree: divide the leading coefficients, 4/2)

  8. lim (x→∞) (5x + 2)/(x² + 1)
    Show answer

    0 (the bottom has the higher degree)

  9. lim (x→0) |x|/x
    Show answer

    Does not exist (the left limit is −1 and the right limit is 1)

  10. lim (x→2⁺) 1/(x − 2)
    Show answer

    ∞ (the denominator is small and positive)

Learn limits with LearnAppu

Limits and continuity are Unit 1 of LearnAppu's AP Calculus course. Each topic has a concept lesson, worked examples, adaptive skill practice, and Doctor Mode, where an AI tutor reads your work and finds the exact step where a factoring or conjugate move went wrong. The first lesson is free.

Frequently asked questions

What is a limit in calculus?

A limit is the value a function approaches as its input gets closer and closer to some number. We write lim (x→a) f(x) = L, read "the limit of f(x) as x approaches a is L." The function does not have to equal L at x = a, or even be defined there; the limit only describes what happens near a.

How do you find a limit?

Try direct substitution first: plug in the value. If you get a real number, that is the limit. If you get 0/0, simplify by factoring, rationalizing with a conjugate, or combining fractions, then substitute again. If you get a nonzero number over 0, the limit is infinite or does not exist, so check the one-sided limits. For limits at infinity, compare the degrees of the top and bottom.

What does 0/0 mean when finding a limit?

0/0 is called an indeterminate form. It does not mean the limit is 0, 1 or undefined; it means direct substitution did not give enough information. Simplify the expression (usually by factoring and canceling) and try again, or use L'Hôpital's rule.

When does a limit not exist?

A limit does not exist when the left and right one-sided limits are different (a jump), when the function grows without bound (a vertical asymptote), or when it oscillates without settling down, as sin(1/x) does near 0.

What is the difference between a limit and the value of a function?

f(a) is the actual output at x = a. The limit as x approaches a is the value the outputs approach from nearby inputs. They are equal when the function is continuous at a, but they can differ: (x² − 4)/(x − 2) is undefined at x = 2, yet its limit there is 4.

How do you find limits at infinity?

For a rational function, compare the degrees of the numerator and denominator. If the bottom degree is larger, the limit is 0. If the degrees are equal, the limit is the ratio of the leading coefficients. If the top degree is larger, the limit is ∞ or −∞. These limits give the horizontal asymptotes of the graph.

Why are limits important?

Limits are the foundation of calculus. The derivative is defined as a limit of slopes, the definite integral is defined as a limit of sums, and continuity is defined using limits. They are also Unit 1 of AP Calculus AB and BC.

Make limits the easy part of calculus.

Step-by-step lessons and an AI tutor that explains the step you missed. Start the first lesson free.

Start Your Free Calculus Lesson