Evaluating Limits Algebraically
Master the techniques for computing limits without tables or graphs
You have probably noticed that making tables of values or staring at graphs can feel tedious when trying to find a limit. The good news is that mathematicians are, at heart, lazy in the best possible way: they developed algebraic techniques precisely so they would not have to plug in endless numbers. Once you learn these methods, you will be able to find most limits with just a few lines of algebra. It feels a bit like learning a magic trick, except the trick actually works every time and you understand exactly why.
The core idea is simple: if a function behaves nicely at a point, just plug in the number and you are done. When things get messy (read: when plugging in gives you something nonsensical like $\frac{0}{0}$), you have a toolkit of algebraic moves to clean up the expression first. That is the entire game plan for this lesson.
Core Concepts
Direct Substitution: The Easy Case
The simplest way to evaluate a limit is to just substitute the value of $x$ directly into the function. If you get a real number, congratulations, you have found your limit.
$$\lim_{x \to a} f(x) = f(a)$$
This works whenever the function is continuous at the point $a$. For now, think of continuous as meaning “the function has no holes, jumps, or vertical asymptotes at that point.” Most functions you encounter, including polynomials, are continuous everywhere.
For example, to find $\lim_{x \to 3} (x^2 + 2x - 1)$, you simply substitute $x = 3$:
$$\lim_{x \to 3} (x^2 + 2x - 1) = 3^2 + 2(3) - 1 = 9 + 6 - 1 = 14$$
That is it. No tricks, no complications. When direct substitution works, use it and move on.
Limit Laws: Breaking Problems Apart
Just as you can break apart arithmetic expressions (adding numbers one at a time, for instance), you can break apart limits using a set of reliable rules called limit laws. These laws assume that the individual limits exist.
Sum Law: $\lim_{x \to a} [f(x) + g(x)] = \lim_{x \to a} f(x) + \lim_{x \to a} g(x)$
Difference Law: $\lim_{x \to a} [f(x) - g(x)] = \lim_{x \to a} f(x) - \lim_{x \to a} g(x)$
Constant Multiple Law: $\lim_{x \to a} [c \cdot f(x)] = c \cdot \lim_{x \to a} f(x)$
Product Law: $\lim_{x \to a} [f(x) \cdot g(x)] = \lim_{x \to a} f(x) \cdot \lim_{x \to a} g(x)$
Quotient Law: $\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{\lim_{x \to a} f(x)}{\lim_{x \to a} g(x)}$, provided $\lim_{x \to a} g(x) \neq 0$
Power Law: $\lim_{x \to a} [f(x)]^n = \left[\lim_{x \to a} f(x)\right]^n$
These laws let you handle complicated expressions piece by piece. Want to find $\lim_{x \to 2} (3x^2 - 5x)$? You can split it into $3 \cdot \lim_{x \to 2} x^2 - 5 \cdot \lim_{x \to 2} x$, evaluate each piece, and combine them.
Indeterminate Forms: When Direct Substitution Fails
Sometimes, substituting directly gives you a result that does not make sense as an answer. The most common troublemaker is the form $\frac{0}{0}$.
If you try to evaluate $\lim_{x \to 2} \frac{x^2 - 4}{x - 2}$ by direct substitution:
$$\frac{2^2 - 4}{2 - 2} = \frac{0}{0}$$
This is called an indeterminate form. The expression $\frac{0}{0}$ does not mean the limit is zero, nor does it mean the limit does not exist. It simply means “more work is needed.” The fraction $\frac{0}{0}$ is indeterminate because you cannot determine the limit from that form alone; you need to simplify the expression first.
Think of it this way: $\frac{0}{0}$ is a signal that the numerator and denominator share a common factor that is causing both to hit zero. Your job is to find and cancel that factor.
Factoring to Resolve Indeterminate Forms
The most common technique for dealing with $\frac{0}{0}$ is to factor the numerator and denominator, then cancel the common factor.
Returning to our example:
$$\lim_{x \to 2} \frac{x^2 - 4}{x - 2}$$
Notice that $x^2 - 4$ is a difference of squares: $x^2 - 4 = (x+2)(x-2)$.
$$\lim_{x \to 2} \frac{(x+2)(x-2)}{x - 2}$$
Now cancel the $(x - 2)$ terms (this is valid because we are taking a limit as $x$ approaches 2, not evaluating at exactly $x = 2$):
$$\lim_{x \to 2} (x + 2) = 2 + 2 = 4$$
The limit is 4. The function $\frac{x^2 - 4}{x - 2}$ has a hole at $x = 2$, but the limit tells us what value the function approaches as $x$ gets close to 2.
Rationalizing Techniques: Using Conjugates
When your expression involves square roots and direct substitution gives $\frac{0}{0}$, factoring might not be obvious. Instead, try rationalizing by multiplying by the conjugate.
The conjugate of an expression like $\sqrt{x} - 3$ is $\sqrt{x} + 3$. The conjugate simply has the opposite sign between the terms. When you multiply an expression by its conjugate, you use the difference of squares pattern to eliminate the square root:
$$(\sqrt{x} - 3)(\sqrt{x} + 3) = x - 9$$
This technique is especially useful for limits like:
$$\lim_{x \to 9} \frac{\sqrt{x} - 3}{x - 9}$$
Direct substitution gives $\frac{0}{0}$. Multiply numerator and denominator by the conjugate of the numerator:
$$\lim_{x \to 9} \frac{\sqrt{x} - 3}{x - 9} \cdot \frac{\sqrt{x} + 3}{\sqrt{x} + 3} = \lim_{x \to 9} \frac{x - 9}{(x - 9)(\sqrt{x} + 3)}$$
Cancel the $(x - 9)$ terms:
$$\lim_{x \to 9} \frac{1}{\sqrt{x} + 3} = \frac{1}{\sqrt{9} + 3} = \frac{1}{3 + 3} = \frac{1}{6}$$
Limits of Piecewise Functions
A piecewise function is defined by different formulas on different intervals. To evaluate the limit at a boundary point (where the formula changes), you need to check the one-sided limits:
- The left-hand limit $\lim_{x \to a^-} f(x)$ uses the formula that applies when $x < a$.
- The right-hand limit $\lim_{x \to a^+} f(x)$ uses the formula that applies when $x > a$.
The overall limit $\lim_{x \to a} f(x)$ exists only if both one-sided limits exist and are equal.
For example, consider:
$$f(x) = \begin{cases} x^2 & \text{if } x < 2 \ 3x - 2 & \text{if } x \geq 2 \end{cases}$$
To find $\lim_{x \to 2} f(x)$:
- Left-hand limit: $\lim_{x \to 2^-} x^2 = 4$
- Right-hand limit: $\lim_{x \to 2^+} (3x - 2) = 3(2) - 2 = 4$
Since both one-sided limits equal 4, the overall limit is $\lim_{x \to 2} f(x) = 4$.
The Squeeze Theorem: When Direct Methods Fail
Sometimes you encounter functions that oscillate wildly or behave erratically in ways that make factoring or rationalizing impossible. The Squeeze Theorem (also called the Sandwich Theorem) handles these cases by trapping the difficult function between two simpler ones.
Squeeze Theorem: If $g(x) \leq f(x) \leq h(x)$ for all $x$ near $a$ (except possibly at $a$ itself), and if:
$$\lim_{x \to a} g(x) = \lim_{x \to a} h(x) = L$$
then:
$$\lim_{x \to a} f(x) = L$$
The intuition is simple: if you squeeze something between two things that both approach the same value, the thing in the middle has no choice but to approach that value too.
A classic example is $\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right)$. The function $\sin\left(\frac{1}{x}\right)$ oscillates wildly between $-1$ and $1$ as $x$ approaches 0. But we know:
$$-1 \leq \sin\left(\frac{1}{x}\right) \leq 1$$
Multiplying by $x^2$ (which is always non-negative):
$$-x^2 \leq x^2 \sin\left(\frac{1}{x}\right) \leq x^2$$
Since $\lim_{x \to 0} (-x^2) = 0$ and $\lim_{x \to 0} x^2 = 0$, the Squeeze Theorem tells us:
$$\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0$$
Notation and Terminology
| Term | Meaning | Example |
|---|---|---|
| Direct substitution | Evaluate the limit by plugging in the value directly | $\lim_{x \to 2} x^2 = 4$ |
| Indeterminate form | Result like $\frac{0}{0}$ that requires further work | $\lim_{x \to 2} \frac{x^2-4}{x-2}$ gives $\frac{0}{0}$ |
| Limit laws | Rules for breaking limits into simpler pieces | Sum, product, quotient laws |
| Conjugate | Expression with opposite sign between terms | Conjugate of $\sqrt{x}-3$ is $\sqrt{x}+3$ |
| One-sided limit | Limit approaching from one direction only | $\lim_{x \to 2^-} f(x)$ approaches from the left |
| Squeeze Theorem | If $g(x) \leq f(x) \leq h(x)$ and limits of $g,h$ are equal, so is limit of $f$ | Useful for oscillating functions |
| Continuous function | Function with no holes, jumps, or asymptotes at a point | Polynomials are continuous everywhere |
Examples
Evaluate $\lim_{x \to 4} (x^2 - 3x + 2)$.
Solution:
Polynomials are continuous everywhere, so we can use direct substitution.
$$\lim_{x \to 4} (x^2 - 3x + 2) = 4^2 - 3(4) + 2 = 16 - 12 + 2 = 6$$
The limit is $6$.
This is the ideal case: no complications, just substitute and calculate.
Evaluate $\lim_{x \to 1} \frac{x^2 - 1}{x - 1}$.
Solution:
First, try direct substitution:
$$\frac{1^2 - 1}{1 - 1} = \frac{0}{0}$$
This is an indeterminate form, so we need to simplify. Factor the numerator using the difference of squares:
$$x^2 - 1 = (x + 1)(x - 1)$$
Rewrite the limit:
$$\lim_{x \to 1} \frac{(x + 1)(x - 1)}{x - 1}$$
Cancel the $(x - 1)$ terms:
$$\lim_{x \to 1} (x + 1) = 1 + 1 = 2$$
The limit is $2$.
Notice what happened: the function $\frac{x^2 - 1}{x - 1}$ is actually the same as $x + 1$ everywhere except at $x = 1$, where it has a hole. The limit tells us the height of that hole.
Evaluate $\lim_{x \to 9} \frac{\sqrt{x} - 3}{x - 9}$.
Solution:
Direct substitution gives:
$$\frac{\sqrt{9} - 3}{9 - 9} = \frac{3 - 3}{0} = \frac{0}{0}$$
This is indeterminate. The numerator has a square root, so let us multiply by the conjugate.
Multiply numerator and denominator by $\sqrt{x} + 3$:
$$\lim_{x \to 9} \frac{\sqrt{x} - 3}{x - 9} \cdot \frac{\sqrt{x} + 3}{\sqrt{x} + 3}$$
The numerator becomes:
$$(\sqrt{x} - 3)(\sqrt{x} + 3) = x - 9$$
So we have:
$$\lim_{x \to 9} \frac{x - 9}{(x - 9)(\sqrt{x} + 3)}$$
Cancel $(x - 9)$:
$$\lim_{x \to 9} \frac{1}{\sqrt{x} + 3}$$
Now substitute $x = 9$:
$$\frac{1}{\sqrt{9} + 3} = \frac{1}{3 + 3} = \frac{1}{6}$$
The limit is $\frac{1}{6}$.
Let $f(x) = \begin{cases} x^2 + 1 & \text{if } x < 3 \ 4x - 2 & \text{if } x \geq 3 \end{cases}$
Evaluate $\lim_{x \to 3} f(x)$.
Solution:
At a boundary point, we must check both one-sided limits.
Left-hand limit (using the formula for $x < 3$):
$$\lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} (x^2 + 1) = 3^2 + 1 = 10$$
Right-hand limit (using the formula for $x \geq 3$):
$$\lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} (4x - 2) = 4(3) - 2 = 10$$
Since both one-sided limits equal 10, the overall limit exists:
$$\lim_{x \to 3} f(x) = 10$$
The function is actually continuous at $x = 3$ because the two pieces meet at the same height.
Let $g(x) = \begin{cases} 2x & \text{if } x < 1 \ x + 3 & \text{if } x \geq 1 \end{cases}$
Evaluate $\lim_{x \to 1} g(x)$.
Solution:
Left-hand limit:
$$\lim_{x \to 1^-} g(x) = \lim_{x \to 1^-} 2x = 2(1) = 2$$
Right-hand limit:
$$\lim_{x \to 1^+} g(x) = \lim_{x \to 1^+} (x + 3) = 1 + 3 = 4$$
The one-sided limits are different: $2 \neq 4$.
Therefore, $\lim_{x \to 1} g(x)$ does not exist.
This function has a jump discontinuity at $x = 1$. The left and right sides approach different values, so there is no single number that the function approaches.
Evaluate $\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right)$.
Solution:
Direct substitution is problematic because $\sin\left(\frac{1}{x}\right)$ oscillates infinitely fast as $x$ approaches 0, and $\frac{1}{0}$ is undefined.
However, we know that the sine function is always bounded:
$$-1 \leq \sin\left(\frac{1}{x}\right) \leq 1$$
Multiply all parts by $x^2$. Since $x^2 \geq 0$ for all $x$, the inequalities remain in the same direction:
$$-x^2 \leq x^2 \sin\left(\frac{1}{x}\right) \leq x^2$$
Now evaluate the limits of the outer functions:
$$\lim_{x \to 0} (-x^2) = 0$$ $$\lim_{x \to 0} x^2 = 0$$
Both outer limits equal 0. By the Squeeze Theorem:
$$\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0$$
Even though the sine part oscillates wildly, the $x^2$ factor forces the entire expression toward zero.
Evaluate $\lim_{x \to -2} \frac{x^3 + 8}{x + 2}$.
Solution:
Direct substitution:
$$\frac{(-2)^3 + 8}{-2 + 2} = \frac{-8 + 8}{0} = \frac{0}{0}$$
Indeterminate form. We need to factor the numerator.
Recognize that $x^3 + 8$ is a sum of cubes: $x^3 + 8 = x^3 + 2^3$.
The sum of cubes formula is: $a^3 + b^3 = (a + b)(a^2 - ab + b^2)$
So:
$$x^3 + 8 = (x + 2)(x^2 - 2x + 4)$$
Rewrite the limit:
$$\lim_{x \to -2} \frac{(x + 2)(x^2 - 2x + 4)}{x + 2}$$
Cancel $(x + 2)$:
$$\lim_{x \to -2} (x^2 - 2x + 4)$$
Substitute $x = -2$:
$$(-2)^2 - 2(-2) + 4 = 4 + 4 + 4 = 12$$
The limit is $12$.
Key Properties and Rules
When Direct Substitution Works
Direct substitution works for:
- Polynomial functions at any point
- Rational functions at points where the denominator is not zero
- Root functions at points in their domain
- Trigonometric functions at points where they are defined
- Any function that is continuous at the point in question
Steps for Evaluating Limits Algebraically
- Try direct substitution first. If you get a real number, you are done.
- If you get $\frac{0}{0}$, the limit probably exists but requires algebraic simplification:
- Look for common factors to cancel (try factoring)
- If square roots are involved, try multiplying by the conjugate
- Simplify until direct substitution works
- If you get $\frac{c}{0}$ where $c \neq 0$, the limit is likely infinite or does not exist. Check one-sided limits.
- For piecewise functions, evaluate left-hand and right-hand limits separately.
- For functions that oscillate or behave wildly, consider the Squeeze Theorem.
Important Limit Values to Know
These limits appear frequently and are worth memorizing:
$$\lim_{x \to 0} \frac{\sin x}{x} = 1$$
$$\lim_{x \to 0} \frac{1 - \cos x}{x} = 0$$
$$\lim_{x \to 0} \frac{e^x - 1}{x} = 1$$
These are all indeterminate forms of type $\frac{0}{0}$, but their values have been established and can be used as building blocks for more complex limits.
Limit Laws Summary
If $\lim_{x \to a} f(x) = L$ and $\lim_{x \to a} g(x) = M$, then:
| Operation | Rule |
|---|---|
| Sum | $\lim_{x \to a} [f(x) + g(x)] = L + M$ |
| Difference | $\lim_{x \to a} [f(x) - g(x)] = L - M$ |
| Product | $\lim_{x \to a} [f(x) \cdot g(x)] = L \cdot M$ |
| Quotient | $\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L}{M}$, if $M \neq 0$ |
| Power | $\lim_{x \to a} [f(x)]^n = L^n$ |
| Constant | $\lim_{x \to a} c = c$ |
Real-World Applications
Instantaneous Rates Before Derivatives
The entire concept of the derivative is built on limits. When you want to find the instantaneous velocity of a moving object, you compute:
$$\lim_{h \to 0} \frac{f(t + h) - f(t)}{h}$$
This is the slope of the tangent line, found by taking the limit of slopes of secant lines. Evaluating limits algebraically is the technical skill that makes derivatives possible.
Behavior at Critical Points
Engineers and scientists often need to know how systems behave at specific values, including values where the formula might break down. For example, in physics, certain equations for forces or fields become undefined at specific points (like the center of a charged sphere). Limits let you analyze what happens as you approach these critical points, even when you cannot evaluate directly at them.
Error Analysis and Tolerances
In manufacturing and engineering, you often want to know: “If I am slightly off from the target value, how much error will that introduce?” This is fundamentally a question about limits. If a function has a limit at a point, small deviations in input lead to small deviations in output, and you can quantify the tolerances needed.
Compound Interest and Continuous Growth
The formula for continuous compound interest involves the limit:
$$\lim_{n \to \infty} \left(1 + \frac{r}{n}\right)^n = e^r$$
This limit transforms the discrete process of compounding (daily, hourly, every second) into continuous growth. Understanding how to evaluate limits like this reveals why exponential functions are so fundamental to modeling growth.
Signal Processing and Approximations
In signal processing and applied mathematics, functions are often approximated by simpler ones that agree in their limiting behavior. The accuracy of these approximations depends on limits, making algebraic limit evaluation essential for understanding error bounds in approximations.
Self-Test Problems
Problem 1: Evaluate $\lim_{x \to 5} (2x^2 - 7x + 3)$.
Show Answer
Use direct substitution (polynomials are continuous everywhere):
$$\lim_{x \to 5} (2x^2 - 7x + 3) = 2(5)^2 - 7(5) + 3 = 2(25) - 35 + 3 = 50 - 35 + 3 = 18$$
The limit is $18$.
Problem 2: Evaluate $\lim_{x \to 3} \frac{x^2 - 9}{x - 3}$.
Show Answer
Direct substitution gives $\frac{0}{0}$. Factor the numerator:
$$x^2 - 9 = (x + 3)(x - 3)$$
Rewrite and cancel:
$$\lim_{x \to 3} \frac{(x + 3)(x - 3)}{x - 3} = \lim_{x \to 3} (x + 3) = 3 + 3 = 6$$
The limit is $6$.
Problem 3: Evaluate $\lim_{x \to 4} \frac{\sqrt{x} - 2}{x - 4}$.
Show Answer
Direct substitution gives $\frac{0}{0}$. Multiply by the conjugate:
$$\lim_{x \to 4} \frac{\sqrt{x} - 2}{x - 4} \cdot \frac{\sqrt{x} + 2}{\sqrt{x} + 2} = \lim_{x \to 4} \frac{x - 4}{(x - 4)(\sqrt{x} + 2)}$$
Cancel $(x - 4)$:
$$\lim_{x \to 4} \frac{1}{\sqrt{x} + 2} = \frac{1}{\sqrt{4} + 2} = \frac{1}{2 + 2} = \frac{1}{4}$$
The limit is $\frac{1}{4}$.
Problem 4: Let $f(x) = \begin{cases} 2x + 1 & \text{if } x < 2 \ x^2 & \text{if } x \geq 2 \end{cases}$. Does $\lim_{x \to 2} f(x)$ exist? If so, find it.
Show Answer
Check both one-sided limits:
Left-hand limit: $\lim_{x \to 2^-} (2x + 1) = 2(2) + 1 = 5$
Right-hand limit: $\lim_{x \to 2^+} x^2 = 2^2 = 4$
Since $5 \neq 4$, the one-sided limits are not equal.
Therefore, $\lim_{x \to 2} f(x)$ does not exist.
Problem 5: Evaluate $\lim_{x \to -1} \frac{x^3 + 1}{x + 1}$.
Show Answer
Direct substitution gives $\frac{0}{0}$. Factor using the sum of cubes formula:
$$x^3 + 1 = (x + 1)(x^2 - x + 1)$$
Rewrite and cancel:
$$\lim_{x \to -1} \frac{(x + 1)(x^2 - x + 1)}{x + 1} = \lim_{x \to -1} (x^2 - x + 1)$$
Substitute:
$$(-1)^2 - (-1) + 1 = 1 + 1 + 1 = 3$$
The limit is $3$.
Problem 6: Evaluate $\lim_{x \to 0} x \cos\left(\frac{1}{x}\right)$ using the Squeeze Theorem.
Show Answer
We know $-1 \leq \cos\left(\frac{1}{x}\right) \leq 1$ for all $x \neq 0$.
For $x > 0$: Multiply by $x$ to get $-x \leq x\cos\left(\frac{1}{x}\right) \leq x$
For $x < 0$: Multiply by $x$ (negative), reversing inequalities: $x \leq x\cos\left(\frac{1}{x}\right) \leq -x$
In both cases, we can write $-|x| \leq x\cos\left(\frac{1}{x}\right) \leq |x|$.
Since $\lim_{x \to 0} (-|x|) = 0$ and $\lim_{x \to 0} |x| = 0$, by the Squeeze Theorem:
$$\lim_{x \to 0} x \cos\left(\frac{1}{x}\right) = 0$$
Summary
- Direct substitution is your first and best tool: if the function is continuous at a point, just plug in the value.
- Limit laws let you break complicated limits into simpler pieces (sums, products, quotients, powers).
- The form $\frac{0}{0}$ is indeterminate, meaning more work is needed, not that the limit fails to exist.
- Factoring is the primary technique for resolving $\frac{0}{0}$ forms: factor, cancel the common factor, then substitute.
- Rationalizing with conjugates works when square roots create indeterminate forms: multiply by the conjugate to eliminate the root.
- For piecewise functions, check both one-sided limits at boundary points; the overall limit exists only if they match.
- The Squeeze Theorem handles wild functions by trapping them between two simpler functions with known limits.
- Algebraic limit evaluation is the technical foundation for derivatives and all of calculus that follows.
- When in doubt, always try direct substitution first. If that fails, look for factors to cancel or conjugates to multiply.