Computing Limits

In the previous section we saw that there is a large class of functions that allows us to use direct substitution \[\lim\limits_{x\to a}f(x) = f(a)\] to compute limits. However, there are also many limits for which direct substitution won’t work immediately. The purpose of this section is to develop techniques for dealing with some of these limits when direct substitution does not yield a direct value.

Let’s first go back and take a look at one of the first limits that we looked at and compute its exact value and verify our guess for the limit.

Evaluate the limit $\lim\limits_{x\to2} \dfrac{x^2+4x-12}{x^2-2x}.$

Our first step for evaluating a limit will always be to attempt to direct substitution, so let's observe what happens when we try it. If we plug in $x = 2$, we get \[\lim\limits_{x\to2} \dfrac{x^2+4x-12}{x^2-2x} = \dfrac{4+8-12}{4-4} = \dfrac00.\] Since we got $0/0$, which is not a real number (because we can't divide by 0), we need to try something else to evaluate the limit.

The first technique we can try is to attempt to simplify the limit in a helpful way. In this case that means factoring both the numerator and denominator. Doing this, the limit becomes \[\lim\limits_{x\to2} \dfrac{x^2+4x-12}{x^2-2x} = \lim\limits_{x\to2}\dfrac{(x-2)(x+6)}{x(x-2)} = \lim\limits_{x\to2}\dfrac{x+6}x\] Notice that the factoring helped us identify common factors of $(x-2)$ on top and bottom that we could cancel.

This gives us a new expression for which we can once again attempt direct substitution, this time without running into $0/0$. So plug in $x =2$ to the last limit to get \[\lim\limits_{x\to2} \dfrac{x^2+4x-12}{x^2-2x} = \lim\limits_{x\to2}\dfrac{x+6}x = \dfrac{2+6}2 = 4.\] This is in fact what we guessed the limit to be when we first attempted the limit.


Before moving on from this example, let’s discuss the fact that directly substituting $x = 2$ did not work when we first tried, but it did work after some helpful algebraic simplification.

The main property we used here is that $\dfrac{(x-2)(x+6)}{x(x-2)}$ and $\dfrac{x+6}x$ are equal everywhere except at $x = 2$. In other words, they are almost the same function, but the domain of $\dfrac{x+6}x$ includes $x = 2$ while the domain of $\dfrac{(x-2)(x+6)}{x(x-2)}$ does not. Because the limit is only concerned with what happens near $x =2 $, and not at $x = 2$, both limits will be equal. Here is what each of those functions look like.

the graph of (x-2)(x+6)/(x(x-2)), with a hole at (2,4).
$$f(x) = \dfrac{(x-2)(x+6)}{x(x-2)}$$
the graph of (x+6)/x, with a no hole at (2,4).
$$g(x) = \dfrac{(x+6)}{x}$$
Remember, limits don't care what happens when $x = a$, only what happens for $x$-values near $a$.

In essence, we factored out the part of the numerator and denominator that was equal to 0 when $x = 2$, that is, we factored out $(x-2)$. By factoring out the root that was causing the $0$ in the numerator and the denominator, we could then find a algebraically sound way to eliminate the parts causing the limit to be become $0/0$ when we initially tried plugging in $x = 2$.

Let's add this limit property to our list from the previous section.

Limit Property 10

If $f(x) = g(x)$ for all $x$ except at $x = a$, then $\lim\limits_{x\to a} f(x) = \lim\limits_{x\to a} g(x)$.


We will use this property frequently when simplifying limits.

One more thing to discuss before moving on is that the $0/0$ we initially got in the previous example is called an indeterminate form. This means that we cannot immediately determine the value the limit and we must do more work. Previously in your math career, zero in the denominator has meant undefined. However, that will only be true if the numerator isn’t also zero, and even in this case, we will learn how to give more details about a limit than just saying it doesn't exist.

Let's summarize a few different possible outcomes for direction substitution of a limit involving zero and fractions:

If we get $0/0$ when we attempt substitution, the answer isn't necessarily 0. The answer might be 0, might not exist, or might be some other number altogether!

After attempting substitution, watch out for the following situations.

  • $0/0$: Zero in both the numerator and the denominator means the limit is indeterminate, and we should attempt simplifying algebra before trying substitution again. In this case, the final value for the limit could be a specific real number or it might not exist at all.
  • $0/a$: Zero in only the numerator and any non-zero number it the denominator means the whole limit evaluates to $0$.
  • $a/0$: Zero in the denominator and any non-zero number in the numerator means the limit does not exist, though we will learn to be more specific about this case in future sections of this chapter.

There are many more kinds of indeterminate forms, where we can't even immediately tell if the value of the limit is a real number or not, and we will be discussing indeterminate forms at length in the next chapter.

Let’s take a look at a couple of more examples.

Evaluate the limit $\lim\limits_{h\to0} \dfrac{2(-3+h)^2-18}h$

As always, let's start by attempting direct substitution. \[\lim\limits_{h\to0} \dfrac{2(-3+h)^2-18}h = \dfrac{18-18}0 = \dfrac00\]

Once again we get the indeterminate form $0/0$. Before we can attempt factoring, we'll have to expand the numerator into a more standard form polynomial.

$$\begin{align*} \lim\limits_{h\to0} \dfrac{2(-3+h)^2-18}h &= \lim\limits_{h\to0} \dfrac{2(9-6h+h^2)-18}h \\ &= \lim\limits_{h\to0} \dfrac{18-12h+2h^2-18}h \\ &= \lim\limits_{h\to0} \dfrac{-12h+2h^2}h \end{align*}$$

Now that the numerator is simplified, we notice we can factor out an $h$ from the numerator to cancel with the $h$ in the denominator, once again eliminating the portions causing the $0/0$ when we plug in $h = 0$. So let's keep simplifying and after we cancel the $h$ on top and bottom, we will try direct substitution again.

$$\begin{align*} \lim\limits_{h\to0} \dfrac{2(-3+h)^2-18}h &= \lim\limits_{h\to0} \dfrac{-12h+2h^2}h \\ &= \lim\limits_{h\to0} \dfrac{h(-12+2h)}h \\ &= \lim\limits_{h\to0} (-12+2h) \\ &= -12 + 2(0) = -12 \end{align*}$$

Evaluate the limit $\lim\limits_{t\to4} \dfrac{t-\sqrt{3t+4}}{4-t}$

As always, let's start by attempting direct substitution. \[\lim\limits_{t\to4} \dfrac{t-\sqrt{3t+4}}{4-t} = \dfrac{4-\sqrt{16}}{4-4} = \dfrac00.\] Yet again we get the indeterminate form $0/0$. Here the algebraic technique that will help us simplify before factoring is called rationalization.

Recall that rationalizing makes use of the fact that \[(a+b)(a-b) = a^2-b^2.\] So if we start with $(a-b)$, multiplying by $(a+b)$ will result in squaring both $a$ and $b$. This can be done nicely on a fraction if we remember to multiply on both top and bottom of the fraction.

In this case, rationalizing looks like $$\begin{align*} \lim\limits_{t\to4} \dfrac{t-\sqrt{3t+4}}{4-t} &= \lim\limits_{t\to4} \dfrac{(t-\sqrt{3t+4})}{(4-t)}\cdot\dfrac{t+\sqrt{3t+4}}{t+\sqrt{3t+4}} \\ &= \lim\limits_{t\to4} \dfrac{t^2-(3t+4)}{(4-t)(t+\sqrt{3t+4})} \\ &= \lim\limits_{t\to4} \dfrac{t^2-3t-4}{(4-t)(t+\sqrt{3t+4})} \end{align*}$$

Notice that we didn’t expand the denominator out as well. Many students learned from previous algebra classes to always multiply parentheses when possible, but it's important to remember that simplification has purpose. In previous classes, the purpose was to teach you to be able to do specific algebra techniques quickly. Now, our purpose is to eventually try and cancel the part that is causing the denominator to be zero when $t = 4$, that is, the $(4-t)$. So we want to leave the $(4-t)$ alone in the hopes we can factor a $(4-t)$ from the numerator and then cancel like terms.

Fortunately, the numerator indeed factors to \[t^2-3t-4 = (t-4)(t+1).\] We can factor a $-1$ out of either the $(t-4)$ in the numerator or the $(4-t)$ in the denominator to now get the terms to match and cancel. We'll choose the denominator. Thus $$\begin{align*} \lim\limits_{t\to4} \dfrac{t-\sqrt{3t+4}}{4-t} &= \lim\limits_{t\to4} \dfrac{t^2-3t-4}{(4-t)(t+\sqrt{3t+4})} \\ &= \lim\limits_{t\to4} \dfrac{(t-4)(t+1)}{-(t-4)(t+\sqrt{3t+4})} \\ &= \lim\limits_{t\to4} \dfrac{(t+1)}{-(t+\sqrt{3t+4})} \\ &= \dfrac{4+1}{-(4+\sqrt{16})} = \dfrac5{-8} \end{align*}$$


Try out these three algebraic techniques for simplifying $0/0$ limits with the following practice problems yourself.







To recap, we’ve taken a look at a few limits in which direct substitution gave the indeterminate form $0/0$ and we now have a few algebraic techniques to try in these cases.

Let’s take a look at another kind of problem that can arise in computing some limits involving piecewise functions. Note that piecewise functions are not included in the list of functions where direct substitution is guaranteed to work from the end of the limit properties section, because the function can sometimes jump from one value to another when its formula changes.

Given the function $g(y) = \begin{cases} y^2+5 & \text{ if } y \lt -2 \\ 1-3y & \text{ if } y \geq -2 \end{cases}$ Compute the following limits.

  1. $\lim\limits_{y\to6} g(y)$
  2. $\lim\limits_{y\to-2} g(y)$
  1. There really isn’t a whole lot to do for this part. In doing limits recall that we must always look at what’s happening on both sides of the point in question as we move in towards the value of the limit variable. In this case, $y$-values taken close enough to $y = 6$ will all be in the second interval for the function (where $y \geq -2$). This means that we can just use the formula for $g(y)$ where $y \geq -2$ to evaluate this limit. \[\lim\limits_{y\to6} g(y) = \lim\limits_{y\to6} (1-3y) = 1-3(6) = -17.\]
  2. This part is the real point to this problem. As we look at $y$-values on both sides of $y = -2$, we see that values on the right side fall in the second interval ($y \geq -2$), while values on the left side of $y = -2$ fall in the first interval ($y \lt -2$). In other words, we can’t just plug into a single piecewise formula of $g(y)$ because neither of the domain intervals entirely contain both sides of $y = -2$, and we need to know what is happening on both sides of the point to evaluate the limit.
    However, if we pick one side of the limit at a time, then we can simply pick the corresponding formula to use to evaluate the one-sided limit. Recall from the section on one-sided limits that if two one-sided limits exist and evaluate to the same value then the two-sided limit will also exist and have that same value. Let's do the one-sided limits. $$\begin{align*} \lim\limits_{y\to-2^-}g(y) & = \lim\limits_{y\to-2^-} (y^2+5) \text{ since } y \to -2^- \text{ implies } y \lt -2\\ &=(-2)^2+5 = 9\\ \lim\limits_{y\to-2^+}g(y) & = \lim\limits_{y\to-2^+} (1-3y) \text{ since } y \to -2^+ \text{ implies } y \gt -2\\ &=1-3(-2) = 7 \end{align*}$$ Thus $\lim\limits_{y\to-2^-}g(y) \not= \lim\limits_{y\to-2^+}g(y)$, which means that the two-sided limit does not exist.


So sometimes limits of piecewise functions don't exist at the endpoint of the domain of one of its pieces, but it is quite simple to construct examples where the limits do exist. Here's a slightly modified version of the second part of the above problem to illustrate this.

Given the function $g(y) = \begin{cases} y^2+5 & \text{ if } y \lt -2 \\ 3-3y & \text{ if } y \geq -2 \end{cases}$ Evaluate the limit $\lim\limits_{y\to-2}g(y)$.

Once again, we need to evaluate the one-sided limits separately, since there are different formulas for $y$ values on the right side of $y=-2$ and on the left side of $y=-2$.

$$\begin{align*} \lim\limits_{y\to-2^-}g(y) & = \lim\limits_{y\to-2^-} (y^2+5) \text{ since } y \to -2^- \text{ implies } y \lt -2\\ &=(-2)^2+5 = 9\\ \lim\limits_{y\to-2^+}g(y) & = \lim\limits_{y\to-2^+} (3-3y) \text{ since } y \to -2^+ \text{ implies } y \gt -2\\ &=3-3(-2) = 9 \end{align*}$$

Thus $\lim\limits_{y\to-2^-}g(y) = 9 = \lim\limits_{y\to-2^+}g(y)$, so the two-sided limit does exist and $\lim\limits_{y\to-2}g(y) = 9$.




Squeeze Theorem

There is one more limit technique we can use that we'll cover this section. Before we introduce it, we will need a new fact about limits that will help us to do this.

If $f(x) \leq g(x)$ for all $x$ in $(a,b)$ (except possibly at $x = c$, where $c$ is also in $(a,b)$), then $\lim\limits_{x\to c}f(x) \leq \lim\limits_{x\to c}g(x)$, assuming both limits exist.

The intuition here is quite straightforward: if the output values of $f(x)$ never exceed those of $g(x)$, then the same is true of the corresponding limits since those output values are precisely what determine the value of the limit.

Note that we excluded $x = c$ when requiring $f(x) \leq g(x)$, because the limits also ignore what happens at $x = c$. This will be particularly useful for us in the case where either $f(c)$ or $g(c)$ doesn't exist, but the limit still exists.

This fact is the basis for the following theorem.

Squeeze Theorem

Suppose for all $x$ in the interval $(a,b)$ (except possibly at $x = c$, where $c$ is also in $(a,b)$, we have \[f(x) \leq g(x) \leq h(x).\] Further suppose that $\lim\limits_{x\to c}f(x) = L = \lim\limits_{x\to c} h(x)$. Then \[\lim\limits_{x\to c} g(x) = L.\]


This time we are comparing three functions, but the idea is largely the same as before. Since $g(x) \geq f(x)$ and $\lim\limits_{x\to c}f(x) = L$, we know that $\lim\limits_{x\to c}g(x)$ must be at least as big as $L$. Likewise, since $g(x) \geq h(x)$ and $\lim\limits_{x\to c}h(x) = L$, we know that $\lim\limits_{x\to c}g(x)$ can be no bigger than $L$. But the only real number both as big as $L$ and no bigger than $L$ is $L$ itself, so $\lim\limits_{x\to c}g(x)$ must also equal $L$.

Here's a graph example of the Squeeze Theorem.

This is a graph of three unknown functions.  The largest function is \(g\left(x\right)\) and the smallest function is \(f\left(x\right)\).  The function $h\left(x\right)$ is between the other two functions.  All three functions have the same value of L at x=c.

This is a graph of three functions. The highest function $h(x)$ and the lowest function is $f(x)$, while $g(x)$ is in between these two. All three functions approach the same output value $y = L$ at $x=c$.

Since the values of $g(x)$ must be between $f(x)$ and $h(x)$, the graph of $g(x)$ is being "squeezed" between the graphs of $f(x)$ and $h(x)$. When $f(x)$ and $h(x)$ both approach $y = L$ as $x \to c$, they likewise squeeze $g(x)$ to the same value of $y = L$.

Sometimes the Squeeze Theorem is also called the Sandwich Theorem.

Let's take a look at a classic example where the Squeeze Theorem is needed to evaluate a limit.

Evaluate the limit $\lim\limits_{x\to0}x^2\cos\left(\dfrac1x\right)$.

If we try direct substitution, we get a value of $0^2\cos(1/0)$, but the division by zero inside of cosine causes this method to fail. Likewise none of the algebra techniques we've reviewed this section can do anything to help us simplify the limit.

Before we can use the Squeeze Theorem, we have to identify what three functions will take the role of $f(x)$, $g(x)$, and $h(x)$. We want $x^2\cos(1/x)$ to be our $g(x)$ since the Squeeze Theorem will allow us to conclude a value for $\lim\limits_{x\to0} x^2\cos\left(\dfrac1x\right)$, assuming the limits for $f(x)$ and $g(x)$ are known and equal.

Therefore we are going to start with the fact that \[-1 \leq \cos(\theta)\leq 1\] for any angle $\theta$ we put into cosine. In particular, let's plug in $\theta = 1/x$. Then \[-1\leq\cos\left(\dfrac1x\right)\leq1.\] Notice that this inequality is not true when $x = 0$ since we would have a division by $0$ error, but that's ok since the limit (and hence the Squeeze Theorem) ignores what happens at $x = 0$.

We almost have $x^2\cos(1/x)$ in the middle, the only part we are missing is the $x^2$. So let's multiply the inequality through by $x^2$ to get \[-x^2 \leq x^2 \cos\left(\dfrac1x\right) \leq x^2.\]

Thus the middle function is now the function we care about, $x^2\cos(1/x)$, and we are comparing it to two much simpler functions above and below it, $x^2$ and $-x^2$, which will be our $h(x)$ and $f(x)$ respectively.

Lastly, before we can use the Squeeze Theorem, we have to verify the limits as $x\to0$ of the two bounding functions. \[\lim\limits_{x\to0}x^2 = 0 \hspace{4em} \lim\limits_{x\to0}-x^2 = 0\] Since these two limits are both equal to $0$, we can now invoke the Squeeze Theorem and conclude \[\lim\limits_{x\to0}x^2\cos\left(\dfrac1x\right) = 0.\] Here is a graph of the situation.

This graph consists of three functions.  First is \(f\left(x\right) = {{x}^{2}}\cos \left( \frac{1}{x} \right)\) that is a wave function with decreasing amplitude as it approaches the y-axis.  Above this function is the graph of \(x^{2}\) and this graph just touches all the peaks of \(f\left(x\right)\).  Below the graph of \(f\left(x\right)\) is the graph of \(-x^{2}\) and this just touches all the valleys of \(f\left(x\right)\).


We've seen multiple algebraic techniques for simplifying limits, how to evaluate limits involving piecewise functions, and how to use the Squeeze Theorem to evaluate limits. These techniques will be especially helpful when we get to the next chapter and see many limits that require these tools.

Practice Problems

Evaluate each limit, if it exists.

  1. $\lim\limits_{x\to2}(8-3x+12x^2)$

  2. We know that the first thing that we should try to do is simply plug in the value and see if we can compute the limit.

    $$\mathop {\lim }\limits_{x \to 2} \left( {8 - 3x + 12{x^2}} \right) = 8 - 3\left( 2 \right) + 12\left( 4 \right) = \require{bbox} \bbox[2pt,border:1px solid black]{{50}}$$

    Success!


  3. $\displaystyle \mathop {\lim }\limits_{t \to \, - 3} \frac{{6 + 4t}}{{{t^2} + 1}}$

  4. We know that the first thing that we should try to do is simply plug in the value and see if we can compute the limit.

    $$\mathop {\lim }\limits_{t \to - 3} \frac{{6 + 4t}}{{{t^2} + 1}} = \frac{{ - 6}}{{10}} = \require{bbox} \bbox[2pt,border:1px solid black]{{ - \frac{3}{5}}}$$

    Success!


  5. $\displaystyle \mathop {\lim }\limits_{x \to \, - 5} \frac{{{x^2} - 25}}{{{x^2} + 2x - 15}}$

  6. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. We’ll need to do some more work before we make that conclusion. All we need to do here is some simplification and then we’ll reach a point where we can plug in the value.

    $$\mathop {\lim }\limits_{x \to \, - 5} \frac{{{x^2} - 25}}{{{x^2} + 2x - 15}} = \mathop {\lim }\limits_{x \to \, - 5} \frac{{\left( {x - 5} \right)\left( {x + 5} \right)}}{{\left( {x - 3} \right)\left( {x + 5} \right)}} = \mathop {\lim }\limits_{x \to \, - 5} \frac{{x - 5}}{{x - 3}} = \require{bbox} \bbox[2pt,border:1px solid black]{{\frac{5}{4}}}$$

  7. $\displaystyle \mathop {\lim }\limits_{z \to 8} \frac{{2{z^2} - 17z + 8}}{{8 - z}}$

  8. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. We’ll need to do some more work before we make that conclusion. All we need to do here is some simplification and then we’ll reach a point where we can plug in the value.

    $$\mathop {\lim }\limits_{z \to 8} \frac{{2{z^2} - 17z + 8}}{{8 - z}} = \mathop {\lim }\limits_{z \to 8} \frac{{\left( {2z - 1} \right)\left( {z - 8} \right)}}{{ - \left( {z - 8} \right)}} = \mathop {\lim }\limits_{z \to 8} \frac{{2z - 1}}{{ - 1}} = \require{bbox} \bbox[2pt,border:1px solid black]{{ - 15}}$$

  9. $\displaystyle \mathop {\lim }\limits_{y \to 7} \frac{{{y^2} - 4y - 21}}{{3{y^2} - 17y - 28}}$

  10. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. We’ll need to do some more work before we make that conclusion. All we need to do here is some simplification and then we’ll reach a point where we can plug in the value.

    $$\mathop {\lim }\limits_{y \to 7} \frac{{{y^2} - 4y - 21}}{{3{y^2} - 17y - 28}} = \mathop {\lim }\limits_{y \to 7} \frac{{\left( {y - 7} \right)\left( {y + 3} \right)}}{{\left( {3y + 4} \right)\left( {y - 7} \right)}} = \mathop {\lim }\limits_{y \to 7} \frac{{y + 3}}{{3y + 4}} = \frac{{10}}{{25}} = \require{bbox} \bbox[2pt,border:1px solid black]{{\frac{2}{5}}}$$

  11. $\displaystyle \mathop {\lim }\limits_{h \to 0} \frac{{{{\left( {6 + h} \right)}^2} - 36}}{h}$

  12. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. We’ll need to do some more work before we make that conclusion. All we need to do here is some simplification and then we’ll reach a point where we can plug in the value.

    $$\mathop {\lim }\limits_{h \to 0} \frac{{{{\left( {6 + h} \right)}^2} - 36}}{h} = \mathop {\lim }\limits_{h \to 0} \frac{{36 + 12h + {h^2} - 36}}{h} = \mathop {\lim }\limits_{h \to 0} \frac{{h\left( {12 + h} \right)}}{h} = \mathop {\lim }\limits_{h \to 0} \left( {12 + h} \right) = \require{bbox} \bbox[2pt,border:1px solid black]{{12}}$$

  13. $\displaystyle \mathop {\lim }\limits_{z \to 4} \frac{{\sqrt z - 2}}{{z - 4}}$

  14. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. We’ll need to do some more work before we make that conclusion. All we need to do here is some simplification and then we’ll reach a point where we can plug in the value.

    $$\mathop {\lim }\limits_{z \to 4} \frac{{\sqrt z - 2}}{{z - 4}} = \mathop {\lim }\limits_{z \to 4} \frac{{\left( {\sqrt z - 2} \right)}}{{\left( {z - 4} \right)}}\frac{{\left( {\sqrt z + 2} \right)}}{{\left( {\sqrt z + 2} \right)}} = \mathop {\lim }\limits_{z \to 4} \frac{{z - 4}}{{\left( {z - 4} \right)\left( {\sqrt z + 2} \right)}} = \mathop {\lim }\limits_{z \to 4} \frac{1}{{\sqrt z + 2}} = \require{bbox} \bbox[2pt,border:1px solid black]{{\frac{1}{4}}}$$

  15. $\displaystyle \mathop {\lim }\limits_{x \to \, - 3} \frac{{\sqrt {2x + 22} - 4}}{{x + 3}}$

  16. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. Simply factoring will not do us much good here so in this case it looks like we’ll need to rationalize the numerator.

    $$\begin{align*}\mathop {\lim }\limits_{x \to \, - 3} \frac{{\sqrt {2x + 22} - 4}}{{x + 3}} & = \mathop {\lim }\limits_{x \to \, - 3} \frac{{\left( {\sqrt {2x + 22} - 4} \right)}}{{\left( {x + 3} \right)}}\cdot\frac{{\left( {\sqrt {2x + 22} + 4} \right)}}{{\left( {\sqrt {2x + 22} + 4} \right)}} = \mathop {\lim }\limits_{x \to \, - 3} \frac{{2x + 22 - 16}}{{\left( {x + 3} \right)\left( {\sqrt {2x + 22} + 4} \right)}}\\ & = \mathop {\lim }\limits_{x \to \, - 3} \frac{{2\left( {x + 3} \right)}}{{\left( {x + 3} \right)\left( {\sqrt {2x + 22} + 4} \right)}} = \mathop {\lim }\limits_{x \to \, - 3} \frac{2}{{\sqrt {2x + 22} + 4}} = \frac{2}{8} = \require{bbox} \bbox[2pt,border:1px solid black]{{\frac{1}{4}}}\end{align*}$$

  17. $\displaystyle \mathop {\lim }\limits_{x \to 0} \frac{x}{{3 - \sqrt {x + 9} }}$

  18. Recall the basic ideas for computing limits that we looked at in this section. In this case we see that if we plug in the value we get 0/0. Remember that this DOES NOT mean that the limit doesn’t exist. Simply factoring will not do us much good here so in this case it looks like we’ll need to rationalize the numerator.

    $$\begin{align*}\mathop {\lim }\limits_{x \to 0} \frac{x}{{3 - \sqrt {x + 9} }} & = \mathop {\lim }\limits_{x \to 0} \frac{x}{{\left( {3 - \sqrt {x + 9} } \right)}}\cdot\frac{{\left( {3 + \sqrt {x + 9} } \right)}}{{\left( {3 + \sqrt {x + 9} } \right)}} = \mathop {\lim }\limits_{x \to 0} \frac{{x\left( {3 + \sqrt {x + 9} } \right)}}{{9 - \left( {x + 9} \right)}}\\ & = \mathop {\lim }\limits_{x \to 0} \frac{{x\left( {3 + \sqrt {x + 9} } \right)}}{{ - x}} = \mathop {\lim }\limits_{x \to 0} \frac{{3 + \sqrt {x + 9} }}{{ - 1}} = \require{bbox} \bbox[2pt,border:1px solid black]{{ - 6}}\end{align*}$$

  19. Given the function $$f\left( x \right) =\begin{cases} 7 - 4x & x\lt 1 \\ x^2 + 2 & x \geq 1\\ \end{cases}$$ evaluate the following limits, if they exist.
    1. $\lim\limits_{x\to-6}f(x)$
    2. $\lim\limits_{x\to1}f(x)$

    a. For this part we know that $-6\lt 1$ and so there will be values of x on both sides of -6 in the range $x \lt 1$ and so we can assume that, in the limit, we will have $x\lt 1$. This will allow us to use the piece of the function in that range and then just use standard limit techniques to compute the limit. $$\mathop {\lim }\limits_{x \to \, - 6} f\left( x \right) = \mathop {\lim }\limits_{x \to \, - 6} \left( {7 - 4x} \right) = \require{bbox} \bbox[2pt,border:1px solid black]{{31}}$$




    b. This part is going to be different from the previous part. We are looking at the limit at $x=1$ and that is the “cut–off” point in the piecewise functions. Recall from the discussion in the section, that this means that we are going to have to look at the two one sided limits.

    $$\mathop {\lim }\limits_{x \to {1^{\, - }}} f\left( x \right) = \mathop {\lim }\limits_{x \to {1^{\, - }}} \left( {7 - 4x} \right) = \underline 3 \hspace{0.25in}\hspace{0.25in}{\mbox{because }}x \to {1^ - }{\mbox{ implies that }}x \lt 1$$ $$\mathop {\lim }\limits_{x \to {1^{\, + }}} f\left( x \right) = \mathop {\lim }\limits_{x \to {1^{\, + }}} \left( {{x^2} + 2} \right) = \underline 3 \hspace{0.25in}\hspace{0.25in}{\mbox{because }}x \to {1^ + }{\mbox{ implies that }}x \gt 1$$

    So, in this case, we can see that, $$\mathop {\lim }\limits_{x \to {1^{\, - }}} f\left( x \right) = \mathop {\lim }\limits_{x \to {1^{\, + }}} f\left( x \right) = 3$$ and so we know that the overall limit must exist and, $$\mathop {\lim }\limits_{x \to 1} f\left( x \right) = \require{bbox} \bbox[2pt,border:1px solid black]{3}.$$


  20. Given $$h(z) = \begin{cases} 6z & z \leq -4 \\ 1 - 9z & z \gt -4\\ \end{cases}$$ evaluate the following limits, if they exist.

    1. $\lim\limits_{z\to 7}h(z)$
    2. $\lim\limits_{z\to-4}h(z)$

    a. For this part we know that $7\gt -4$ and so there will be values of $z$ on both sides of 7 in the range $z \gt -4$ and so we can assume that, in the limit, we will have $z \gt -4$. This will allow us to use the piece of the function in that range and then just use standard limit techniques to compute the limit.

    $$\mathop {\lim }\limits_{z \to 7} h\left( z \right) = \mathop {\lim }\limits_{z \to 7} \left( {1 - 9z} \right) = \require{bbox} \bbox[2pt,border:1px solid black]{{ - 62}}$$


    b. This part is going to be different from the previous part. We are looking at the limit at $z=-4$ and that is the “cut–off” point in the piecewise functions. Recall from the discussion in the section, that this means that we are going to have to look at the two one sided limits.

    $$\mathop {\lim }\limits_{z \to \, - {4^{\, - }}} h\left( z \right) = \mathop {\lim }\limits_{z \to \, - {4^{\, - }}} 6z = \underline { - 24} \hspace{0.25in}\hspace{0.25in}{\mbox{because }}z \to - {4^ - }{\mbox{ implies that }}z \lt - 4$$ $$\mathop {\lim }\limits_{z \to \, - {4^{\, + }}} h\left( z \right) = \mathop {\lim }\limits_{z \to \, - {4^{\, + }}} \left( {1 - 9z} \right) = \underline {37} \hspace{0.25in}{\mbox{because }}z \to - {4^ + }{\mbox{ implies that }}z \gt - 4$$

    So, in this case, we can see that, $$\mathop {\lim }\limits_{z \to \, - {4^{\, - }}} h\left( z \right) = - 24 \ne 37 = \mathop {\lim }\limits_{z \to \, - {4^{\, + }}} h\left( z \right)$$ and so we know that the overall limit does not exist.


  21. Evaluate $\lim\limits_{x\to5}(10+|x-5|)$, if it exists.

  22. Recall the definition of the absolute value function. $$|p| = \begin{cases} p & p\geq 0\\ -p & p\lt 0 \\ \end{cases}.$$ So, because the function inside the absolute value is zero at $x=5$, we can see that, $$|x-5| = \begin{cases} x - 5 & x\geq 5\\ -(x-5) & x \lt 5\\ \end{cases}.$$

    This means that we are being asked to compute the limit at the “cut–off” point in a piecewise function and so, as we saw in this section, we’ll need to look at two one-sided limits in order to determine if this limit exists (and its value if it does exist).

    $$\mathop {\lim }\limits_{x \to {5^{\, - }}} \left( {10 + \left| {x - 5} \right|} \right) = \mathop {\lim }\limits_{x \to {5^{\, - }}} \left( {10 - \left( {x - 5} \right)} \right) = \mathop {\lim }\limits_{x \to {5^{\, - }}} \left( {15 - x} \right) = 10\hspace{0.25in}{\mbox{recall }}x \to {5^ - }{\mbox{ implies }}x \lt 5$$ $$\mathop {\lim }\limits_{x \to {5^{\, + }}} \left( {10 + \left| {x - 5} \right|} \right) = \mathop {\lim }\limits_{x \to {5^{\, + }}} \left( {10 + \left( {x - 5} \right)} \right) = \mathop {\lim }\limits_{x \to {5^{\, + }}} \left( {5 + x} \right) = 10\hspace{0.25in}{\mbox{recall }}x \to {5^ + }{\mbox{ implies }}x \gt 5$$

    So, for this problem, we can see that, $$\mathop {\lim }\limits_{x \to {5^{\, - }}} \left( {10 + \left| {x - 5} \right|} \right) = \mathop {\lim }\limits_{x \to 5 + } \left( {10 + \left| {x - 5} \right|} \right) = 10$$ and so the overall limit must exist and, $$\mathop {\lim }\limits_{x \to {5}} \left( {10 + \left| {x - 5} \right|} \right) = \require{bbox} \bbox[2pt,border:1px solid black]{{10}}.$$


  23. Evaluate $\lim\limits_{t\to-1}\frac{t+1}{|t+1|}$, if it exists.

  24. Recall the definition of the absolute value function. $$|p| = \begin{cases} p & p\geq 0\\ -p & p\lt 0 \\ \end{cases}.$$ So, because the function inside the absolute value is zero at $t=-1$, we can see that, $$|t+1| = \begin{cases} t+1& t\geq -1\\ -(t+1) & t \lt -1\\ \end{cases}.$$

    This means that we are being asked to compute the limit at the “cut–off” point in a piecewise function and so, as we saw in this section, we’ll need to look at two one-sided limits in order to determine if this limit exists (and its value if it does exist).

    $$\mathop {\lim }\limits_{t \to \, - {1^{\, - }}} \frac{{t + 1}}{{\left| {t + 1} \right|}} = \mathop {\lim }\limits_{t \to \, - {1^{\, - }}} \frac{{t + 1}}{{ - \left( {t + 1} \right)}} = \mathop {\lim }\limits_{t \to \, - {1^{\, - }}} - 1 = - 1\hspace{0.25in}{\mbox{recall }}t \to - {1^ - }{\mbox{ implies }}t \lt - 1$$ $$\mathop {\lim }\limits_{t \to \, - {1^{\, + }}} \frac{{t + 1}}{{\left| {t + 1} \right|}} = \mathop {\lim }\limits_{t \to \, - {1^{\, + }}} \frac{{t + 1}}{{t + 1}} = \mathop {\lim }\limits_{t \to \, - {1^{\, + }}} 1 = 1\hspace{0.25in}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{\mbox{recall }}t \to - {1^ + }{\mbox{ implies }}t \gt - 1$$

    So, for this problem, we can see that, $$\mathop {\lim }\limits_{t \to \, - {1^{\, - }}} \frac{{t + 1}}{{\left| {t + 1} \right|}} = - 1 \ne 1 = \mathop {\lim }\limits_{t \to \, - {1^{\, + }}} \frac{{t + 1}}{{\left| {t + 1} \right|}}$$ and so the overall limit does not exist.


  25. Given that $7x \leq f(x) \leq 3x^2+2$ for all $x$, determine the value of $\lim\limits_{x\to 2}f(x)$.

  26. This problem is set up to use the Squeeze Theorem. First, we already know that $f(x)$ is always between two other functions. Now all that we need to do is verify that the two “outer” functions have the same limit at $x=2$ and if they do we can use the Squeeze Theorem to get the answer.

    $$\mathop {\lim }\limits_{x \to 2} 7x = 14\hspace{0.75in}\mathop {\lim }\limits_{x \to 2} \left( {3{x^2} + 2} \right) = 14$$

    So, we have, $$\mathop {\lim }\limits_{x \to 2} 7x = \mathop {\lim }\limits_{x \to 2} \left( {3{x^2} + 2} \right) = 14$$ and so by the Squeeze Theorem we must also have, $$\mathop {\lim }\limits_{x \to 2} f\left( x \right) = 14.$$


  27. Use the Squeeze Theorem to determine the value of $\lim\limits_{x\to 0} x^4 \sin\left(\frac{\pi}{x}\right)$.

  28. We first need to determine lower/upper functions. We’ll start off by acknowledging that provided $x\neq 0$ (which we know it won’t be because we are looking at the limit as $x\to0$) we will have, $$- 1 \le \sin \left( {\frac{\pi }{x}} \right) \le 1.$$

    Now, simply multiply through this by $x^4$ to get, $$- {x^4} \le {x^4}\sin \left( {\frac{\pi }{x}} \right) \le {x^4}.$$

    Before proceeding note that we can only do this because we know that $x^4\gt 0$ for $x\neq 0$. Recall that if we multiply through an inequality by a negative number we would have had to switch the inequality signs. So, for instance, had we multiplied through by $x^3$, we would have had issues because this is positive if $x\gt0$ and negative if $x\lt 0$.

    Now, let’s get back to the problem. We have a set of lower/upper functions and clearly, $$\mathop {\lim }\limits_{x \to 0} {x^4} = \mathop {\lim }\limits_{x \to 0} \left( { - {x^4}} \right) = 0$$ Therefore, by the Squeeze Theorem we must have, $$\mathop {\lim }\limits_{x \to 0} {x^4}\sin \left( {\frac{\pi }{x}} \right) = 0.$$


Assignment Problems

Evaluate each limit, if it exists.
  1. $\lim\limits_{x\to-9}(1-4x^3)$
  2. $\lim\limits_{y\to 1}(6y^4-7y^3+12y+25)$
  3. $\lim\limits_{t\to 0}\frac{t^2+6}{t^2-3}$
  4. $\lim\limits_{z\to4}\frac{6z}{2+3z^2}$
  5. $\lim\limits_{w\to-2}\frac{w+2}{w^2-6w-16}$
  6. $\lim\limits_{t\to-5}\frac{t^2+6t+5}{t^2+2t-15}$
  7. $\lim\limits_{x\to3}\frac{5x^2-16x+3}{9-x^2}$
  8. $\lim\limits_{z\to 1}\frac{10-9z-z^2}{3z^2+4z-7}$
  9. $\lim\limits_{x\to-2}\frac{x^3+8}{x^2+8x+12}$
  10. $\lim\limits_{t\to8}\frac{t(t-5)-24}{t^2-8t}$
  11. $\lim\limits_{w\to-4}\frac{w^2-16}{(w-2)(w+3)-6}$
  12. $\lim\limits_{h\to 0}\frac{(2+h)^3-8}{h}$
  13. $\lim\limits_{h\to 0}\frac{(1+h)^4-1}{h}$
  14. $\lim\limits_{t\to 25}\frac{5-\sqrt{t}}{t-25}$
  15. $\lim\limits_{x\to 2}\frac{x-2}{\sqrt{2}-\sqrt{x}}$
  16. $\lim\limits_{z\to 6}\frac{z-6}{\sqrt{3z-2}-4}$
  17. $\lim\limits_{z\to-2}\frac{3-\sqrt{1-4z}}{2z+4}$
  18. $\lim\limits_{t\to 3}\frac{3-t}{\sqrt{t+1}-\sqrt{5t-11}}$
  19. $\lim\limits_{x\to 7}\frac{\frac17 - \frac{1}{x}}{x-7}$
  20. $\lim\limits_{y\to-1}\frac{\frac{1}{4+3y}+\frac{1}{y}}{y+1}$

  21. Given the function $$f(x) = \begin{cases} 15 & x \lt -4 \\ 6-2x & x\geq -4\\ \end{cases}$$ evaluate the following limits, if they exist.
    1. $\lim\limits_{x\to -7}f(x)$
    2. $\lim\limits_{x\to-4}f(x)$
  22. Given the function $$g(t) = \begin{cases} t^2-t^3 & t \lt 2 \\ 5t-14 & t\geq 2\\ \end{cases}$$ evaluate the following limits, if they exist.
    1. $\lim\limits_{t\to -3}g(t)$
    2. $\lim\limits_{t\to2}g(t)$
  23. Given the function $$h(w) = \begin{cases} 2w^2 & w \leq 6 \\ w-8 & w \gt 6\\ \end{cases}$$ evaluate the following limits, if they exist.
    1. $\lim\limits_{w\to6}h(w)$
    2. $\lim\limits_{w\to2}h(w)$
  24. Given the function $$g(x) = \begin{cases} 5x+24 & x \lt -3 \\ x^2 & -3 \leq x \lt 4\\ 1-2x & x\geq 4\\ \end{cases}$$ evaluate the following limits, if they exist.
    1. $\lim\limits_{x\to -3}g(x)$
    2. $\lim\limits_{x\to0}g(x)$
    3. $\lim\limits_{x\to4}g(x)$
    4. $\lim\limits_{x\to12}g(x)$

For the following problems, evaluate the limit, if it exists.

  1. $\lim\limits_{t\to-10}(|t+10|+3)$
  2. $\lim\limits_{x\to4}(9+|8-2x|)$
  3. $\lim\limits_{h\to 0}\frac{|h|}{h}$
  4. $\lim\limits_{t\to 2}\frac{2-t}{|t-2|}$
  5. $\lim\limits_{w\to-5}\frac{|2w+10|}{w+5}$
  6. $\lim\limits_{x\to 4}\frac{|x-4|}{x^2-16}$

  7. Given that $3+2x \leq f(x) \leq x - 1$ for all $x$, determine the value of $\lim\limits_{x\to-4}f(x)$.
  8. Given that $\sqrt{x+7} \leq f(x) \leq \frac{x-1}{2}$ for all $x$, determine the value of $\lim\limits_{x\to9}f(x)$.
  9. Use the Squeeze Theorem to determine the value of $\lim\limits_{x\to 0}x^4\cos\left(\frac{3}{x}\right)$.
  10. Use the Squeeze Theorem to determine the value of $\lim\limits_{x\to 0}x\cos\left(\frac{3}{x}\right)$.
  11. Use the Squeeze Theorem to determine the value of $\lim\limits_{x\to 1}(x-1)^2\cos\left(\frac{1}{x-1}\right)$.