Back to homeMathematics · Precalculus · Change subject
Start for free
Precalculus · Mathematics
Functions · Types of limits and continuity

Limit of a Function as x Approaches a

Before you start, make sure you know: Trend and periodicity (Algebra 1)
Before you start, make sure you know: Basic concepts (Algebra 1)

A skateboarder rolls down a ramp, and her position after $t$ seconds is $s(t)$ feet. The speedometer shows how fast she is going at one exact instant. But speed means distance divided by time, and at a single instant no time passes and no distance is covered, so you get $\frac{0}{0}$. How can anyone say what the speed is at that instant? Limits answer this: you do not plug in the instant, you watch what happens as you get closer and closer to it.

What a Limit Means

Look at $f(x) = \dfrac{x^2-1}{x-1}$ near $x = 1$. You cannot plug in $x = 1$, because the denominator would be $0$. But you can get as close to $1$ as you like, from the left and from the right. For $x \neq 1$, $f(x) = \dfrac{(x-1)(x+1)}{x-1} = x + 1$, so the graph is the line $y = x + 1$ with a hole at $(1, 2)$.

Graph of the line y = x + 1 with an open circle (a hole) at the point (1, 2); dashed guides show that f(x) approaches 2 as x approaches 1. x = 1 L = 2 hole at (1, 2) x y

On a graph, an open circle marks a point that is not part of the graph, and a filled dot marks the actual value. The limit is the height the curve is heading toward, which you find by following the curve from both sides.

Practice★☆☆Not started
Observe the graph of the function $f(x)$. Determine the value of $\lim_{x \to 2} f(x)$ and the value of $f(2)$, and briefly explain the difference between both concepts.

Observe the graph of the function $f(x)$. Determine the value of $\lim_{x \to 2} f(x)$ and the value of $f(2)$, and briefly explain the difference between both concepts.

X Y 2 3 1 f(x)
Solve

Direct Substitution

Most of the time you do not need tables. If $f$ is a nice function (a polynomial, a rational function, a radical, $e^x$, $\ln x$, $\sin x$, $\cos x$) and $a$ is in its domain, the curve has no break at $a$. So the limit is just the value:

The graph above has no break at $x = 2$, so the limit there is just the height of the curve.

Practice★☆☆Not started
Calculate the limit of the following rational function by direct substitution: $\lim_{x \to 3} \frac{3x^2 - 5x + 2}{x + 2}$

Calculate the limit of the following rational function by direct substitution:

$\lim_{x \to 3} \frac{3x^2 - 5x + 2}{x + 2}$

Solve
Practice★☆☆Not started
Calculate the limit of the following expression combining transcendental functions: $\lim_{x \to 0} \frac{e^x + \cos(x)}{\ln(x+e)}$

Calculate the limit of the following expression combining transcendental functions:

$\lim_{x \to 0} \frac{e^x + \cos(x)}{\ln(x+e)}$

Solve

One-Sided Limits

Sometimes the left side and the right side head to different places. That happens with piecewise functions and with absolute values, so you keep the two sides separate.

Graph with a jump at x = 1: the left piece approaches height 3 and ends at an open circle, while the right piece starts at a filled dot at height 1. 1 2 3 left limit = 3 right limit = 1 = f(1) x = 1

Here $\lim_{x\to 1^-} f(x) = 3$ and $\lim_{x\to 1^+} f(x) = 1$. The sides disagree, so $\lim_{x\to 1} f(x)$ does not exist.

Practice★☆☆Not started
Given the following piecewise function: $f(x) = \begin{cases} 3x - 2 & \text{if } x < 1 \\ x^2 & \text{if } x \ge 1 \end{cases}$ Calculate $\lim_{x \to 1} f(x)$.

Given the following piecewise function:

$f(x) = \begin{cases} 3x - 2 & \text{if } x < 1 \\ x^2 & \text{if } x \ge 1 \end{cases}$

Calculate $\lim_{x \to 1} f(x)$.

Solve
Practice★★☆Not started
Calculate the value of the parameter $k$ so that the limit of the function $h(x)$ exists at $x = -2$:…

Calculate the value of the parameter $k$ so that the limit of the function $h(x)$ exists at $x = -2$:

$h(x) = \begin{cases} x^2 + kx & \text{if } x < -2 \\ \frac{8}{x} - k & \text{if } x > -2 \end{cases}$

Solve
Practice★★☆Not started
Determine if the limit $\lim_{x \to 3} \frac{|x - 3|}{x - 3}$ exists by first calculating its left-hand and right-hand limits.

Determine if the limit $\lim_{x \to 3} \frac{|x - 3|}{x - 3}$ exists by first calculating its left-hand and right-hand limits.

Solve

Resolving 0/0 by Factoring

When a rational function gives $\frac{0}{0}$ at $x = a$, both the numerator and the denominator have the factor $(x - a)$. Because the limit never uses $x = a$ itself, you may cancel that factor and then substitute.

The graph is the line $y = x + 2$ with a hole at $x = 3$. The limit is the height of the hole, $5$.

Cubics need a root first. If the numerator is $0$ at $x = a$, then $(x - a)$ is a factor, and you can find the other factor with synthetic division. Some problems call this Ruffini's rule: it is the same method.

Other useful identities: $a^2 - b^2 = (a-b)(a+b)$ and $a^3 + b^3 = (a+b)(a^2 - ab + b^2)$.

Practice★☆☆Not started
Calculate the following limit by resolving the algebraic indeterminate form: $\lim_{x \to 2} \frac{x^2 - 4}{x^2 - 3x + 2}$

Calculate the following limit by resolving the algebraic indeterminate form:

$\lim_{x \to 2} \frac{x^2 - 4}{x^2 - 3x + 2}$

Solve
Practice★☆☆Not started
Calculate the following limit by factorizing the polynomials using Ruffini's rule or algebraic identities: $\lim_{x \to -1} \frac{x^3 + 1}{x^2 - 1}$

Calculate the following limit by factorizing the polynomials using Ruffini's rule or algebraic identities:

$\lim_{x \to -1} \frac{x^3 + 1}{x^2 - 1}$

Solve
Practice★★☆Not started
The growth rate of a bacteria population in a laboratory experiment is given by the expression $C(t) = \frac{t^2 - 16}{t - 4}$ for $t \neq 4$, where $t$ is the time…

The growth rate of a bacteria population in a laboratory experiment is given by the expression $C(t) = \frac{t^2 - 16}{t - 4}$ for $t \neq 4$, where $t$ is the time elapsed in hours. What value does the growth rate approach as the time approaches $4$ hours?

Solve

Radicals: Multiply by the Conjugate

When the $\frac{0}{0}$ involves a square root, factoring does not help. Instead, multiply the top and bottom by the conjugate of the radical expression. The conjugate of $\sqrt{u} - c$ is $\sqrt{u} + c$. The product is a difference of squares that removes the root:

$$(\sqrt{u} - c)(\sqrt{u} + c) = u - c^2.$$
Practice★☆☆Not started
Solve the following limit by multiplying by the appropriate conjugate expression: $\lim_{x \to 3} \frac{\sqrt{x+1} - 2}{x - 3}$

Solve the following limit by multiplying by the appropriate conjugate expression:

$\lim_{x \to 3} \frac{\sqrt{x+1} - 2}{x - 3}$

Solve
Practice★★☆Not started
The average cost (in dollars) of producing $x$ units of a high-precision electronic component is modeled by the function $C(x) = \frac{\sqrt{x^2 + 100} - 10}{x^2}$. What…

The average cost (in dollars) of producing $x$ units of a high-precision electronic component is modeled by the function $C(x) = \frac{\sqrt{x^2 + 100} - 10}{x^2}$. What value does the average cost tend to when the production level $x$ is very small (that is, when it tends to $0$)?

Solve
Practice★★★Not started
The concentration of an anesthetic in the bloodstream $t$ hours after its intramuscular administration is given by the mathematical model…

The concentration of an anesthetic in the bloodstream $t$ hours after its intramuscular administration is given by the mathematical model $C(t) = \frac{1 - \sqrt{1 - t^2}}{t^2}$ for the interval $0 < t < 1$. What is the limit of the concentration as the time $t$ approaches $0$?

Solve

Tougher 0/0 Forms

Three more tools handle the harder cases.

Cubics. Find the root with substitution, divide with synthetic division, and factor the quotient. You may need to do this twice if $(x - a)$ appears as a double factor.

Radicals in the numerator and the denominator. Rationalize each one with its own conjugate. The zero factor that appears in both cancels.

Different roots. When square roots and cube roots (or other indices) mix, substitute $x = t^n$, where $n$ is the least common multiple of the indices. Then every root becomes a power of $t$. Remember that $x \to a$ means $t \to a^{1/n}$.

Practice★★☆Not started
Resolve the following limit which presents a double indeterminate form with radicals in the numerator and in the denominator:…

Resolve the following limit which presents a double indeterminate form with radicals in the numerator and in the denominator:

$\lim_{x \to 1} \frac{\sqrt{x+3} - 2}{\sqrt{x} - 1}$

Solve
Practice★★★Not started
In the structural design of a beam, the shear force $E(x)$ at a distance of $x$ feet from the main support is given by the rational function…

In the structural design of a beam, the shear force $E(x)$ at a distance of $x$ feet from the main support is given by the rational function $E(x) = \frac{x^3 - 5x^2 + 7x - 3}{x^3 - 4x^2 + 5x - 2}$. Calculate the limit of the shear force as $x$ approaches $1$ foot, a critical point where a change in cross-section occurs.

Solve
Practice★★★Not started
Calculate the following limit involving roots of different indices. (Hint: you can use a suitable change of variable, such as $x = t^6$, to simplify the radicals).…

Calculate the following limit involving roots of different indices. (Hint: you can use a suitable change of variable, such as $x = t^6$, to simplify the radicals).

$\lim_{x \to 1} \frac{\sqrt{x} - 1}{\sqrt[3]{x} - 1}$

Solve

Infinite Limits and Vertical Asymptotes

If direct substitution gives $\frac{k}{0}$ with $k \neq 0$, the denominator is tiny near $a$, so the quotient gets huge. It heads to $+\infty$ or $-\infty$, and the sign depends on each side.

Be careful: a factor that is not a pure zero-denominator still needs the sign of the whole denominator, so factor it when you can. Absolute values also need a side-by-side look, as in this example.

Practice★☆☆Not started
Determine the one-sided limits of the function $g(x) = \frac{2x + 1}{x - 5}$ as $x$ tends to $5$ and state whether the overall limit exists at this point.

Determine the one-sided limits of the function $g(x) = \frac{2x + 1}{x - 5}$ as $x$ tends to $5$ and state whether the overall limit exists at this point.

Solve
Practice★★☆Not started
Calculate the one-sided limits and the overall limit (if it exists) of the following rational function at the point where its denominator is zero:…

Calculate the one-sided limits and the overall limit (if it exists) of the following rational function at the point where its denominator is zero:

$\lim_{x \to 3} \frac{x - 1}{x^2 - 6x + 9}$

Solve
Practice★★★Not started
Calculate the one-sided limits of the function $f(x) = \frac{|x^2 - 9|}{x - 3}$ at the points $x = -3$ and $x = 3$. From the results obtained, state whether the overall…

Calculate the one-sided limits of the function $f(x) = \frac{|x^2 - 9|}{x - 3}$ at the points $x = -3$ and $x = 3$. From the results obtained, state whether the overall limits exist at these points.

Solve

Reading Limits from Graphs and Combining Them

Reading a limit from a graph means tracing the curve with your finger toward $x = a$ from each side and noting the height you are heading to.

  • A filled dot is the real value $f(a)$. An open circle is a point the graph skips.

  • If your two fingers meet at the same height, the limit exists, no matter what is plotted at $x = a$.

  • If they land at different heights (a jump), the limit does not exist, but each one-sided limit does.

  • If the curve shoots up or down along a vertical line, the limit is $\pm\infty$.

When a function is built from others, the limit laws let you combine one-sided limits that you read from graphs.

In the picture, $h(x) = x$ tends to $0$ at $x = 0$, and the reciprocal $\frac1x$ blows up in opposite directions, since $x$ changes sign.

Practice★★☆Not started
Observe the graph of the function $g(x)$, which represents the temperature profile in a chemical reaction. Determine the one-sided limits at $x = -2$ and the overall…

Observe the graph of the function $g(x)$, which represents the temperature profile in a chemical reaction. Determine the one-sided limits at $x = -2$ and the overall limit at $x = 3$.

X Y −2 3 2 g(x)
Solve
Practice★★★Not started
From the graph of the function $h(x)$, determine the value of the one-sided limits $\lim_{x \to 1^-} (h(x))^2$ and $\lim_{x \to 1^+} (h(x))^2$. Then, justify whether the…

From the graph of the function $h(x)$, determine the value of the one-sided limits $\lim_{x \to 1^-} (h(x))^2$ and $\lim_{x \to 1^+} (h(x))^2$. Then, justify whether the overall limit $\lim_{x \to 4} \frac{1}{h(x)}$ exists.

X Y 1 4 2 −1 h(x)
Solve

Finding Unknown Parameters

Often a problem says "find the value of $k$ (or $a$, $b$, $m$, $n$) so that the limit exists or has a given value." Use these rules:

  • Piecewise functions: set the two one-sided limits equal at each break point.

  • A $\frac{0}{0}$ quotient with a finite limit: the denominator is $0$ at $a$, so the numerator must also be $0$ at $a$. That gives an equation for the parameter. Then factor and finish.

  • Radical limits with a parameter: rationalize first, then solve the resulting equation for the parameter.

Drag $c$: the graph has a vertical asymptote at $x = -1$ unless $c$ takes one special value, where the asymptote turns into a hole. That value is the one that makes the limit exist.

Practice★★★Not started
Find the values of the parameters $a$ and $b$ so that the limits of the function $f(x)$ exist at the break points $x = 0$ and $x = 3$:…

Find the values of the parameters $a$ and $b$ so that the limits of the function $f(x)$ exist at the break points $x = 0$ and $x = 3$:

$f(x) = \begin{cases} ax^2 + b & \text{if } x < 0 \\ 2x - a & \text{if } 0 < x < 3 \\ \frac{x^2 - 9}{x - 3} & \text{if } x > 3 \end{cases}$

Solve
Practice★★★Not started
Determine the values of the parameters $m$ and $n$ knowing that the following equality of limits holds: $\lim_{x \to -1} \frac{x^2 + mx + n}{x + 1} = 4$

Determine the values of the parameters $m$ and $n$ knowing that the following equality of limits holds:

$\lim_{x \to -1} \frac{x^2 + mx + n}{x + 1} = 4$

Solve
Practice★★★Not started
Determine the value of the parameter $a > 0$ so that the following condition on the limit is met: $\lim_{x \to 0} \frac{\sqrt{a + x} - \sqrt{a - x}}{x} = \frac{1}{4}$

Determine the value of the parameter $a > 0$ so that the following condition on the limit is met:

$\lim_{x \to 0} \frac{\sqrt{a + x} - \sqrt{a - x}}{x} = \frac{1}{4}$

Solve

Limits and Instantaneous Rate of Change

Back to the skateboarder. Suppose her position is $s(t) = t^2 + 3t$ feet. Her average speed from $t = 1$ to a nearby time $t$ is $\dfrac{s(t) - s(1)}{t - 1}$. That works for any $t \neq 1$. The instantaneous velocity at $t = 1$ is what these average speeds approach as $t \to 1$. It is a limit of $\frac{0}{0}$ type that you solve by factoring.

The curve above shows the average speed between $1$ and $x$. It has a hole at $x = 1$, and the height of the hole is the instantaneous velocity.

This limit is called the derivative of $s$ at $t = 1$. You will use exactly this idea in calculus.

Practice★★☆Not started
The position of a particle along a rectilinear path as a function of time $t$ (in seconds) is given by the equation $s(t) = 3t^2 - t$ (in feet). The instantaneous…

The position of a particle along a rectilinear path as a function of time $t$ (in seconds) is given by the equation $s(t) = 3t^2 - t$ (in feet). The instantaneous velocity at the instant $t = 2$ is calculated using the limit $\lim_{t \to 2} \frac{s(t) - s(2)}{t - 2}$. Calculate the value of this instantaneous velocity.

Solve

Summary

See all the exercises in this section