Skip to content

Unit 1: Limits and Continuity

Determining Limits Using Algebraic Properties of Limits

Find limits of sums, products, quotients, powers and compositions from formulas, given values or graphs, and know exactly when each limit law applies.

Topic 1.5 · 8 min read

Suppose you know that as xx approaches 5, f(x)f(x) approaches 4 and g(x)g(x) approaches −3-3. Then f(x)+g(x)f(x) + g(x) must approach 4+(−3)=14 + (-3) = 1, and f(x) g(x)f(x)\,g(x) must approach −12-12: when two quantities each settle near a number, their sum and product settle near the sum and product of those numbers. The limit laws make that intuition into rules you can apply line by line, and they are why you can find most limits by plugging in, and why you sometimes can't.

The limit laws

Each law takes limits you already know and builds the limit of a combination.

The laws are true for the reason in the opening paragraph. If f(x)f(x) is within a tiny distance of LL and g(x)g(x) is within a tiny distance of MM, then f(x)+g(x)f(x) + g(x) is within twice that tiny distance of L+ML + M, and you can make that as small as you like by taking xx close enough to aa. The product and quotient laws come from the same kind of estimate, with one exception built in: if g(x)g(x) is approaching 0, dividing by it can blow up, so the quotient law needs M≠0M \neq 0. Topic 1.6 covers what to do when both ff and gg approach 0, and topic 1.14 covers a nonzero number divided by something approaching 0.

The final sentence of the box matters in both directions. You can't use the laws on pieces whose limits don't exist, and a combination can have a limit even when its pieces don't. Take f(x)=1xf(x) = \frac{1}{x} and g(x)=x−1xg(x) = x - \frac{1}{x}. Neither has a limit as x→0x \to 0, but f(x)+g(x)=xf(x) + g(x) = x for every x≠0x \neq 0, so lim⁡x→0[f(x)+g(x)]=0\lim\limits_{x \to 0}\left[f(x) + g(x)\right] = 0. "The pieces don't have limits" never proves "the combination has no limit."

The laws also work with one-sided limits, x→a−x \to a^- or x→a+x \to a^+, as long as you use the same side for every piece.

Direct substitution, and why it works

Two limits are obvious: lim⁡x→ac=c\lim\limits_{x \to a} c = c for a constant, and lim⁡x→ax=a\lim\limits_{x \to a} x = a. Every polynomial is built from constants and xx with sums, products and powers, so the laws give its limit by substitution. For example,

lim⁡x→2(x3−4x+1)=(lim⁡x→2x)3−4lim⁡x→2x+lim⁡x→21=8−8+1=1.\lim_{x \to 2}\left(x^3 - 4x + 1\right) = \left(\lim_{x \to 2} x\right)^3 - 4\lim_{x \to 2} x + \lim_{x \to 2} 1 = 8 - 8 + 1 = 1.

Nobody writes all of that out on the exam, but it is the reason lim⁡x→ap(x)=p(a)\lim\limits_{x \to a} p(x) = p(a) for every polynomial pp. A rational function p(x)q(x)\frac{p(x)}{q(x)} is a quotient of polynomials, so the quotient law gives lim⁡x→ap(x)q(x)=p(a)q(a)\lim\limits_{x \to a}\frac{p(x)}{q(x)} = \frac{p(a)}{q(a)} provided q(a)≠0q(a) \neq 0. For instance, lim⁡x→−1x2+32x−5=4−7=−47\lim\limits_{x \to -1}\dfrac{x^2 + 3}{2x - 5} = \dfrac{4}{-7} = -\dfrac{4}{7}.

The same holds for roots, trig, exponential and logarithmic functions at any point inside their domains: lim⁡x→πcos⁡x=−1\lim\limits_{x \to \pi} \cos x = -1, lim⁡x→1ln⁡x=0\lim\limits_{x \to 1} \ln x = 0. Functions with this property are called continuous, and topics 1.11 and 1.12 make that word precise. For these functions, substitution fails or needs care in three situations: a denominator that becomes 0, a point outside the domain, and a point where a piecewise function switches formulas.

Limits of compositions

For f(g(x))f(g(x)), the inside g(x)g(x) approaches some value MM, and the question is what ff does to inputs near MM.

Inputs close to MM give outputs close to f(M)f(M) when ff is continuous there, so as g(x)g(x) closes in on MM, f(g(x))f(g(x)) closes in on f(M)f(M). That is why lim⁡x→3x2+16=25=5\lim\limits_{x \to 3}\sqrt{x^2 + 16} = \sqrt{25} = 5: the inside approaches 25, and the square root is continuous at 25.

When ff is not continuous at MM, the limit of f(g(x))f(g(x)) depends on how g(x)g(x) approaches MM:

  • if g(x)g(x) approaches MM from above (values greater than MM), the answer is lim⁡u→M+f(u)\lim\limits_{u \to M^+} f(u);
  • if g(x)g(x) approaches MM from below, the answer is lim⁡u→M−f(u)\lim\limits_{u \to M^-} f(u);
  • if g(x)g(x) equals MM for all xx near aa, then f(g(x))=f(M)f(g(x)) = f(M) there, and the answer is f(M)f(M).

This matters most with graphs, where ff has a jump and you have to look at the graph of gg to see which side its values come from. Example 3 does this twice.

One-sided limits by formula and by graph

A function defined in pieces, like

m(x)={3x−1,x<2x2+1,x≥2,m(x) = \begin{cases} 3x - 1, & x < 2 \\ x^2 + 1, & x \geq 2, \end{cases}

uses a different formula on each side of x=2x = 2. A one-sided limit only sees one side, so you compute it with that side's formula: lim⁡x→2−m(x)=3(2)−1=5\lim\limits_{x \to 2^-} m(x) = 3(2) - 1 = 5 and lim⁡x→2+m(x)=22+1=5\lim\limits_{x \to 2^+} m(x) = 2^2 + 1 = 5. The two-sided limit exists exactly when both one-sided limits exist and are equal, so lim⁡x→2m(x)=5\lim\limits_{x \to 2} m(x) = 5. The value m(2)m(2) plays no part in either limit.

A one-sided limit can also be forced by the domain. The function 6−2x\sqrt{6 - 2x} is defined only for x≤3x \leq 3, so lim⁡x→3−6−2x=0\lim\limits_{x \to 3^-}\sqrt{6 - 2x} = 0, and the right-hand limit at 3 doesn't exist because there are no inputs on that side.

From a graph, a one-sided limit is the height the graph approaches as you trace toward x=ax = a from that side, regardless of any dot at x=ax = a itself (topic 1.3 covers reading limits from graphs). To combine two graphs with the limit laws, find each function's one-sided limits from its graph, combine them side by side, then compare the two sides.

Worked examples

Worked exampleExample 1: limit laws with given values

Suppose lim⁡x→5f(x)=4\lim\limits_{x \to 5} f(x) = 4, lim⁡x→5g(x)=−3\lim\limits_{x \to 5} g(x) = -3 and lim⁡x→5h(x)=0\lim\limits_{x \to 5} h(x) = 0. Find each limit, or explain why the limit laws can't give it.

(a) lim⁡x→5[3f(x)−[g(x)]2]\lim\limits_{x \to 5}\left[3f(x) - [g(x)]^2\right]

(b) lim⁡x→5f(x)  g(x)x−1\lim\limits_{x \to 5}\dfrac{\sqrt{f(x)}\;g(x)}{x - 1}

(c) lim⁡x→5h(x)f(x)\lim\limits_{x \to 5}\dfrac{h(x)}{f(x)}

(d) lim⁡x→5f(x)h(x)\lim\limits_{x \to 5}\dfrac{f(x)}{h(x)}

Show solution

(a) Constant multiple, power and difference laws: 3(4)−(−3)2=12−9=33(4) - (-3)^2 = 12 - 9 = 3.

(b) The root law applies because 4>04 > 0, and the denominator approaches 5−1=4≠05 - 1 = 4 \neq 0, so the quotient law applies too:

4 (−3)4=−64=−32.\frac{\sqrt{4}\,(-3)}{4} = \frac{-6}{4} = -\frac{3}{2}.

(c) The denominator's limit is 4≠04 \neq 0, so this is 04=0\frac{0}{4} = 0. A numerator approaching 0 is no problem.

(d) The denominator's limit is 0, so the quotient law does not apply. The numerator stays near 4 while the denominator shrinks toward 0, so the quotient's size grows without bound and there is no finite limit. Whether it heads to ∞\infty, to −∞-\infty, or to neither depends on the sign of h(x)h(x) near 5, which isn't given.

Worked exampleExample 2: choosing a constant so a limit exists

Let k(x)={x2−3x+c,x<1x+8,x≥1,k(x) = \begin{cases} x^2 - 3x + c, & x < 1 \\ \sqrt{x + 8}, & x \geq 1, \end{cases} where cc is a constant. Find the value of cc for which lim⁡x→1k(x)\lim\limits_{x \to 1} k(x) exists, and give the limit.

Show solution

The formula changes at x=1x = 1, so compute each one-sided limit with its own formula. Both formulas are continuous where they are used, so substitution works on each side:

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

The two-sided limit exists only if these are equal: c−2=3c - 2 = 3, so c=5c = 5, and then lim⁡x→1k(x)=3\lim\limits_{x \to 1} k(x) = 3.

Worked exampleExample 3: limits from two graphs (exam style, no calculator)

The graphs of the functions ff and gg on 0≤x≤50 \le x \le 5 are shown below. Each is made of line segments.

Two graphs. Graph of f: a segment from (0, 1) up to an open circle at (2, 3), then a segment from a closed dot at (2, 2) down to (5, negative 1), so f(x) = x + 1 for x less than 2 and f(x) = 4 minus x for x at least 2. Graph of g: a segment from (0, 0) up to an open circle at (2, 1), then a closed dot at (2, 2), a segment up to (3, 3), and a segment down to (5, 1), so g(x) = x/2 for x less than 2, g(x) = x on 2 to 3, and g(x) = 6 minus x on 3 to 5.

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

(b) Find lim⁡x→2f(x) g(x)\lim\limits_{x \to 2} f(x)\,g(x), or show that it does not exist.

(c) Find lim⁡x→2f(g(x))\lim\limits_{x \to 2} f(g(x)).

(d) Find lim⁡x→4f(g(x))\lim\limits_{x \to 4} f(g(x)), or show that it does not exist.

Show solution

Neither ff nor gg has a two-sided limit at x=2x = 2, so work one side at a time. From the graphs: lim⁡x→2−f(x)=3\lim\limits_{x \to 2^-} f(x) = 3, lim⁡x→2+f(x)=2\lim\limits_{x \to 2^+} f(x) = 2, lim⁡x→2−g(x)=1\lim\limits_{x \to 2^-} g(x) = 1, lim⁡x→2+g(x)=2\lim\limits_{x \to 2^+} g(x) = 2.

(a) Left: 3+1=43 + 1 = 4. Right: 2+2=42 + 2 = 4. The one-sided limits agree, so lim⁡x→2[f(x)+g(x)]=4\lim\limits_{x \to 2}\left[f(x) + g(x)\right] = 4, even though neither function has a limit at 2.

(b) Left: 3⋅1=33 \cdot 1 = 3. Right: 2⋅2=42 \cdot 2 = 4. Since 3≠43 \neq 4, the limit does not exist.

(c) Ask what g(x)g(x) does on each side, then what ff does to those values.

  • As x→2−x \to 2^-, g(x)=x2g(x) = \frac{x}{2} approaches 1. The graph of ff is unbroken at 1, so f(g(x))→f(1)=2f(g(x)) \to f(1) = 2.
  • As x→2+x \to 2^+, g(x)=xg(x) = x approaches 2 with values greater than 2. So f(g(x))f(g(x)) approaches the right-hand limit of ff at 2, which is 2.

Both sides give 2, so lim⁡x→2f(g(x))=2\lim\limits_{x \to 2} f(g(x)) = 2.

(d) Here g(4)=2g(4) = 2, which is exactly where ff jumps, so the composition rule for a continuous outside doesn't apply. For 3<x<43 < x < 4, g(x)=6−xg(x) = 6 - x is greater than 2, and it approaches 2 from above as x→4−x \to 4^-; then f(g(x))→lim⁡u→2+f(u)=2f(g(x)) \to \lim\limits_{u \to 2^+} f(u) = 2. For 4<x<54 < x < 5, g(x)g(x) is less than 2 and approaches 2 from below, so f(g(x))→lim⁡u→2−f(u)=3f(g(x)) \to \lim\limits_{u \to 2^-} f(u) = 3. The one-sided limits are 2 and 3, so lim⁡x→4f(g(x))\lim\limits_{x \to 4} f(g(x)) does not exist.

Parts (c) and (d) look alike, since in both the inside approaches the jump at 2, but the side it approaches from decides the answer.

Where students lose points

On the exam

Limit-law questions can be multiple choice without a calculator, built on given limit values like Example 1 or on two graphs like Example 3. When a free-response part asks whether a limit exists, the expected work is the two one-sided limits, each shown, and a sentence comparing them.

Check yourself

  1. Question 1

    If lim⁡x→1f(x)=2\lim\limits_{x \to 1} f(x) = 2 and lim⁡x→1g(x)=−1\lim\limits_{x \to 1} g(x) = -1, what is lim⁡x→1[f(x)]2−3g(x)f(x)+g(x)\lim\limits_{x \to 1} \dfrac{[f(x)]^2 - 3g(x)}{f(x) + g(x)}?

    1. A

      77

    2. B

      11

    3. C

      −7-7

    4. D

      The limit does not exist.

    Show answer

    A

    The denominator's limit is 2+(−1)=1≠02 + (-1) = 1 \neq 0, so the quotient law applies: 4−3(−1)1=7\dfrac{4 - 3(-1)}{1} = 7. Choice B comes from losing the sign of gg and computing 4−34 - 3.

  2. Question 2

    Suppose lim⁡x→3g(x)=2\lim\limits_{x \to 3} g(x) = 2 and g(x)<2g(x) < 2 for every x≠3x \neq 3 near 3. Let f(u)=u2f(u) = u^2 for u<2u < 2 and f(u)=7f(u) = 7 for u≥2u \geq 2. Find lim⁡x→3f(g(x))\lim\limits_{x \to 3} f(g(x)).

    Show answer

    lim⁡x→3f(g(x))=4\lim\limits_{x \to 3} f(g(x)) = 4

    The inside approaches 2 from below, so the outside only receives inputs less than 2, where f(u)=u2f(u) = u^2. The answer is lim⁡u→2−u2=4\lim\limits_{u \to 2^-} u^2 = 4. Substituting to get f(2)=7f(2) = 7 ignores that ff jumps at 2.

  3. Question 3

    Neither lim⁡x→af(x)\lim\limits_{x \to a} f(x) nor lim⁡x→ag(x)\lim\limits_{x \to a} g(x) exists. What can you conclude about lim⁡x→a[f(x)+g(x)]\lim\limits_{x \to a}\left[f(x) + g(x)\right]?

    1. A

      It does not exist.

    2. B

      It exists and equals f(a)+g(a)f(a) + g(a).

    3. C

      It may or may not exist; you need more information.

    4. D

      It exists only if f(a)f(a) and g(a)g(a) are both defined.

    Show answer

    C

    The sum law needs both limits to exist, so it says nothing here. The sum can still have a limit: 1x\frac{1}{x} and −1x-\frac{1}{x} each have no limit at 0, but their sum is 0. Or it can fail to: 1x\frac{1}{x} plus itself has no limit. Choice A is the tempting overreach.

  4. Question 4

    If lim⁡x→2[3f(x)−x2]=5\lim\limits_{x \to 2}\left[3f(x) - x^2\right] = 5, find lim⁡x→2f(x)\lim\limits_{x \to 2} f(x). (You may not assume in advance that this limit exists.)

    Show answer

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

    Write f(x)=13([3f(x)−x2]+x2)f(x) = \frac{1}{3}\left(\left[3f(x) - x^2\right] + x^2\right). Both pieces inside have limits, 5 and 4, so the sum and constant multiple laws give 13(5+4)=3\frac{1}{3}(5 + 4) = 3, and they also show the limit exists.

Go deeper