Use the limit definition to find the slope of f(x)=x2 at x=2, then write the tangent line there.
f′(2)=h→0limhf(2+h)−f(2)
1
Write the difference quotient at a=2
Replace f(2+h) by (2+h)2 and f(2) by 22=4. This quotient is the slope of the secant between x=2 and x=2+h.
hf(2+h)−f(2)=h(2+h)2−4
2
Expand the numerator
(2+h)2=4+4h+h2. Subtracting 4 cancels the constant term, as it does for every polynomial.
h(2+h)2−4h4h+h2
3
Cancel h, keeping h=0
Factor h out of the numerator and cancel it. The cancellation is allowed because the quotient is only ever used at nonzero h. The simplified form 4+h is the slope of every secant near x=2.
hh(4+h)=4+h(h=0)
4
Take the limit
As h approaches 0 from either side, 4+happroaches 4. The tangent slope at x=2 is f′(2)=4.
f′(2)=h→0lim(4+h)=4
5
Compare with nearby secants
The secant slopes 4+h sit just above 4 for small positive h and just below it for small negative h. The table supports the limit, and the algebra is what establishes it.
Secant slopes near x=2
h
Secant slope 4+h
0.1
4.1
0.01
4.01
−0.01
3.99
−0.1
3.9
6
Write the tangent line
The tangent passes through (2,f(2))=(2,4) with slope 4. Point-slope form, y=f(a)+f′(a)(x−a), gives the line. Expanding writes it as y=4x−4.
y=4+4(x−2)y=4x−4
Result
f′(2)=4, and the tangent line at x=2 is y=4x−4.
f′(2)=4,y=4x−4
Your turn
1. One like the example
Use the limit definition to find the tangent line to f(x)=x2 at x=−1.
Show the answer and explanation
y=−2x−1.
The quotient ((−1+h)2−1)/h=(−2h+h2)/h=−2+h for h=0, which approaches −2, so f′(−1)=−2. The point is (−1,1), so the tangent is y=1−2(x+1)=−2x−1.
y=1−2(x+1)y=−2x−1
2. A variation
Use the limit definition to find f′(1) for f(x)=3x2−x, then write the tangent line at x=1. The function now has two terms.
Show the answer and explanation
f′(1)=5, and the tangent line is y=5x−3.
f(1)=3−1=2, and f(1+h)=3(1+h)2−(1+h)=2+5h+3h2. The quotient is (5h+3h2)/h=5+3h for h=0, which approaches 5. The tangent is y=2+5(x−1)=5x−3.
h3(1+h)2−(1+h)−2h5h+3h25+3h
3. Somewhere new
The stone falls s(t)=5t2 meters in t seconds. Use the limit definition to find how fast it is falling at t=3.
Show the answer and explanation
s′(3)=30 meters per second.
s(3)=45 and s(3+h)=5(9+6h+h2)=45+30h+5h2. The quotient is (30h+5h2)/h=30+5h for h=0, which approaches 30. The units are meters per second, the units of s over the units of t.
h→0limh5(3+h)2−45h→0lim(30+5h)30
Keep exploring
Open Secant → Tangent at x=2 and drag h toward zero: the secant slope 4+h settles at 4.