If you zoom in on the curve of a skate ramp, what straight line does it look like?
If you zoom in on one spot on a smooth skate ramp, the curve starts to look straight. That straight line has the same steepness as the ramp at that spot. How could you find its equation?
For y equals x squared, the power rule brings the two down and reduces the power by one. So the derivative is two x. Substitute an x-value into the derivative to find the slope of the curve at that point.
Look at the blue curve and the green line. Both pass through one, one. At x equals one, the derivative two x gives a slope of two, which is also the green line's slope. Because it matches the curve's slope at that point, the line is the tangent there.
On the curve y equals x squared, suppose you want the tangent where x is three. Use the original curve to find the point the line must pass through. Pick the coordinates.
Start at the known point, x one, y one. Take a second point, x, y, with a different x-coordinate. The slope is the change in y divided by the change in x. Multiply both sides by x minus x one to get the point–slope equation.
For y equals x squared minus x, substitute two for x to get y equals two. Differentiate to get two x minus one. At x equals two, the slope is three. Put the point and slope into the point–slope equation. Expand the bracket, then add two to both sides.
Stay with y equals x squared minus x, but move to x equals three. Find the new point and the new slope. Then pick the equation that uses both.
For the worked example, it's tempting to write y equals two x minus one and stop. But that expression gives three at x equals two, and the tangent has to go through two, two. The actual line, y equals three x minus four, passes that test.
An exam question might say, ‘Find the equation of the tangent to the curve y equals x squared plus two x at the point where x equals one.’ Show the point, show the slope, then write the full equation of the line.