limits basics

What are limits

Although they may seem daunting due to their notation, limits are actually quite an easy concept. They are essentially the value of a function, say f(x)f(x), as it gets closer to a specific value of xx.

Limit notation is as follows:

xalimf(x) ^{\lim}_{x\to a} f(x)

Where aa is the value at which xx is approaching, f(x) f(x) is the function at which the limit is being applied to, and (xalimf(x) ^{\lim}_{x \to a} f(x) ) is "the value of the limit of f(x)f(x) when xx is approaching aa".


Moving on, take a look at the following animation:

Notice that as the value of xx approaches 00 (or x0x \to 0) from the left and right, both y values become equal to 11. This is obvious, since the value of y=cos(x)y = \cos(x) is equal to 11 when x=0x=0, however, it is important to consider that a limit is not the value of a function at some xx in every case.

Therefore, the limit of f(x)=cos(x)f(x) = \cos(x) when x approaches 00 (or x0limcos(x)=1 ^{\lim}_{x \to 0} \cos(x) = 1) is equal to 11.

example

Determine limx2f(x) \lim_{x \to 2} f(x) from the following image:

No description

answer

The limit of the function f(x)f(x) as it approaches x=2x=2 is equal to 33, since, from both sides, the function approaches the value 33.

Left and right limits

There are primarily two types of limits: left and right.

A left limit is the limit of a function when xx approaches a value from the left. A right limit is the limit of a function when xx approaches a value from a right.

This is important to know, because not all the functions you deal with are continuous. We will discuss more about this in the next lectures, however, take a look at the following example to understand this.

example

Take the following function: f(x)={2xfor x<1(1)x+1for x1(2) f(x) = \left \{ \begin {matrix} 2 - x \quad \text {for} \ x < 1 \quad (1) \newline x + 1 \quad \text {for} \ x \geq 1 \quad (2) \end{matrix} \right.

This type of function is called a piecewise function and they are made up of several other functions based on the indicated domains.


The image below depicts what the function above looks like:

No description

For all values x<1x<1, the function (1): f(x)=2x (1): \ f(x) = 2 - x is used to calculate the yy values, while for all values x1x \geq 1, the function f(x)=2x (2)f(x)=2-x \ (2) is used to calculate the values of yy.

Notice that, for (1)(1), there is an open point at x=1x=1. This means the function is not defined at that point, since, it is only defined for x<1x<1. On the other hand, for (2) (2) , the function is defined at x=1 x = 1 , indicated by a closed point since it is defined for x1x \geq 1 (greater than or equal to 1).

Left limit

The left limit of f(x)f(x) is indicated by a ()(^-) superscript. Its value for this example is:

x1limf(x)= x1lim(2x)=1 ^{\lim}_{x \to 1^{-}} f(x) = \ ^{\lim}_{x \to 1} (2 - x) = 1

Note that, even though (1)(1) is not defined at x=1x=1, its limit is!

Right limit

The right limit f(x)f(x) is indicated by a (+)(^+) superscript. For this case, its value is:

x1+limf(x)= x1lim(x+1)=2 ^{\lim}_{x \to 1^{+}} f(x) = \ ^{\lim}_{x \to 1} (x+1) = 2

In this example, x1limf(x) x1+limf(x) ^{\lim}_{x \to 1^{-}} f(x) \neq \ ^{\lim}_{x \to 1^{+}} f(x) , however, there may be cases where they are equal.

Key things to remember

Now, that's all of the basics down, before you go to the next lecture, here are some key tips to remember:

  • xalimf(x) ^{\lim}_{x \to a} f(x) may be defined even though f(a)f(a) is not

  • xalimf(x) ^{\lim}_{x \to a} f(x) can be equal to f(a) f(a) , but not always

  • If L= xalimf(x) L = \ ^{\lim}_{x \to a^{-}} f(x) and L= xa+limf(x) L = \ ^{\lim}_{x \to a^{+}} f(x) , then L= xalimf(x) L = \ ^{\lim}_{x \to a} f(x)