# Functions (mathematics)/Limit

## Definition

editA mathematical limit denotes the output of a function f(x) as it approaches (gets infinitely close to) some input x. The notation used to express a limit is and is read as "the limit as x approaches a of f(x) is equal to b". This is called a two-sided limit because it tells us that the function approaches the same value b when the input approaches a from the left (less than a) and to the right (greater than a). However, one-sided limits also exist and are important in the evaluation of two-sided limits. To express that the limit as x approaches a from the left of f(x) is equal to some value b, we write . Note the negative sign by a to indicate that this is a one-sided limit as we approach the input a from the left (with inputs less than a). Similarly, indicates that the function approaches the output b as we approach from the right side with input values greater than a. If both one-sided limits approaching from both sides of some value a are equal to the same value b, then the two-sided limit exists and equals b. Otherwise, the two-sided limit does not exist (DNE). That is, if and with , then . Limits are often used in definitions for mathematical concepts in calculus as we will see in the following chapters with the derivative and antiderivative (integral).

## Evaluating Limits

edit### Direct Substitution

editSometimes, especially for continuous functions, simply evaluating the function at our desired input will give us the correct result. For example, to evaluate , we can just plug in 3 for x to get . This method should be the first one you try when asked to evaluate a limit.

### Factoring

editIf substituting fails, look to see if part of the function can be factored. By factoring the numerator or denominator of a function, we are often times able to eliminate a factor that is causing our output to be undefined, and can then successfully apply direct substitution. For example, attempting to evaluate using substitution gives us which is undefined. However, if we factor into , the two terms cancel out and we get which can easily be solved using direct substitution. This method is useful when the function has a "hole" at the value we are evaluating the limit at. This means the one-sided limits from either side of the value are equal, but the output at that point is undefined. By factoring and cancelling out terms, we effectively "plug" that hole and produce a function that is continuous at that point.

### Multiplying by the Conjugate

editAnother strategy to have in your toolbox when direct substitution fails is multiplying a function by the conjugate. When the function is fractional and contains a square root term, this method is often helpful. A conjugate is simply a two-term expression (binomial) in which the sign operator combining the terms is flipped. For example, the conjugate of is . The following limit cannot be evaluated via substitution:

However, we recognize that the numerator contains a binomial expression with a square root, so it may be a good idea to attempt to multiply the function by the conjugate of the numerator, . To avoid changing the function (and thus the limit), we need to multiply both the numerator and denominator by this conjugate. This is equivalent to multiplying the function by 1 and will not change the identity of the function. Doing so gives us the following:

Notice how by multiplying the numerator by its conjugate, the square root term is eliminated and allows us to cancel out the resulting term. This gives us a limit that we can now solve with direct substitution:

## Limits at Infinity

editOften times it is of interest to look at a function's output as the input becomes infinitely large or infinitely small. This can help us understand the behavior of the function in the long-term (with increasingly positive/negative inputs) and can tell us if the function increases/decreases without bound, or if it approaches some finite value. Frequently, we are interested in the behavior of rational functions at infinity. Rational functions are written as dividing one polynomial function by another. For example,

is a rational function. To determine the limit at infinity of a rational function, we start by looking at the degrees of the two polynomials in the numerator and denominator. Remember from algebra that the degree of a polynomial is simply the highest power a term in the polynomial is raised to. In the example above, we see that the numerator is a degree-1 polynomial, while the denominator is degree 2. Since the degree of the denominator is greater than that of the numerator, we call this a "bottom-heavy" function. This means that the denominator, or bottom part of our function, will grow significantly faster than the top as our input increases to infinity. Intuitively, with very large value of x, we can see that this will result in our function trending towards 0 and so

We've now seen what happens when the function is bottom-heavy, but what about when the numerator's degree is greater than the denominator's? Or when the degrees' are equal? Well, when the degree of the numerator is greater than that of the denominator, we call the function "top-heavy" since the numerator will outpace (grow faster) than the denominator for increasingly large inputs of x. In this case, the limit will equal infinity or DNE (think about why this is). In the case that the degree's are equal, the function is called "equal-heavy" and the numerator and denominator grow at roughly equal pace and thus the limit will approach a finite value. This value is simply the ratio of the coefficients of the highest term in the numerator's polynomial and denominator's polynomial. For example, consider the following limit:

First, we notice that the degree of the numerator and denominator are both equal to 3. Now, we can take the coefficients of the highest term from both the top and bottom to determine the precise value of our limit. This gives us:

While this was a simple example, infinite limits of equal-heavy limits may require you to do a little extra work before you can determine the leading coefficients. For example, the following limit may not appear to even be equal-heavy at first glance:

However, remember that we only care about the highest powered terms in the numerator and denominator. As such, we can ignore the term under the square root in the numerator and everything but the term in the denominator. This allows us to rewrite the limit as:

which we can easily see is the limit of an equal-heavy function approaching

### Other Limits at Infinity

editSo far, we have only learned how to find the limit as our input approaches infinity of rational functions. However, we can also determine the limit at infinity of non-rational functions.

## Continuity at a Point

editThere exists a three-step definition of continuity at a point involving limits. If the following three conditions are true, then the function is continuous at :

- exists
- exists