B.2. Substitution to Find a Limit

Let's look at substitution to find a limit, the most straightforward technique we have to find a function's limit at a given point. You can of course practice using our problems with complete solutions.

This approach works when a function (1) is defined at the point of interest and (2) behaves smoothly near that point, meaning there are no jumps or gaps there. For example, let's consider these six functions, each at a different point:

  • a linear function: โˆ’4๐‘ฅ +2 at ๐‘ฅ =6;
  • a polynomial: ๐‘ฅ3 โˆ’5๐‘ฅ +7 at ๐‘ฅ = โˆ’1;
  • a rational function (a quotient of two polynomials): ๐‘ฅ3โˆ’1๐‘ฅ5โˆ’2๐‘ฅ3+1 at ๐‘ฅ =2;
  • an exponential function: ๐‘’โˆ’๐‘ฅ at ๐‘ฅ =0.5;
  • a logarithmic function: lnโก(๐‘ฅ2 +1) at ๐‘ฅ =0;
  • a trig function: sinโก(2๐‘ฅ) at ๐‘ฅ =๐œ‹/4.

In each of these cases you can imagine a rough picture of the function's graph, and then see in your mind's eye how the value of the limit at the point of interest is simply equal to the function's value at that point.

The box below contains an interactive Desmos calculator for each of the functions above, with that function's particular point of interest marked. As you can see in each case, the limit simply equals the function's value at that point: lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ)=๐‘“(๐‘Ž).

The key take-away:

Substitution to find a limit
When finding the limit lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ), if you substitute ๐‘ฅ =๐‘Ž into ๐‘“(๐‘ฅ) and obtain a number for ๐‘“(๐‘Ž) (and don't get "undefined"), then the limit is simply that value ๐‘“(๐‘Ž): lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ)=๐‘“(๐‘Ž)

As you saw in the examples above, when Substitution works you can find the limit easily, often in one line, which makes these problems quick. And we don't want to over-complicate that.

Remember:
A function's value at a point and its limit at that point are two distinct quantities.

At the same time, we want to emphasize again that lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ) and ๐‘“(๐‘Ž) are two distinct quantities. Recall our working definition of limits:

lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ)=๐ฟ

is a number L (if one exists) such that ๐‘“(๐‘ฅ) is as close to L as we want whenever x is sufficiently close to a.

We saw earlier various cases where lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ)โ‰ ๐‘“(๐‘Ž) (figure (a), below). By contrast, for these "nice, smooth functions" the limit does simply equal ๐‘“(๐‘Ž) (figure (b) below).

When using substitution to find a limit, keep in mind the important distinction illustrated by these two figures: (a) Graph with a hole in it, such that f(2) = 5, which does not fall on the line that defines the function everywhere else. (b) A nice smooth parabola, such that every point of the function falls on the curve.

The following problems give you practice at finding limits using Substitution. We'll then examine a few complications below.

Practice Problem 1
Find lim๐‘ฅโ†’โˆ’2(๐‘ฅ3+4). (A) โˆ’4(B) 12(C) โˆ’12(D) โˆ’8(E) None of these
Practice Problem 2
Find lim๐‘ฅโ†’4โˆš9+โˆš4๐‘ฅ. (A) โˆš13(B) โˆš11(C) 5(D) DNE(E) None of these
Practice Problem 3
Find lim๐‘ฅโ†’1lnโก๐‘ฅ๐‘ฅ. (A) 1(B) ๐‘’(C) 0(D) DNE(E) None of these
Practice Problem 4
Find lim๐‘ฅโ†’๐œ‹/2cosโก๐‘ฅ. (A) 1(B) 0(C) 1โˆš2(D) DNE (E) None of these

Substitution and one-sided limits

Let's consider a small complication that arises when we use Substitution to find a one-sided limit. The following example illustrates.

Example 1: One-Sided Limit

Recall the piecewise function we used to introduce one-sided limits:

๐‘“(๐‘ฅ)={โˆ’3for ๐‘ฅ<0โˆ’5for ๐‘ฅโ‰ฅ0

We imagine that at this stage, if we ask you for the value of lim๐‘ฅโ†’0โˆ’๐‘“(๐‘ฅ), you would answer . . .

Graph of piecewise function f(x), which equals -5 for x less than zero, and +5 for x greater than or equal to 0.

Solution.

Clearly lim๐‘ฅโ†’0โˆ’๐‘“(๐‘ฅ) = โˆ’3 โœ“.

But notice that ๐‘“(0) โ‰  โˆ’3; instead, ๐‘“(0) =5. This question illustrates that we need to be careful when attempting to use Substitution at a point where a piecewise function changes from one "piece" to another, as happens here at ๐‘ฅ =0. Fortunately, you now deeply understand the difference between lim๐‘ฅโ†’0โˆ’๐‘“(๐‘ฅ) and ๐‘“(0), and so know that what we actually care about in finding the limit is the function's value L that we can get as close to as we want when approaching ๐‘ฅ =0 from the left (since the limit specifies ๐‘ฅ โ†’0โˆ’). And that means we're interested in the function's expression for ๐‘ฅ <0, ๐‘“(๐‘ฅ) = โˆ’3, even though this is not the expression that defines ๐‘“(0).

As Example 1 illustrates, when finding a one-sided limit at a point where the function's expression changes:

  • if you're approaching ๐‘ฅ =๐‘Ž from the left (๐‘ฅ โ†’๐‘Žโˆ’), then use the expression appropriate for ๐‘ฅ <๐‘Ž.
  • if you're approaching ๐‘ฅ =๐‘Ž from the right (๐‘ฅ โ†’๐‘Ž+), then use the expression appropriate for ๐‘ฅ >๐‘Ž.

We don't intend those bullet points as facts to memorize. Instead, they're just a reminder to keep the meaning of limits in mind when you answer these types of questions, rather than just mindlessly substituting.

Practice Problem 5
Consider the following piecewise function: ๐‘“(๐‘ฅ)={๐‘ฅ2๐‘ฅโ‰ค2โˆ’3๐‘ฅ+5๐‘ฅ>2 Find lim๐‘ฅโ†’2+๐‘“(๐‘ฅ). (A) 4(B) 5(C) โˆ’1(D) Does not exist(E) None of these
Practice Problem 6
Consider the following piecewise function: ๐‘“(๐‘ฅ)=โŽง{ { { {โŽจ{ { { {โŽฉโˆ’2๐‘ฅ+6for ๐‘ฅ<โˆ’๐œ‹2sinโก(4๐‘ฅ)for โˆ’๐œ‹2โ‰ค๐‘ฅโ‰ค1๐‘ฅ3for ๐‘ฅ>1 Find lim๐‘ฅโ†’โˆ’๐œ‹2+๐‘“(๐‘ฅ). (A) ๐œ‹+6(B) 0(C) 1(D) โˆ’๐œ‹38(E) None of these

What about when ๐‘“(๐‘Ž) =non-zero number0, and so is undefined?

Let's consider another complication: sometimes when you use Substitution to compute ๐‘“(๐‘Ž), you obtain a zero in the denominator but not in the numerator, meaning ๐‘“(๐‘Ž) is undefined. The following example illustrates.

Example 2: ๐‘“(๐‘Ž) =non-zero number0

Find lim๐‘ฅโ†’3โˆ’5๐‘ฅโˆ’3.

Solution.

Given our earlier work, you might immediately recognize that this function has a vertical asymptote at ๐‘ฅ =3. But perhaps you didn't recognize that (or let's pretend that you didn't), and so to find this limit you blithely try Substitution as we did in all of the problems above:

lim๐‘ฅโ†’3โˆ’5๐‘ฅโˆ’3?=โˆ’53โˆ’3=โˆ’50=undefined

The fact that you obtain "undefined" there does not automatically mean that the limit doesn't exist. Instead, it means we need to think more deeply: Substitution has failed as a tactic, and so we have more work to do.

Hyperbola centered at x=3, and a vertical red line showing the asymptote x=3.

Specifically, once you obtain that particular result, you might now think: "Oh, right. The numerator is non-zero while the denominator goes to zero as ๐‘ฅ โ†’3, and so the function blows up at ๐‘ฅ =3. There must be a vertical asymptote there, and the limit does not exist (DNE)." And that reasoning is correct:

lim๐‘ฅโ†’3โˆ’5๐‘ฅโˆ’3= DNEโœ“

We're providing the graph to illustrate the conclusion, but again encourage you to make such thinking part of your repertoire so you don't have to graph every function to be able to reason correctly. Indeed, you are likely to encounter exam questions where you are not allowed to use a graphing calculator, and so such reasoning is required.

As the preceding example illustrates, when you substitute the limit-value into the function, if you obtain   a non-zero number0,   then you know immediately that the limit does not exist (DNE):

Iflim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ)?=๐‘“(๐‘Ž)=a non-zero number0, then the limit does not exist (DNE).

As the next problem illustrates, while we may quickly conclude that the limit does not exist, the answer choices may require a bit of further reasoning.

Practice Problem 7
Answer without using a graphing calculator: lim๐‘ฅโ†’โˆ’1๐‘ฅ2(๐‘ฅ+1)2= (A) โˆ’14(B) 1(C) 14(D) โˆž(E) โˆ’โˆž
Practice Problem 8
lim๐‘ฅโ†’1cosโก(๐‘ฅ)lnโก(๐‘ฅ) = (A) 0(B) 0.99985(C) 1(D) โˆ’1(E) DNE

Finally, what about when ๐‘“(๐‘Ž) =00, and so is undefined?

Let's consider now an example where substitution gives the result ๐‘“(๐‘Ž) =00.

Example 3: ๐‘“(๐‘Ž) =00 (?!)

Find lim๐‘ฅโ†’2๐‘ฅ2โˆ’4๐‘ฅโˆ’2.

Solution.

We begin, as usual, by trying Substitution:

lim๐‘ฅโ†’2๐‘ฅ2โˆ’4๐‘ฅโˆ’2=4โˆ’42โˆ’2=00

Hmmm. We've seen that if we have non-zero number0, then we know the limit does not exist. But what if we have 00??

That's a different challenge. Let's pause this example for a moment. . .

In nearly all of your homework and test questions, when you try Substitution you'll obtain 0 divided by 0. You then need another tactic to find the limit.

The wrinkle: We wouldn't need the concept of the limit if you could always just substitute ๐‘ฅ =๐‘Ž and find the function's value at the point of interest. Instead, the truth is that when you try Substitution with nearly all of your homework and test questions, you'll obtain 00, "zero divided by zero." That result is known as an indeterminate limit, which is a fancy way of saying "not yet known." This "result" tells you that the actual answer could be anything โ€” you just don't know yet โ€” and so you have more work to do.

Specifically, the 00 result signals that need to use a different method to find the limit. Fortunately, three simple tactics will let you solve most problems: (1) factor; (2) rationalize; (3) use algebra.

We'll look at the first, factoring, on the next screen. Before we do, we've seen the limit in the preceding example before. In fact we used that function to introduce limits. Do you remember what the graph of that function looked like, and how we quickly arrived at that graph? (No worries if not; we're about to revisit the key reasoning and then extend it.)


The Upshot

  1. When finding the limit lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ), if you substitute ๐‘ฅ =๐‘Ž into ๐‘“(๐‘ฅ) and obtain a number for ๐‘“(๐‘Ž) (and don't get "undefined"), then the limit is simply that value ๐‘“(๐‘Ž): lim๐‘ฅโ†’๐‘Ž๐‘“(๐‘ฅ)=๐‘“(๐‘Ž) Hence, your first step in computing any limit should be to try Substitution. If it works and you obtain a number, you're done!
  2. When finding a one-sided limit at an x-value where the function's expression changes, be careful to choose the correct expression depending on whether you are finding the left-hand or right-hand limit.
  3. If you find ๐‘“(๐‘Ž) =non-zero number0, then the limit does not exist (DNE).

What questions or comments do you have about the material on this screen? Please head on over to the Forum and post!