• Foundation
  • About 14 min
  • 5 practice questions

Tangents and normals to a curve

Write the equation of the tangent and the normal to a curve at a point, find where a tangent is parallel or perpendicular to a given line, and handle horizontal and vertical cases.

If something looks wrong, please tell us.

The derivative gives the slope of the tangent at a point. Once you know a slope and a point you can write the equation of a straight line, and this is how tangent lines are found. The normal is the line through the same point at right angles to the tangent. Tangent and normal questions are among the most common uses of the derivative, and they need only the derivative, the equation of a line and a little care with signs.

The tangent line

Take the curve y = f(x) and a point (x₁, y₁) on it. The slope of the tangent there is m = f′(x₁). The equation of a line through (x₁, y₁) with slope m is y − y₁ = m(x − x₁), so the tangent is y − y₁ = f′(x₁)(x − x₁). Two steps are easy to forget: the y-coordinate comes from the curve itself, y₁ = f(x₁), and the slope is found by differentiating first and substituting afterwards.

The normal line

Two lines with slopes m₁ and m₂ are perpendicular when m₁m₂ = −1. So if the tangent has slope m ≠ 0, the normal has slope −1/m, and its equation is y − y₁ = (−1/m)(x − x₁). There are two special cases. If the tangent is horizontal (m = 0), the normal is the vertical line x = x₁. If the tangent is vertical, the normal is the horizontal line y = y₁.

Tangent at (x₁, y₁): y − y₁ = f′(x₁)(x − x₁). Normal: y − y₁ = −(1/f′(x₁))(x − x₁), provided f′(x₁) ≠ 0. Tangent slope × normal slope = −1.

Worked example 1: both lines at a point

Find the tangent and normal to y = x² − 3x + 2 at x = 3. The point: y = 9 − 9 + 2 = 2, so (3, 2). The slope: dy/dx = 2x − 3, which is 3 at x = 3. Tangent: y − 2 = 3(x − 3), that is y = 3x − 7. The normal has slope −1/3: y − 2 = −(1/3)(x − 3). Multiplying by 3 gives 3y − 6 = −x + 3, so the normal is x + 3y = 9. Check: the point (3, 2) satisfies 3 + 6 = 9.

Worked example 2: a curve with a root

Find the tangent and normal to y = √x at x = 4. The point is (4, 2). Since dy/dx = 1/(2√x), the slope at x = 4 is 1/4. Tangent: y − 2 = (1/4)(x − 4), which simplifies to x − 4y + 4 = 0. The normal has slope −4: y − 2 = −4(x − 4), so 4x + y = 18.

Tangents with a given direction

Sometimes the point is not given, only the direction. A tangent parallel to a given line has the same slope as that line; a tangent perpendicular to it has slope equal to the negative reciprocal. Set f′(x) equal to the required slope, solve for x, then find y from the curve.

Worked example 3: parallel to a line

Find the point on y = x² − 4x + 7 where the tangent is parallel to the line 2x − y + 3 = 0. The line is y = 2x + 3, with slope 2. Solve 2x − 4 = 2, so x = 3. Then y = 9 − 12 + 7 = 4. The point is (3, 4) and the tangent there is y − 4 = 2(x − 3), that is y = 2x − 2.

Worked example 4: a horizontal tangent

For y = x² − 2x, dy/dx = 2x − 2 is zero at x = 1, where y = −1. The tangent at (1, −1) is y = −1, which is horizontal, so the normal there is the vertical line x = 1. You cannot use −1/m here, because m = 0 would mean dividing by zero. Always look at the slope before taking its reciprocal.

Common mistakes

  • Substituting the point into the equation of the curve to get the slope. The slope comes from the derivative.
  • Using the slope of the tangent for the normal, or forgetting the minus sign in −1/m.
  • Writing y = mx instead of y − y₁ = m(x − x₁), which forces the line through the origin.
  • Taking a point that is not on the curve: always check that y₁ = f(x₁).

Key takeaways: find the point on the curve, differentiate, and substitute x₁ to get the slope m. The tangent is y − y₁ = m(x − x₁) and the normal has slope −1/m. A horizontal tangent has a vertical normal. For a given direction, set f′(x) equal to the required slope and solve for x.

Check your understanding

  1. 1. What is the equation of the tangent to y = x² at the point (2, 4)?

    1. y = 2x
    2. y = 4x − 4
    3. y = 4x + 4
    4. y = 4x − 8
    Show answer

    Answer: B. The slope is dy/dx = 2x = 4 at x = 2. Then y − 4 = 4(x − 2), so y = 4x − 4.

  2. 2. What is the slope of the normal to y = x² + x at x = 2?

    1. 1/5
    2. −5
    3. 5
    4. −1/5
    Show answer

    Answer: D. dy/dx = 2x + 1 = 5 at x = 2, so the tangent has slope 5. The normal has the negative reciprocal slope, −1/5.

  3. 3. At which points is the tangent to y = x³ parallel to the line y = 12x + 1?

    1. (2, 8) and (−2, −8)
    2. (2, 8) and (−2, 8)
    3. (4, 64) and (−4, −64)
    4. (1, 1) and (−1, −1)
    Show answer

    Answer: A. dy/dx = 3x². Setting 3x² = 12 gives x = 2 or x = −2. Then y = x³ gives (2, 8) and (−2, −8).

  4. 4. What is the equation of the normal to y = x² − 6x + 10 at its lowest point?

    1. y = 3
    2. y = 1
    3. x = 3
    4. x = 1
    Show answer

    Answer: C. dy/dx = 2x − 6 = 0 at x = 3, where y = 9 − 18 + 10 = 1. The tangent at (3, 1) is the horizontal line y = 1, so the normal is the vertical line x = 3.

  5. 5. What is the equation of the tangent to y = x³ − 3x² + 2 at x = 1?

    1. y = 3x − 3
    2. y = −3x − 3
    3. y = −3x
    4. y = −3x + 3
    Show answer

    Answer: D. At x = 1, y = 1 − 3 + 2 = 0. dy/dx = 3x² − 6x = −3 at x = 1. So y − 0 = −3(x − 1), which is y = −3x + 3.

Sign in to keep track of the lessons you finish.

Next lesson → Second and higher derivatives

Privacy · Terms · Refunds · Delivery