3 The tangent line to a curve

Let the equation of the tangent line to the curve y = f ( x ) at the point ( x 0 , y 0 ) be:

y = m x + c

where m and c are constants to be found. The line just touches the curve y = f ( x ) at the point ( x 0 , y 0 ) so, at this point both must have the same value for the derivative. That is:

m = d f d x x 0

Since we know (in any particular case) f ( x ) and the value x 0 we can readily calculate the value for m . The value of c is found by using the fact that the tangent line and the curve pass through the same point ( x 0 , y 0 ) .

y 0 = m x 0 + c and y 0 = f ( x 0 )

Thus m x 0 + c = f ( x 0 ) leading to c = f ( x 0 ) m x 0

Key Point 2

The equation of the tangent line to the curve y = f ( x ) at the point ( x 0 , y 0 ) is

y = m x + c where m = d f d x x 0 and c = f ( x 0 ) m x 0

Alternatively, the equation is y y 0 = m ( x x 0 ) where m = d f d x x 0 and y 0 = f ( x 0 )

Example 1

Find the equation of the tangent line to the curve y = x 2 at the point (1,1).

Solution

Method 1

Here f ( x ) = x 2 and x 0 = 1  thus  d f d x = 2 x m = d f d x x 0 = 2

Also c = f ( x 0 ) m x 0 = f ( 1 ) m = 1 2 = 1 . The tangent line has equation y = 2 x 1.

Method 2

y 0 = f ( x 0 ) = f ( 1 ) = 1 2 = 1

The tangent line has equation y 1 = 2 ( x 1 ) y = 2 x 1

Task!

Find the equation of the tangent line to the curve y = e x at the point x = 0 . The curve and the line are displayed in the following figure:

No alt text was set. Please request alt text from the person who provided you with this resource.

First specify x 0 and f :

x 0 = 0 f ( x ) = e x

Now obtain the values of d f d x x 0  and  f ( x 0 ) m x 0 :

d f d x = e x d f d x 0 = 1 and f 0 1 ( 0 ) = e 0 0 = 1

Now obtain the equation of the tangent line:

y = x + 1

Task!

Find the equation of the tangent line to the curve y = sin 3 x at the point x = π 4 and find where the tangent line intersects the x -axis. See the following figure:

No alt text was set. Please request alt text from the person who provided you with this resource.

First specify x 0 and f :

x 0 = π 4 f ( x ) = sin 3 x

Now obtain the values of d f d x x 0  and f ( x 0 ) m x 0 correct to 2 d.p.:

d f d x = 3 cos 3 x d f d x π 4 = 3 cos 3 π 4 = 3 2 = 2.12

and f π 4 m π 4 = sin 3 π 4 3 2 π 4 = 1 2 + 3 2 π 4 = 2.37   to 2 d.p.

Now obtain the equation of the tangent line:

y = 3 2 x + 1 4 2 ( 4 + 3 π ) so y = 2.12 x + 2.37 (to 2 d.p.)

Where does the line intersect the x -axis?

When y = 0 2.12 x + 2.37 = 0 x = 1.12   to 2 d.p.