Tangent line and normal line to a curve - Formulas and examples

The tangent line to a curve is found using the form y=mx+b, where m is the slope of the line and b is the y-intercept. In turn, the slope is calculated using the derivative of the function. Similarly, we find the equation of the normal line considering that its slope is a negative reciprocal of the tangent line.

Here, we will learn about tangent and normal lines to a curve. We will learn how to obtain their equations and we will solve some practice examples.

CALCULUS
Diagram of the equation of the normal to a curve in a point P

Relevant for...

Learning to find the equations of the tangent and normal lines to a curve.

See process

CALCULUS
Diagram of the equation of the normal to a curve in a point P

Relevant for...

Learning to find the equations of the tangent and normal lines to a curve.

See process

How to find the equation of the tangent line to a curve?

The equation of the tangent line to a curve can be found if we know the function that produces the curve and the coordinates of the tangential point, as seen in the following diagram:

Diagram of the equation of the tangent line to a curve at a point P

Then, we can use the slope-intercept form of a linear function, $latex y=mx+b$, where m is the slope of the line and b is the y-intercept.

If we know the equation of the curve and the coordinates of the point $latex P=(x_{1},~y_{1})$, we can follow these steps:


Step 1: Find the derivative of the function that produces the curve.

Step 2: Determine the slope of the tangent line using the derivative.

Since we know the tangential point $latex (x_{1},~y_{1})$, we can evaluate the derivative of the function at the x-coordinate of the point to get the slope. That is, we have $latex m=f'(x_{1})$.

Step 3: Find the value of b using the equation $latex y=mx+b$ with the value of the slope found in step 2.

We can achieve this by using the coordinates $latex (x_{1},~y_{1})$ of the given point in the form $latex y=mx+b$ and solving for b. That is, we have $latex y_{1}=mx_{1}=b$.

Step 4: Use the values of m and b in the form $latex y=mx+b$ to obtain the equation of the tangent line.

How to find the equation of the normal line to a curve?

The equation of the normal line to a curve is found in a similar way as we find the equation of the tangent line. The difference is that we consider the normal line to be perpendicular to the tangent line, as shown in the diagram:

Diagram of the equation of the normal to a curve in a point P

Then, the slope of the normal line is equal to the negative reciprocal of the tangent line. That is, if the slope of the tangent is $latex m$, then the slope of the normal is equal to $latex -\frac{1}{m}$.

If we know the function that represents the curve and the coordinates of the point $latex (x_{1},~y_{1})$, we can follow these steps:


Step 1: Determine the derivative of the function.

Step 2: Use the derivative to find the slope of the tangent line to the curve at the point $latex (x_{1},~y_{1})$. For this, we have $latex m_{1}=f'(x_{1})$.

Step 3: Determine the slope of the normal line using the slope from step 2. The slope of the normal line is equal to $latex m=-\frac{1}{m_{1}}$, where $latex m_{1}$ is the slope of the tangent line.

Step 4: Using the form $latex y=mx+b$ and the slope from step 3, determine the value of b. For this, we use the coordinates of the point $latex (x_{1},~y_{1})$. That is, we have $latex y_{1}=mx_{1}=b$.

Step 5: We substitute the values of m and b in the form $latex y=mx+b$ to obtain the equation of the normal line.

Tangent line and the normal line to a curve - Examples with answers

EXAMPLE 1

If we have the function $latex f(x)=3x^2-3x$, find the equation of the tangent line at the point (1, 3).

Solution

EXAMPLE 2

We have the function $latex f(x)=x^2$. Determine the equation of the normal line at the point P=(3, 2).

Solution

EXAMPLE 3

What is the equation of the tangent line to the function $latex f(x) = -x^{-2}+\sqrt{x}$ at the point (1, 3)?

Solution

EXAMPLE 4

If we have the function $latex f(x)=x^3+\frac{8}{x}$, determine the equation of the normal line at the point (2, -2).

Solution

EXAMPLE 5

If we have the function $latex f(x)=x^2-3x+1$, find the equation of the tangent line at the point where the curve intersects the y-axis.

Solution

EXAMPLE 6

Find the normal line to the function $latex f(x)=\sin(x)-\cos(x)$ at the point (0, 1).

Solution

Tangent line and normal line to a curve - Practice problems

What is the equation of the normal line to $latex f(x)=x^2-3x$ when $latex x=2$?

Choose an answer






If we have the function $latex f(x)=\frac{1}{x^2}$, find the tangent line at the point (-1, 1).

Choose an answer






We have the function $latex f(x)=\frac{6}{x}$. Determine the equation of the normal line when $latex x=3$.

Choose an answer






What is the equation of the tangent line to $latex f(x)=2x^3-1$ when $latex x=1$?

Choose an answer






See also

Interested in learning more about equations of tangent and normal lines to functions? You can look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE