Skip to content

Unit 1: Limits and Continuity

Estimating Limit Values from Graphs

Read one-sided and two-sided limits off a graph, recognize the three ways a limit fails to exist, and know when a graph's scale can hide what a function does.

Topic 1.3 · 7 min read

A graph shows every output of a function at once, which makes it the fastest place to see where the outputs are heading. To read lim⁡x→cf(x)\lim\limits_{x \to c} f(x) from a graph, put your finger on the curve a little to the left of x=cx = c and slide it toward cc, watching its height; then do the same from the right; then compare. What sits exactly at x=cx = c never enters into it (topic 1.2).

One-sided limits

Sliding in from one side at a time gives the two one-sided limits:

  • the left-hand limit lim⁡x→c−f(x)\lim\limits_{x \to c^-} f(x) is the height the graph approaches as xx comes toward cc through values less than cc;
  • the right-hand limit lim⁡x→c+f(x)\lim\limits_{x \to c^+} f(x) is the height it approaches through values greater than cc.

A parking garage that charges $5 for up to one hour and $8 for more than one hour has a cost graph that jumps at t=1t = 1. Just before one hour the cost is $5, and just after it is $8, so

lim⁡t→1−C(t)=5,lim⁡t→1+C(t)=8.\lim_{t \to 1^-} C(t) = 5, \qquad \lim_{t \to 1^+} C(t) = 8.

The two sides disagree. No single number is approached by the cost for all times near 1 hour, so lim⁡t→1C(t)\lim\limits_{t \to 1} C(t) does not exist, even though C(1)=5C(1) = 5 is perfectly well defined.

This is why a two-sided limit needs a check on each side. The definition in topic 1.2 asks the outputs to be close to LL for every xx near cc, and "every xx near cc" includes inputs on both sides.

Three ways a limit fails to exist

A limit exists only if the outputs settle on one real number. They can fail in three ways, and each has its own look on a graph.

The sides disagree (a jump). The function ∣x∣x\frac{|x|}{x} equals −1-1 for every x<0x < 0 and 11 for every x>0x > 0, because dividing a number's size by the number leaves only its sign. Its graph is two horizontal half-lines with a break at 0. The left-hand limit at 0 is −1-1, the right-hand limit is 1, and the two-sided limit does not exist.

The outputs are unbounded (a vertical asymptote). As xx approaches 0, x2x^2 is a tiny positive number, so 1x2\frac{1}{x^2} is a huge positive number: at x=±0.01x = \pm 0.01 it is 10,00010{,}000, at x=±0.001x = \pm 0.001 it is 1,000,0001{,}000{,}000. The graph shoots up on both sides of the line x=0x = 0. You write

lim⁡x→01x2=∞,\lim_{x \to 0} \frac{1}{x^2} = \infty,

which describes how the limit fails: the outputs grow past every bound, so they approach no real number and the limit does not exist. Compare 1x\frac{1}{x}. For xx just right of 0 it is huge and positive, for xx just left of 0 it is huge and negative:

lim⁡x→0−1x=−∞,lim⁡x→0+1x=∞.\lim_{x \to 0^-} \frac{1}{x} = -\infty, \qquad \lim_{x \to 0^+} \frac{1}{x} = \infty.

The sides head in opposite directions, so not even the shorthand ∞\infty describes the two-sided behavior. All you can say is that lim⁡x→01x\lim\limits_{x \to 0} \frac{1}{x} does not exist.

The outputs oscillate. As xx approaches 0, 1x\frac{1}{x} races off toward ±∞\pm\infty, so sin⁡(1x)\sin\left(\frac{1}{x}\right) runs through complete sine waves faster and faster. It equals 1 at x=2π,25π,29π,…x = \frac{2}{\pi}, \frac{2}{5\pi}, \frac{2}{9\pi}, \dots and −1-1 at x=23π,27π,211π,…x = \frac{2}{3\pi}, \frac{2}{7\pi}, \frac{2}{11\pi}, \dots, and both lists of inputs crowd in on 0. However close to 0 you stay, the outputs keep swinging between −1-1 and 1, so they can't be held near any one number. The limit does not exist, and on a screen the graph near 0 looks like a solid smear.

When the picture misleads

A graphing calculator does not draw a curve. It computes the function at a limited number of inputs across the window, roughly one per column of pixels, and joins the dots. Anything that happens between those inputs is invisible. Here is

g(x)=2−x2+0.00001x2g(x) = 2 - x^2 + \frac{0.00001}{x^2}

drawn two ways.

Two graphs of g. Left, the window from x = -3 to 3, drawn by joining the values at 96 evenly spaced inputs: it looks like a smooth downward parabola with its highest point at height about 2 on the y-axis. Right, the window from x = -0.01 to 0.01: the graph is near height 2 at the edges and shoots upward on both sides of the y-axis, past height 12, a vertical asymptote at x = 0.

The left window joins the values at 96 evenly spaced inputs from −3-3 to 3. The ones nearest 0 are x=±395≈±0.032x = \pm\frac{3}{95} \approx \pm 0.032, where the last term of gg is only about 0.010.01, so the plotted curve peaks at about 2 and suggests lim⁡x→0g(x)=2\lim\limits_{x \to 0} g(x) = 2. Zoomed in, the truth appears: at x=0.001x = 0.001 the last term is already 10, and as x→0x \to 0 it grows without bound, so lim⁡x→0g(x)=∞\lim\limits_{x \to 0} g(x) = \infty. A hole is even easier to miss, since a single missing point is far narrower than a pixel: the function qq of topic 1.2 looks like an unbroken line on a calculator screen unless one of the plotted inputs happens to land exactly on x=2x = 2.

So a graph gives an estimate. When a limit matters, zoom in near x=cx = c on both sides, check a table of values close to cc (topic 1.4), or settle it with algebra (topics 1.5 and 1.6). A graph printed in an exam question is a different case: it marks holes with open circles, function values with filled dots, and asymptotes with dashed lines, and you read limits from those marked features and labeled points. Some exam figures are labeled as not drawn to scale, so take heights from the labels and grid, not by measuring the curve.

Worked examples

Worked exampleExample 1: a jump built from an absolute value

Let k(x)=x+∣x−3∣x−3k(x) = x + \dfrac{|x - 3|}{x - 3}. Find lim⁡x→3−k(x)\lim\limits_{x \to 3^-} k(x), lim⁡x→3+k(x)\lim\limits_{x \to 3^+} k(x) and lim⁡x→3k(x)\lim\limits_{x \to 3} k(x), if they exist.

Show solution

The fraction is the sign of x−3x - 3, so split at x=3x = 3, where the sign changes.

For x>3x > 3, ∣x−3∣=x−3|x - 3| = x - 3, the fraction is 1, and k(x)=x+1k(x) = x + 1. For x<3x < 3, ∣x−3∣=−(x−3)|x - 3| = -(x - 3), the fraction is −1-1, and k(x)=x−1k(x) = x - 1. The graph is the line y=x−1y = x - 1 up to an open circle at (3,2)(3, 2), then the line y=x+1y = x + 1 starting from an open circle at (3,4)(3, 4), and k(3)k(3) is undefined.

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

The one-sided limits are different numbers, so lim⁡x→3k(x)\lim\limits_{x \to 3} k(x) does not exist. Using each side's own formula is the move here because a one-sided limit only ever looks at one side's inputs.

Worked exampleExample 2: same asymptote, different verdicts

Let p(x)=3x−2p(x) = \dfrac{3}{x - 2} and w(x)=3(x−2)2w(x) = \dfrac{3}{(x - 2)^2}. Describe the behavior of each near x=2x = 2 with limit notation.

Show solution

Both have a vertical asymptote at x=2x = 2, since their denominators approach 0 while the numerator stays 3. What differs is the sign of the denominator on each side.

For pp: when xx is slightly less than 2, x−2x - 2 is a tiny negative number, so p(x)p(x) is a large negative number; when xx is slightly more than 2, p(x)p(x) is large and positive. So

lim⁡x→2−p(x)=−∞,lim⁡x→2+p(x)=∞,\lim_{x \to 2^-} p(x) = -\infty, \qquad \lim_{x \to 2^+} p(x) = \infty,

and lim⁡x→2p(x)\lim\limits_{x \to 2} p(x) does not exist (it is not ∞\infty, because the left side goes the other way).

For ww: squaring makes (x−2)2(x - 2)^2 a tiny positive number on both sides, so w(x)w(x) is large and positive on both sides:

lim⁡x→2−w(x)=lim⁡x→2+w(x)=∞,solim⁡x→2w(x)=∞.\lim_{x \to 2^-} w(x) = \lim_{x \to 2^+} w(x) = \infty, \quad\text{so}\quad \lim_{x \to 2} w(x) = \infty.
Worked exampleExample 3: reading a graph (no calculator)

The graph of the function ff, defined for −4≤x≤6-4 \le x \le 6 except at x=3x = 3, is shown below. The line x=3x = 3 is a vertical asymptote.

Graph of f. From x = -4 to x = -2, a line segment rises from the filled point (-4, 1) to an open circle at (-2, 3); a filled dot sits at (-2, 1). From x = -2 to x = 1, a segment falls from (-2, 3) to the filled point (1, 0). An open circle is at (1, 2); from there a curve rises and goes up without bound as x approaches 3 from the left. To the right of the dashed asymptote x = 3, the curve comes down from above, without bound near 3, and decreases to the filled point (6, 5/3).

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

(b) Find lim⁡x→1−f(x)\lim\limits_{x \to 1^-} f(x), lim⁡x→1+f(x)\lim\limits_{x \to 1^+} f(x) and lim⁡x→1f(x)\lim\limits_{x \to 1} f(x), if they exist.

(c) Describe the behavior of f(x)f(x) as xx approaches 3.

(d) For which values of cc with −4<c<6-4 < c < 6 does lim⁡x→cf(x)\lim\limits_{x \to c} f(x) fail to exist?

Show solution

(a) From the left, the segment rises toward height 3; from the right, the segment falls back from height 3. Both one-sided limits are 3, so lim⁡x→−2f(x)=3\lim\limits_{x \to -2} f(x) = 3. The filled dot gives f(−2)=1f(-2) = 1. The limit and the value differ, which is allowed: the limit only looks at x≠−2x \neq -2.

(b) From the left, the falling segment reaches height 0, so lim⁡x→1−f(x)=0\lim\limits_{x \to 1^-} f(x) = 0. From the right, the curve starts at the open circle at height 2, so lim⁡x→1+f(x)=2\lim\limits_{x \to 1^+} f(x) = 2. Since 0≠20 \neq 2, lim⁡x→1f(x)\lim\limits_{x \to 1} f(x) does not exist. That f(1)=0f(1) = 0 matches the left side changes nothing.

(c) The graph rises without bound on both sides of the asymptote, so lim⁡x→3−f(x)=∞\lim\limits_{x \to 3^-} f(x) = \infty and lim⁡x→3+f(x)=∞\lim\limits_{x \to 3^+} f(x) = \infty, which together give lim⁡x→3f(x)=∞\lim\limits_{x \to 3} f(x) = \infty. The outputs approach no real number, so the limit does not exist as a number.

(d) c=1c = 1 (the one-sided limits differ) and c=3c = 3 (the outputs are unbounded). At c=−2c = -2 the limit exists despite the odd dot, and at every other cc in the interval the graph is an unbroken curve through x=cx = c, so the limit is just the height there.

Where students lose points

Check yourself

  1. Question 1

    Let f(x)=x+2f(x) = x + 2 for x<1x < 1, f(x)=4−xf(x) = 4 - x for x>1x > 1, and f(1)=0f(1) = 0. What is lim⁡x→1f(x)\lim\limits_{x \to 1} f(x)?

    1. A

      00

    2. B

      33

    3. C

      11

    4. D

      The limit does not exist.

    Show answer

    B

    From the left, x+2x + 2 approaches 3; from the right, 4−x4 - x approaches 3. Both one-sided limits are 3, so the limit is 3. Choice A is f(1)f(1), which the limit ignores; the graph has a hole at (1,3)(1, 3) and a dot at (1,0)(1, 0).

  2. Question 2

    Each of these limits fails to exist. For each, say which way it fails: the one-sided limits disagree, the outputs are unbounded, or the outputs oscillate. (a) lim⁡x→0cos⁡(πx)\lim\limits_{x \to 0} \cos\left(\dfrac{\pi}{x}\right) (b) lim⁡x→1x+1(x−1)2\lim\limits_{x \to 1} \dfrac{x + 1}{(x - 1)^2} (c) lim⁡x→0x+∣x∣x\lim\limits_{x \to 0} \dfrac{x + |x|}{x}

    Show answer

    (a) The outputs oscillate. (b) The outputs are unbounded. (c) The one-sided limits disagree.

    (a) cos⁡(πx)=1\cos\left(\frac{\pi}{x}\right) = 1 at x=12,14,16,…x = \frac{1}{2}, \frac{1}{4}, \frac{1}{6}, \dots and −1-1 at x=1,13,15,…x = 1, \frac{1}{3}, \frac{1}{5}, \dots, and both lists crowd in on 0. (b) The numerator approaches 2 while the denominator is a tiny positive number on both sides, so the outputs grow without bound (the limit is ∞\infty). (c) For x>0x > 0 the expression is 2xx=2\frac{2x}{x} = 2, and for x<0x < 0 it is 0x=0\frac{0}{x} = 0, so the left-hand limit is 0 and the right-hand limit is 2.

  3. Question 3

    Let h(x)=x2−2x∣x−2∣h(x) = \dfrac{x^2 - 2x}{|x - 2|}. Which statement about lim⁡x→2h(x)\lim\limits_{x \to 2} h(x) is true?

    1. A

      It does not exist, because hh is unbounded near x=2x = 2.

    2. B

      It does not exist, because hh oscillates near x=2x = 2.

    3. C

      It does not exist, because the left-hand and right-hand limits are different.

    4. D

      It equals 2.

    Show answer

    C

    The numerator is x(x−2)x(x - 2). For x>2x > 2, h(x)=xh(x) = x, which approaches 2; for x<2x < 2, h(x)=−xh(x) = -x, which approaches −2-2. The one-sided limits are 2 and −2-2, so the limit does not exist. Choice D is only the right-hand limit, and choice A mistakes the zero denominator for an asymptote: the numerator is also 0 at x=2x = 2, and the factor cancels.

  4. Question 4

    In the window −10≤x≤10-10 \le x \le 10 on a graphing calculator, the graph of a function rr looks like an unbroken curve passing through the point (0,4)(0, 4). What does this tell you about lim⁡x→0r(x)\lim\limits_{x \to 0} r(x)?

    Show answer

    Only that 4 is a reasonable estimate. The screen joins a limited set of plotted points, so it can hide a hole, a spike or an oscillation near 0; the limit has to be confirmed by zooming in, a table, or algebra.

    A function like 4−x2+0.00001x24 - x^2 + \frac{0.00001}{x^2} looks just like this in a wide window, yet its limit at 0 is ∞\infty. A graph supports an estimate, not a conclusion, when the scale is coarse.

Go deeper