PrecalculusLimits2 of 3
Limits · 2

Evaluating Limits Algebraically

We want to find limits directly from a function's formula without having to graph it first.

1

Direct Substitution and the Limit Laws

To get started, we want to find lim⁡x→3(2x+1)\lim_{x \to 3} (2x + 1) and see how the Limit Laws let us evaluate a limit like

lim⁡x→45f(x)−[g(x)]2g(x)+6\displaystyle \lim_{x \to 4} \frac{5\first{f(x)} - [\second{g(x)}]^2}{\second{g(x)} + 6}

when we only know lim⁡x→4f(x)=3\lim_{x \to 4} \first{f(x)} = \first{3} and lim⁡x→4g(x)=−2\lim_{x \to 4} \second{g(x)} = \second{-2}.

Direct Substitution and the Limit Laws
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
33
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=2x+1\htmlClass{lc-blue}{y = 2x + 1}
lim⁡x→3(2x+1)=?\lim\limits_{x \to 3} (2x + 1) = {?}
Text solution
Plug 33 into the unbroken lineBecause y=2x+1y = 2x + 1 has no holes or jumps, the output heads toward the exact value it equals at x=3x = 3.
lim⁡x→3(2x+1)\displaystyle \lim_{x \to 3} (2x + 1) =2(3)+1\displaystyle = 2(3) + 1 =7\displaystyle = 7
Replace f(x)\first{f(x)} and g(x)\second{g(x)} with their limitsSince the denominator does not turn into 00, we can plug lim⁡x→4f(x)=3\lim_{x \to 4} \first{f(x)} = \first{3} and lim⁡x→4g(x)=−2\lim_{x \to 4} \second{g(x)} = \second{-2} right into the fraction.
lim⁡x→45f(x)−[g(x)]2g(x)+6=5(3)−(−2)2−2+6=15−44=114\displaystyle \begin{aligned} &\lim_{x \to 4} \frac{5\first{f(x)} - [\second{g(x)}]^2}{\second{g(x)} + 6} \\ &= \frac{5(\first{3}) - (\second{-2})^2}{\second{-2} + 6} \\ &= \frac{15 - 4}{4} \\ &= \frac{11}{4} \end{aligned}

So the overall expression approaches 114\frac{11}{4} as xx approaches 44, even without a formula for f(x)\first{f(x)} or g(x)\second{g(x)}.

2

Dividing by Zero: 50\frac{5}{0} vs. 00\frac{0}{0} and Factoring

Direct substitution runs into trouble when plugging in the target number turns the denominator into zero. We want to find out what happens in two different kinds of division-by-zero limits:

lim⁡x→3x+2x−3,lim⁡x→3x2−9x−3,andlim⁡x→2x2−5x+6x2−4\displaystyle \begin{aligned} &\lim_{x \to 3} \frac{x + 2}{\zeromaker{x - 3}}, \qquad \lim_{x \to 3} \frac{x^2 - 9}{\zeromaker{x - 3}}, \\ &\text{and} \qquad \lim_{x \to 2} \frac{x^2 - 5x + 6}{x^2 - 4} \end{aligned}
Dividing by Zero: 5/0 vs. 0/0 and Factoring
lim⁡x→3x+2x−3=?lim⁡x→3x2−9x−3=?\displaystyle \begin{aligned} \lim_{x \to 3} \frac{x + 2}{\htmlClass{lc-green}{x - 3}} &= {?} \\[8pt] \lim_{x \to 3} \frac{x^2 - 9}{\htmlClass{lc-green}{x - 3}} &= {?} \end{aligned}
Text solution
Plug in 33 to separate 50\frac{5}{0} from 00\frac{0}{0}In the first limit, plugging in 33 gives 50\frac{5}{0}, which means the graph shoots up and down at a vertical asymptote (+∞\second{+\infty} on the right and −∞\first{-\infty} on the left), so the two-sided limit does not exist. In the second limit, plugging in 33 gives 00\frac{0}{0}, which tells us the zero-maker (x−3)\zeromaker{(x - 3)} is a factor in both the top and the bottom.
3+23−3→50(Does Not Exist),32−93−3→00\displaystyle \begin{aligned} \frac{3 + 2}{\zeromaker{3 - 3}} &\to \frac{5}{0} \quad (\text{Does Not Exist}), \\ \frac{3^2 - 9}{\zeromaker{3 - 3}} &\to \frac{0}{0} \end{aligned}
Factor out x−3\zeromaker{x - 3} and cancelFor xx near 33 but not equal to 33, the matching (x−3)\zeromaker{(x - 3)} factors on top and bottom divide to 11, leaving the line y=x+3y = \second{x + 3} with a hole at x=3x = 3.
lim⁡x→3x2−9x−3=lim⁡x→3(x−3)(x+3)x−3=lim⁡x→3(x+3)=3+3=6\displaystyle \begin{aligned} \lim_{x \to 3} \frac{x^2 - 9}{\zeromaker{x - 3}} &= \lim_{x \to 3} \frac{\zeromaker{(x - 3)}\second{(x + 3)}}{\zeromaker{x - 3}} \\ &= \lim_{x \to 3} (\second{x + 3}) \\ &= 3 + 3 = 6 \end{aligned}
Use the known zero-maker x−2\zeromaker{x - 2} to factorIn lim⁡x→2x2−5x+6x2−4\lim_{x \to 2} \frac{x^2 - 5x + 6}{x^2 - 4}, getting 00\frac{0}{0} at x=2x = 2 guarantees (x−2)\zeromaker{(x - 2)} is one of the factors on top and bottom before we even start factoring.
lim⁡x→2x2−5x+6x2−4=lim⁡x→2(x−2)(x−3)(x−2)(x+2)=lim⁡x→2x−3x+2=2−32+2=−14\displaystyle \begin{aligned} &\lim_{x \to 2} \frac{x^2 - 5x + 6}{x^2 - 4} \\ &= \lim_{x \to 2} \frac{\zeromaker{(x - 2)}\second{(x - 3)}}{\zeromaker{(x - 2)}\second{(x + 2)}} \\ &= \lim_{x \to 2} \frac{\second{x - 3}}{\second{x + 2}} \\ &= \frac{2 - 3}{2 + 2} = -\frac{1}{4} \end{aligned}

So the graph of y=x2−5x+6x2−4y = \frac{x^2 - 5x + 6}{x^2 - 4} heads toward a hole at height −14-\frac{1}{4} as xx approaches 22. Always check what happens when you plug the number back in after canceling: if the denominator originally had (x−a)2{\zeromaker{(x - a)}}^2 and only one (x−a)\zeromaker{(x - a)} canceled out, plugging in aa still gives a non-zero number over 00, which means the graph has a vertical asymptote after all.

Here is how 50\frac{5}{0} and 00\frac{0}{0} look side by side on the graphs of y=x+2x−3y = \frac{x + 2}{\zeromaker{x - 3}} and y=x2−9x−3y = \frac{x^2 - 9}{\zeromaker{x - 3}} as xx approaches 33.

In these two examples, a denominator approaching zero with a numerator approaching 5 gives a vertical asymptote, while canceling the matching factors gives a hole.
3

Expanding Difference Quotients

Sometimes the numerator already has parentheses, with the zero-maker inside a squared expression. We want to evaluate the difference quotients

lim⁡h→0(3+h)2−9handlim⁡h→0(x+h)2−x2h\displaystyle \begin{aligned} &\lim_{h \to 0} \frac{(3 + \zeromaker{h})^2 - 9}{\zeromaker{h}} \qquad \text{and} \\ &\lim_{h \to 0} \frac{(x + \zeromaker{h})^2 - x^2}{\zeromaker{h}} \end{aligned}
Expanding Difference Quotients
lim⁡h→0(3+h)2−9h\displaystyle \lim_{h \to 0} \frac{(3 + \htmlClass{lc-green}{h})^2 - 9}{\htmlClass{lc-green}{h}} =?\displaystyle = {?}
Text solution
Expand (x+h)2(x + \zeromaker{h})^2 and cancel the terms without h\zeromaker{h}Under lim⁡\lim, the label h→0\zeromaker{h} \to 0 tells us h\zeromaker{h} is the variable approaching 00 while xx stays fixed like a constant; multiplying out the numerator lets x2x^2 and −x2-x^2 cancel each other out.
lim⁡h→0(x+h)2−x2h=lim⁡h→0x2+2xh+h2−x2h=lim⁡h→02xh+h2h\displaystyle \begin{aligned} &\lim_{h \to 0} \frac{(x + \zeromaker{h})^2 - x^2}{\zeromaker{h}} \\ &= \lim_{h \to 0} \frac{x^2 + 2x\zeromaker{h} + \zeromaker{h}^2 - x^2}{\zeromaker{h}} \\ &= \lim_{h \to 0} \frac{2x\zeromaker{h} + \zeromaker{h}^2}{\zeromaker{h}} \end{aligned}
Factor out h\zeromaker{h}, cancel, and set h=0\zeromaker{h} = 0Every remaining term in the numerator now has an h\zeromaker{h}, so we factor h\zeromaker{h} out to the front, cancel it with the denominator, and plug in h=0\zeromaker{h} = 0.
=lim⁡h→0h(2x+h)h=lim⁡h→0(2x+h)=2x+0=2x\displaystyle \begin{aligned} &= \lim_{h \to 0} \frac{\zeromaker{h}(\second{2x + \zeromaker{h}})}{\zeromaker{h}} \\ &= \lim_{h \to 0} (\second{2x + \zeromaker{h}}) \\ &= 2x + 0 = 2x \end{aligned}

So the limit is the formula 2x2x, which immediately gives 2(3)=62(3) = 6 for the first limit where x=3x = 3.

4

Square Roots and the Conjugate

Next, what if the zero-maker is inside a square root? We want to find

lim⁡x→5x+4−3x−5\displaystyle \lim_{x \to 5} \frac{\sqrt{x + 4} - 3}{\zeromaker{x - 5}}

To square both parts of a subtraction and get xx out of the square root without creating a new square-root middle term, we use the difference of squares:

(a−b)(a+b)\displaystyle (a - b)\multiplier{(a + b)} =a2−b2\displaystyle = a^2 - b^2
Square Roots and the Conjugate
lim⁡x→5x+4−3x−5\displaystyle \lim_{x \to 5} \frac{\sqrt{x + 4} - 3}{\htmlClass{lc-green}{x - 5}} =?\displaystyle = {?}
Text solution
Multiply top and bottom by the conjugatePlugging in 55 gives 00\frac{0}{0}, so we multiply the numerator and denominator by x+4+3\multiplier{\sqrt{x + 4} + 3}, expanding the top with a2−b2a^2 - b^2 while leaving the bottom factored so x−5\zeromaker{x - 5} stays visible.
lim⁡x→5x+4−3x−5=lim⁡x→5(x+4−3)(x+4+3)⏞conjugate(x−5)(x+4+3)⏟conjugate=lim⁡x→5(x+4)−9(x−5)(x+4+3)=lim⁡x→5x−5(x−5)(x+4+3)\displaystyle \begin{aligned} &\lim_{x \to 5} \frac{\sqrt{x + 4} - 3}{\zeromaker{x - 5}} \\ &= \lim_{x \to 5} \frac{(\sqrt{x + 4} - 3)\overbrace{\multiplier{(\sqrt{x + 4} + 3)}}^{\multiplier{\text{conjugate}}}}{\zeromaker{(x - 5)}\underbrace{\multiplier{(\sqrt{x + 4} + 3)}}_{\multiplier{\text{conjugate}}}} \\ &= \lim_{x \to 5} \frac{(x + 4) - 9}{\zeromaker{(x - 5)}\multiplier{(\sqrt{x + 4} + 3)}} \\ &= \lim_{x \to 5} \frac{\zeromaker{x - 5}}{\zeromaker{(x - 5)}\multiplier{(\sqrt{x + 4} + 3)}} \end{aligned}
Cancel x−5\zeromaker{x - 5} and plug in 55Canceling x−5\zeromaker{x - 5} on top and bottom leaves 11 in the numerator, and plugging in 55 now adds the two 33's on the bottom instead of subtracting them.
=lim⁡x→51x+4+3=15+4+3=16\displaystyle \begin{aligned} &= \lim_{x \to 5} \frac{1}{\multiplier{\sqrt{x + 4} + 3}} \\ &= \frac{1}{\sqrt{5 + 4} + 3} \\ &= \frac{1}{6} \end{aligned}

So the limit is 16\frac{1}{6}, which is the height of the hole at x=5x = 5.

5

Fractions Inside Fractions

Now let's see what happens when the zero-maker is inside smaller fractions. We want to evaluate

lim⁡x→41x−14x−4\displaystyle \lim_{x \to 4} \frac{\frac{1}{x} - \frac{1}{4}}{\zeromaker{x - 4}}
Fractions Inside Fractions
lim⁡x→41x−14x−4\displaystyle \lim_{x \to 4} \frac{\dfrac{1}{x} - \dfrac{1}{4}}{\htmlClass{lc-green}{x - 4}} =?\displaystyle = {?}
Text solution
Multiply top and bottom by the common denominator 4x\multiplier{4x}Plugging in 44 gives 00\frac{0}{0}, so we multiply the main numerator and denominator by 4x\multiplier{4x} to clear both /x/x and /4/4 in one step, keeping the bottom factored.
lim⁡x→41x−14x−4=lim⁡x→4(1x−14)⋅4x(x−4)⋅4x=lim⁡x→44−x(x−4)⋅4x\displaystyle \begin{aligned} \lim_{x \to 4} \frac{\frac{1}{x} - \frac{1}{4}}{\zeromaker{x - 4}} &= \lim_{x \to 4} \frac{\left(\frac{1}{x} - \frac{1}{4}\right) \cdot \multiplier{4x}}{\zeromaker{(x - 4)} \cdot \multiplier{4x}} \\ &= \lim_{x \to 4} \frac{\zeromaker{4 - x}}{\zeromaker{(x - 4)} \cdot \multiplier{4x}} \end{aligned}
Cancel the reversed subtraction to −1-1 and plug in 44Because 4−x=−(x−4)\zeromaker{4 - x} = -\zeromaker{(x - 4)}, dividing 4−x\zeromaker{4 - x} by x−4\zeromaker{x - 4} cancels to −1-1.
=lim⁡x→4−(x−4)(x−4)⋅4x=lim⁡x→4−14x=−14(4)=−116\displaystyle \begin{aligned} &= \lim_{x \to 4} \frac{-\zeromaker{(x - 4)}}{\zeromaker{(x - 4)} \cdot \multiplier{4x}} \\ &= \lim_{x \to 4} \frac{-1}{\multiplier{4x}} \\ &= -\frac{1}{4(4)} = -\frac{1}{16} \end{aligned}

So the fraction approaches −116-\frac{1}{16} as xx gets close to 44.

6

Absolute Value and Piecewise Limits

In every problem so far, a single formula described the graph on both sides of the target number. What happens when the formula switches right at the target point? We want to find

lim⁡x→3∣x−3∣x−3andlim⁡x→2f(x)forf(x)={x2+1for x<23x−1for x≥2\displaystyle \begin{gathered} \lim_{x \to 3} \frac{|\zeromaker{x - 3}|}{\zeromaker{x - 3}} \qquad \text{and} \qquad \lim_{x \to 2} f(x) \\ \text{for} \quad f(x) = \begin{cases} \first{x^2 + 1} & \text{for } \first{x < 2} \\ \second{3x - 1} & \text{for } \second{x \ge 2} \end{cases} \end{gathered}
Absolute Value and Piecewise Limits
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
33
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
6\htmlClass{lc-mute}{6}
x\htmlClass{lc-mute}{x}
lim⁡x→3∣x−3∣x−3=?\lim\limits_{x \to 3} \dfrac{\lvert \htmlClass{lc-green}{x - 3} \rvert}{\htmlClass{lc-green}{x - 3}} = {?}

In one-sided limit notation like x→3+x \to 3^{\second{+}} and x→3−x \to 3^{\first{-}}, the superscript +\second{+} or −\first{-} tells you which side xx approaches from (right or left), not whether xx is positive or negative.

1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
33
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
6\htmlClass{lc-mute}{6}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=∣x−3∣x−3y = \dfrac{\lvert \htmlClass{lc-green}{x - 3} \rvert}{\htmlClass{lc-green}{x - 3}}
−1\htmlClass{lc-blue}{-1}
+1\htmlClass{lc-pink}{+1}
Text solution
Drop the absolute value bars on each side of 33Plugging in 33 gives 00\frac{0}{0}, and because x−3\zeromaker{x - 3} is positive to the right of 33 and negative to the left of 33, ∣x−3∣|\zeromaker{x - 3}| simplifies differently on each side.
Right of 3:lim⁡x→3+∣x−3∣x−3=lim⁡x→3+x−3x−3=+1Left of 3:lim⁡x→3−∣x−3∣x−3=lim⁡x→3−−(x−3)x−3=−1\displaystyle \begin{aligned} &\text{Right of } 3: \\ &\lim_{x \to 3^{\second{+}}} \frac{|\zeromaker{x - 3}|}{\zeromaker{x - 3}} \\ &= \lim_{x \to 3^{\second{+}}} \frac{\zeromaker{x - 3}}{\zeromaker{x - 3}} = \second{+1} \\[8pt] &\text{Left of } 3: \\ &\lim_{x \to 3^{\first{-}}} \frac{|\zeromaker{x - 3}|}{\zeromaker{x - 3}} \\ &= \lim_{x \to 3^{\first{-}}} \frac{\first{-}\zeromaker{(x - 3)}}{\zeromaker{x - 3}} = \first{-1} \end{aligned}
Because the left-hand limit (−1)(\first{-1}) and the right-hand limit (+1)(\second{+1}) do not match, lim⁡x→3∣x−3∣x−3\lim_{x \to 3} \frac{|\zeromaker{x - 3}|}{\zeromaker{x - 3}} does not exist.
Left of 22 on the piecewise functionWhen x→2−x \to 2^{\first{-}}, xx is slightly less than 22, so we plug 22 into the top formula (x<2\first{x < 2}).
lim⁡x→2−f(x)\displaystyle \lim_{x \to 2^{\first{-}}} f(x) =lim⁡x→2−(x2+1)\displaystyle = \lim_{x \to 2^{\first{-}}} (\first{x^2 + 1}) =(2)2+1\displaystyle = (2)^2 + 1 =5\displaystyle = \first{5}
Right of 22 on the piecewise functionWhen x→2+x \to 2^{\second{+}}, xx is slightly greater than 22, so we plug 22 into the bottom formula (x≥2\second{x \ge 2}).
lim⁡x→2+f(x)\displaystyle \lim_{x \to 2^{\second{+}}} f(x) =lim⁡x→2+(3x−1)\displaystyle = \lim_{x \to 2^{\second{+}}} (\second{3x - 1}) =3(2)−1\displaystyle = 3(2) - 1 =5\displaystyle = \second{5}

Since both the left and right sides head toward the same height of 55, the two pieces meet and lim⁡x→2f(x)=5\lim_{x \to 2} f(x) = 5.

On the graph, you can see how the two-sided limit at x=2x = 2 depends on whether the left and right pieces meet at the same height.

In this graph, each side approaches a height at the boundary, and the overall limit exists only when those heights agree.
7

Limits at Infinity

Finally, instead of xx approaching a specific number, we want to find what happens when xx grows forever toward ∞\infty or −∞-\infty:

lim⁡x→∞6x2+100x+5002x2−10x−900\displaystyle \lim_{x \to \infty} \frac{\second{6x^2} + 100x + 500}{\second{2x^2} - 10x - 900}
Limits at Infinity
lim⁡x→∞6x2+100x+5002x2−10x−900\displaystyle \lim_{x \to \infty} \frac{\htmlClass{lc-pink}{6x^2} + 100x + 500}{\htmlClass{lc-pink}{2x^2} - 10x - 900} =?\displaystyle = {?}
Text solution
Keep only the highest-power terms on top and bottomFor huge values of xx, the lower-degree terms +100x+500+100x + 500 and −10x−900-10x - 900 are tiny compared to 6x2\second{6x^2} and 2x2\second{2x^2}.
lim⁡x→∞6x2+100x+5002x2−10x−900\displaystyle \lim_{x \to \infty} \frac{\second{6x^2} + 100x + 500}{\second{2x^2} - 10x - 900} =lim⁡x→∞6x22x2\displaystyle = \lim_{x \to \infty} \frac{\second{6x^2}}{\second{2x^2}}
Compare the degrees and simplifyBecause the highest power x2x^2 matches on top and bottom, x2x^2 cancels out and leaves the ratio of the leading coefficients.
lim⁡x→∞6x22x2\displaystyle \lim_{x \to \infty} \frac{\second{6x^2}}{\second{2x^2}} =62\displaystyle = \frac{\second{6}}{\second{2}} =3\displaystyle = 3

So the graph flattens onto the horizontal asymptote y=3\second{y = 3} as xx goes to infinity. If the highest powers do not match, comparing the leading terms gives the other two possibilities:

Bigger degree on the bottom:lim⁡x→∞6x22x3=lim⁡x→∞62x=0Bigger degree on the top:lim⁡x→∞6x32x2=lim⁡x→∞3x=∞\displaystyle \begin{aligned} &\text{Bigger degree on the bottom:} \\ &\lim_{x \to \infty} \frac{\second{6x^2}}{\second{2x^3}} = \lim_{x \to \infty} \frac{\second{6}}{\second{2x}} = 0 \\[8pt] &\text{Bigger degree on the top:} \\ &\lim_{x \to \infty} \frac{\second{6x^3}}{\second{2x^2}} = \lim_{x \to \infty} \second{3x} = \infty \end{aligned}

Zooming out on the graph of y=6x2+100x+5002x2−10x−900y = \frac{\second{6x^2} + 100x + 500}{\second{2x^2} - 10x - 900} shows how the curve flattens onto the horizontal asymptote y=3\second{y = 3} as the x2x^2 terms take over.

As you move far to the right, the leading terms grow much larger than the lower-degree terms and pull the curve flat onto a height of 3.
8

A Game Plan for Any Limit

Every algebraic technique we have used is just a way to handle what happens after you plug the target value in. Here is how all the pieces fit together.

A Game Plan for Any Limit
lim⁡x→af(x)\displaystyle \lim_{x \to a} f(x) =?\displaystyle = {?}
Plug in a, and then?\displaystyle \text{Plug in } a \text{, and then?}

Key concepts

When x→ax \to a, try plugging aa in first

For a polynomial or a fraction of polynomials with a nonzero denominator at aa, substitution gives the limit, as in lim⁡x→3(2x+1)=2(3)+1=7\lim_{x \to 3} (2x + 1) = 2(3) + 1 = 7. If x=ax = a is the boundary where a piecewise function switches rules, check the left and right formulas separately, as in lim⁡x→2−(x2+1)=5\lim_{x \to 2^{\first{-}}} (\first{x^2 + 1}) = \first{5} and lim⁡x→2+(3x−1)=5\lim_{x \to 2^{\second{+}}} (\second{3x - 1}) = \second{5}.

For a polynomial fraction, if plugging in gives a non-zero number over 00, check the signs on each side

In lim⁡x→3x+2x−3\lim_{x \to 3} \frac{x + 2}{\zeromaker{x - 3}}, the left-hand limit is −∞\first{-\infty} and the right-hand limit is +∞\second{+\infty}, so the two-sided limit does not exist.

If plugging in gives 00\frac{0}{0}, try simplifying the expression

For polynomial fractions, factor and cancel a matching (x−a)\zeromaker{(x - a)} factor, then check what happens when you substitute again. Other expressions may need a different approach:

  • Polynomials: factor out (x−a)\zeromaker{(x - a)}. Knowing x=2x = 2 gives 00\frac{0}{0} tells you (x−2)\zeromaker{(x - 2)} is a factor of both the top and bottom of lim⁡x→2x2−5x+6x2−4=lim⁡x→2(x−2)(x−3)(x−2)(x+2)=−14\lim_{x \to 2} \frac{x^2 - 5x + 6}{x^2 - 4} = \lim_{x \to 2} \frac{\zeromaker{(x - 2)}\second{(x - 3)}}{\zeromaker{(x - 2)}\second{(x + 2)}} = -\frac{1}{4}.
  • Parentheses with powers: expand the top. In lim⁡h→0(x+h)2−x2h\lim_{h \to 0} \frac{(x + \zeromaker{h})^2 - x^2}{\zeromaker{h}}, multiply out (x+h)2(x + \zeromaker{h})^2 so x2−x2x^2 - x^2 cancels and h\zeromaker{h} factors out: lim⁡h→0h(2x+h)h=2x\lim_{h \to 0} \frac{\zeromaker{h}(\second{2x + \zeromaker{h}})}{\zeromaker{h}} = 2x.
  • Square roots: multiply by the conjugate. Use (a−b)(a+b)=a2−b2(a - b)\multiplier{(a + b)} = a^2 - b^2 on the root side while keeping the other side factored: lim⁡x→5(x+4−3)(x+4+3)(x−5)(x+4+3)=lim⁡x→51x+4+3=16\lim_{x \to 5} \frac{(\sqrt{x + 4} - 3)\multiplier{(\sqrt{x + 4} + 3)}}{\zeromaker{(x - 5)}\multiplier{(\sqrt{x + 4} + 3)}} = \lim_{x \to 5} \frac{1}{\multiplier{\sqrt{x + 4} + 3}} = \frac{1}{6}.
  • Fractions inside fractions: multiply by the common denominator. Clear the small denominators in lim⁡x→4(1x−14)⋅4x(x−4)⋅4x=lim⁡x→44−x(x−4)⋅4x=−116\lim_{x \to 4} \frac{(\frac{1}{x} - \frac{1}{4}) \cdot \multiplier{4x}}{\zeromaker{(x - 4)} \cdot \multiplier{4x}} = \lim_{x \to 4} \frac{\zeromaker{4 - x}}{\zeromaker{(x - 4)} \cdot \multiplier{4x}} = -\frac{1}{16}, remembering that 4−xx−4=−1\frac{\zeromaker{4 - x}}{\zeromaker{x - 4}} = -1.
  • Absolute value giving 00\frac{0}{0}: check the sign on each side. Rewrite ∣x−3∣|\zeromaker{x - 3}| as +(x−3)\second{+}\zeromaker{(x - 3)} for x→3+x \to 3^{\second{+}} and −(x−3)\first{-}\zeromaker{(x - 3)} for x→3−x \to 3^{\first{-}} in lim⁡x→3∣x−3∣x−3\lim_{x \to 3} \frac{|\zeromaker{x - 3}|}{\zeromaker{x - 3}}.
When x→∞x \to \infty or x→−∞x \to -\infty, keep only the highest power of xx on top and bottom

Drop the smaller terms in lim⁡x→∞6x2+100x+5002x2−10x−900=lim⁡x→∞6x22x2=3\lim_{x \to \infty} \frac{\second{6x^2} + 100x + 500}{\second{2x^2} - 10x - 900} = \\ \lim_{x \to \infty} \frac{\second{6x^2}}{\second{2x^2}} = 3 (same degree gives the ratio of leading coefficients, bigger degree on the bottom gives 00, and bigger degree on the top gives +∞+\infty or −∞-\infty).

9

Practice

1

Evaluate lim⁡x→−2x2+3x−4x+5\lim_{x \to -2} \frac{x^2 + 3x - 4}{x + 5}.

Check what happens in the denominator when you plug in x=−2x = -2 before trying to factor the numerator.

Plug x=−2x = -2 directly into the fraction:
lim⁡x→−2x2+3x−4x+5=(−2)2+3(−2)−4−2+5=4−6−43=−63=−2\displaystyle \begin{aligned} \lim_{x \to -2} \frac{x^2 + 3x - 4}{x + 5} &= \frac{(-2)^2 + 3(-2) - 4}{-2 + 5} \\ &= \frac{4 - 6 - 4}{3} \\ &= \frac{-6}{3} \\ &= -2 \end{aligned}
(Watch the sign when squaring a negative number: writing −22=−4-2^2 = -4 instead of (−2)2=4(-2)^2 = 4 gives −143-\frac{14}{3}.)
−2-2
2

Suppose lim⁡x→5f(x)=−3\lim_{x \to 5} f(x) = -3 and lim⁡x→5g(x)=4\lim_{x \to 5} g(x) = 4. Find lim⁡x→5[f(x)]2−2g(x)g(x)+f(x)\lim_{x \to 5} \frac{[f(x)]^2 - 2g(x)}{g(x) + f(x)}.

Replace each f(x)f(x) and g(x)g(x) with the value it approaches as x→5x \to 5.

Substitute lim⁡x→5f(x)=−3\lim_{x \to 5} \first{f(x)} = \first{-3} and lim⁡x→5g(x)=4\lim_{x \to 5} \second{g(x)} = \second{4}:
lim⁡x→5[f(x)]2−2g(x)g(x)+f(x)=(−3)2−2(4)4+(−3)=9−81=1\displaystyle \begin{aligned} \lim_{x \to 5} \frac{[\first{f(x)}]^2 - 2\second{g(x)}}{\second{g(x)} + \first{f(x)}} &= \frac{(\first{-3})^2 - 2(\second{4})}{\second{4} + (\first{-3})} \\ &= \frac{9 - 8}{1} \\ &= 1 \end{aligned}
(Make sure to square all of −3\first{-3} to get +9+9 rather than −9-9, which would give −17-17, and don't plug in x=5x = 5 in place of the function limits −3\first{-3} and 4\second{4}.)
11
3

Evaluate lim⁡x→4−x+3x−4\lim_{x \to 4^-} \frac{x + 3}{x - 4}.

Plug in x=4x = 4 to see whether you get 00\frac{0}{0} or a non-zero number over 00, then check the sign of x−4x - 4 when xx is slightly less than 44.

Plugging in x=4x = 4 gives 70\frac{7}{0}, which is a vertical asymptote. As x→4−x \to 4^- (such as x=3.999x = 3.999), the numerator x+3x + 3 is near +7+7 while the denominator x−4\zeromaker{x - 4} is a tiny negative number:
lim⁡x→4−x+3x−4\displaystyle \lim_{x \to 4^-} \frac{x + 3}{\zeromaker{x - 4}} =−∞\displaystyle = -\infty
(The superscript −- in 4−4^- means xx is just to the left of 44, making x−4\zeromaker{x - 4} negative; overlooking that negative sign in the denominator gives +∞+\infty.)
−∞-\infty
4

Evaluate lim⁡x→3x2−x−6x2−9\lim_{x \to 3} \frac{x^2 - x - 6}{x^2 - 9}.

Plugging in 33 gives 00\frac{0}{0}. Which zero-maker factor must be inside both the numerator and the denominator?

Since x=3x = 3 gives 00\frac{0}{0}, factor (x−3)\zeromaker{(x - 3)} out of both the top and bottom and cancel:
lim⁡x→3x2−x−6x2−9=lim⁡x→3(x−3)(x+2)(x−3)(x+3)=lim⁡x→3x+2x+3=3+23+3=56\displaystyle \begin{aligned} \lim_{x \to 3} \frac{x^2 - x - 6}{x^2 - 9} &= \lim_{x \to 3} \frac{\zeromaker{(x - 3)}\second{(x + 2)}}{\zeromaker{(x - 3)}\second{(x + 3)}} \\ &= \lim_{x \to 3} \frac{\second{x + 2}}{\second{x + 3}} \\ &= \frac{3 + 2}{3 + 3} \\ &= \frac{5}{6} \end{aligned}
(When factoring x2−x−6x^2 - x - 6, the second factor must be (x+2)\second{(x + 2)} so the constant term is −6-6; writing (x−3)(x−2)\zeromaker{(x - 3)}(x - 2) instead gives 16\frac{1}{6}.)
56\frac{5}{6}
5

Evaluate lim⁡x→12x+4−4x−12\lim_{x \to 12} \frac{\sqrt{x + 4} - 4}{x - 12}.

How can you use (a−b)(a+b)=a2−b2(a - b)(a + b) = a^2 - b^2 to square the root in the numerator while keeping x−12x - 12 factored in the denominator?

Plugging in 1212 gives 00\frac{0}{0}. Multiply the top and bottom by the conjugate x+4+4\multiplier{\sqrt{x + 4} + 4}:
lim⁡x→12x+4−4x−12=lim⁡x→12(x+4−4)(x+4+4)(x−12)(x+4+4)=lim⁡x→12(x+4)−16(x−12)(x+4+4)=lim⁡x→12x−12(x−12)(x+4+4)=lim⁡x→121x+4+4=112+4+4=18\displaystyle \begin{aligned} \lim_{x \to 12} \frac{\sqrt{x + 4} - 4}{\zeromaker{x - 12}} &= \lim_{x \to 12} \frac{(\sqrt{x + 4} - 4)\multiplier{(\sqrt{x + 4} + 4)}}{\zeromaker{(x - 12)}\multiplier{(\sqrt{x + 4} + 4)}} \\ &= \lim_{x \to 12} \frac{(x + 4) - 16}{\zeromaker{(x - 12)}\multiplier{(\sqrt{x + 4} + 4)}} \\ &= \lim_{x \to 12} \frac{\zeromaker{x - 12}}{\zeromaker{(x - 12)}\multiplier{(\sqrt{x + 4} + 4)}} \\ &= \lim_{x \to 12} \frac{1}{\multiplier{\sqrt{x + 4} + 4}} \\ &= \frac{1}{\sqrt{12 + 4} + 4} \\ &= \frac{1}{8} \end{aligned}
(In a2−b2a^2 - b^2, remember to square the 44 to get 1616, and keep the 11 in the numerator when x−12\zeromaker{x - 12} cancels so you don't write 88 instead of 18\frac{1}{8}.)
18\frac{1}{8}
6

Evaluate lim⁡x→21x+1−13x−2\lim_{x \to 2} \frac{\frac{1}{x + 1} - \frac{1}{3}}{x - 2}.

What common denominator can you multiply the top and bottom by to clear both /(x+1)/ (x + 1) and /3/ 3 at the same time?

Plugging in 22 gives 00\frac{0}{0}. Multiply the numerator and denominator by 3(x+1)\multiplier{3(x + 1)}, leaving the denominator factored:
lim⁡x→21x+1−13x−2=lim⁡x→2(1x+1−13)⋅3(x+1)(x−2)⋅3(x+1)=lim⁡x→23−(x+1)(x−2)⋅3(x+1)=lim⁡x→22−x(x−2)⋅3(x+1)\displaystyle \begin{aligned} \lim_{x \to 2} \frac{\frac{1}{x + 1} - \frac{1}{3}}{\zeromaker{x - 2}} &= \lim_{x \to 2} \frac{\left(\frac{1}{x + 1} - \frac{1}{3}\right) \cdot \multiplier{3(x + 1)}}{\zeromaker{(x - 2)} \cdot \multiplier{3(x + 1)}} \\ &= \lim_{x \to 2} \frac{3 - (x + 1)}{\zeromaker{(x - 2)} \cdot \multiplier{3(x + 1)}} \\ &= \lim_{x \to 2} \frac{\zeromaker{2 - x}}{\zeromaker{(x - 2)} \cdot \multiplier{3(x + 1)}} \end{aligned}
(Distribute the minus sign across all of −(x+1)-(x + 1) to get 3−x−1=2−x3 - x - 1 = \zeromaker{2 - x}, and notice that 2−xx−2\frac{\zeromaker{2 - x}}{\zeromaker{x - 2}} cancels to −1-1; missing that negative sign gives +19+\frac{1}{9}.)
=lim⁡x→2−13(x+1)=−13(2+1)=−19\displaystyle \begin{aligned} &= \lim_{x \to 2} \frac{-1}{\multiplier{3(x + 1)}} \\ &= \frac{-1}{3(2 + 1)} \\ &= -\frac{1}{9} \end{aligned}
−19-\frac{1}{9}
7

Let f(x)=x2−2x+4f(x) = x^2 - 2x + 4 for x<3x < 3, and f(x)=2x+1f(x) = 2x + 1 for x≥3x \ge 3. Find lim⁡x→3f(x)\lim_{x \to 3} f(x).

Since the formula switches at x=3x = 3, check the left-hand limit (x<3x < 3) and right-hand limit (x≥3x \ge 3) separately.

Evaluate both one-sided limits at the boundary x=3x = 3:
lim⁡x→3−f(x)=lim⁡x→3−(x2−2x+4)=32−2(3)+4=7lim⁡x→3+f(x)=lim⁡x→3+(2x+1)=2(3)+1=7\displaystyle \begin{aligned} \lim_{x \to 3^{\first{-}}} f(x) &= \lim_{x \to 3^{\first{-}}} (\first{x^2 - 2x + 4}) = 3^2 - 2(3) + 4 = \first{7} \\ \lim_{x \to 3^{\second{+}}} f(x) &= \lim_{x \to 3^{\second{+}}} (\second{2x + 1}) = 2(3) + 1 = \second{7} \end{aligned}
(Don't plug 33 into only the x≥3\second{x \ge 3} formula without checking the x<3\first{x < 3} side, and don't assume a piecewise limit fails to exist without testing whether the two sides match.)
lim⁡x→3f(x)\displaystyle \lim_{x \to 3} f(x) =7\displaystyle = 7
77
8

Evaluate lim⁡x→∞8x3−5x2+10020x−4x3\lim_{x \to \infty} \frac{8x^3 - 5x^2 + 100}{20x - 4x^3}.

As x→∞x \to \infty, find the highest power of xx on top and the highest power of xx on the bottom. Look closely at the order of the terms in the denominator.

Keep only the highest-power term in the numerator (8x3\second{8x^3}) and the highest-power term in the denominator (−4x3\second{-4x^3}):
lim⁡x→∞8x3−5x2+10020x−4x3=lim⁡x→∞8x3−4x3=8−4=−2\displaystyle \begin{aligned} \lim_{x \to \infty} \frac{\second{8x^3} - 5x^2 + 100}{20x \second{- 4x^3}} &= \lim_{x \to \infty} \frac{\second{8x^3}}{\second{-4x^3}} \\ &= \frac{\second{8}}{\second{-4}} \\ &= -2 \end{aligned}
(The denominator has 20x20x written first and −4x3\second{-4x^3} written second: using the first term 20x20x by mistake makes the numerator look like it has the higher degree and gives ∞\infty, while forgetting the minus sign on −4x3\second{-4x^3} gives +2+2.)
−2-2
9

Evaluate lim⁡h→0(x+h)2−4(x+h)−(x2−4x)h\lim_{h \to 0} \frac{(x + h)^2 - 4(x + h) - (x^2 - 4x)}{h}.

Multiply out the numerator and distribute the negative signs so all the terms without hh cancel.

Plugging in h=0\zeromaker{h} = 0 gives 00\frac{0}{0}. Expand the numerator:
lim⁡h→0(x+h)2−4(x+h)−(x2−4x)h=lim⁡h→0x2+2xh+h2−4x−4h−x2+4xh=lim⁡h→02xh+h2−4hh\displaystyle \begin{aligned} \lim_{h \to 0} \frac{(x + \zeromaker{h})^2 - 4(x + \zeromaker{h}) - (x^2 - 4x)}{\zeromaker{h}} &= \lim_{h \to 0} \frac{x^2 + 2x\zeromaker{h} + \zeromaker{h}^2 - 4x - 4\zeromaker{h} - x^2 + 4x}{\zeromaker{h}} \\ &= \lim_{h \to 0} \frac{2x\zeromaker{h} + \zeromaker{h}^2 - 4\zeromaker{h}}{\zeromaker{h}} \end{aligned}
(Be sure to distribute −4-4 across (x+h)(x + \zeromaker{h}) to get −4x−4h-4x - 4\zeromaker{h}; leaving out −4h-4\zeromaker{h} drops the −4-4 from the final answer and gives 2x2x.) Factor h\zeromaker{h} out of the numerator, cancel h\zeromaker{h}, and set h=0\zeromaker{h} = 0:
=lim⁡h→0h(2x+h−4)h=lim⁡h→0(2x+h−4)=2x−4\displaystyle \begin{aligned} &= \lim_{h \to 0} \frac{\zeromaker{h}(\second{2x + \zeromaker{h} - 4})}{\zeromaker{h}} \\ &= \lim_{h \to 0} (\second{2x + \zeromaker{h} - 4}) \\ &= 2x - 4 \end{aligned}
2x−42x - 4
10

Evaluate lim⁡x→5−x2−25∣x−5∣\lim_{x \to 5^-} \frac{x^2 - 25}{|x - 5|}.

When xx is slightly less than 55, is x−5x - 5 positive or negative, and how does that rewrite ∣x−5∣|x - 5| without absolute value bars?

For x→5−x \to 5^-, x<5x < 5, so x−5\zeromaker{x - 5} is negative and ∣x−5∣=−(x−5)|\zeromaker{x - 5}| = -\zeromaker{(x - 5)}. Factor the numerator and cancel (x−5)\zeromaker{(x - 5)}:
lim⁡x→5−x2−25∣x−5∣=lim⁡x→5−(x−5)(x+5)−(x−5)=lim⁡x→5−−(x+5)=−(5+5)=−10\displaystyle \begin{aligned} \lim_{x \to 5^-} \frac{x^2 - 25}{|\zeromaker{x - 5}|} &= \lim_{x \to 5^-} \frac{\zeromaker{(x - 5)}\second{(x + 5)}}{-\zeromaker{(x - 5)}} \\ &= \lim_{x \to 5^-} -(\second{x + 5}) \\ &= -(5 + 5) \\ &= -10 \end{aligned}
(Dropping the bars as +(x−5)+\zeromaker{(x - 5)} without accounting for x<5x < 5 gives +10+10, and answering "Does Not Exist" overlooks that this is only a one-sided limit as x→5−x \to 5^-.)
−10-10
11

Evaluate lim⁡x→2x2−4x2−4x+4\lim_{x \to 2} \frac{x^2 - 4}{x^2 - 4x + 4}.

Factor (x−2)(x - 2) out of the top and bottom, cancel, and check what still happens when you plug x=2x = 2 into what remains.

Plugging in 22 gives 00\frac{0}{0}. Factor the numerator and denominator and cancel one copy of (x−2)\zeromaker{(x - 2)}:
lim⁡x→2x2−4x2−4x+4=lim⁡x→2(x−2)(x+2)(x−2)(x−2)=lim⁡x→2x+2x−2\displaystyle \begin{aligned} \lim_{x \to 2} \frac{x^2 - 4}{x^2 - 4x + 4} &= \lim_{x \to 2} \frac{\zeromaker{(x - 2)}\second{(x + 2)}}{\zeromaker{(x - 2)}\zeromaker{(x - 2)}} \\ &= \lim_{x \to 2} \frac{\second{x + 2}}{\zeromaker{x - 2}} \end{aligned}
Now plug x=2x = 2 into the simplified fraction:
2+22−2\displaystyle \frac{2 + 2}{\zeromaker{2 - 2}} =40\displaystyle = \frac{4}{0}
(Because the denominator originally had (x−2)2{\zeromaker{(x - 2)}}^2, a second (x−2)\zeromaker{(x - 2)} stays on the bottom after canceling and gives 40\frac{4}{0}, a vertical asymptote where the left side goes to −∞\first{-\infty} and the right side goes to +∞\second{+\infty}; mis-factoring the bottom as (x−2)(x+2)\zeromaker{(x - 2)}(x + 2) would wrongly cancel everything to 11.)
Does Not Exist