sciandu
Mathematics

Mathematics

Finding the tangent

The derivative gives you the slope at one place. In three steps that becomes the equation of the line that hugs the curve there.

The tells you how steep a curve is at a particular place. That is a number. But often you want more: the straight line that touches the curve exactly there and has the same slope. It is called the tangent, and it is the best straight approximation to the curve near that point. Anyone who can find a tangent can also extrapolate growth or join curves together without a kink at the seam.

Three steps, always the same

A straight line has the form y=mx+by = mx + b, so you need two numbers. You get the slope mm from the derivative: m=f(x0)m = f'(x_0). You get the intercept bb by substituting the point of contact, because the tangent has to pass through it. And the point of contact itself is (x0f(x0))(x_0 | f(x_0)).

An example: f(x)=x2f(x) = x^2 at the place x0=3x_0 = 3. First the point of contact: f(3)=9f(3) = 9, so (39)(3|9). Second the slope: f(x)=2xf'(x) = 2x, so f(3)=6f'(3) = 6. Third substitute: 9=63+b9 = 6 \cdot 3 + b, which gives b=9b = -9. The tangent is y=6x9y = 6x - 9.

Coordinate grid
m1
b1
-6-6-4-4-2-2224466
y = 1x + 1Starts at 1, +1 per step right
Set the line to m=6m = 6 and b=9b = -9, the tangent from the example. It runs through the point (3|9), which you can find on the grid, and meets the xx axis at 1.5. Change bb by a small amount: the line shifts in parallel and no longer touches the parabola. Exactly this one combination of slope and height fits, which is why the tangent is unique.
y=f(x0)(xx0)+f(x0)y = f'(x_0) \cdot (x - x_0) + f(x_0)
The same tangent in one line: slope times distance from the point of contact, plus the height there.

This short form saves you from solving for bb. Substitute the three numbers and expand, and the line is finished. For the example: y=6(x3)+9=6x18+9=6x9y = 6 \cdot (x - 3) + 9 = 6x - 18 + 9 = 6x - 9. Both routes give the same answer, take whichever comes more easily.

The normal

Sometimes the line you want is not the one that hugs the curve but the one perpendicular to it. It is called the normal and has slope 1m-\frac{1}{m}. So a tangent slope of 6 becomes 16-\frac{1}{6}. The rest of the calculation is identical: the same point, the same three steps, only a different slope.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

What is a tangent to the graph of a function?

For f(x)=x2f(x) = x^2 the derivative is f(x)=2xf'(x) = 2x. What slope does the tangent have at x0=5x_0 = 5?

For f(x)=x2f(x) = x^2 the tangent at x0=2x_0 = 2 is wanted. What is it?

Put the steps for finding a tangent into the right order.

  1. 1Write down the finished line equation and do the point check.
  2. 2Put the point and the slope into y=mx+by = mx + b and solve for bb.
  3. 3Substitute x0x_0 into the derivative, that is the slope mm.
  4. 4Find the derivative f(x)f'(x).
  5. 5Work out the function value f(x0)f(x_0), the height of the point of contact.

For f(x)=x3f(x) = x^3 the derivative is f(x)=3x2f'(x) = 3x^2. What slope does the tangent have at x0=2x_0 = -2?

The normal is to the tangent.