Limits Calculator

Published on: April 13, 2025
Final Answer: Free | Full Steps: Plus

This Limits Calculator finds what a function approaches as x moves towards a chosen point, and shows the working line by line. Substituting the point directly is tried first, and if that gives a usable number the limit is simply that. When it gives an indeterminate form instead, the function is simplified or L'Hopital's rule is applied until it resolves. Following the same pattern every time keeps the substitution attempt visible before any rule is reached for.

Step-by-step method

  1. Set up the problem.
  2. Write the limit formula.
  3. Substitute x = a.
  4. If it gives 0/0, simplify the function.
  5. If it cannot be simplified, use L'Hôpital's rule.
  6. Substitute x = a again.

Formula: Limit

The limit is the value f(x) gets closer to as x gets closer to a. Put in a first, and only simplify when that gives 0 over 0.

\(\lim_{x \to a} f\left(x\right) = L\)

Formula: L'Hôpital's Rule

When putting in a gives 0 over 0 and the fraction cannot be simplified, differentiate the top and the bottom separately and find the limit of that instead.

\(\lim_{x \to a} \frac{f\left(x\right)}{g\left(x\right)} = \lim_{x \to a} \frac{f'\left(x\right)}{g'\left(x\right)}\)

Useful Tips to Remember

Try direct substitution first; if it gives a real number, that is the limit. If it gives \(\frac{0}{0}\), the limit may still exist, so factor, cancel or rationalise and try again. A limit describes what a function approaches, not necessarily its value at that point. As \(x\) goes to infinity, divide by the highest power of \(x\) to see what the function approaches.

Required knowledge

Where Are Limits Used?

A limit describes the value a function approaches as its input gets closer to a point, even when it cannot reach that point exactly. Limits are the foundation of calculus, since derivatives and integrals are both defined using them. They explain instantaneous speed, the long-term behaviour of populations and investments, and what happens to a formula when a quantity becomes very large or very small. Engineers use limits to understand maximum loads, and computer scientists use them to compare how fast algorithms grow.

  • Defining derivatives and instantaneous speed
  • Finding long-term values, such as where a population settles
  • Understanding continuous compound interest and the number \(e\)
  • Comparing how fast algorithms grow in computer science
  • Finding asymptotes and behaviour at the edges of graphs

Limits Practice Problems

Example 1 finds \(\lim_{x \to 2} \frac{x^2 - 4}{x - 2}\), which needs factoring, and Example 2 finds \(\lim_{x \to 5} (3x + 1)\) by direct substitution. Try each one yourself before opening the examples. For two more free worked examples, check out the Limits Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\lim_{x \to 2} \frac{x^{2} - 4}{x - 2}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the limit formula.
  3. Substitute x = a.
  4. If it gives 0/0, simplify the function.
  5. If it cannot be simplified, use L'Hôpital's rule.
  6. Substitute x = a again.

Formula

Formula: Limit

The limit is the value f(x) gets closer to as x gets closer to a. Put in a first, and only simplify when that gives 0 over 0.

\(\lim_{x \to a} f\left(x\right) = L\)

Step 1

Step 1 - Set up the problem.

In this problem:

\(\lim_{x \to 2} \frac{x^{2} - 4}{x - 2}\)

Step 2

Step 2 - Write the limit formula.

In this problem:

\(\lim_{x \to a} f\left(x\right) = L\)

Step 3

Step 3 - Substitute \(x = 2\).

In this problem:

\(f\left(x\right) = \frac{x^{2} - 4}{x - 2},\;\; x = 2\)

Step 3a

Step 3a - Substitute into the top.

In this problem:

\(\left(2\right)^{2} - 4 = 0\)

Step 3b

Step 3b - Substitute into the bottom.

In this problem:

\(\left(2\right) - 2 = 0\)

Step 3c

Step 3c - Put the top and the bottom back into the fraction.

In this problem:

\(f\left(2\right) = \frac{0}{0}\)

Step 4

Step 4 - If it gives 0/0, simplify the function.

In this problem:

\(\frac{x^{2} - 4}{x - 2} = x + 2\)

Step 5

Step 5 - Substitute \(x = 2\) again.

In this problem:

\(\lim_{x \to 2} \frac{x^{2} - 4}{x - 2} = \lim_{x \to 2} \left(x + 2\right) = 4\)

Final Answer

\(\lim_{x \to 2} \frac{x^{2} - 4}{x - 2} = 4\)
See Example 2 Hide Example 2

Problem

\(\lim_{x \to 5} 3 x + 1\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the limit formula.
  3. Substitute x = a.
  4. If it gives 0/0, simplify the function.
  5. If it cannot be simplified, use L'Hôpital's rule.
  6. Substitute x = a again.

Formula

Formula: Limit

The limit is the value f(x) gets closer to as x gets closer to a. Put in a first, and only simplify when that gives 0 over 0.

\(\lim_{x \to a} f\left(x\right) = L\)

Step 1

Step 1 - Set up the problem.

In this problem:

\(\lim_{x \to 5} 3 x + 1\)

Step 2

Step 2 - Write the limit formula.

In this problem:

\(\lim_{x \to a} f\left(x\right) = L\)

Step 3

Step 3 - Substitute \(x = 5\).

In this problem:

\(\lim_{x \to 5} 3 x + 1 = 16\)

Final Answer

\(\lim_{x \to 5} 3 x + 1 = 16\)

Notes and Practice Mode

Example Problems

Click one to load it into the box and solve it.