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

Calculating Limits

Before you start, make sure you know: Factoring and synthetic division (Algebra 1)
Before you start, make sure you know: Properties of radicals and rationalizing the denominator (Algebra 2)

Your robotics club orders custom T-shirts. The shop charges a $\$50$ setup fee plus $\$8$ per shirt. For 10 shirts the average cost is $\$13$ each, for 100 shirts it is $\$8.50$, and for 1,000 shirts it is $\$8.05$. Where is that average heading if the order keeps growing? And what do you do when plugging in a number gives a meaningless answer like $\frac{0}{0}$? This page gives you the tools to compute limits exactly instead of guessing from a table.

Direct substitution

The first thing to try is always the simplest: plug in $x = a$. For most of the functions you know, that is all you need.

After you substitute, the result tells you what to do next.

Flowchart: substitute x = a, then decide. A number means done, k over 0 means check one-sided limits, and an indeterminate form means rewrite first. Substitute x = a a number L denominator ≠ 0 k/0, k ≠ 0 blow-up 0/0, ∞ − ∞, 1^∞ indeterminate Done: limit = L Check both sides: ±∞ Rewrite the expression, retry
Practice★☆☆Not started
Calculate the value of the following limit by direct substitution: $\lim_{x \to 2} \frac{3x^2 - x + 1}{x + 3}$

Calculate the value of the following limit by direct substitution:

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

Solve

Limits at infinity of polynomials and rational functions

When $x$ is huge (positive or negative), the term with the highest power swamps all the others. That is the whole idea.

For a quotient of polynomials, compare degrees.

The graph flattens out toward the horizontal asymptote $y = \frac{4}{3}$ on both ends.

Practice★☆☆Not started
Determine the limit at infinity of the following polynomial, paying attention to the signs: $\lim_{x \to -\infty} (-4x^3 + 2x^2 - 5x + 1)$

Determine the limit at infinity of the following polynomial, paying attention to the signs:

$\lim_{x \to -\infty} (-4x^3 + 2x^2 - 5x + 1)$

Solve
Practice★☆☆Not started
Calculate the limit of the following rational function as $x$ tends to infinity: $\lim_{x \to +\infty} \frac{5x^2 - 3x + 2}{2x^2 + 4x - 1}$

Calculate the limit of the following rational function as $x$ tends to infinity:

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

Solve
Practice★☆☆Not started
Find the value of the following limit by observing the degrees of the numerator and the denominator: $\lim_{x \to +\infty} \frac{3x - 7}{x^3 + 2x^2 - 5}$

Find the value of the following limit by observing the degrees of the numerator and the denominator:

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

Solve

Exponential and logarithmic limits

Exponentials and logarithms also have clear long-run behavior.

Logarithm properties turn a messy difference into one clean quotient.

Practice★☆☆Not started
Determine the value of the following exponential limits based on the value of their bases: $\lim_{x \to +\infty} \left(\frac{4}{3}\right)^x$ and…

Determine the value of the following exponential limits based on the value of their bases:

$\lim_{x \to +\infty} \left(\frac{4}{3}\right)^x$ and $\lim_{x \to -\infty} \left(\frac{2}{5}\right)^x$

Solve
Practice★★☆Not started
The number of registered users on a new streaming platform, expressed in thousands, is modeled by the logistic function $U(t) = \frac{500}{1 + 49 e^{-0.2t}}$, where $t$…

The number of registered users on a new streaming platform, expressed in thousands, is modeled by the logistic function $U(t) = \frac{500}{1 + 49 e^{-0.2t}}$, where $t$ is the time in months since its launch. What value does the number of users tend to over time?

Solve
Practice★★★Not started
Solve the following limit by applying the properties of logarithms to simplify the expression before evaluating the tendency at infinity:…

Solve the following limit by applying the properties of logarithms to simplify the expression before evaluating the tendency at infinity:

$\lim_{x \to +\infty} \frac{\ln(x^3 + 2x) - \ln(x^2 - 1)}{\ln(5x) - \ln(x + 3)}$

Solve

One-sided limits and reading graphs

Sometimes the function behaves differently on the two sides of $a$. We write $\lim_{x\to a^-} f(x)$ for the limit as $x$ approaches $a$ from the left (values less than $a$) and $\lim_{x\to a^+} f(x)$ for the limit from the right.

A quotient with a denominator that goes to $0$ (and a numerator that does not) blows up. Check the sign on each side.

Piecewise functions are the other classic case: use the piece that applies on each side.

Graph of a piecewise function with a jump at x = 2: the left piece heads to height 5 with an open circle, the right piece starts at height 4 with a filled dot. 5 4 2 x left limit = 5 right limit = 4

Reading limits from a graph works the same way: follow the curve toward $x=a$ from each side and note the height it is heading toward. Ignore the actual point at $x=a$: an open circle or a hole does not change a limit. For $x\to+\infty$, look at where the right end of the curve levels off (a horizontal asymptote), or whether it keeps rising or falling.

Practice★☆☆Not started
Calculate the one-sided limits of the function at $x = 1$ and state whether the ordinary limit exists: $\lim_{x \to 1} \frac{2x}{x - 1}$

Calculate the one-sided limits of the function at $x = 1$ and state whether the ordinary limit exists:

$\lim_{x \to 1} \frac{2x}{x - 1}$

Solve
Practice★☆☆Not started
Given the following piecewise function, calculate the one-sided limits at $x = 2$ and determine if $\lim_{x \to 2} f(x)$ exists:…

Given the following piecewise function, calculate the one-sided limits at $x = 2$ and determine if $\lim_{x \to 2} f(x)$ exists:

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

Solve
Practice★★☆Not started
Observe the graph of the function $f(x)$ which represents the temperature profile of a chemical process as a function of time $x$. Determine the following limits…

Observe the graph of the function $f(x)$ which represents the temperature profile of a chemical process as a function of time $x$. Determine the following limits graphically: $\lim_{x \to 2^-} f(x)$, $\lim_{x \to 2^+} f(x)$ and $\lim_{x \to +\infty} f(x)$.

x y 2 4 f(x)
Solve

Indeterminate forms and factoring

Here is the full list of forms that substitution cannot settle:

$$\frac{0}{0} \qquad \frac{\infty}{\infty} \qquad \infty-\infty \qquad 0\cdot\infty \qquad 1^{\infty}$$

When a quotient of polynomials gives $\frac{0}{0}$ at $x=a$, both polynomials have a root at $a$. By the Factor Theorem, $(x-a)$ divides both. Factor, cancel, then substitute.

On the graph, the function has a hole at $x=-2$ (the limit exists, but the function is undefined there) and a vertical asymptote at $x=2$.

A related situation: finding a parameter so that a limit exists.

Practice★☆☆Not started
Resolve the following indeterminate form by factorizing the polynomials: $\lim_{x \to 3} \frac{x^2 - 9}{x^2 - 5x + 6}$

Resolve the following indeterminate form by factorizing the polynomials:

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

Solve
Practice★★☆Not started
Find the value of the parameter $k$ so that the following limit exists and is a real number, and then calculate this limit: $\lim_{x \to 2} \frac{x^2 + kx - 6}{x - 2}$

Find the value of the parameter $k$ so that the following limit exists and is a real number, and then calculate this limit:

$\lim_{x \to 2} \frac{x^2 + kx - 6}{x - 2}$

Solve

Conjugates with radicals

When the $\frac{0}{0}$ (or $\infty-\infty$) comes with a square root, factoring does not work. Multiply by the conjugate instead. Since $(a-b)(a+b)=a^2-b^2$, the conjugate turns the root into a plain expression.

The same trick works at infinity for $\infty-\infty$ with a root. Add one more move: divide the top and bottom by the highest power of $x$.

Practice★★☆Not started
Calculate the following limit by multiplying the numerator and denominator by the appropriate conjugate expression: $\lim_{x \to 4} \frac{\sqrt{x} - 2}{x^2 - 16}$

Calculate the following limit by multiplying the numerator and denominator by the appropriate conjugate expression:

$\lim_{x \to 4} \frac{\sqrt{x} - 2}{x^2 - 16}$

Solve
Practice★★☆Not started
Resolve the following indeterminate form with radicals at infinity by multiplying by the conjugate: $\lim_{x \to +\infty} \left( \sqrt{x^2 + 5x} - x \right)$

Resolve the following indeterminate form with radicals at infinity by multiplying by the conjugate:

$\lim_{x \to +\infty} \left( \sqrt{x^2 + 5x} - x \right)$

Solve

Handling $\infty-\infty$

You have a few strategies. Pick the one that matches the expression:

  • Two fractions: combine them over a common denominator.

  • A root minus something: multiply by the conjugate (the previous section).

  • Roots with different indices: split the expression and treat each piece separately.

Two limits can finish a problem that has an unknown parameter. For a finite limit, the leading terms must cancel.

When the roots have different indices, subtract and add $x$ so that each piece is a standard $\infty-\infty$ you can handle on its own. For a cube root use $A-B=\dfrac{A^3-B^3}{A^2+AB+B^2}$.

For an expression like $\sqrt[3]{x^3+6x^2}-\sqrt{x^2+2x}$, write it as $\left(\sqrt[3]{x^3+6x^2}-x\right)-\left(\sqrt{x^2+2x}-x\right)$ and find the limit of each bracket.

Practice★★☆Not started
Resolve the following indeterminate form of type $\infty - \infty$ by first operating on the algebraic fractions:…

Resolve the following indeterminate form of type $\infty - \infty$ by first operating on the algebraic fractions:

$\lim_{x \to +\infty} \left( \frac{x^3 + 1}{x^2 - 2} - \frac{x^2 - 3}{x + 1} \right)$

Solve
Practice★★★Not started
Calculate the values of the parameters $a$ and $b$ so that the following equality holds at infinity:…

Calculate the values of the parameters $a$ and $b$ so that the following equality holds at infinity:

$\lim_{x \to +\infty} \left( \frac{ax^2 + bx - 1}{x + 2} - 3x \right) = 5$

Solve
Practice★★★Not started
Resolve the following indeterminate form $\infty - \infty$ with radicals of different indices. Pay special attention to the algebraic strategy required to unify or treat…

Resolve the following indeterminate form $\infty - \infty$ with radicals of different indices. Pay special attention to the algebraic strategy required to unify or treat the terms separately:

$\lim_{x \to +\infty} \left( \sqrt[3]{x^3 + 6x^2} - \sqrt{x^2 + 2x} \right)$

Solve

Special limits and simplifying first

Some limits involving trig functions cannot be reached by algebra alone. You need one known limit.

The graph has a hole at $x=0$, but the curve clearly heads to $1$ from both sides.

To use it, force the argument of the sine to match the denominator.

The Pythagorean identity gives a second move for expressions with $1-\cos x$: multiply by the conjugate $1+\cos x$, since $(1-\cos x)(1+\cos x)=1-\cos^2x=\sin^2x$.

Another habit worth building: when a quantity is a product, such as an area, multiply it out and simplify before you substitute.

(The height itself is a $\frac{0}{0}$ form. Multiplying by the conjugate shows $h(x)\to\frac{1}{4}$. The rectangle's area goes to $0$ because its width shrinks while the height stays finite.) A right triangle works the same way, with area $\frac{1}{2}\cdot\text{base}\cdot\text{height}$.

Practice★★★Not started
Knowing that $\lim_{x \to 0} \frac{\sin x}{x} = 1$, calculate the following trigonometric limit by performing the necessary algebraic transformations (hint: multiply the…

Knowing that $\lim_{x \to 0} \frac{\sin x}{x} = 1$, calculate the following trigonometric limit by performing the necessary algebraic transformations (hint: multiply the numerator and denominator by the conjugate of the numerator):

$\lim_{x \to 0} \frac{1 - \cos x}{x^2}$

Solve
Practice★★★Not started
In an optics experiment, a laser beam passes through a medium with a variable refractive index. The deviation of the beam defines a right triangle whose base measures…

In an optics experiment, a laser beam passes through a medium with a variable refractive index. The deviation of the beam defines a right triangle whose base measures $x$ and whose height is given by the curve $h(x) = \frac{1 - e^{-2x}}{x}$. Observe the diagram and calculate the limit of the area of the shaded triangle $A(x)$ as $x \to 0^+$.

x y h(x) x h(x)
Solve

The $1^\infty$ form and the number $e$

If the base of a power goes to $1$ and the exponent goes to infinity, the answer is usually a power of $e$. Recall that $e=\lim_{u\to\infty}\left(1+\frac{1}{u}\right)^u\approx 2.718$.

Sometimes $g-1$ needs more algebra, because you must subtract the two polynomials.

If the problem has an unknown parameter and tells you the final answer, set $L$ equal to the exponent of $e$ you are given and solve for the parameter.

Practice★★☆Not started
Determine the value of the following limit, which presents an indeterminate form of type $1^\infty$, using the formula for the number $e$:…

Determine the value of the following limit, which presents an indeterminate form of type $1^\infty$, using the formula for the number $e$:

$\lim_{x \to +\infty} \left( \frac{2x + 3}{2x - 1} \right)^{3x}$

Solve
Practice★★★Not started
Determine the value of the parameter $a$ so that the following exponential limit results in $e^4$:…

Determine the value of the parameter $a$ so that the following exponential limit results in $e^4$:

$\lim_{x \to +\infty} \left( \frac{x^2 + ax + 1}{x^2 - x + 3} \right)^{2x}$

Solve

Limits in context

In an application, a limit at infinity describes the long run, and a limit at a blow-up describes what happens at a boundary. Always finish by saying what the number means.

Back to the start: the average cost never reaches $\$8$ (the setup fee always adds a little), but it gets as close as you like. That is what the horizontal asymptote $y=8$ says.

Here is how to read a few common results:

  • A limit at infinity that is a number $L$ is a steady state or a ceiling (a horizontal asymptote $y=L$).

  • A limit of $0$ means the quantity fades away (medicine leaving the body).

  • A limit of $+\infty$ means the quantity grows without bound, which is often a warning that the model is impossible or the situation is not sustainable.

  • A one-sided limit such as $v\to c^-$ matters when the variable can only approach a boundary from one side.

Practice★★☆Not started
The concentration of a certain drug in a patient's blood, measured in milligrams per liter, varies with time $t$ (in hours) according to the function…

The concentration of a certain drug in a patient's blood, measured in milligrams per liter, varies with time $t$ (in hours) according to the function $C(t) = \frac{15t}{t^2 + 4}$. Calculate the long-term concentration, that is, evaluate the limit as $t \to +\infty$ and interpret the result.

Solve
Practice★★★Not started
The total cost of producing $x$ units of a high-precision electronic component is given by the function $\$C(x) = 5000 + 12x + 0.05x^2…

The total cost of producing $x$ units of a high-precision electronic component is given by the function $\$C(x) = 5000 + 12x + 0.05x^2$. The average cost per unit is $Cm(x) = \frac{C(x)}{x}$. Calculate the limit of the average cost as the number of units produced tends to infinity and explain what this result means for the viability of the company on a large scale.

Solve
Practice★★★Not started
According to the theory of special relativity, the relativistic mass of an object moving at a speed $v$ is given by $m(v) = \frac{m_0}{\sqrt{1 - \frac{v^2}{c^2}}}$,…

According to the theory of special relativity, the relativistic mass of an object moving at a speed $v$ is given by $m(v) = \frac{m_0}{\sqrt{1 - \frac{v^2}{c^2}}}$, where $m_0$ is the rest mass and $c$ is the speed of light in a vacuum. Calculate the limit of the relativistic mass as the speed of the object approaches the speed of light ($\lim_{v \to c^-} m(v)$) and interpret mathematically why an object with mass cannot reach this speed.

Solve

Summary

See all the exercises in this section