Limit laws and one-sided limits
A limit describes the value a function approaches, not necessarily the value it takes. With a small toolkit of laws and algebra tricks, you can evaluate almost any limit you will meet.
What a limit says
We write lim (x -> a) f(x) = L when f(x) can be made as close as we like to L by taking x close enough to a, but not equal to a. The value f(a) itself does not matter: f might be undefined at a, or defined as something completely different, and the limit can still exist. Limits are about the neighbourhood of a point, the trend of the outputs as inputs close in.
\lim_{x \to a} f(x) = LExample: a function with a hole
Let f(x) = (x^2 - 1)/(x - 1). At x = 1 the formula gives 0/0, so f(1) is undefined. But for every other x we can factor: (x - 1)(x + 1)/(x - 1) = x + 1. The graph is the line y = x + 1 with a single missing point at (1, 2). As x approaches 1 from either side, f(x) approaches 2. So the limit is 2 even though the function has no value there. This is the most common situation you will see in limit problems.
When limits fail to exist
A limit fails to exist in three typical ways. A jump: the function approaches different values from the left and the right, as with a step function. Unbounded growth: the outputs grow without bound, as with 1/x^2 near 0. Oscillation: the outputs keep swinging without settling, as with sin(1/x) near 0, which wiggles between -1 and 1 infinitely often. Recognising these three behaviours on a graph is a valuable skill.
One-sided limits
Sometimes we only care about one direction. The left-hand limit, written with x -> a^-, uses only x values less than a. The right-hand limit, x -> a^+, uses only values greater than a. The two-sided limit exists exactly when both one-sided limits exist and are equal. Piecewise functions are where one-sided limits matter most, because a different formula may apply on each side.
\lim_{x \to a} f(x) = L \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = LWorked example: a piecewise function
Let f(x) = x + 2 for x < 1 and f(x) = 4 - x^2 for x >= 1. From the left, use x + 2: as x approaches 1 it approaches 3. From the right, use 4 - x^2: it approaches 3. Both sides agree, so the two-sided limit at 1 is 3. If the right-hand piece had been 5 - x^2, the right-hand limit would be 4, the sides would disagree, and the two-sided limit would not exist, a jump.
The limit laws
If lim f(x) = L and lim g(x) = M as x approaches a, then the limit of a sum is L + M, of a difference L - M, of a constant multiple cL, of a product LM, and of a quotient L/M provided M is not 0. Powers and roots behave the same way: the limit of f(x)^n is L^n. These laws let you break a complicated limit into simple pieces.
\lim_{x \to a} [f(x) g(x)] = \lim_{x \to a} f(x) \cdot \lim_{x \to a} g(x)Direct substitution
A powerful consequence of the limit laws: for polynomials and rational functions, if a is in the domain, the limit is just the function value. For example, the limit of 2x^3 - x + 5 as x approaches 2 is 2(8) - 2 + 5 = 19. Always try substitution first. If you get a real number, you are done. If you get 0/0, you need algebra. If you get a nonzero number over 0, expect an infinite limit or a limit that does not exist.
\lim_{x \to a} p(x) = p(a)Technique 1: factor and cancel
When substitution gives 0/0, the numerator and denominator usually share a factor. Evaluate the limit of (x^2 - 9)/(x - 3) as x approaches 3. Substitution gives 0/0. Factor the top as (x - 3)(x + 3), cancel the common factor, and you are left with x + 3, which approaches 6. Canceling is legitimate because the limit never uses x = 3 itself.
\lim_{x \to 3} \frac{x^2 - 9}{x - 3} = \lim_{x \to 3} (x + 3) = 6Technique 2: multiply by the conjugate
Square roots call for the conjugate. Find the limit of (sqrt(x) - 2)/(x - 4) as x approaches 4. Substitution gives 0/0. Multiply top and bottom by sqrt(x) + 2. The top becomes x - 4, which cancels with the bottom, leaving 1/(sqrt(x) + 2). Now substitute: 1/(2 + 2) = 1/4. The conjugate turns an awkward difference of roots into something that factors.
\lim_{x \to 4} \frac{\sqrt{x} - 2}{x - 4} = \lim_{x \to 4} \frac{1}{\sqrt{x} + 2} = \frac{1}{4}The squeeze theorem
If g(x) <= f(x) <= h(x) near a, and g and h both approach the same limit L, then f is trapped and must approach L too. Classic example: x^2 sin(1/x) as x approaches 0. Since sin(1/x) is between -1 and 1, the function is squeezed between -x^2 and x^2, both of which approach 0. So the limit is 0, even though sin(1/x) alone oscillates wildly. The same theorem proves the famous result that sin(x)/x approaches 1.
-x^2 \le x^2 \sin(1/x) \le x^2 \implies \lim_{x \to 0} x^2 \sin(1/x) = 0Infinite limits and vertical asymptotes
If f(x) grows without bound as x approaches a, we write the limit as infinity, a description of behaviour rather than a real number. For 1/(x - 2), the outputs shoot to positive infinity from the right of 2 and negative infinity from the left. The line x = 2 is a vertical asymptote. A rational function typically has a vertical asymptote where the denominator is zero and the numerator is not.
A glimpse of the precise definition
Mathematicians make 'close' exact with the epsilon-delta definition: for every tolerance epsilon > 0 there is a distance delta > 0 such that whenever x is within delta of a (but not equal to a), f(x) is within epsilon of L. Think of it as a challenge and response: someone names how close the outputs must be, and you show how close the inputs need to be. You will rarely compute with it in a first course, but it is what makes all the limit laws trustworthy.
0 < |x - a| < \delta \implies |f(x) - L| < \varepsilonCommon mistakes
Concluding that a limit is 0 because substitution gave 0/0; 0/0 means 'more work needed'. Assuming the limit equals f(a) for a function with a hole or a jump. Canceling terms instead of factors, for example crossing out x^2 in (x^2 + 1)/x^2. Forgetting to check both sides for piecewise functions. Treating 'infinity' as a number you can do arithmetic with.
Try it yourself
Evaluate the limit of (x^2 + x - 6)/(x - 2) as x approaches 2. Answer: substitution gives 0/0. Factor the top as (x + 3)(x - 2), cancel x - 2, and evaluate x + 3 at 2 to get 5. Then try the limit of (sqrt(x + 9) - 3)/x as x approaches 0. Answer: multiply by the conjugate to get 1/(sqrt(x + 9) + 3), which approaches 1/6.
Key takeaways
A limit describes approach, not arrival. Try direct substitution first. If you get 0/0, factor and cancel, multiply by a conjugate, or use the squeeze theorem. Check one-sided limits whenever a function changes formula or has a jump. A limit fails to exist when the sides disagree, the outputs blow up, or they oscillate without settling.
Flashcard
The limit of f as x approaches a is L
Check your understanding
Evaluate lim (x->4) (sqrt(x) - 2)/(x - 4).
