# Tangent and Normal Lines

## Equation of a Tangent Line in Cartesian Coordinates

Suppose that a function *y* = *f* (*x*) is defined on the interval (*a*, *b*) and is continuous at *x*_{0} ∈ (*a*, *b*). At this point (the point *M* in Figure 1), the function has the value *y*_{0} = *f* (*x*_{0}).

Let the independent variable at \({x_0}\) has the increment \(\Delta x.\) The corresponding increment of the function \(\Delta y\) is expressed as

In Figure \(1,\) the point \({M_1}\) has the coordinates \(\left( {{x_0} + \Delta x,{y_0} + \Delta y} \right).\) We draw the secant \(M{M_1}.\) Its equation has the form

where \(k\) is the slope coefficient depending on the increment \(\Delta x\) and equal

When \(\Delta x\) decreases, the point \({M_1}\) moves to the point \(M:\) \({M_1} \to M.\) In the limit \(\Delta x \to 0\) the distance between the points \(M\) and \({M_1}\) approaches zero. This follows from the continuity of the function \(f\left( x \right)\) at \({x_0}:\)

The limiting position of the secant \(M{M_1}\) is just the tangent line to the graph of the function \(y = f\left( x \right)\) at point \(M.\)

There are two kinds of tangent lines - oblique (slant) tangents and vertical tangents.

### Definition 1.

If there is a finite limit \(\lim\limits_{\Delta x \to 0} k\left( {\Delta x} \right) = {k_0},\) then the straight line given by the equation

is called the oblique (slant) tangent to the graph of the function \(y = f\left( x \right)\) at the point \(\left( {{x_0},{y_0}} \right).\)

### Definition 2.

If the limit value of \(k\) as \(\Delta x \to 0\) is infinite: \(\lim\limits_{\Delta x \to 0} k\left( {\Delta x} \right) = \pm \infty,\) then the straight line given by the equation

is called the vertical tangent to the graph of the function \(y = f\left( x \right)\) at the point \(\left( {{x_0},{y_0}} \right).\)

It is important that

that is the slope of the tangent line is equal to the derivative of the function \(f\left( {{x_0}} \right)\) at the tangency point \({x_0}.\) Therefore, the equation of the oblique tangent can be written in the form

Since the slope of a straight line is equal to the tangent of the slope angle \(\alpha,\) which the line forms with the positive direction of the \(x\)-axis, then the following triple identity is valid:

## Equation of a Normal Line in Cartesian Coordinates

A straight line perpendicular to the tangent and passing through the point of tangency \(\left( {{x_0},{y_0}} \right)\) is called the normal to the graph of the function \(y = f\left( x \right)\) at this point \(\left({\text{Figure }2}\right).\)

From geometry it is known that the product of the slopes of perpendicular lines is equal to \(-1.\) Therefore, knowing the equation of a tangent at the point \(\left( {{x_0},{y_0}} \right):\)

we can immediately write the equation of the normal in the form

### Special Cases

- If the derivative \(f^\prime\left( {{x_0}} \right)\) is zero, then we have a horizontal tangent line. This means that the normal line at this point is a vertical line. It is defined by the equation
\[{x = {x_0}.}\]
- If the derivative \(f^\prime\left( {{x_0}} \right)\) approaches (plus or minus) infinity, we have a vertical tangent. In this case, the normal line is a horizontal line defined by the equation
\[{y = {y_0}.}\]

## Equations of Tangent and Normal Lines in Parametric Form

Let a plane curve be given parametrically:

Then the slope of the tangent drawn at the point \(\left( {{x_0},{y_0}} \right)\) can be found using the differentiation rule for parametric functions:

The equation of the tangent is given by

Accordingly, the equation of the normal is written as

## Equations of Tangent and Normal Lines in Polar Coordinates

Suppose that a curve is defined by a polar equation \(r = f\left( \theta \right),\) which expresses the dependence of the length of the radius vector \(r\) on the polar angle \(\theta.\) In Cartesian coordinates, this curve will be described by the system of equations

Thus, we have written the parametric equation of the curve, where the angle \(\theta\) plays the role of a parameter. Next, it is easy to obtain an expression for the slope of the tangent to the curve at the point \(\left( {{x_0},{y_0}} \right):\)

As a result, the equations of the tangent and normal lines are written as follows:

The study of curves can be performed directly in polar coordinates without transition to the Cartesian system. In this case, instead of the angle \(\theta\) with the polar axis (i.e. with the positive direction of the \(x\)-axis), it is more convenient to use the angle \(\beta\) with the line containing the radius vector \(r\) (Figure \(3\)).

The tangent of the angle \(\beta\) is calculated by the formula

The angle formed by the normal and the extended radius vector is \(\beta + \frac{\pi }{2}.\) Using the reduction identity, we get:

## Solved Problems

### Example 1.

Find the equation of the tangent to the curve \[{y = \sqrt x}\] at the point \({\left({1,1}\right)}\) (Figure \(4\)).

Solution.

Substitute the \(3\) values into the equation of the tangent line:

This yields:

Answer:

### Example 2.

Find a point on the curve \[y = {x^2} - 2x - 3\] at which the tangent is parallel to the \(x-\)axis.

Solution.

Since the tangent is parallel to the \(x-\)axis, the derivative is equal to zero at this point. Hence,

Then we find that

### Example 3.

Find the equation of the tangent line to the curve \[y = {x^4}\] at the point \(\left( { - 1,1} \right).\)

Solution.

First we find the derivative of the function:

Calculate the value of the derivative at \({x_0} = - 1:\)

Substitute the \(3\) known numbers and find the equation of the tangent line:

### Example 4.

Find the equation of the tangent line to the curve \[y = {x^3}\] at \({x_0} = 1.\)

Solution.

First we find the derivative:

The value of the derivative at the point of tangency is

Calculate \({y_0}:\)

Substitute this in the equation of tangent:

### Example 5.

Find the equation of the tangent line to the curve \[y = \ln {x^2}\] that is parallel to the straight line \(y = x.\)

Solution.

The derivative of the function is given by

The slope of the tangent line must be equal to \(1\) as it follows from the equation of the straight line. This allows to find the tangency point:

Calculate the value of the function at this point:

Now we can write the equation of the tangent line:

### Example 6.

Find a point on the curve \[y = \sqrt x, \] where the tangent makes an angle of 45 degrees with the positive \(x-\)axis.

Solution.

We use the triple identity

This yields

so the derivative is equal to

From the other side,

Therefore

### Example 7.

Find the equation of the normal line to the curve \[y = {x^3} + {e^x}\] at \({x_0} = 0.\)

Solution.

Determine the value of the function at \({x_0} = 0.\)

The derivative is given by

At the point \({x_0} = 0,\) it equals

Thus, the equation of the normal is written as follows:

### Example 8.

The equation of the tangent line to the graph of a function at \({x_0} = 1\) is defined by the equation \[2x + y - 4 = 0.\] Find the equation of the normal line passing through this point.

Solution.

We rewrite the equation of the tangent as

and find the \(y-\)coordinate of the tangency point:

The slope of the tangent line is \(-2.\) Since the slope of the normal line is the negative reciprocal of the slope of the tangent line, we get that the slope of the normal is equal to \(\frac{1}{2}.\) So the equation of the normal can be written as

or