AP Calculus AB · Study guide

Determining Limits Using Algebraic Manipulation

AP® Calculus AB · Unit 1 · Limits and Continuity

Limits by Rewriting

When substitution gives 0/0, the limit is hiding, not missing. This guide shows the four standard ways to rewrite a function so the limit can be read off: factor, multiply by a conjugate, combine fractions, and use the two basic trig limits.

The idea in one paragraph

If substituting \(x = c\) gives \(\tfrac{0}{0}\), the function is undefined at \(c\), but it may still have a limit there. Rewrite it into a form that agrees with the original for every \(x \neq c\) and that can be substituted into. Two functions that agree everywhere near \(c\), except possibly at \(c\), have the same limit at \(c\). That single fact is why canceling, conjugates and combining fractions are allowed.

1What 0/0 is telling you

\(\tfrac{0}{0}\) is called an indeterminate form: “indeterminate” means it does not determine the answer. Limits that start as \(\tfrac{0}{0}\) can turn out to be 5, \(-\frac14\), 0, or not exist at all. The form only tells you the top and bottom both shrink to 0, and the limit depends on how fast each one shrinks compared with the other.

So \(\tfrac{0}{0}\) is a starting signal. When you see it, rewrite.

Common Mistake 1 · Reporting 0/0 as the answer

“The limit is \(\tfrac{0}{0}\),” “the limit is 0,” and “the limit does not exist because I got \(\tfrac{0}{0}\)” are all unjustified. \(\tfrac{0}{0}\) is a reason to keep working.

2Factor and cancel

If a polynomial on top is 0 when \(x = c\), then \((x - c)\) is one of its factors. The same is true of the bottom. Factor both, cancel the shared \((x - c)\), and substitute.

Worked Example 1 Factor and cancel

\(\displaystyle\lim_{x \rightarrow 3} \frac{x^2 - x - 6}{x - 3}\)

  1. 1
    Substitute first: \(\frac{9 - 3 - 6}{3 - 3} = \frac{0}{0}\). This is a signal to rewrite, not an answer.
  2. 2
    A 0 on top when \(x = 3\) means \((x - 3)\) is a factor of the top: \(x^2 - x - 6 = (x - 3)(x + 2)\).
  3. 3
    For \(x \neq 3\): \(\dfrac{(x - 3)(x + 2)}{x - 3} = x + 2\).
  4. 4
    Now substitute into the simpler form: \(3 + 2 = 5\).
Answer: \(\displaystyle\lim_{x \rightarrow 3} \frac{x^2 - x - 6}{x - 3} = 5\).
Figure 1. Factoring and canceling turns the left function into the right one everywhere except at x = 3. A limit never looks at x = 3 itself, so the simpler function gives the same limit.
Write it like this

“For \(x \neq 3\), \(\dfrac{x^2 - x - 6}{x - 3} = x + 2\). So \(\displaystyle\lim_{x \rightarrow 3} \frac{x^2 - x - 6}{x - 3} = \lim_{x \rightarrow 3} (x + 2) = 5\).”

Writing “for \(x \neq 3\)” shows you know the cancellation is only valid away from 3, which is all a limit needs.

Common Mistake 2 · Canceling terms instead of factors

In \(\dfrac{x^2 + 3x}{x}\) you may cancel the \(x\) only after factoring the top: \(\dfrac{x(x + 3)}{x} = x + 3\). Striking out an \(x\) from \(x^2\) and leaving \(3x\) alone, or canceling the 9s in \(\dfrac{\sqrt{x + 9} - 3}{x}\), changes the function. Cancel only things that multiply the whole top and the whole bottom.

3Conjugates and fractions

Square roots and fractions-within-fractions hide the factor you need. Two moves bring it into the open.

  • Conjugate. For a top like \(\sqrt{A} - B\), multiply top and bottom by \(\sqrt{A} + B\). The top becomes \(A - B^2\), which has no root.
  • Common denominator. Combine the small fractions into one fraction, then simplify.
Worked Example 2 Multiply by the conjugate

\(\displaystyle\lim_{x \rightarrow 0} \frac{\sqrt{x + 9} - 3}{x}\)

  1. 1
    Substitution gives \(\frac{3 - 3}{0} = \frac{0}{0}\). The square root blocks factoring, so clear it out of the top.
  2. 2
    The conjugate of \(\sqrt{x + 9} - 3\) is \(\sqrt{x + 9} + 3\) (same terms, opposite sign). Multiply top and bottom by it.
  3. 3
    Top: \((\sqrt{x + 9} - 3)(\sqrt{x + 9} + 3) = (x + 9) - 9 = x\). So the fraction becomes \(\dfrac{x}{x(\sqrt{x + 9} + 3)}\).
  4. 4
    Cancel \(x\) (allowed since \(x \neq 0\)): \(\dfrac{1}{\sqrt{x + 9} + 3}\).
  5. 5
    Substitute: \(\dfrac{1}{\sqrt{9} + 3} = \dfrac{1}{6}\).
Answer: \(\dfrac{1}{6}\)
Worked Example 3 Common denominator

\(\displaystyle\lim_{x \rightarrow 0} \frac{\frac{1}{x + 2} - \frac{1}{2}}{x}\)

  1. 1
    Substitution gives \(\frac{\frac12 - \frac12}{0} = \frac{0}{0}\). A fraction inside a fraction: combine the small fractions first.
  2. 2
    \(\dfrac{1}{x + 2} - \dfrac{1}{2} = \dfrac{2 - (x + 2)}{2(x + 2)} = \dfrac{-x}{2(x + 2)}\).
  3. 3
    Divide by \(x\): \(\dfrac{-x}{2(x + 2)} \cdot \dfrac{1}{x} = \dfrac{-1}{2(x + 2)}\).
  4. 4
    Substitute: \(\dfrac{-1}{2(2)} = -\dfrac{1}{4}\).
Answer: \(-\dfrac{1}{4}\)
Worked Example 4 Expand and simplify

\(\displaystyle\lim_{h \rightarrow 0} \frac{(2 + h)^3 - 8}{h}\)

  1. 1
    Substitution gives \(\frac{8 - 8}{0} = \frac{0}{0}\).
  2. 2
    Expand: \((2 + h)^3 = 8 + 12h + 6h^2 + h^3\), so the top is \(12h + 6h^2 + h^3\).
  3. 3
    Every term has a factor of \(h\): \(\dfrac{h(12 + 6h + h^2)}{h} = 12 + 6h + h^2\).
  4. 4
    Substitute \(h = 0\): 12.
Answer: 12. (This shape, a change in output over a small change \(h\), is the one that defines derivatives.)

4Trig limits

Trig functions cannot be factored like polynomials. Instead, two known limits (inputs in radians) do the work:

\[ \lim_{x \rightarrow 0} \frac{\sin x}{x} = 1 \qquad\qquad \lim_{x \rightarrow 0} \frac{1 - \cos x}{x} = 0 \]

Where do they come from? A table or graph makes them believable (Figure 2), and a geometric argument with the unit circle proves the first one. For now, the skill is to rewrite your limit so one of these appears with matching inputs.

Figure 2. These two limits are the starting point for trig limits that give 0/0. To use them, rewrite your limit so the same input appears in the sine and in the denominator.
Worked Example 5 Match the angle

\(\displaystyle\lim_{x \rightarrow 0} \frac{\sin(5x)}{2x}\)

  1. 1
    The known limit needs the same input in the sine and in the bottom: \(\dfrac{\sin(\text{stuff})}{\text{stuff}} \rightarrow 1\) as the stuff goes to 0.
  2. 2
    Here the sine has \(5x\) but the bottom has \(2x\). Build a \(5x\) in the bottom: \(\dfrac{\sin(5x)}{2x} = \dfrac{5}{2} \cdot \dfrac{\sin(5x)}{5x}\).
  3. 3
    As \(x \rightarrow 0\), \(5x \rightarrow 0\) too, so \(\dfrac{\sin(5x)}{5x} \rightarrow 1\).
Answer: \(\dfrac{5}{2} \cdot 1 = \dfrac{5}{2}\)
Worked Example 6 Two sines

\(\displaystyle\lim_{x \rightarrow 0} \frac{\sin(3x)}{\sin(7x)}\)

  1. 1
    Give each sine its own matching denominator, then fix the extra factors: \(\dfrac{\sin(3x)}{\sin(7x)} = \dfrac{\sin(3x)}{3x} \cdot \dfrac{7x}{\sin(7x)} \cdot \dfrac{3x}{7x}\).
  2. 2
    Check: the \(3x\)’s and \(7x\)’s cancel back to the original fraction, so nothing was changed.
  3. 3
    As \(x \rightarrow 0\): the first factor \(\rightarrow 1\), the second \(\rightarrow 1\) (it is the flip of a fraction going to 1), and the third equals \(\frac{3}{7}\) for every \(x \neq 0\).
Answer: \(\dfrac{3}{7}\)
Common Mistake 3 · Mismatched inputs

\(\displaystyle\lim_{x \rightarrow 0} \frac{\sin(5x)}{x}\) is not 1. The 1 only appears when the sine’s input and the denominator match. Rewrite as \(5 \cdot \dfrac{\sin(5x)}{5x}\) to get 5.

Tangent

For tangent, rewrite it as sine over cosine. Example: \(\dfrac{\tan(4x)}{x} = 4 \cdot \dfrac{\sin(4x)}{4x} \cdot \dfrac{1}{\cos(4x)} \rightarrow 4 \cdot 1 \cdot 1 = 4\).

5When rewriting cannot help

Rewriting is for \(\tfrac{0}{0}\). If substitution gives a nonzero number over 0, such as \(\dfrac{x + 1}{x - 3}\) at \(x = 3\) giving \(\dfrac{4}{0}\), no algebra will produce a finite limit. The top stays near 4 while the bottom shrinks to 0, so the fraction grows without bound: the function is unbounded near 3, and the limit does not exist.

Common Mistake 4 · Treating “number over 0” like 0/0

\(\tfrac{4}{0}\) and \(\tfrac{0}{0}\) are different signals. \(\tfrac{0}{0}\) says “rewrite.” A nonzero number over 0 says “unbounded”: check the signs on each side to see whether it heads to \(\infty\) or \(-\infty\).

Quick reference

You seeTry
Polynomials over polynomials, 0/0Factor top and bottom, cancel the shared factor
A square root with 0/0Multiply top and bottom by the conjugate
Fractions inside a fractionCombine into one fraction with a common denominator
Powers like \((a + h)^n\)Expand, then factor out h
sin or 1 − cos with 0/0Match inputs to use \(\frac{\sin u}{u} \rightarrow 1\) or \(\frac{1 - \cos u}{u} \rightarrow 0\)
Nonzero number over 0Not a rewriting problem: the function is unbounded there