# Calculus/Limits/An Introduction to Limits

 ← Limits/Contents Calculus Finite Limits → Limits/An Introduction to Limits

Limits, the first step into calculus, explain the complex nature of the subject. It is used to define the process of derivation and integration. It is also used in other circumstances to intuitively demonstrate the process of "approaching".

## Introduction

### Intuitive Look into Limits

The limit is one of the greatest tools in the hands of any mathematician. We will give the limit an approach. Because mathematics came only due to approaches... remember?!

We designate limit in the form:

${\displaystyle \lim _{x\to a}f(x)}$

This is read as "The limit of ${\displaystyle f}$  of ${\displaystyle x}$  as ${\displaystyle x}$  approaches ${\displaystyle a}$ ". This is an important thing to remember, it is basic notation which is accepted by the world.

We'll take up later the question of how we can determine whether a limit exists for ${\displaystyle f(x)}$  at ${\displaystyle a}$  and, if so, what it is. For now, we'll look at it from an intuitive standpoint.

Let's say that the function that we're interested in is ${\displaystyle f(x)=x^{2}}$  , and that we're interested in its limit as ${\displaystyle x}$  approaches ${\displaystyle 2}$ . Using the above notation, we can write the limit that we're interested in as follows:

${\displaystyle \lim _{x\to 2}x^{2}}$

One way to try to evaluate what this limit is would be to choose values near 2, compute ${\displaystyle f(x)}$  for each, and see what happens as they get closer to 2. There are two ways to approach values near 2. One is to approach from below, and the other is to approach from above:

 ${\displaystyle x}$  ${\displaystyle f(x)=x^{2}}$ 1.7 1.8 1.9 1.95 1.99 1.999 2.89 3.24 3.61 3.8025 3.9601 3.996

The table above is the case from below.

 ${\displaystyle x}$  ${\displaystyle f(x)=x^{2}}$ 2.3 2.2 2.1 2.05 2.01 2.001 5.29 4.84 4.41 4.2025 4.0401 4.004

The table above is the case from above.

We can see from the tables that as ${\displaystyle x}$  grows closer and closer to 2, ${\displaystyle f(x)}$  seems to get closer and closer to 4, regardless of whether ${\displaystyle x}$  approaches 2 from above or from below. For this reason, we feel reasonably confident that the limit of ${\displaystyle x^{2}}$  as ${\displaystyle x}$  approaches 2 is 4, or, written in limit notation,

${\displaystyle \lim _{x\to 2}x^{2}=4}$

We could have also just substituted 2 into ${\displaystyle x^{2}}$  and evaluated: ${\displaystyle (2)^{2}=4}$ . However, this will not work with all limits.

Now let's look at another example. Suppose we're interested in the behavior of the function ${\displaystyle f(x)={\frac {1}{x-2}}}$  as ${\displaystyle x}$  approaches 2. Here's the limit in limit notation:

${\displaystyle \lim _{x\to 2}{\frac {1}{x-2}}}$

Just as before, we can compute function values as ${\displaystyle x}$  approaches 2 from below and from above. Here's a table, approaching from below:

 ${\displaystyle x}$  ${\displaystyle f(x)={\frac {1}{x-2}}}$ 1.7 1.8 1.9 1.95 1.99 1.999 -3.333 -5 -10 -20 -100 -1000

And here from above:

 ${\displaystyle x}$  ${\displaystyle f(x)={\frac {1}{x-2}}}$ 2.3 2.2 2.1 2.05 2.01 2.001 3.333 5 10 20 100 1000

In this case, the function doesn't seem to be approaching a single value as ${\displaystyle x}$  approaches 2, but instead becomes an extremely large positive or negative number (depending on the direction of approach). Well, one says such a limit does not exist because no finite number is approached. This arises the concept of infinity: an undefined quantity and the limit is also called infinite limit or limit without a bound.

Note that we cannot just substitute 2 into ${\displaystyle {\frac {1}{x-2}}}$  and evaluate as we could with the first example, since we would be dividing by 0.

Both of these examples may seem trivial, but consider the following function:

${\displaystyle f(x)={\frac {x^{2}(x-2)}{x-2}}}$

This function is the same as

${\displaystyle f(x)=\left\{{\begin{matrix}x^{2}&{\text{if }}x\neq 2\\{\mbox{undefined}}&{\text{if }}x=2\end{matrix}}\right.}$

Note that these functions are really completely identical; not just "almost the same," but actually, in terms of the definition of a function, completely the same; they give exactly the same output for every input.

In elementary algebra, a typical approach is to simply say that we can cancel the term ${\displaystyle (x-2)}$  , and then we have the function ${\displaystyle f(x)=x^{2}}$ . However, that would be inaccurate; the function that we have now is not really the same as the one we started with, because it is defined when ${\displaystyle x=2}$  , and our original function was specifically not defined when ${\displaystyle x=2}$ . This may seem like a minor point, but from making this kind of assumptions we can easily derive absurd results, such that ${\displaystyle 0=1}$  (see Mathematical Fallacy § All numbers equal all other numbers in Wikipedia for a complete example). Even without calculus we can avoid this error by stating that:

${\displaystyle f(x)={\frac {x^{2}(x-2)}{x-2}}=x^{2}{\text{ when }}x\neq 2}$

In calculus, we can introduce a more intuitive and also correct way of looking at this type of function. What we want is to be able to say that, although the function isn't defined when ${\displaystyle x=2}$ , it works almost as if it was. It may not get there, but it gets really, really close. For instance, ${\displaystyle f(1.99999)=3.99996}$ . The only question that we have is: what do we mean by "close"?

### Informal Definition of a Limit

As the precise definition of a limit is a bit technical, it is easier to start with an informal definition; we'll explain the formal definition later.

We suppose that a function ${\displaystyle f}$  is defined for ${\displaystyle x}$  near ${\displaystyle c}$  (but we do not require that it be defined when ${\displaystyle x=c}$ ).

Informal definition of a limit

We call ${\displaystyle L}$  the limit of ${\displaystyle f(x)}$  as ${\displaystyle x}$  approaches ${\displaystyle c}$  if ${\displaystyle f(x)}$  becomes close to ${\displaystyle L}$  when ${\displaystyle x}$  is close (but not equal) to ${\displaystyle c}$  , and if there is no other value ${\displaystyle L'}$  with the same property.

When this holds we write

${\displaystyle \lim _{x\to c}f(x)=L}$

or

${\displaystyle f(x)\to L\quad {\text{as}}\quad x\to c}$

Notice that the definition of a limit is not concerned with the value of ${\displaystyle f(x)}$  when ${\displaystyle x=c}$  (which may exist or may not). All we care about are the values of ${\displaystyle f(x)}$  when ${\displaystyle x}$  is close to ${\displaystyle c}$  , on either the left or the right (i.e. less or greater).

Limit can also be understood as: ${\displaystyle x}$  is infinitely approaching to ${\displaystyle c}$  but never equals to ${\displaystyle c}$ , just like the function ${\displaystyle f(x)={\frac {1}{x}}}$ , which infinitely approaches to ${\displaystyle 0}$  but never equals ${\displaystyle 0}$ .

## Basics

### Rules and Identities

Now that we have defined, informally, what a limit is, we will list some rules that are useful for working with and computing limits. You will be able to prove all these once we formally define the fundamental concept of the limit of a function.

First, the constant rule states that if ${\displaystyle f(x)=b}$  (that is, ${\displaystyle f}$  is constant for all ${\displaystyle x}$ ) then the limit as ${\displaystyle x}$  approaches ${\displaystyle c}$  must be equal to ${\displaystyle b}$ . In other words

Constant Rule for Limits

If ${\displaystyle b}$  and ${\displaystyle c}$  are constants then ${\displaystyle \lim _{x\to c}b=b}$ .
Example: ${\displaystyle \lim _{x\to 6}5=5}$

Second, the identity rule states that if ${\displaystyle f(x)=x}$  (that is, ${\displaystyle f}$  just gives back whatever number you put in) then the limit of ${\displaystyle f}$  as ${\displaystyle x}$  approaches ${\displaystyle c}$  is equal to ${\displaystyle c}$ . That is,

Identity Rule for Limits

If ${\displaystyle c}$  is a constant then ${\displaystyle \lim _{x\to c}x=c}$ .
Example: ${\displaystyle \lim _{x\to 6}x=6}$

The next few rules tell us how, given the values of some limits, to compute others.

Operational Identities for Limits
Suppose that ${\displaystyle \lim _{x\to c}f(x)=L}$  and ${\displaystyle \lim _{x\to c}g(x)=M}$  and that ${\displaystyle k}$  is constant. Then

• ${\displaystyle \lim _{x\to c}k\cdot f(x)=k\cdot \lim _{x\to c}f(x)=k\cdot L}$
• ${\displaystyle \lim _{x\to c}{\Big [}f(x)+g(x){\Big ]}=\lim _{x\to c}f(x)+\lim _{x\to c}g(x)=L+M}$
• ${\displaystyle \lim _{x\to c}{\Big [}f(x)-g(x){\Big ]}=\lim _{x\to c}f(x)-\lim _{x\to c}g(x)=L-M}$
• ${\displaystyle \lim _{x\to c}{\Big [}f(x)\cdot g(x){\Big ]}=\lim _{x\to c}f(x)\cdot \lim _{x\to c}g(x)=L\cdot M}$
• ${\displaystyle \lim _{x\to c}{\frac {f(x)}{g(x)}}={\frac {\lim \limits _{x\to c}f(x)}{\lim \limits _{x\to c}g(x)}}={\frac {L}{M}}\quad {\text{ provided }}M\neq 0}$

Notice that in the last rule we need to require that ${\displaystyle M}$  is not equal to 0 (otherwise we would be dividing by zero which is an undefined operation).

These rules are known as identities; they are the scalar product, sum, difference, product, and quotient rules for limits. (A scalar is a constant, and, when you multiply a function by a constant, we say that you are performing scalar multiplication.)

Using these rules we can deduce another. Namely, using the rule for products many times we get that

${\displaystyle \lim _{x\to c}f(x)^{n}=\left(\lim _{x\to c}f(x)\right)^{n}=L^{n}}$  for a positive integer ${\displaystyle n}$ .

This is called the power rule.

As a result, we can safely say that all limits for polynomial functions can be deduced into several limits that satisfy the identity rule and thus easier to compute.

Example 1

Find the limit ${\displaystyle \lim _{x\to 2}4x^{3}}$ .

We need to simplify the problem, since we have no rules about this expression by itself. We know from the identity rule above that ${\displaystyle \lim _{x\to 2}x=2}$ . By the power rule, ${\displaystyle \lim _{x\to 2}x^{3}=\left(\lim _{x\to 2}x\right)^{3}=2^{3}=8}$ . Lastly, by the scalar multiplication rule, we get ${\displaystyle \lim _{x\to 2}4x^{3}=4\cdot \lim _{x\to 2}x^{3}=4\cdot 8=32}$ .

${\displaystyle \blacksquare }$

Example 2

Find the limit ${\displaystyle \lim _{x\to 2}{\Big [}4x^{3}+5x+7{\Big ]}}$ .

To do this informally, we split up the expression, once again, into its components. As above, ${\displaystyle \lim _{x\to 2}4x^{3}=32}$ .

Also ${\displaystyle \lim _{x\to 2}5x=5\cdot \lim _{x\to 2}x=5\cdot 2=10}$  and ${\displaystyle \lim _{x\to 2}7=7}$ . Adding these together gives

${\displaystyle \lim _{x\to 2}{\Big [}4x^{3}+5x+7{\Big ]}=\lim _{x\to 2}4x^{3}+\lim _{x\to 2}5x+\lim _{x\to 2}7=32+10+7=49}$ .
${\displaystyle \blacksquare }$
Example 3

Find the limit ${\displaystyle \lim _{x\to 2}{\frac {4x^{3}+5x+7}{(x-4)(x+10)}}}$ .

From the previous example the limit of the numerator is ${\displaystyle \lim _{x\to 2}{\Big [}4x^{3}+5x+7{\Big ]}=49}$ . The limit of the denominator is

${\displaystyle \lim _{x\to 2}(x-4)(x+10)=\lim _{x\to 2}{\big [}x-4{\big ]}\cdot \lim _{x\to 2}{\big [}x+10{\big ]}=(2-4)(2+10)=-24}$

As the limit of the denominator is not equal to zero we can divide. This gives

${\displaystyle \lim _{x\to 2}{\frac {4x^{3}+5x+7}{(x-4)(x+10)}}=-{\frac {49}{24}}}$ .
${\displaystyle \blacksquare }$
Example 4

Find the limit ${\displaystyle \lim _{x\to 4}{\frac {x^{4}-16x+7}{4x-5}}}$ .

We apply the same process here as we did in the previous set of examples;

${\displaystyle \lim _{x\to 4}{\frac {x^{4}-16x+7}{4x-5}}={\frac {\lim \limits _{x\to 4}{\Big [}x^{4}-16x+7{\Big ]}}{\lim \limits _{x\to 4}{\Big [}4x-5{\Big ]}}}={\frac {\lim \limits _{x\to 4}x^{4}-\lim \limits _{x\to 4}16x+\lim \limits _{x\to 4}7}{\lim \limits _{x\to 4}4x-\lim \limits _{x\to 4}5}}}$ .

We can evaluate each of these; ${\displaystyle \lim _{x\to 4}(x^{4})=256\ ,\ \lim _{x\to 4}(16x)=64\ ,\ \lim _{x\to 4}(7)=7\ ,\ \lim _{x\to 4}(4x)=16\ ,\ \lim _{x\to 4}(5)=5.}$  Thus, the answer is ${\displaystyle {\frac {199}{11}}}$ .

${\displaystyle \blacksquare }$
Example 5

Find the limit ${\displaystyle \lim _{x\to 2}{\frac {x^{2}-3x+2}{x-2}}}$ .

In this example, evaluating the result directly will result in a division by 0. While you can determine the answer experimentally, a mathematical solution is possible as well.

First, the numerator is a polynomial that may be factored: ${\displaystyle \lim _{x\to 2}{\frac {(x-2)(x-1)}{x-2}}}$

Now, you can divide both the numerator and denominator by ${\displaystyle (x-2)}$ : ${\displaystyle \lim _{x\to 2}(x-1)=(2-1)=1}$

Remember that the limit is a method to determine the approaching value of a function instead of the value of the function itself. So, though the function is undefined at ${\displaystyle x=2}$ , the value of the function is approaching to ${\displaystyle 1}$  when ${\displaystyle x\rightarrow 2}$

${\displaystyle \blacksquare }$
Example 6

Find the limit ${\displaystyle \lim _{x\to 0}\left[{\frac {1-\cos(x)}{x}}\right]}$ .

To evaluate this seemingly complex limit, we will need to recall some sine and cosine identities (see Chapter 1.3). We will also have to use two new facts. First, if ${\displaystyle f(x)}$  is a trigonometric function (that is, one of sine, cosine, tangent, cotangent, secant and cosecant functions), and is defined at ${\displaystyle a}$  , then ${\displaystyle \lim _{x\to a}f(x)=f(a)}$ .

Second, ${\displaystyle \lim _{x\to 0}{\frac {\sin(x)}{x}}=1}$ . This can be proved using squeeze theorem. Note that L'Hospital's rule is not allowed to be used to evaluate this limit because it causes circular reasoning,

in the sense that differentiating ${\displaystyle \sin x}$ .requires this limit to equal one, which is exactly the equation that is being proven.

Method 1 (before learning L'Hôpital's rule):

To evaluate the limit, recognize that ${\displaystyle 1-\cos(x)}$  can be multiplied by ${\displaystyle 1+\cos(x)}$  to obtain ${\displaystyle 1-\cos ^{2}(x)}$  which, by our trig identities, is ${\displaystyle \sin ^{2}(x)}$ . So, multiply the top and bottom by ${\displaystyle 1+\cos(x)}$ . (This is allowed because it is identical to multiplying by one.) This is a standard trick for evaluating limits of fractions; multiply the numerator and the denominator by a carefully chosen expression which will make the expression simplify somehow. In this case, we should end up with:

 ${\displaystyle \lim _{x\to 0}\left[{\frac {1-\cos(x)}{x}}\right]}$ ${\displaystyle =\lim _{x\to 0}\left[{\frac {1-\cos(x)}{x}}\cdot {\frac {1}{1}}\right]}$ ${\displaystyle =\lim _{x\to 0}\left[{\frac {1-\cos(x)}{x}}\cdot {\frac {1+\cos(x)}{1+\cos(x)}}\right]}$ ${\displaystyle =\lim _{x\to 0}{\frac {{\big (}1-\cos(x){\big )}{\big (}1+\cos(x){\big )}}{x{\big (}1+\cos(x){\big )}}}}$ ${\displaystyle =\lim _{x\to 0}{\frac {1-\cos ^{2}(x)}{x{\big (}1+\cos(x){\big )}}}}$ ${\displaystyle =\lim _{x\to 0}{\frac {\sin ^{2}(x)}{x{\big (}1+\cos(x){\big )}}}}$ ${\displaystyle =\lim _{x\to 0}\left[{\frac {\sin(x)}{x}}\cdot {\frac {\sin(x)}{1+\cos(x)}}\right]}$ .

Our next step should be to break this up into ${\displaystyle \lim _{x\to 0}\left[{\frac {\sin(x)}{x}}\right]\cdot \lim _{x\to 0}\left[{\frac {\sin(x)}{1+\cos(x)}}\right]}$  by the product rule. As mentioned above, ${\displaystyle \lim _{x\to 0}\left[{\frac {\sin(x)}{x}}\right]=1}$ .

Next, ${\displaystyle \lim _{x\to 0}\left[{\frac {\sin(x)}{1+\cos(x)}}\right]={\frac {\lim \limits _{x\to 0}{\big [}\sin(x){\big ]}}{\lim \limits _{x\to 0}{\big [}1+\cos(x){\big ]}}}={\frac {0}{1+\cos(0)}}=0}$ .

Thus, by multiplying these two results, we obtain 0.

${\displaystyle \blacksquare }$

Note that we also cannot apply L'Hospital's rule to evaluate this limit because it causes circular reasoning.

We will now present an amazingly useful result, even though we cannot prove it yet. We can find the limit at ${\displaystyle c}$  of any polynomial or rational function, as long as that rational function is defined at ${\displaystyle c}$  (so we are not dividing by 0). That is, ${\displaystyle c}$  must be in the domain of the function.

Limits of Polynomials and Rational functions

If ${\displaystyle f}$  is a polynomial or rational function that is defined at ${\displaystyle c}$  then

${\displaystyle \lim _{x\to c}f(x)=f(c)}$

We already learned this for trigonometric functions, so we see that it is easy to find limits of polynomial, rational or trigonometric functions wherever they are defined. In fact, this is true even for combinations of these functions; thus, for example, ${\displaystyle \lim _{x\to 1}{\bigg [}\sin(x^{2})+4\cos ^{3}(3x-1){\bigg ]}=\sin(1^{2})+4\cos ^{3}(3\cdot 1-1)=\sin 1+4\cos ^{3}2}$ .

### The Squeeze Theorem

The Squeeze Theorem is very important in calculus, where it is typically used to find the limit of a function by comparison with two other functions whose limits are known.

It is called the Squeeze Theorem because it refers to a function ${\displaystyle f}$  whose values are squeezed between the values of two other functions ${\displaystyle g}$  and ${\displaystyle h}$  , both of which have the same limit ${\displaystyle L}$ . If the value of ${\displaystyle f}$  is trapped between the values of the two functions ${\displaystyle g}$  and ${\displaystyle h}$  , the values of ${\displaystyle f}$  must also approach ${\displaystyle L}$ .

Expressed more precisely:

Theorem: (Squeeze Theorem)

Suppose that ${\displaystyle g(x)\leq f(x)\leq h(x)}$  holds for all ${\displaystyle x}$  in some open interval containing ${\displaystyle c}$ .

If ${\displaystyle \lim _{x\to c}g(x)=\lim _{x\to c}h(x)=L}$ ,
Then ${\displaystyle \lim _{x\to c}f(x)=L}$ .

Example: Compute ${\displaystyle \lim _{x\to 0}x\cdot \sin \left({\tfrac {1}{x}}\right)}$ .

Since we know that

${\displaystyle -1\leq \sin({\frac {1}{x}})\leq 1}$

Multiplying ${\displaystyle x}$  into the inequality yields

${\displaystyle -|x|\leq x\sin({\frac {1}{x}})\leq |x|}$

Now we apply the squeeze theorem

${\displaystyle \lim _{x\to 0}-|x|\leq \lim _{x\to 0}x\sin({\frac {1}{x}})\leq \lim _{x\to 0}|x|}$

Since ${\displaystyle \lim _{x\to 0}-|x|=\lim _{x\to 0}|x|=0}$ ,

${\displaystyle \lim _{x\to 0}x\cdot \sin \left({\tfrac {1}{x}}\right)=0}$

${\displaystyle \blacksquare }$

## Finding Limits

Now, we will discuss how, in practice, to find limits. First, if the function can be built out of rational, trigonometric, logarithmic, or exponential functions, then if a number ${\displaystyle c}$  is in the domain of the function, then the limit at ${\displaystyle c}$  is simply the value of the function at ${\displaystyle c}$ :

${\displaystyle \lim _{x\to c}f(x)=f(c)}$  when ${\displaystyle f(x)}$  can be built out of rational, trigonometric, logarithmic, or exponential functions and ${\displaystyle c\in }$  the Domain of ${\displaystyle f(x)}$

If ${\displaystyle c}$  is not in the domain of the function, then in many cases (as with rational functions) the domain of the function includes all the points near ${\displaystyle c}$ , but not ${\displaystyle c}$  itself. An example would be if we wanted to find ${\displaystyle \lim _{x\to 0}{\frac {x}{x}}}$  , where the domain includes all numbers besides 0.

In that case, in order to find ${\displaystyle \lim _{x\to c}f(x)}$  we want to find a function ${\displaystyle g(x)}$  similar to ${\displaystyle f(x)}$  , except with the hole at ${\displaystyle c}$  filled in. The limits of ${\displaystyle f}$  and ${\displaystyle g}$  will be the same, as can be seen from the definition of a limit. By definition, the limit depends on ${\displaystyle f(x)}$  only at the points where ${\displaystyle x}$  is close to ${\displaystyle c}$  but not equal to it, so the limit at ${\displaystyle c}$  does not depend on the value of the function at ${\displaystyle c}$ . Therefore, if ${\displaystyle \lim _{x\to c}g(x)=L}$  , ${\displaystyle \lim _{x\to c}f(x)=L}$  also. And since the domain of our new function ${\displaystyle g}$  includes ${\displaystyle c}$  , we can now (assuming ${\displaystyle g}$  is still built out of rational, trigonometric, logarithmic and exponential functions) just evaluate it at ${\displaystyle c}$  as before. Thus we have ${\displaystyle \lim _{x\to c}f(x)=g(c)}$ .

In our example, this is easy; canceling the ${\displaystyle x}$ 's gives ${\displaystyle g(x)=1}$ , which equals ${\displaystyle f(x)={\frac {x}{x}}}$  at all points except 0. Thus, we have ${\displaystyle \lim _{x\to 0}{\frac {x}{x}}=\lim _{x\to 0}1=1}$ . In general, when computing limits of rational functions, it's a good idea to look for common factors in the numerator and denominator.

### Specific DNE Situations

Note that the limit might not exist at all (DNE means "does not exist"). There are a number of ways in which this can occur:

"Gap"

There is a gap (not just a single point) where the function is not defined. As an example, in
${\displaystyle f(x)={\sqrt {x^{2}-16}}}$
${\displaystyle \lim _{x\to c}f(x)}$  does not exist when ${\displaystyle -4\leq c\leq 4}$ . There is no way to "approach" the middle of the graph. Note that the function also has no limit at the endpoints of the two curves generated (at ${\displaystyle c=-4}$  and ${\displaystyle c=4}$ ). For the limit to exist, the point must be approachable from both the left and the right.
Note also that there is no limit at a totally isolated point on a graph.
"Jump"
If the graph suddenly jumps to a different level, there is no limit at the point of the jump. For example, let ${\displaystyle f(x)}$  be the greatest integer ${\displaystyle \leq x}$ . Then, if ${\displaystyle c}$  is an integer, when ${\displaystyle x}$  approaches ${\displaystyle c}$  from the right ${\displaystyle f(x)=c}$  , while when ${\displaystyle x}$  approaches ${\displaystyle c}$  from the left ${\displaystyle f(x)=c-1}$ . Thus ${\displaystyle \lim _{x\to c}f(x)}$  will not exist.
Vertical asymptote
In ${\displaystyle f(x)={\frac {1}{x^{2}}}}$
the graph gets arbitrarily high as it approaches 0, so there is no limit. (In this case we sometimes say the limit is infinite; see the next section.)
Infinite oscillation
These next two can be tricky to visualize. In this one, we mean that a graph continually rises above and falls below a horizontal line. In fact, it does this infinitely often as you approach a certain ${\displaystyle x}$ -value. This often means that there is no limit, as the graph never approaches a particular value. However, if the height (and depth) of each oscillation diminishes as the graph approaches the ${\displaystyle x}$ -value, so that the oscillations get arbitrarily smaller, then there might actually be a limit.
The use of oscillation naturally calls to mind the trigonometric functions. An example of a trigonometric function that does not have a limit as ${\displaystyle x}$  approaches 0 is
${\displaystyle f(x)=\sin \left({\tfrac {1}{x}}\right)}$
As ${\displaystyle x}$  gets closer to 0 the function keeps oscillating between ${\displaystyle -1}$  and 1. In fact, ${\displaystyle \sin \left({\tfrac {1}{x}}\right)}$  oscillates an infinite number of times on the interval between 0 and any positive value of ${\displaystyle x}$ . The sine function is equal to 0 whenever ${\displaystyle x=k\pi }$  , where ${\displaystyle k}$  is a positive integer. Between every two integers ${\displaystyle k}$  , ${\displaystyle \sin(x)}$  goes back and forth between 0 and ${\displaystyle -1}$  or 0 and 1. Hence, ${\displaystyle \sin \left({\tfrac {1}{x}}\right)=0}$  for every ${\displaystyle x={\tfrac {1}{k\pi }}}$ . In between consecutive pairs of these values, ${\displaystyle {\tfrac {1}{k\pi }}}$  and ${\displaystyle {\tfrac {1}{(k+1)\pi }}}$  , ${\displaystyle \sin \left({\tfrac {1}{x}}\right)}$  goes back and forth from 0, to either ${\displaystyle -1}$  or 1 and back to 0. We may also observe that there are an infinite number of such pairs, and they are all between 0 and ${\displaystyle 1/\pi }$ . There are a finite number of such pairs between any positive value of ${\displaystyle x}$  and ${\displaystyle {\tfrac {1}{\pi }}}$  , so there must be infinitely many between any positive value of ${\displaystyle x}$  and 0. From our reasoning we may conclude that, as ${\displaystyle x}$  approaches 0 from the right, the function ${\displaystyle \sin \left({\tfrac {1}{x}}\right)}$  does not approach any specific value. Thus, ${\displaystyle \lim _{x\to 0}\sin \left({\tfrac {1}{x}}\right)}$  does not exist.

### Determining Limits

The formal way to determine whether a limit exists is to find out whether the value of the limit is the same when approaching from below and above (see at the top of this chapter). The notation for the limit approaching from below (in increasing order) is

${\displaystyle \lim _{x\to c^{-}}f(x)}$ , notice the negative sign on the constant ${\displaystyle c}$

The notation for the limit approaching from above (from decreasing order) is

${\displaystyle \lim _{x\to c^{+}}f(x)}$ , notice the positive sign on the constant ${\displaystyle c}$

For example, let us find the limits of ${\displaystyle f(x)={\frac {1}{x}}}$  when ${\displaystyle x}$  is approaching ${\displaystyle 0}$  in both directions. In other words, find ${\displaystyle \lim _{x\to 0^{-}}{\frac {1}{x}}}$  and ${\displaystyle \lim _{x\to 0^{+}}{\frac {1}{x}}}$ .

Recall the table we made when we are trying to intuitively feel the limit. We can use that to help us. However, if familiar enough with reciprocal functions, we can simply determine the two values by imagining the graph of the function. The following table is when ${\displaystyle x}$  is approaching from below.

 ${\displaystyle x}$  ${\displaystyle f(x)={\frac {1}{x}}}$ -0.3 -0.2 -0.1 -0.05 -0.01 -0.001 -3.333 -5 -10 -20 -100 -1000

Thus, we found that when ${\displaystyle x}$  is approaching from below to ${\displaystyle 0}$ , the function approaches negative infinity. In mathematical terms:

${\displaystyle \lim _{x\to 0^{-}}{\frac {1}{x}}=-\infty }$

Now let's talk about the approach from above.

 ${\displaystyle x}$  ${\displaystyle f(x)={\frac {1}{x}}}$ 0.3 0.2 0.1 0.05 0.01 0.001 3.333 5 10 20 100 1000

We found that ${\displaystyle \lim _{x\to 0^{+}}{\frac {1}{x}}=\infty }$

${\displaystyle \blacksquare }$

The method of determining if limits exist is relatively intuitive. It only requires some practice to be familiar with the process.

Determining Limits

If ${\displaystyle \lim _{x\to c^{-}}f(x)=\lim _{x\to c^{+}}f(x)=L}$ , then ${\displaystyle \lim _{x\to c}f(x)=L}$ . If ${\displaystyle \lim _{x\to c^{-}}f(x)\neq \lim _{x\to c^{+}}f(x)=L}$ , then the limit does not exist (DNE).

Let's use the same example: find ${\displaystyle \lim _{x\to 0}{\frac {1}{x}}}$ .

Since we already found that ${\displaystyle \lim _{x\to 0^{-}}{\frac {1}{x}}=-\infty }$  and ${\displaystyle \lim _{x\to 0^{+}}{\frac {1}{x}}=\infty }$ , and obviously,

${\displaystyle \lim _{x\to 0^{-}}{\frac {1}{x}}\neq \lim _{x\to 0^{+}}{\frac {1}{x}}}$

We can say that ${\displaystyle \lim _{x\to 0}{\frac {1}{x}}}$  does not exist.

${\displaystyle \blacksquare }$

### Infinity Situations

Now consider the function

${\displaystyle g(x)={\frac {1}{x^{2}}}}$

What is the limit as ${\displaystyle x}$  approaches zero? The value of ${\displaystyle g(0)}$  does not exist; it is not defined.

Notice, also, that we can make ${\displaystyle g(x)}$  as large as we like, by choosing a small ${\displaystyle x}$  , as long as ${\displaystyle x\neq 0}$ . For example, to make ${\displaystyle g(x)}$  equal to ${\displaystyle 10^{12}}$  , we choose ${\displaystyle x}$  to be ${\displaystyle 10^{-6}}$ . Thus, ${\displaystyle \lim _{x\to 0}{\frac {1}{x^{2}}}}$  does not exist.

However, we do know something about what happens to ${\displaystyle g(x)}$  when ${\displaystyle x}$  gets close to 0 without reaching it. We want to say we can make ${\displaystyle g(x)}$  arbitrarily large (as large as we like) by taking ${\displaystyle x}$  to be sufficiently close to 0, but not equal to 0. We express this symbolically as follows:

${\displaystyle \lim _{x\to 0}g(x)=\lim _{x\to 0}{\frac {1}{x^{2}}}=\infty }$

Note that the limit does not exist at ${\displaystyle 0}$  ; for a limit, being ${\displaystyle \infty }$  is a special kind of not existing. In general, we make the following definition.

Definition: Informal definition of a limit being ${\displaystyle \pm \infty }$

We say the limit of ${\displaystyle f(x)}$  as ${\displaystyle x}$  approaches ${\displaystyle c}$  is infinity if ${\displaystyle f(x)}$  becomes very big (as big as we like) when ${\displaystyle x}$  is close (but not equal) to ${\displaystyle c}$ .

In this case we write

${\displaystyle \lim _{x\to c}f(x)=\infty }$

or

${\displaystyle f(x)\to \infty \quad {\text{as}}\quad x\to c}$ .

Similarly, we say the limit of ${\displaystyle f(x)}$  as ${\displaystyle x}$  approaches ${\displaystyle c}$  is negative infinity if ${\displaystyle f(x)}$  becomes very negative when ${\displaystyle x}$  is close (but not equal) to ${\displaystyle c}$ .

In this case we write

${\displaystyle \lim _{x\to c}f(x)=-\infty }$

or

${\displaystyle f(x)\to -\infty \quad {\mbox{as}}\quad x\to c}$ .

An example of the second half of the definition would be that ${\displaystyle \lim _{x\to 0}-{\frac {1}{x^{2}}}=-\infty }$ .

## Applications of Limits

To see the power of the concept of the limit, let's consider a moving car. Suppose we have a car whose position is linear with respect to time (that is, a graph plotting the position with respect to time will show a straight line). We want to find the velocity. This is easy to do from algebra; we just take the slope, and that's our velocity.

But unfortunately, things in the real world don't always travel in nice straight lines. Cars speed up, slow down, and generally behave in ways that make it difficult to calculate their velocities.

Now what we really want to do is to find the velocity at a given moment (the instantaneous velocity). The trouble is that in order to find the velocity we need two points, while at any given time, we only have one point. We can, of course, always find the average speed of the car, given two points in time, but we want to find the speed of the car at one precise moment.

This is the basic trick of differential calculus, the first of the two main subjects of this book. We take the average speed at two moments in time, and then make those two moments in time closer and closer together. We then see what the limit of the slope is as these two moments in time are closer and closer, and say that this limit is the slope at a single instant.

We will study this process in much greater depth later in the book. First, however, we will need to study limits more carefully.