# Evaluating limits

## Simplifying

Limits obey a set of laws, and the basic ones are worth remembering. First, the limit of a sum is equal to the sum of the limits:

$\underset{x\to a}{\mathrm{lim}}(f(x)+g(x))=\underset{x\to a}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}f(x)+\underset{x\to a}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}g(x)\text{.}$

The same thing goes for subtraction, multiplication, and division.

## Direct substitution

If a function $f$ is continuous at $a$ and $f(a)$ is defined, then

$\underset{x\to a}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}f(x)=f(a)\text{.}$

You’ll learn about continuity in the next section, but for now you can apply this rule to polynomials, rationals, exponentials, logarithms, and trigonometric functions—everything you saw in Advanced Functions.

For example, we can use direct substitution in

$\underset{x\to 3}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}{x}^{2}={3}^{2}=9\text{.}$

## Factoring

Sometimes attempting direct substitution will give us zero over zero—we call this result *indeterminate* (this is distinct from undefined). If the expression looks like it can be factored, try doing so. Sometimes this will result in a factor dividing out, and then you can proceed with direct substitution after that.

For example, we can factor the numerator to evaluate this limit:

$\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{7x-{x}^{2}}{x}=\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{x(7-x)}{x}=\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}7-x=7-0=7\text{.}$

## Rationalizing

If factoring doesn’t work, we can try rationalizing to get around the indeterminate case. This generally works if you have a binomial with one or two radicals in it. To do this, we multiply by the *conjugate* of binomial over itself and then use the difference of squares.

An expression of the form ${a}^{2}-{b}^{2}$ can be factored to give $(a+b)(a-b)\text{.}$ In this expression, $a+b$ is the conjugate of $a-b\text{,}$ and vice versa.

For example, multiplying the following by the conjugate over itself gives us

$\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{\sqrt{x+1}-1}{x}=\underset{x\to 0}{\mathrm{lim}}\left(\frac{\sqrt{x+1}-1}{x}\right)\left(\frac{\sqrt{x+1}+1}{\sqrt{x+1}+1}\right)\text{,}$

which simplifies to give the value of the limit,

$\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{(x+1)-1}{(x(\sqrt{x+1}+1))}=\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{1}{\sqrt{x+1}+1}=\frac{1}{\sqrt{0+1}+1}=\frac{1}{2}\text{.}$

## Change of variable

Yet another strategy to try when tackling the indeterminate is to change the variable. It’s hard to explain this method in words, so I’ll just demonstrate it with an example.

Suppose we want to evaluate the limit

$\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{(2x+1{)}^{\frac{1}{3}}-1}{x}\text{.}$

Let’s change the variable. In general, when we have a fractional exponent as we do here, we want to get rid of it. To do this, we will let ${u}^{3}=2x+1\text{.}$ This means that

$(2x+1{)}^{\frac{1}{3}}=u$ and $x=\frac{1}{2}({u}^{3}-1)\text{.}$

Now we can change the variable in the limit expression:

$\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{u-1}{\frac{1}{2}({u}^{3}-1)}=\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{u-1}{\frac{1}{2}(u-1)({u}^{2}+u+1)}=\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{2}{{u}^{2}+u+1}\text{.}$

We were able to divide out a factor, which is exactly what we wanted. Now we can back-substitute our original variable and evaluate:

$\underset{x\to 0}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{2}{(2x+1{)}^{\frac{2}{3}}+(2x+1{)}^{\frac{1}{3}}+1}=\frac{2}{{1}^{\frac{2}{3}}+{1}^{\frac{1}{3}}+1}=\frac{2}{3}\text{.}$

## One-sided limit

Some limits cannot be evaluated because they do not exist. To prove this, we have to show that the limit from the left does not equal the limit from the right. Consider the following limit:

$\underset{x\to 4}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{|x-4|}{x-4}\text{.}$

We get an indeterminate answer if we try direct substitution. As you might have guessed, we need to evaluate the limit from both sides. Graphing the function turns out to be very helpful:

This graph makes it obvious that

$\underset{x\to {4}^{-}}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{|x-4|}{x-4}=-1$ and $\underset{x\to {4}^{+}}{\mathrm{lim}}\phantom{\rule{0.1667em}{0ex}}\frac{|x-4|}{x-4}=1\text{,}$

and since these are not equal, the limit does not exist.