The denominator x−2 is 0 at x=2, so the expression is undefined there. The limit asks about inputs near 2, not at it.
f(x)=x−2x2−4,x=2
2
Try substitution
Both the numerator and the denominator become 0.0/0 is not a number, so substitution has not answered the question. It says the expression needs rewriting.
2−222−4=00
3
Factor the numerator
x2−4 is a difference of squares, a2−b2=(a−b)(a+b) with a=x and b=2. The factor x−2 now appears on top and on the bottom.
x2−4=(x−2)(x+2)
4
Cancel, keeping x=2
For every input other than 2,x−2 is not 0, and dividing by it is allowed. Keep x=2 beside the result, because the original expression is still undefined at 2.
x−2(x−2)(x+2)=x+2(x=2)
5
Take the limit of the simpler form
Near 2 the quotient equals x+2, so it has the same limit. x+2 is a polynomial, and substitution gives 2+2=4.
x→2limx−2x2−4=x→2lim(x+2)=4
6
Keep the limit and the value apart
The limit is 4, and the function is still undefined at 2. Its graph is the line y=x+2 with a hole at (2,4).
The limit and the value answer different questions
Question
Answer
Limit from the left
4
Limit from the right
4
Two-sided limit
4
Value of f at 2
undefined
Result
The limit is 4. The function itself is undefined at x=2, where its graph has a hole at (2,4).
x→2limx−2x2−4=4
Your turn
1. One like the example
Find the limit of (x2−9)/(x−3) as xapproaches 3. Is the function defined at 3?
Show the answer and explanation
The limit is 6. The function is undefined at 3.
Substitution gives 0/0. Factor x2−9 as (x−3)(x+3) and cancel x−3, which is allowed for x=3. Then x+3 approaches 3+3=6. The original denominator is still 0 at x=3, so f(3) does not exist.
x→3limx−3x2−9x→3lim(x+3)6
2. A variation
Find the limit of (x2+3x+2)/(x2−1) as xapproaches −1. This time both the top and the bottom need factoring.
Show the answer and explanation
The limit is −1/2.
At x=−1 the top is 1−3+2=0 and the bottom is 1−1=0. Factor both, (x+1)(x+2) over (x+1)(x−1), and cancel x+1. Substituting into (x+2)/(x−1) gives 1/(−2)=−1/2.
x→−1limx2−1x2+3x+2x→−1limx−1x+2−21
3. Somewhere new
A ball thrown upward is s(t)=20t−5t2 meters high after t seconds. Its average velocity between 1 second and t seconds is (s(t)−15)/(t−1). What does that average approach as t approaches 1?
Show the answer and explanation
10 meters per second, the ball’s velocity at t=1.
s(1)=20−5=15, so the average is (20t−5t2−15)/(t−1), which gives 0/0 at t=1. The top is −5(t2−4t+3)=−5(t−1)(t−3). Canceling t−1leaves −5(t−3)=15−5t, which approaches 15−5=10.
t→1limt−120t−5t2−15t→1lim(15−5t)10
Keep exploring
Open Explore in Limits and narrow the window: the left and right tables close in on 4 from below and above, while the value at 2 stays undefined.