A practical, step-by-step guide to evaluating limits in calculus.
6 min read
By MathlyAI Team
CalculusLimitsBeginnerWorked Examples
Limits describe what a function approaches, not necessarily what it equals. This guide walks through the most common limit techniques with clear steps and many examples. If you are new to limits, start with direct substitution and then move into indeterminate forms like 0/0.
Quick Roadmap
Try direct substitution.
If you see an indeterminate form (0/0 or ∞/∞), simplify:
Factor and cancel
Rationalize
Use trig identities
Combine into a single fraction
For limits at infinity, compare dominant terms.
For piecewise functions, check left and right limits.
What a Limit Means
When we write
x→alimf(x)=L,
we mean that the values of f(x) get closer and closer to L as x gets closer and closer to a. The function value at a might be different or even undefined, and the limit can still exist.
1. Direct Substitution (Start Here)
If f(x) is continuous at a, just plug in x=a.
Example 1
x→3lim(x2−4x+7)
Solution
32−4(3)+7=9−12+7=4
Answer:4
Example 2
x→−2limx+3x2+5x+6
Solution
Direct substitution works because the denominator is not zero:
−2+3(−2)2+5(−2)+6=14−10+6=0
Answer:0
2. Factoring and Canceling (0/0 Forms)
When substitution gives 0/0, it means there is a removable factor.
Example 3
x→2limx−2x2−4
Solution
Factor:
x−2(x−2)(x+2)
Cancel x−2:
x→2lim(x+2)=4
Answer:4
Example 4
x→−1limx+1x3+1
Solution
Factor sum of cubes:
x3+1=(x+1)(x2−x+1)
Cancel x+1:
x→−1lim(x2−x+1)=(−1)2−(−1)+1=3
Answer:3
3. Rationalizing (Roots in the Numerator or Denominator)
If you have a square root and get 0/0, multiply by the conjugate.
Example 5
x→0limxx+9−3
Solution
Multiply by the conjugate:
xx+9−3⋅x+9+3x+9+3
Simplify:
x(x+9+3)x+9−9=x(x+9+3)x
Cancel x:
x→0limx+9+31=61
Answer:61
Example 6
x→4lim4−x4−x
Solution
Rewrite and rationalize:
4−x4−x⋅4+x4+x=(4−x)(4+x)16−x
Now 16−x=−(x−16) and 4−x=−(x−4), so:
(4−x)(4+x)16−x=4+x1
Plug in x=4:
4+21=61
Answer:61
4. Trigonometric Limits and Identities
Two key limits:
x→0limxsinx=1,x→0limx1−cosx=0
Also:
x→0limx21−cosx=21
Example 7
x→0limxsin(5x)
Solution
Multiply and divide by 5:
x→0lim5⋅5xsin(5x)=5⋅1=5
Answer:5
Example 8
x→0limx21−cos(3x)
Solution
Use the known limit:
x21−cos(3x)=(3x)21−cos(3x)⋅9
So:
9⋅x→0lim(3x)21−cos(3x)=9⋅21=29
Answer:29
5. Combine and Simplify Complex Fractions
Sometimes you need to combine terms first.
Example 9
x→2limx−2x1−21
Solution
Combine the numerator:
x−22x2−x=2x(x−2)2−x
Note 2−x=−(x−2):
2x(x−2)−(x−2)=−2x1
Now substitute:
−2(2)1=−41
Answer:−41
6. Limits at Infinity
For rational functions, compare the highest power of x.
Example 10
x→∞lim2x3+7x2−54x3−2x+1
Solution
Divide by x3:
x→∞lim2+x7−x354−x22+x31=24=2
Answer:2
Example 11
x→∞lim5x3−2x3x2+1
Solution
Degree in denominator is higher, so limit is 0.
Answer:0
7. One-Sided Limits and Piecewise Functions
If the left-hand and right-hand limits are different, the limit does not exist.
Example 12
Let
f(x)={2x+1,x2−1,x<1x≥1
Find limx→1f(x).
Solution
Left-hand limit:
x→1−lim(2x+1)=3
Right-hand limit:
x→1+lim(x2−1)=0
They are not equal, so the limit does not exist.
Answer: DNE
8. Squeeze Theorem (Bounds Method)
If g(x)≤f(x)≤h(x) and
x→alimg(x)=x→alimh(x)=L,
then limx→af(x)=L.
Example 13
x→0limx2sin(x1)
Solution
Since −1≤sin(1/x)≤1,
−x2≤x2sin(x1)≤x2
Both bounds go to 0, so the limit is 0.
Answer:0
9. A Practical Checklist for Any Limit
Use this checklist when you get stuck:
Substitute directly and see what happens.
If 0/0, try factoring or common denominators.
If roots are involved, rationalize.
If trig is involved, use special trig limits or identities.
If infinity appears, compare highest powers or divide by the highest power.
For piecewise functions, evaluate left and right limits.
Consider Squeeze Theorem if the function oscillates.
Common Mistakes to Avoid
Cancelling terms that are not factors.
Plugging in too early when you have 0/0.
Forgetting to check one-sided limits for piecewise or absolute value functions.
Mixing degrees incorrectly in limits at infinity.
Treating lim like direct evaluation when the function is undefined at the point.
Practice Problems (With Answers)
limx→1x−1x2−1 Answer:2
limx→0xsin(2x) Answer:2
limx→0x4+x−2 Answer:41
limx→∞2x2+5x7x2−3 Answer:27
limx→0x21−cosx Answer:21
Final Takeaway
Limits become much easier when you follow a consistent process. Start with direct substitution, then resolve indeterminate forms using algebra or identities. With practice, you will recognize patterns quickly and choose the right technique on the first try.