Skip to content

Unit 1: Limits and Continuity

Connecting Multiple Representations of Limits

Read the same limit from a graph, a table, a formula or a sentence, know what each one can prove, and combine limits given in different forms.

Topic 1.9 · 9 min read

A limit question on the exam can hand you a formula, a graph, a table of values, or a sentence such as "as xx approaches 2, f(x)f(x) approaches 3." These are four views of one object, and a question often gives you two of them at once, say ff as a graph and gg as a formula, and asks about f(g(x))f(g(x)).

One limit, four views

The statement lim⁡x→cf(x)=L\lim\limits_{x \to c} f(x) = L says that the outputs f(x)f(x) get as close to LL as you want once the inputs xx are close enough to cc, with x≠cx \neq c. The value f(c)f(c) plays no part: it can equal LL, differ from LL, or not exist. The one-sided limits lim⁡x→c−f(x)\lim\limits_{x \to c^-} f(x) and lim⁡x→c+f(x)\lim\limits_{x \to c^+} f(x) use only inputs below cc or only inputs above cc, and the two-sided limit exists exactly when both one-sided limits exist and are equal.

Take h(x)=x3−8x2−4h(x) = \dfrac{x^3 - 8}{x^2 - 4} near x=2x = 2, where it is undefined because the denominator is 0.

ViewWhat it shows near x=2x = 2
Tableh(1.99)≈2.9925h(1.99) \approx 2.9925, h(1.999)≈2.9993h(1.999) \approx 2.9993, h(2.001)≈3.0008h(2.001) \approx 3.0008, h(2.01)≈3.0075h(2.01) \approx 3.0075
GraphA smooth curve rising through the point (2,3)(2, 3), with an open circle there
FormulaFactor: h(x)=(x−2)(x2+2x+4)(x−2)(x+2)=x2+2x+4x+2h(x) = \dfrac{(x-2)(x^2+2x+4)}{(x-2)(x+2)} = \dfrac{x^2+2x+4}{x+2} for x≠2x \neq 2, so the limit is 124=3\dfrac{12}{4} = 3
WordsAs xx approaches 2 from either side, h(x)h(x) approaches 3

Each row says the same thing. Translating between them is mechanical once you know what to look for: a limit on a graph is a height the curve heads toward, in a table it is the value the outputs settle on from both directions, in a formula it is what the algebra of topics 1.5 and 1.6 produces, and in words it is the sentence the notation abbreviates.

What each view can prove

The views are not equally strong. A formula, worked with the limit laws, algebra, or the squeeze theorem (topic 1.8), proves a limit's value. A graph whose key heights are labeled or sit on grid lines, or a sentence stating a limit, hands you an exact value to use as given, the way a theorem's hypothesis is given. A table, alone, only suggests a value.

A table samples, it doesn't prove. A table shows finitely many inputs, and a function can do anything between them. Let q(x)=cos⁡(πx)q(x) = \cos\left(\dfrac{\pi}{x}\right). At x=±0.1,±0.01,±0.001x = \pm 0.1, \pm 0.01, \pm 0.001 the inputs to the cosine are ±10π,±100π,±1000π\pm 10\pi, \pm 100\pi, \pm 1000\pi, all even multiples of π\pi, so every entry of the table is exactly 1. Yet lim⁡x→0q(x)\lim\limits_{x \to 0} q(x) does not exist: at x=13,15,17,…x = \dfrac{1}{3}, \dfrac{1}{5}, \dfrac{1}{7}, \ldots, which also crowd toward 0, the cosine's input is an odd multiple of π\pi and q(x)=−1q(x) = -1. The table chose inputs that hid the oscillation. That is why exam questions ask you to estimate a limit from a table, and why a table is evidence you weigh against other information (for instance, being told the function is continuous) rather than a proof.

A graph is read, not computed. On a graph the limit from the left is the height the curve approaches as you trace it toward x=cx = c from the left, and likewise from the right. An open circle marks a point missing from the graph, and a filled dot marks the actual value f(c)f(c). The limit ignores both, because it is about the heights near cc. A drawing is only as precise as its labels: take heights from labeled points and grid lines, and when a figure is marked not drawn to scale, trust the labels over the picture. A limit read that way is exact, which is why Example 2 below combines graph-read limits with the limit laws.

Infinite behavior in every view. If the outputs grow without bound as x→c+x \to c^+, you write lim⁡x→c+f(x)=∞\lim\limits_{x \to c^+} f(x) = \infty. On a graph this is a curve climbing along a vertical asymptote; in a table, outputs like 40,400,400040, 400, 4000 as xx gets closer to cc; in a formula, typically a nonzero numerator over a denominator approaching 0. Writing ∞\infty describes how the limit fails to exist; it does not make the limit a number. Topic 1.14 covers infinite limits in full.

Combining limits from different views

The limit laws do not care where a limit came from. If lim⁡x→cf(x)=4\lim\limits_{x \to c} f(x) = 4 is read off a graph and lim⁡x→cg(x)=−1\lim\limits_{x \to c} g(x) = -1 comes from a formula, then lim⁡x→c[f(x)g(x)]=−4\lim\limits_{x \to c}[f(x)g(x)] = -4. The laws need each piece's limit to exist, though, and when one doesn't, the combination can still have a limit. You find it by going back to one-sided limits, combining each side separately, and comparing.

Compositions need the direction of approach. To find lim⁡x→cf(g(x))\lim\limits_{x \to c} f(g(x)), first find what g(x)g(x) approaches and from which side, then ask what ff does as its input approaches that value from that side. With the graph of ff in Example 2 below, which jumps at 3 (heights near 4 just left of 3, heights near 3 just right of 3), compare two limits at x=0x = 0:

  • In f(3−x2)f(3 - x^2), the input 3−x23 - x^2 approaches 3 and is always less than 3 for x≠0x \neq 0, so lim⁡x→0f(3−x2)=lim⁡u→3−f(u)=4\lim\limits_{x \to 0} f(3 - x^2) = \lim\limits_{u \to 3^-} f(u) = 4.
  • In f(3+x2)f(3 + x^2), the input approaches 3 from above, so lim⁡x→0f(3+x2)=lim⁡u→3+f(u)=3\lim\limits_{x \to 0} f(3 + x^2) = \lim\limits_{u \to 3^+} f(u) = 3.

The inside approaches the same number in both, and the answers differ only because of the side. If the inside approaches a value LL while never equaling it, f(L)f(L) itself is irrelevant; you need the limit of ff at LL, not its value.

Worked examples

Worked exampleExample 1: from a table to a proof

Let h(x)=x3−8x2−4h(x) = \dfrac{x^3 - 8}{x^2 - 4}, the function from the first section. A student makes a table with h(1.9)≈2.9256h(1.9) \approx 2.9256 and h(2.1)≈3.0756h(2.1) \approx 3.0756, sees that 3 lies between them, and claims lim⁡x→2h(x)=3\lim\limits_{x \to 2} h(x) = 3. Explain what the table supports, then establish the limit.

Show solution

Two entries at distance 0.1 from 2 only show that hh takes values near 3 on either side; they say nothing about which number the outputs settle on as xx gets closer. Adding x=1.99,1.999x = 1.99, 1.999 and 2.001,2.012.001, 2.01 gives 2.9925,2.99932.9925, 2.9993 and 3.0008,3.00753.0008, 3.0075, which close in on 3 from below and from above. That is good evidence, but still a sample.

To prove it, use the formula. Direct substitution gives 00\frac{0}{0}, which means x−2x - 2 is a factor of both the numerator and the denominator. Factor the difference of cubes and the difference of squares:

h(x)=(x−2)(x2+2x+4)(x−2)(x+2)=x2+2x+4x+2for x≠2.h(x) = \frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)} = \frac{x^2+2x+4}{x+2} \quad \text{for } x \neq 2.

The limit only looks at x≠2x \neq 2, so it equals the limit of the simplified expression, which is continuous at 2:

lim⁡x→2h(x)=4+4+42+2=3.\lim_{x \to 2} h(x) = \frac{4 + 4 + 4}{2 + 2} = 3.

The table also matches the formula's shape: the outputs increase through 3, consistent with x2+2x+4x+2\frac{x^2+2x+4}{x+2} being increasing near 2.

Worked exampleExample 2: reading a graph, and combining it with a formula

The graph of ff on 0≤x≤60 \le x \le 6 is shown below. Let g(x)=∣x−3∣2(x−3)g(x) = \dfrac{|x - 3|}{2(x-3)}.

Graph of f made of two line segments. The first runs from the filled point (0, 1) up to an open circle at (3, 4), with slope 1, but has an open circle at (1, 2); the value at x = 1 is the separate filled point (1, 4). The second segment starts at the filled point (3, 3) and runs down with slope negative 1 to the filled point (6, 0).

(a) Find lim⁡x→1f(x)\lim\limits_{x \to 1} f(x) and f(1)f(1).

(b) Find lim⁡x→3−f(x)\lim\limits_{x \to 3^-} f(x), lim⁡x→3+f(x)\lim\limits_{x \to 3^+} f(x), and lim⁡x→3f(x)\lim\limits_{x \to 3} f(x) if it exists.

(c) Find lim⁡x→3[f(x)+g(x)]\lim\limits_{x \to 3}\left[f(x) + g(x)\right].

Show solution

(a) As xx approaches 1 from either side, the curve's height approaches the open circle at 2, so lim⁡x→1f(x)=2\lim\limits_{x \to 1} f(x) = 2. The filled dot gives f(1)=4f(1) = 4. The two numbers differ, and that is allowed: the limit describes the heights near 1, the value is the height at 1.

(b) Tracing the left segment toward x=3x = 3, the heights approach 4, so lim⁡x→3−f(x)=4\lim\limits_{x \to 3^-} f(x) = 4. Tracing the right segment toward 3, they approach 3, so lim⁡x→3+f(x)=3\lim\limits_{x \to 3^+} f(x) = 3. The one-sided limits are different, so lim⁡x→3f(x)\lim\limits_{x \to 3} f(x) does not exist.

(c) Neither ff nor gg has a limit at 3, so the sum law doesn't apply; work each side. For x<3x < 3, ∣x−3∣=−(x−3)|x - 3| = -(x - 3), so g(x)=−12g(x) = -\frac{1}{2}; for x>3x > 3, g(x)=12g(x) = \frac{1}{2}. Then

lim⁡x→3−[f(x)+g(x)]=4−12=72,lim⁡x→3+[f(x)+g(x)]=3+12=72.\lim_{x \to 3^-}\left[f(x) + g(x)\right] = 4 - \tfrac{1}{2} = \tfrac{7}{2}, \qquad \lim_{x \to 3^+}\left[f(x) + g(x)\right] = 3 + \tfrac{1}{2} = \tfrac{7}{2}.

The one-sided limits agree, so lim⁡x→3[f(x)+g(x)]=72\lim\limits_{x \to 3}\left[f(x) + g(x)\right] = \dfrac{7}{2}. The jump of −1-1 in ff is cancelled by the jump of +1+1 in gg.

Worked exampleExample 3: an exam-style multiple-choice question (no calculator)

For the function ff graphed in Example 2, which of the following limits does not exist?

(A) lim⁡x→5f(f(x))\lim\limits_{x \to 5} f(f(x))

(B) lim⁡x→2f(f(x))\lim\limits_{x \to 2} f(f(x))

(C) lim⁡x→3(x−3)f(x)\lim\limits_{x \to 3} (x - 3)f(x)

(D) lim⁡x→4f(x−3)\lim\limits_{x \to 4} f(x - 3)

Show solution

Check each one, tracking which side the inner function approaches from.

(A) Near x=5x = 5, f(x)=6−xf(x) = 6 - x, which approaches 1 and is not equal to 1 for x≠5x \neq 5. So the limit is lim⁡u→1f(u)=2\lim\limits_{u \to 1} f(u) = 2. It exists. (The value f(f(5))=f(1)=4f(f(5)) = f(1) = 4 is a different number, and a tempting wrong answer if you substitute instead of taking a limit.)

(B) Near x=2x = 2, f(x)=x+1f(x) = x + 1, which approaches 3. Because x+1x + 1 is increasing, the inner values are below 3 when x<2x < 2 and above 3 when x>2x > 2. So

lim⁡x→2−f(f(x))=lim⁡u→3−f(u)=4,lim⁡x→2+f(f(x))=lim⁡u→3+f(u)=3.\lim_{x \to 2^-} f(f(x)) = \lim_{u \to 3^-} f(u) = 4, \qquad \lim_{x \to 2^+} f(f(x)) = \lim_{u \to 3^+} f(u) = 3.

The one-sided limits differ, so this limit does not exist.

(C) From the left, (x−3)→0(x - 3) \to 0 and f(x)→4f(x) \to 4, so the product approaches 0⋅4=00 \cdot 4 = 0; from the right it approaches 0⋅3=00 \cdot 3 = 0. Both sides give 0, so the limit is 0.

(D) The inner x−3x - 3 approaches 1 from both sides without equaling it for x≠4x \neq 4, so the limit is lim⁡u→1f(u)=2\lim\limits_{u \to 1} f(u) = 2.

The answer is (B).

Where students lose points

On the exam

A question on this topic gives you a graph or a table of ff, sometimes with a formula for another function, and asks about a sum, product, quotient or composition. Answer choices can include the function's value at the point and "does not exist," so decide on a two-sided limit only after you have both one-sided limits. When a question gives a table and says the function is continuous at a tabulated input cc, continuity makes the entry f(c)f(c) equal to lim⁡x→cf(x)\lim\limits_{x \to c} f(x) (topic 1.11); the entries at other inputs near cc still only suggest a limit.

Check yourself

  1. Question 1

    The functions ff and gg satisfy lim⁡x→2−f(x)=1\lim\limits_{x \to 2^-} f(x) = 1, lim⁡x→2+f(x)=4\lim\limits_{x \to 2^+} f(x) = 4, lim⁡x→2−g(x)=3\lim\limits_{x \to 2^-} g(x) = 3 and lim⁡x→2+g(x)=0\lim\limits_{x \to 2^+} g(x) = 0. Which of the following is true?

    1. A

      lim⁡x→2[f(x)+g(x)]=4\lim\limits_{x \to 2}[f(x) + g(x)] = 4 and lim⁡x→2[f(x)g(x)]\lim\limits_{x \to 2}[f(x)g(x)] does not exist

    2. B

      Both lim⁡x→2[f(x)+g(x)]\lim\limits_{x \to 2}[f(x) + g(x)] and lim⁡x→2[f(x)g(x)]\lim\limits_{x \to 2}[f(x)g(x)] do not exist, because lim⁡x→2f(x)\lim\limits_{x \to 2} f(x) does not exist

    3. C

      lim⁡x→2[f(x)+g(x)]\lim\limits_{x \to 2}[f(x) + g(x)] does not exist and lim⁡x→2[f(x)g(x)]=0\lim\limits_{x \to 2}[f(x)g(x)] = 0

    4. D

      lim⁡x→2[f(x)+g(x)]=4\lim\limits_{x \to 2}[f(x) + g(x)] = 4 and lim⁡x→2[f(x)g(x)]=0\lim\limits_{x \to 2}[f(x)g(x)] = 0

    Show answer

    A

    Work each side. The sum approaches 1+3=41 + 3 = 4 from the left and 4+0=44 + 0 = 4 from the right, so its limit is 4. The product approaches 1⋅3=31 \cdot 3 = 3 from the left and 4⋅0=04 \cdot 0 = 0 from the right, so its limit does not exist. Choice B assumes a combination can't have a limit when its pieces don't; choice D uses only the right-hand values for the product.

  2. Question 2

    A function ff satisfies lim⁡u→1−f(u)=5\lim\limits_{u \to 1^-} f(u) = 5, lim⁡u→1+f(u)=−2\lim\limits_{u \to 1^+} f(u) = -2 and f(1)=0f(1) = 0. Find lim⁡x→0f(1−x2)\lim\limits_{x \to 0} f(1 - x^2).

    Show answer

    lim⁡x→0f(1−x2)=5\lim\limits_{x \to 0} f(1 - x^2) = 5

    As x→0x \to 0, the inside 1−x21 - x^2 approaches 1 and is less than 1 for every x≠0x \neq 0, so the outer function's input approaches 1 from the left. The limit is therefore lim⁡u→1−f(u)=5\lim\limits_{u \to 1^-} f(u) = 5. The value f(1)=0f(1) = 0 never enters, because the inside never equals 1 for x≠0x \neq 0.

  3. Question 3

    Suppose lim⁡x→1f(x)=4\lim\limits_{x \to 1} f(x) = 4 is read from a graph with labeled points, and gg is known to be continuous at x=1x = 1, with a table giving g(1)=−2g(1) = -2. What is lim⁡x→1[f(x)]2−3g(x)x+1\lim\limits_{x \to 1} \dfrac{[f(x)]^2 - 3g(x)}{x + 1}?

    Show answer

    1111

    Continuity at 1 makes lim⁡x→1g(x)=g(1)=−2\lim\limits_{x \to 1} g(x) = g(1) = -2. Both limits exist, so the limit laws apply no matter where the limits came from: the numerator approaches 42−3(−2)=224^2 - 3(-2) = 22 and the denominator approaches 22, which is not 0. The quotient's limit is 222=11\frac{22}{2} = 11.

  4. Question 4

    A table gives f(x)=6f(x) = 6 at x=−0.1,−0.01,−0.001,0.001,0.01,0.1x = -0.1, -0.01, -0.001, 0.001, 0.01, 0.1, and nothing else is known about ff. Which statement must be true?

    1. A

      lim⁡x→0f(x)=6\lim\limits_{x \to 0} f(x) = 6

    2. B

      f(0)=6f(0) = 6

    3. C

      ff is continuous at x=0x = 0

    4. D

      None of the other three statements is guaranteed by the table

    Show answer

    D

    A table samples finitely many inputs. The function 5+cos⁡(πx)5 + \cos\left(\frac{\pi}{x}\right) matches every entry, since each πx\frac{\pi}{x} in the table is an even multiple of π\pi, yet it has no limit at 0 and is undefined there. Choice A is the tempting one: the table suggests 6 but cannot prove it.

Go deeper