Limits are the foundation of all of calculus. Every derivative and every integral is secretly a limit. Before you can do anything else, you need to master what it means for a function to approach a value.
The notation means: as gets arbitrarily close to , the outputs get arbitrarily close to . Notice we never require itself to equal , or even to exist.
Continuity is the special case where the limit and the actual value agree. A function is continuous when you can draw it without lifting your pen. Most functions you encounter are continuous, but the interesting calculus happens at the exceptions.
Building intuition: what does 'approaching' mean?
Imagine plugging in values of that get closer and closer to . For , try . You'll see the outputs cluster around , even though is undefined.
That clustering is the limit. Formally, because the outputs can be made as close to as we like by choosing close enough to .
The limit cares about the neighborhood around a point, not the point itself. This is why limits are useful: they let us analyze behavior at places where the function might break.
One-sided limits
The left-hand limit only uses -values less than (approaching from the left). The right-hand limit only uses values greater than .
The two-sided limit exists if and only if both one-sided limits exist and are equal.
Example: for , we have and . Since they disagree, the two-sided limit at does not exist.
One-sided limits are essential for piecewise functions, absolute value expressions, and functions with jumps.
Evaluating limits: direct substitution
Always try direct substitution first. If is continuous at , then . You're done.
Polynomials, rational functions (away from zeros of the denominator), , (for ), , , and (away from asymptotes) are all continuous on their domains.
Direct substitution fails when you get an undefined expression like . That's when you need the techniques below.
Indeterminate forms and algebraic tricks
The expression is called indeterminate because the limit could be anything: , , , or it might not exist. You must simplify.
Factor and cancel: if the numerator and denominator share a common factor like , cancel it and try substitution again.
Rationalize: when you see a square root, multiply by the conjugate. For example, times simplifies the radical.
Combine fractions: if the expression has two fractions being subtracted, find a common denominator to combine them into a single fraction.
Use trig identities: rewrite expressions using , double-angle formulas, or the identity to simplify.
Factoring a removable discontinuity
- Compute .
- First, try direct substitution: plugging in gives . This is indeterminate, so we need to simplify.
- Recognize that the numerator is a difference of squares: .
- Rewrite: . Since we're taking the limit as (not evaluating at ), , so we can cancel the terms.
- After canceling: .
- Now direct substitution works: .
- The limit is . The original function has a hole at , but the limit 'sees through' the hole to the value the function approaches.
Rationalizing a radical expression
- Compute .
- Direct substitution: . Indeterminate.
- The trouble is the square root in the numerator. To eliminate it, multiply by the conjugate: .
- The numerator becomes (difference of squares pattern).
- So the expression simplifies to .
- Now substitute : .
- The limit is . The conjugate trick is your go-to whenever you see in a limit.
Key trigonometric limits
These special limits appear constantly and should be memorized:
. This is the most important trig limit in calculus. It's proven using the Squeeze Theorem.
. You can derive this by multiplying by and using the first limit.
. This follows from .
Generalization: for any constant . Factor out the or substitute .
Another useful limit: . This shows up in many exponential limit problems.
Using the generalized sin(kx)/x limit
- Compute .
- This doesn't match exactly, but we can manipulate it to use the standard limit.
- Rewrite: . We multiplied and divided by to create the form .
- Now as , the expression as well, so by the standard trig limit.
- Therefore: .
- Key takeaway: whenever you see , the answer is . Just match the argument of with the denominator.
The Squeeze Theorem
If near , and , then .
The function is 'squeezed' between two functions that both approach the same value, so has no choice but to approach that value too.
Classic example: . We know , and both and approach , so the limit is .
The Squeeze Theorem is how we rigorously prove using geometry of the unit circle.
💡Explain it simply
Imagine you're walking between two friends on a sidewalk. Both friends are heading toward the same coffee shop. Since you're stuck between them, you have to end up at the same coffee shop too — you have no choice.
That's the Squeeze Theorem. If a wiggly, hard-to-track function is trapped between two simpler functions, and those simpler functions both go to the same place, the wiggly one must go there too.
It's especially handy when a function oscillates wildly (like near zero) but is being multiplied by something that shrinks to zero (like ). The shrinking part forces everything to zero.
Squeeze Theorem with an oscillating function
- Compute .
- The problem: oscillates wildly between and as . We can't evaluate . So direct substitution is hopeless.
- But we know for all .
- Multiply the entire inequality by (which is positive, so the inequality direction stays the same): .
- Now evaluate the outer limits: and .
- Both sides squeeze to , so by the Squeeze Theorem: .
- The insight: even though is chaotic, is shrinking to zero so fast that it forces the entire product to zero. The 'tames' the oscillation.
Continuity
A function is continuous at when three conditions all hold: (1) is defined, (2) exists, and (3) .
If any condition fails, we have a discontinuity. Types of discontinuity:
Removable discontinuity (hole): the limit exists but is either undefined or disagrees with the limit. Example: at .
Jump discontinuity: the left and right limits exist but are different. Example: (floor function) at every integer.
Infinite discontinuity: the function blows up to . Example: at .
A function continuous on a closed interval is guaranteed to hit every -value between and (Intermediate Value Theorem). This is used to prove equations have solutions.
💡Explain it simply
A continuous function is one you can draw without lifting your pen off the paper. No gaps, no jumps, no sudden teleporting.
A hole (removable discontinuity) is like a missing stepping stone in a path — the path clearly continues, but one stone is gone. A jump is like a staircase — you suddenly leap to a different height. An infinite discontinuity is like a cliff — the ground drops away forever.
The Intermediate Value Theorem is common sense: if it's 30°F in the morning and 70°F in the afternoon, at some point during the day it must have been exactly 50°F. Temperature doesn't teleport — it's continuous.
Evaluating limits of piecewise functions
For a piecewise function, you must check the left-hand and right-hand limits separately at each boundary point.
Use the piece that applies for to compute , and the piece that applies for to compute .
If , then . For continuity, you also need .
Example: if for and for , then and , so the limit exists and equals . Since , the function is continuous at .
Infinite limits and vertical asymptotes
An infinite limit like means the outputs grow without bound as approaches . The limit technically does not exist as a real number, but we write to describe the behavior.
Vertical asymptotes occur where the denominator approaches but the numerator does not.
Check signs carefully: but . The one-sided behavior can differ.
For rational functions, factor the denominator to find all vertical asymptotes. Cancel common factors first (those give removable discontinuities, not asymptotes).
Limits at infinity and horizontal asymptotes
Limits as describe long-run behavior. A horizontal asymptote means or .
For rational functions , compare the degrees: if , the limit is . If , the limit is the ratio of leading coefficients. If , the limit is (no horizontal asymptote).
Technique: divide every term by the highest power of in the denominator. As , terms like , , etc. all go to .
For expressions with radicals, factor out the dominant term. Example: .
Rational function limit at infinity
- Compute .
- Both numerator and denominator grow without bound, so we get . We need to compare how fast each grows.
- Technique: divide every term by the highest power of in the denominator, which is .
- .
- As : , , and .
- So the expression approaches .
- The horizontal asymptote is . Quick rule: when the degrees are equal, the limit is just the ratio of the leading coefficients ().
L'Hôpital's Rule
When direct substitution gives or , L'Hôpital's Rule says: , provided the right-hand limit exists.
Important: differentiate the numerator and denominator separately. Do not use the quotient rule.
You may need to apply the rule multiple times if the result is still indeterminate.
For other indeterminate forms like , , , , or , rewrite the expression into a or form first.
Example: for ( form), rewrite as ( form) and apply L'Hôpital.
💡Explain it simply
When you plug in the number and get , it's like asking 'what's nothing divided by nothing?' — the answer is genuinely unclear. It could be anything.
L'Hôpital's Rule says: instead of looking at the original functions, look at how fast each one is approaching zero. The one that's racing to zero faster 'wins.' Taking derivatives measures exactly that speed.
Think of two cars both approaching a finish line (zero). The question 'what's the ratio?' depends on their speeds. L'Hôpital says: compare the speedometers (derivatives) instead of the positions.
Applying L'Hôpital's Rule to 0/0
- Compute .
- Direct substitution: . Indeterminate.
- Since both numerator and denominator approach , L'Hôpital's Rule applies.
- Differentiate the numerator: .
- Differentiate the denominator: .
- So .
- Now direct substitution works: .
- The limit is . This confirms what we'd expect: near , both and behave approximately like , so their ratio approaches .
Converting a 0 · ∞ form for L'Hôpital
- Compute .
- As : and . So this is a form — not directly eligible for L'Hôpital.
- Rewrite as a fraction: . Now as , the numerator and the denominator . This is — L'Hôpital applies.
- Differentiate numerator: .
- Differentiate denominator: .
- So .
- The limit is . Even though goes to , goes to fast enough to win the tug-of-war.
Common Mistakes to Avoid
- Plugging in the value too early before simplifying an indeterminate form. Always check for or first.
- Concluding the limit does not exist just because is undefined. The function not being defined at says nothing about the limit.
- Ignoring one-sided limits for piecewise functions and absolute values. You must check both sides.
- Confusing continuity with differentiability. Continuity means no jumps or holes; differentiability means no sharp corners either. is continuous at but not differentiable.
- Forgetting to cancel common factors before declaring a vertical asymptote. A common factor means a hole, not an asymptote.
- Using L'Hôpital's Rule when the form is not indeterminate. It only applies to or .
- Applying the quotient rule instead of differentiating numerator and denominator separately in L'Hôpital's Rule.