Consider the function f defined by the equation

f(x)=4x242x2.

f is defined for all values of x except x=1, because substitution of x=1 in the expression for f(x) yields the undefined fraction 00. But because 4x24=4(x21)=4(x1)(x+1), if x1 we can simplify the fraction as

f(x)=4x242x2=4(x1)(x+1)2(x1)=2x+2(if x1)

So the graph of f is the line y=2x+2 with one point removed, namely (1,4). This point is shown as a hole in Figure 1.

Figure 1: Graph of f(x)=(4x24)/(2x2)

Now let’s investigate the values of f when x is close to 1 but not equal to 1. Let x take on the values 0.9,0.95,0.99,0.999,0.9999, and so on or take on the values 1.1,1.05,1.01,1.001,1.0001, and so on. The corresponding values of f are shown in the following table.

From this table and graph of f shown in Figure 1, we see that as x gets closer and closer to 1 (on either side of 1), but not equal to 1, f(x) gets closer and closer to 4; the closer x is to 1, the closer f(x) is to 4. More specifically, we can make the values of f(x) as close to 4 as we desire by taking x close enough to 2. We express this by saying that “the limit of f(x) as x approaches 1 is 4” or simply “f(x) approaches 4 as x approaches 1,” or “f(x) tends to 4 as x tends to 1,” and express it symbolically as

limx1f(x)=4

or

f(x)4asx1

In general

Definition 1 (Unofficial Definition): If we can make the values of f(x) as close as we please to a number L by taking x sufficiently close (but not equal) to a, we say “the limit of f(x) as x approaches a is L” and write

limxaf(x)=L

or

f(x)Lasxa

According to the above definition, x approaches a but xa, so the nonexistence or existence of f(x) at x=a or the value of f(a) (if exists) has no bearing on the existence or on the value of limxaf(x). For example, if we define the function g as

g(x)={4x242x2if x13if x=1

then g(x) and f(x)=4x242x2 defined at the beginning of this section are basically the same except when x=1 (see Figure 2(a) and (b))

g(x)=2x+2,(if x1)

therefore

limx1g(x)=4.

(a) Graph of f(x)=4x242x2 (b) Graph of g(x) defined above

Figure 2: As we can see f(x)=g(x) except when x=1, and limx1f(x)=limx1g(x)=4.

For now to evaluate the limits, we use numerical and graphical approaches.

Example 1

Evaluate limx1.2x2

Solution

Let x approach 1.2 from both sides

As the above table shows and we expect from the graph of y=x2 (Figure 3), as x approaches 1.2, y approaches (1.2)2=1.44.

Figure 3: Graph of  y=x2

Example 2

Evaluate limx2x25x+6x2.

Solution

Let's choose some values of x close to 2 and calculate the corresponding values of y=(x25x+6)/(x2). The results are tabulated in the following table.

It appears as if y were approaching the limit 1. To verify this, we factor the numerator and simplify the fraction as

y=x25x+6x2=(x2)(x3)x2=x3(if x2)

From this, it appears that y can be made as near 1 as we please by taking x sufficiently close to 2 (See Figure 4). Hence –1 is the limit of y as x approaches 2.

Figure 4: Graph of  y=x25x+6x2

Example 3

Evaluate limx0sinxx.

Solution

Again we note that the function y=sinx/x is not defined at x=0, but we can construct the following table by choosing some values of x close to 0 and calculate the corresponding values of sinx/x. Recall that sinx means the angle x is measured in radians, so you need to set your calculator in radian mode. (See the Section on Angles).

The graph of y=sinx/x is shown in the following figure. From the above table and this figure, we may conclude

limx0sinxx=1.

Figure 5: Graph of y=sinxx.

 

When Numerical Approach Fails 

 

Read more on when computers may give false answers

 

 

Uniqueness of a Limit

Now let’s consider the sign function y=sgn(x) introduced in the Section on Piecewise-Defined Functions

Example 5

Let the sign function be defined by

\text{sgn}(x)=\left\{\begin{matrix} 1 & \text{if } x>0 \\ 0 & \text{if } x=0\\ -1 & \text{if } x<0 \end{matrix}\right. .

Find limx0sgn(x).

Solution

The graph of this function is shown in the following figure . When x approaches 0 through positive numbers, sgn(x) approaches 1 [although sgn(x)=1 for x>0, we still say sgn(x) approaches 1]. When x approaches 0 through negative numbers, sgn(x) approaches 1. Therefore, there is no single number that sgn(x) approaches as x approaches 0 from either side. Therefore limx0sgn(x) does not exist.

Figure 10: Graph of y=sgn(x)

In general, the limit of f(x) as x approaches a number a (if exists) is unique, because for all x near a, f(x) cannot be near two different numbers at the same time. 

Theorem 1 (Uniqueness of a limit): If limxaf(x)=L1 and limxaf(x)=L2 then L1=L2.