STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

Limits in calculus, explained with examples

Limits are the foundation of calculus. Derivatives and integrals are both defined using limits, so understanding them makes the rest of the course make sense.

On this page
  1. What a limit means
  2. One-sided limits
  3. A method for evaluating limits
  4. Worked examples
  5. Reading limits from a graph
  6. Limits and continuity
  7. Limits and the derivative
  8. Common mistakes
  9. Practice questions
  10. Frequently asked questions
  11. Key takeaways
  12. Related guides

What a limit means

The limit of f(x) as x approaches a, written limx→a f(x) = L, means that f(x) gets as close as we like to L when x is close enough to a, but not equal to a. The key point is that the limit describes what happens near a, not at a. A function can have a limit at a point where it is undefined, and its value at a point can differ from its limit there.

Imagine walking towards a bridge along a road. The limit is where the road is heading, even if the bridge itself is missing. That is exactly the situation in a derivative, where we want the gradient of a chord as its length shrinks towards zero, even though a chord of length zero makes no sense.

One-sided limits

The left-hand limit, limx→a− f(x), looks at x values just below a. The right-hand limit, limx→a+ f(x), looks at values just above a. The two-sided limit exists only when both one-sided limits exist and are equal. Piecewise functions, absolute values and jumps on graphs are the usual places where they differ.

A method for evaluating limits

  1. Substitute. If the function is continuous at a, the limit is just f(a).
  2. If you get 0/0, the expression is indeterminate. Simplify by factoring, rationalising or using a known limit, then substitute again.
  3. If you get a non-zero number over 0, the function heads to positive or negative infinity. Check each side to see which.
  4. For limits at infinity, divide by the highest power of x in the denominator.
  5. If nothing else works, try L'Hôpital's rule or the squeeze theorem.

Worked examples

Example 1: direct substitution

Find limx→2 (x² + 3x).

Example 2: factoring

Find limx→3 (x² − 9)/(x − 3).

Example 3: rationalising

Find limx→0 (√(x + 4) − 2)/x.

Example 4: one-sided limits

f(x) = x + 1 for x < 2 and f(x) = 5 − x for x ≥ 2. Does limx→2 f(x) exist?

Example 5: a vertical asymptote

Find limx→1+ 1/(x − 1) and limx→1− 1/(x − 1).

Example 6: a limit at infinity

Find limx→∞ (3x² + 1)/(2x² − 5x).

Example 7: a special trig limit

Find limx→0 sin(5x)/x.

Example 8: the squeeze theorem

Find limx→0 x² sin(1/x).

Reading limits from a graph

Many AP questions show a graph and ask for limits. Trace the curve towards the x value from the left with one finger and from the right with another. If both fingers arrive at the same height, that height is the limit, even if there is an open circle there or a filled dot somewhere else. A filled dot shows the function value; an open circle shows a point that is missing. Keep these separate and graph questions become quick marks.

Limits and continuity

A function f is continuous at x = a when three things hold: f(a) is defined, limx→a f(x) exists, and the two are equal. AP free-response questions often ask you to justify continuity using exactly these three conditions, so write all three. There are three kinds of discontinuity to recognise: a removable discontinuity (a hole, where the limit exists but does not match the value), a jump (left and right limits differ), and an infinite discontinuity (a vertical asymptote).

Limits and the derivative

The derivative is defined as a limit: f'(x) = limh→0 (f(x + h) − f(x))/h. AP questions sometimes give you a limit in this form and ask what it represents. For example, limh→0 ((2 + h)³ − 8)/h is the derivative of x³ at x = 2, which is 3 × 2² = 12. Recognising this saves a long calculation.

Common mistakes

Practice questions

Try each one before opening the answer.

Q1. Find limx→−1 (x² − 1)/(x + 1).

Show answer
Factor to x − 1: the limit is −2.

Q2. Find limx→∞ (5x + 2)/(x² + 1).

Show answer
Higher power on the bottom: 0.

Q3. Find limx→0 (1 − cos x)/x.

Show answer
A standard limit: 0.

Q4. Find limx→4 (x − 4)/(√x − 2).

Show answer
x − 4 = (√x − 2)(√x + 2), so the limit is √4 + 2 = 4.

Q5. What does limh→0 (sin(π/2 + h) − 1)/h represent, and what is its value?

Show answer
The derivative of sin x at π/2, which is cos(π/2) = 0.

Frequently asked questions

Are limits on the AP Calculus exam?

Yes. Limits and continuity are Unit 1 of both AB and BC, worth roughly 10 to 12% of the AB exam, and limit ideas appear throughout the rest of the course.

Can I use L'Hôpital's rule for every 0/0 limit?

Only when its conditions hold, and on free-response questions you must state that the limit is an indeterminate form first. Simple algebra is often quicker.

Key takeaways