Solution:
Key idea: The curve cuts the x-axis where y=0. At each such point we find the slope dxdy and write the tangent as y−0=m(x−x1).
Step 1 — Find where the curve cuts the x-axis.
We put y=0 and solve; a product is zero when one of its factors is zero.
(x2−1)(x−2)=0
(x−1)(x+1)(x−2)=0
So x=−1, x=1 or x=2, and the points are (−1,0), (1,0) and (2,0).
Step 2 — Differentiate the curve.
We use the product rule on (x2−1)(x−2).
dxdy=2x(x−2)+(x2−1)(1)
dxdy=3x2−4x−1
Step 3 — Find the slope at each point.
We put each x-value into the derivative.
At x=−1 the slope is:
dxdy=3+4−1
dxdy=6
At x=1 the slope is:
dxdy=3−4−1
dxdy=−2
At x=2 the slope is:
dxdy=12−8−1
dxdy=3
Step 4 — Write the tangent at (−1,0).
The slope is 6 and the point is (−1,0).
y−0=6(x+1)
6x−y+6=0
Step 5 — Write the tangent at (1,0).
The slope is −2 and the point is (1,0).
y−0=−2(x−1)
2x+y−2=0
Step 6 — Write the tangent at (2,0).
The slope is 3 and the point is (2,0).
y−0=3(x−2)
3x−y−6=0
Therefore, the tangents are 6x−y+6=0 at (−1,0), 2x+y−2=0 at (1,0) and 3x−y−6=0 at (2,0).