AP · Calculus AB · Limits

What a Limit Means

18 min readUpdated November 30, 2026FreeAP Calculus AB, Limits and Continuity

A limit is the value that f(x)f(x) gets close to as xx gets close to a number aa, from both sides. You write lim⁡x→af(x)=L\lim_{x \to a} f(x) = L. The value of ff at aa itself plays no part: f(a)f(a) can be different from LL, or not exist at all, and the limit is unchanged.

Quick check

  1. Why can't you evaluate x2−4x−2\dfrac{x^2 - 4}{x - 2} at x=2x = 2?Show answerHide answer

    Substituting x=2x = 2 gives 00\frac{0}{0}, and division by zero is undefined. So x=2x = 2 is not in the domain of this function.

  2. For f(x)=x+1f(x) = x + 1 when x<2x < 2 and f(x)=5f(x) = 5 when x≥2x \geq 2, what is f(2)f(2)?Show answerHide answer

    f(2)=5f(2) = 5. The condition x≥2x \geq 2 includes x=2x = 2, so you use the second rule.

  3. A table shows g(1.9)=2.9g(1.9) = 2.9, g(1.99)=2.99g(1.99) = 2.99, g(2.01)=3.01g(2.01) = 3.01 and g(2.1)=3.1g(2.1) = 3.1. What number does g(x)g(x) seem to approach as xx gets close to 22?Show answerHide answer

    About 33. From both sides the values close in on 33, which is the idea of a limit.

Know these already? Jump to the practice questions

What you'll be able to do

  • Read and write limit notation, including one-sided limits.
  • Estimate a limit from a graph or a table of values.
  • Decide whether a limit exists by comparing the left-hand and right-hand limits.
  • Identify the three ways a limit can fail to exist.
  • Explain why f(a)f(a) does not decide lim⁡x→af(x)\lim_{x \to a} f(x).

Key terms

Limit

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L means that f(x)f(x) can be made as close to LL as you like by taking xx close enough to aa, with x≠ax \neq a.

In plain English
The height the graph is heading for as you slide toward x=ax = a from both sides.
Don't write
"the limit is f(a)f(a)"; the limit ignores the value at aa.

One-sided limit

lim⁡x→a−f(x)\lim_{x \to a^-} f(x) uses only x<ax < a (the left-hand limit); lim⁡x→a+f(x)\lim_{x \to a^+} f(x) uses only x>ax > a (the right-hand limit).

In plain English
The height the graph heads for when you approach from one side only.
Don't write
lim⁡x→a−\lim_{x \to a^-} for values to the right of aa; the minus sign means "from below aa".

Does not exist (DNE)

A limit does not exist when no single real number LL fits the definition.

In plain English
The graph is not heading for one height.
Don't write
"DNE" with no reason; on a free-response answer you say why.

What does limit notation actually say?

lim⁡x→af(x)=L\lim_{x \to a} f(x) = L is a statement about xx near aa, never at aa. It says that as xx moves toward aa from either side, the outputs f(x)f(x) close in on one number LL.

Take f(x)=x2−4x−2f(x) = \dfrac{x^2 - 4}{x - 2}. You cannot substitute x=2x = 2, yet the outputs nearby are easy to find: f(1.99)=3.99f(1.99) = 3.99 and f(2.01)=4.01f(2.01) = 4.01. As xx closes in on 22, f(x)f(x) closes in on 44, so lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4. On a graph this is a straight line with a hole at (2,4)(2, 4); the line still heads for height 44.

Now change the function only at x=2x = 2, by defining f(2)=10f(2) = 10. Nothing near 22 has changed, so the limit is still 44. That is the central idea of this note: the limit depends on the values close to aa, and f(a)f(a) is irrelevant to it. When the two do agree, the function is continuous at aa; see the note on continuity and discontinuities.

Key idea

A limit describes where f(x)f(x) is heading as xx approaches aa, not where ff is at aa.

Check yourself

If f(3)=8f(3) = 8, must lim⁡x→3f(x)\lim_{x \to 3} f(x) equal 88?
Show answerHide answer

No. The limit depends only on values of f(x)f(x) for xx near 33, so f(3)f(3) can be anything, or undefined, without changing it.

How do one-sided limits decide the limit?

A left-hand limit, lim⁡x→a−f(x)\lim_{x \to a^-} f(x), uses only inputs just below aa. A right-hand limit, lim⁡x→a+f(x)\lim_{x \to a^+} f(x), uses only inputs just above aa.

Learn this: the two-sided limit exists exactly when both one-sided limits exist and are equal.

lim⁡x→af(x)=Lif and only iflim⁡x→a−f(x)=L and lim⁡x→a+f(x)=L\lim_{x \to a} f(x) = L \quad \text{if and only if} \quad \lim_{x \to a^-} f(x) = L \text{ and } \lim_{x \to a^+} f(x) = L

One-sided limits matter most for piecewise functions, where a different rule applies on each side of aa. Take f(x)=x+1f(x) = x + 1 for x<2x < 2 and f(x)=5f(x) = 5 for x≥2x \geq 2. Coming from the left, you use x+1x + 1, which heads for 33. Coming from the right, f(x)f(x) is 55 throughout. So lim⁡x→2−f(x)=3\lim_{x \to 2^-} f(x) = 3 and lim⁡x→2+f(x)=5\lim_{x \to 2^+} f(x) = 5. They disagree, so lim⁡x→2f(x)\lim_{x \to 2} f(x) does not exist, even though f(2)=5f(2) = 5 is perfectly well defined.

Check yourself

If lim⁡x→1−g(x)=6\lim_{x \to 1^-} g(x) = 6 and lim⁡x→1+g(x)=6\lim_{x \to 1^+} g(x) = 6, what is lim⁡x→1g(x)\lim_{x \to 1} g(x)?
Show answerHide answer

66. Both one-sided limits exist and agree, so the two-sided limit is their common value.

How do you estimate a limit from a graph or a table?

From a graph: trace the curve toward x=ax = a from the left and note the height it heads for, then do the same from the right. Ignore any dot sitting exactly at x=ax = a; a filled dot shows f(a)f(a), and an open circle shows a height the curve approaches but does not take.

From a table: look at the outputs for inputs on each side of aa, moving closer to aa each time. If both columns close in on the same number, that number is your estimate. The table gives an estimate, not a proof: it only samples a few points, so you state the trend you can see.

When a question gives a formula you cannot simplify by hand, a graphing calculator is the expected tool for building the table or zooming in on the graph. Write the values you used, not the keystrokes.

Check yourself

A graph has an open circle at (4,1)(4, 1) and a filled dot at (4,6)(4, 6), and the curve heads for the open circle from both sides. What are lim⁡x→4f(x)\lim_{x \to 4} f(x) and f(4)f(4)?
Show answerHide answer

lim⁡x→4f(x)=1\lim_{x \to 4} f(x) = 1, because the curve heads for height 11 from both sides, and f(4)=6f(4) = 6, the filled dot.

When does a limit not exist?

There are three ways, and on a free-response question you name the one that applies.

How it failsWhat you seeExample
One-sided limits disagreeA jump in the graphx+1x + 1 for x<2x < 2, 55 for x≥2x \geq 2, at x=2x = 2
Values grow without boundThe graph shoots up or down a vertical asymptote1x2\dfrac{1}{x^2} at x=0x = 0
Values oscillateThe graph swings between heights faster and fastersin⁡(1x)\sin\left(\dfrac{1}{x}\right) at x=0x = 0

In the second row, 1x2\dfrac{1}{x^2} grows past every number as x→0x \to 0, so there is no real number LL. You may write lim⁡x→01x2=∞\lim_{x \to 0} \dfrac{1}{x^2} = \infty to describe how it fails; the note on infinite limits and limits at infinity covers this. In the third row, sin⁡(1x)\sin\left(\dfrac{1}{x}\right) hits 11 and −1-1 infinitely often as x→0x \to 0, so it settles on no single height.

Check yourself

Which way does lim⁡x→0∣x∣x\lim_{x \to 0} \dfrac{|x|}{x} fail to exist?
Show answerHide answer

The one-sided limits disagree. For x<0x < 0 the value is −1-1, and for x>0x > 0 it is 11.

Worked example 1: A limit from a table

Question: Use a table of values to estimate lim⁡x→0ex−1−xx2\lim_{x \to 0} \dfrac{e^x - 1 - x}{x^2}.

What tells you the method

Substituting x=0x = 0 gives 00\frac{0}{0}, and there is no quick factorization, so you sample values on each side.

  1. Step 1: Tabulate values just left of 00.

    At x=−0.1,−0.01,−0.001x = -0.1, -0.01, -0.001 the values are 0.483740.48374, 0.498340.49834, 0.499830.49983.

    Why

    The left-hand limit uses only x<0x < 0.

  2. Step 2: Tabulate values just right of 00.

    At x=0.001,0.01,0.1x = 0.001, 0.01, 0.1 the values are 0.500170.50017, 0.501670.50167, 0.517090.51709.

    Why

    The right-hand limit uses only x>0x > 0.

  3. Step 3: Read the trend from both sides.

    The left values rise toward 0.50.5 and the right values fall toward 0.50.5.

    Why

    When both sides close in on the same number, that number is the estimate of the limit.

Check it

The closest values, 0.499830.49983 and 0.500170.50017, sit on either side of 0.50.5 and differ from it by less than 0.00020.0002, so 0.50.5 fits both columns.

Answer

The limit is about 0.50.5.

Worked example 2: The limit is not the value

Question: Let f(x)={x2−3x<25x=23x−5x>2f(x) = \begin{cases} x^2 - 3 & x < 2 \\ 5 & x = 2 \\ 3x - 5 & x > 2 \end{cases}. Find lim⁡x→2−f(x)\lim_{x \to 2^-} f(x), lim⁡x→2+f(x)\lim_{x \to 2^+} f(x) and lim⁡x→2f(x)\lim_{x \to 2} f(x), and compare the limit with f(2)f(2).

What tells you the method

A piecewise function with a break at x=2x = 2 means you find each one-sided limit with the rule for that side.

  1. Step 1: Left-hand limit.

    For x<2x < 2, f(x)=x2−3f(x) = x^2 - 3, which heads for 4−3=14 - 3 = 1.

    Why

    x2−3x^2 - 3 is a polynomial, so its outputs head for its value at x=2x = 2.

  2. Step 2: Right-hand limit.

    For x>2x > 2, f(x)=3x−5f(x) = 3x - 5, which heads for 6−5=16 - 5 = 1.

    Why

    Only the rule for x>2x > 2 matters on the right.

  3. Step 3: Combine.

    Both one-sided limits equal 11, so lim⁡x→2f(x)=1\lim_{x \to 2} f(x) = 1, while f(2)=5f(2) = 5.

    Why

    The limit uses only values near 22, so the single value f(2)=5f(2) = 5 does not affect it.

Check it

f(1.99)=0.9601f(1.99) = 0.9601 and f(2.01)=1.03f(2.01) = 1.03, both close to 11 and far from 55.

Answer

lim⁡x→2−f(x)=1\lim_{x \to 2^-} f(x) = 1, lim⁡x→2+f(x)=1\lim_{x \to 2^+} f(x) = 1 and lim⁡x→2f(x)=1\lim_{x \to 2} f(x) = 1, which is not equal to f(2)=5f(2) = 5.

Worked example 3: Choosing a constant

Question: Let f(x)={kx+1x<3x2−2kx≥3f(x) = \begin{cases} kx + 1 & x < 3 \\ x^2 - 2k & x \geq 3 \end{cases}, where kk is a constant. (a) For k=1k = 1, find both one-sided limits at x=3x = 3 and explain why lim⁡x→3f(x)\lim_{x \to 3} f(x) does not exist. (b) Find the value of kk for which lim⁡x→3f(x)\lim_{x \to 3} f(x) exists, and give that limit.

What tells you the method

"for which the limit exists" means you set the left-hand limit equal to the right-hand limit.

  1. Step 1: One-sided limits for k=1k = 1.

    From the left, x+1→4x + 1 \to 4; from the right, x2−2→7x^2 - 2 \to 7.

    Why

    Each side uses its own rule, evaluated as xx approaches 33.

  2. Step 2: Conclude for part (a).

    4≠74 \neq 7, so the limit does not exist.

    Why

    A two-sided limit needs both one-sided limits to agree.

  3. Step 3: Set the sides equal for general kk.

    The left-hand limit is 3k+13k + 1 and the right-hand limit is 9−2k9 - 2k, so 3k+1=9−2k3k + 1 = 9 - 2k, giving 5k=85k = 8 and k=85k = \frac{8}{5}.

    Why

    Equal one-sided limits is exactly the condition for the limit to exist.

  4. Step 4: Find the limit.

    3(85)+1=2953\left(\frac{8}{5}\right) + 1 = \frac{29}{5}.

    Why

    Either side gives the common value.

Check it

The right side gives 9−165=2959 - \frac{16}{5} = \frac{29}{5}, which matches.

Answer

(a) The left-hand limit is 44 and the right-hand limit is 77, so the limit does not exist. (b) k=85k = \frac{8}{5}, and the limit is 295\frac{29}{5}.

Your turn

Question: Let g(x)=x2+x∣x∣g(x) = \dfrac{x^2 + x}{|x|}. Find lim⁡x→0−g(x)\lim_{x \to 0^-} g(x) and lim⁡x→0+g(x)\lim_{x \to 0^+} g(x), and decide whether lim⁡x→0g(x)\lim_{x \to 0} g(x) exists.

  1. Step 1:

    For x<0x < 0, ∣x∣=−x|x| = -x, so g(x)=x(x+1)−x=−(x+1)g(x) = \dfrac{x(x + 1)}{-x} = -(x + 1), which heads for −1-1. So lim⁡x→0−g(x)=−1\lim_{x \to 0^-} g(x) = -1.

  2. Step 2: Your go: use ∣x∣=x|x| = x for x>0x > 0 to find the right-hand limit, then compare the two sides.

Show the full solutionHide the solution

For x>0x > 0, g(x)=x(x+1)x=x+1g(x) = \dfrac{x(x + 1)}{x} = x + 1, which heads for 11. The one-sided limits are −1-1 and 11, which disagree, so the two-sided limit does not exist.

Answer: lim⁡x→0−g(x)=−1\lim_{x \to 0^-} g(x) = -1 and lim⁡x→0+g(x)=1\lim_{x \to 0^+} g(x) = 1, so lim⁡x→0g(x)\lim_{x \to 0} g(x) does not exist.

Traps

Trap

Thinking that if f(a)f(a) is undefined, then lim⁡x→af(x)\lim_{x \to a} f(x) does not exist.

It seems right because you cannot substitute x=ax = a. But the limit never uses x=ax = a: x2−4x−2\dfrac{x^2 - 4}{x - 2} is undefined at 22, yet its outputs head for 44, so the limit is 44.

Check yourself

Does lim⁡x→1x2−1x−1\lim_{x \to 1} \dfrac{x^2 - 1}{x - 1} exist, given that the function is undefined at x=1x = 1?
Show answerHide answer

Yes, it equals 22. The outputs near x=1x = 1 head for 22; the missing value at x=1x = 1 does not matter.

Trap

Reading the limit off the filled dot at x=ax = a.

It seems right because the dot is the point on the graph at x=ax = a. But the dot shows f(a)f(a); the limit is the height the curve approaches from each side, which can be a different height.

Check yourself

A curve heads for an open circle at (1,2)(1, 2) from both sides, and there is a filled dot at (1,−3)(1, -3). What is lim⁡x→1f(x)\lim_{x \to 1} f(x)?
Show answerHide answer

22. The curve heads for height 22; the filled dot only gives f(1)=−3f(1) = -3.

Trap

Checking only one side of aa.

It seems right because one side often shows a clear trend. But a two-sided limit needs both sides: if the left heads for 33 and the right for 55, the limit does not exist.

Check yourself

The left-hand limit at x=0x = 0 is 22 and f(x)=2+xf(x) = 2 + x for x>0x > 0. Does lim⁡x→0f(x)\lim_{x \to 0} f(x) exist?
Show answerHide answer

Yes, it equals 22. The right-hand limit is 2+0=22 + 0 = 2, which agrees with the left.

What's examined

Limits are part of Unit 1 (Limits and Continuity) of the AP® Calculus AB exam, and they can appear in both the multiple-choice and free-response sections. Expect to read limits from a graph or a table, find one-sided limits of piecewise functions, and say whether a limit exists. Command words include Estimate, Find, Evaluate and Justify; when asked to justify, name the reason, for example "the left-hand and right-hand limits are not equal". Not on your syllabus: the formal epsilon–delta definition of a limit.

Practice questions

  1. Recall Given that lim⁡x→3f(x)=7\lim_{x \to 3} f(x) = 7, which statement must be true?
    • A) lim⁡x→3−f(x)=7\lim_{x \to 3^-} f(x) = 7 and lim⁡x→3+f(x)=7\lim_{x \to 3^+} f(x) = 7
    • B) f(3)=7f(3) = 7
    • C) f(3)f(3) is defined
    • D) f(x)=7f(x) = 7 for every xx close to 33
Show answer

Answer: A) Both one-sided limits equal 77.

Marking points:

  • A two-sided limit of 77 means both one-sided limits exist and equal 77.
  • B and C confuse the limit with the value at x=3x = 3, which the limit ignores.
  • D confuses approaching 77 with being equal to 77.
  1. Apply Let f(x)=cos⁡(πx)f(x) = \cos\left(\dfrac{\pi}{x}\right). Find f(12)f\left(\frac{1}{2}\right), f(13)f\left(\frac{1}{3}\right), f(14)f\left(\frac{1}{4}\right) and f(15)f\left(\frac{1}{5}\right), and use them to explain why lim⁡x→0+f(x)\lim_{x \to 0^+} f(x) does not exist.
Show answer

Answer: The values are 11, −1-1, 11 and −1-1, so f(x)f(x) keeps swinging between 11 and −1-1 as x→0+x \to 0^+ and approaches no single number.

Marking points:

  • f(1n)=cos⁡(nπ)f\left(\frac{1}{n}\right) = \cos(n\pi), which is 11 for even nn and −1-1 for odd nn.
  • The inputs 1n\frac{1}{n} approach 00 from the right.
  • The outputs oscillate, so the limit does not exist.
  1. Apply The graph of gg is the line y=x+1y = x + 1 with an open circle at (2,3)(2, 3), together with a filled dot at (2,1)(2, 1). What is lim⁡x→2g(x)\lim_{x \to 2} g(x)?
    • A) 11
    • B) 22
    • C) 33
    • D) The limit does not exist.
Show answer

Answer: C) 33.

Marking points:

  • From both sides the line heads for height 2+1=32 + 1 = 3.
  • A reads the filled dot, which is g(2)g(2).
  • B gives the value of xx, not the height.
  • D treats the hole as a reason for no limit.
  1. Apply Which of these limits does not exist?
    • A) lim⁡x→1x2−1x−1\lim_{x \to 1} \dfrac{x^2 - 1}{x - 1}
    • B) lim⁡x→0∣x∣\lim_{x \to 0} |x|
    • C) lim⁡x→2f(x)\lim_{x \to 2} f(x), where f(x)=xf(x) = x for x≠2x \neq 2 and f(2)=5f(2) = 5
    • D) lim⁡x→0∣x∣x\lim_{x \to 0} \dfrac{|x|}{x}
Show answer

Answer: D) lim⁡x→0∣x∣x\lim_{x \to 0} \dfrac{|x|}{x}.

Marking points:

  • In D the left-hand limit is −1-1 and the right-hand limit is 11, so the limit does not exist.
  • A equals 22: the function is undefined at 11, but that does not matter.
  • B equals 00: a sharp corner still has a limit.
  • C equals 22: the moved point does not change the limit.
  1. Exam-style Let h(x)={x2−4x<39x=32x−1x>3h(x) = \begin{cases} x^2 - 4 & x < 3 \\ 9 & x = 3 \\ 2x - 1 & x > 3 \end{cases}. (a) Find lim⁡x→3−h(x)\lim_{x \to 3^-} h(x) and lim⁡x→3+h(x)\lim_{x \to 3^+} h(x). (b) Does lim⁡x→3h(x)\lim_{x \to 3} h(x) exist? Give a reason for your answer. (c) Is lim⁡x→3h(x)\lim_{x \to 3} h(x) equal to h(3)h(3)?
Show answer

Answer: (a) Both one-sided limits equal 55. (b) Yes, lim⁡x→3h(x)=5\lim_{x \to 3} h(x) = 5, because the one-sided limits are equal. (c) No: h(3)=9h(3) = 9.

Marking points:

  • Left: 32−4=53^2 - 4 = 5. Right: 2(3)−1=52(3) - 1 = 5.
  • Equal one-sided limits, so the limit exists and is 55.
  • h(3)=9≠5h(3) = 9 \neq 5.
  1. Exam-style Let g(x)={ax2+1x<2x+ax>2g(x) = \begin{cases} ax^2 + 1 & x < 2 \\ x + a & x > 2 \end{cases}, where aa is a constant. Find the value of aa for which lim⁡x→2g(x)\lim_{x \to 2} g(x) exists, and find the limit.
Show answer

Answer: a=13a = \frac{1}{3}, and the limit is 73\frac{7}{3}.

Marking points:

  • Left-hand limit: 4a+14a + 1. Right-hand limit: 2+a2 + a.
  • Set them equal: 4a+1=2+a4a + 1 = 2 + a, so 3a=13a = 1 and a=13a = \frac{1}{3}.
  • The limit is 2+13=732 + \frac{1}{3} = \frac{7}{3}.
  1. Exam-style A function ff has f(1.9)=3.61f(1.9) = 3.61, f(1.99)=3.9601f(1.99) = 3.9601, f(1.999)=3.996001f(1.999) = 3.996001, f(2)=7f(2) = 7, f(2.001)=4.004001f(2.001) = 4.004001, f(2.01)=4.0401f(2.01) = 4.0401 and f(2.1)=4.41f(2.1) = 4.41. Which is the best estimate of lim⁡x→2f(x)\lim_{x \to 2} f(x)?
    • A) 3.9963.996
    • B) 44
    • C) 77
    • D) The limit does not exist.
Show answer

Answer: B) 44.

Marking points:

  • From the left the values rise toward 44; from the right they fall toward 44.
  • A stops at the nearest left value instead of reading the trend.
  • C reads f(2)f(2), which the limit ignores.
  • D assumes a limit must be reached by a table value.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • lim⁡x→af(x)=L\lim_{x \to a} f(x) = L describes outputs for xx near aa; the value f(a)f(a) never enters it.
  • The two-sided limit exists only when the left-hand and right-hand limits exist and agree.
  • On a graph, follow the curve to the height it approaches; a filled dot gives f(a)f(a), not the limit.
  • A table gives an estimate: read the trend on both sides of aa.
  • A limit fails to exist through a jump, unbounded growth or oscillation, and you name which.

Keep learning

Explore AP Calculus AB tutoring →

View the full Calculus AB syllabus →

More in this unit

Limits and Continuity

All Limits notes

Part of Novark's AP Calculus AB notes