CALCULUS WORKSPACE

Normal Line Calculator

Find the line perpendicular to a curve’s tangent at a selected point, with its slope, equation, and clear steps.

CALCULUS

Enter a function and point

Try an example

Enter a supported function of x and a real input where the function is defined and differentiable.

NORMAL LINE

At x = 2

✓ Calculated
POINT-SLOPE FORM
y−11=−0.14285714(x−2)y - 11 = -0.14285714\left(x - 2\right)
SLOPE-INTERCEPT FORM
y=−0.14285714x+11.285714y = -0.14285714x + 11.285714
POINT ON CURVE(2, 11)TANGENT SLOPE7NORMAL SLOPE-0.14285714
STEP-BY-STEP

Build the normal equation

y−f(a)=−1f′(a)(x−a)y-f(a)=-\frac{1}{f'(a)}(x-a)
  1. 1
    Locate the point on the curve

    Evaluate the function at a = 2.

    f(2)=11⇒P=(2,11)f(2) = 11\quad\Rightarrow\quad P=(2,11)
  2. 2
    Differentiate the function
    f′(x)=2⋅x+3f'(x) = 2 \cdot x + 3
  3. 3
    Find the perpendicular slope

    A normal is perpendicular to the tangent, so its slope is the negative reciprocal of the tangent slope.

    mnormal=−1f′(2)=−17=−0.14285714m_{\mathrm{normal}}=-\frac{1}{f'(2)}=-\frac{1}{7}=-0.14285714
  4. 4
    Substitute the point and slope
    y−11=−0.14285714(x−2)y - 11 = -0.14285714\left(x - 2\right)
  5. ✓
    Write the normal line
    y=−0.14285714x+11.285714y = -0.14285714x + 11.285714
Quick checkAt x = 2, the line passes through (2, 11). The normal slope is the negative reciprocal of the tangent slope.
NORMAL LINE BASICS

What does a normal line calculator find?

A normal line to a differentiable curve at a point passes through that point and is perpendicular to the tangent line. For y = f(x) at x = a, the tangent slope is f′(a). When this slope is nonzero, the normal slope is its negative reciprocal, −1/f′(a). The normal line calculator evaluates the function and its derivative at the chosen input, then uses the point and perpendicular slope to form the equation.

y−f(a)=−1f′(a)(x−a)y-f(a)=-\frac{1}{f'(a)}(x-a)

The normal line shares the curve’s point (a, f(a)) and is perpendicular to the tangent. For two nonvertical perpendicular lines, their slopes multiply to −1. Therefore the normal slope is −1/f′(a), and substitution into point-slope form gives the normal equation.

The function must be defined at x = a and have a finite derivative there. If f′(a) = 0, the tangent is horizontal and the normal is the vertical line x = a; a slope-intercept equation y = mx + b does not represent that vertical line.

How to use the calculator

  1. Enter a supported function f(x), such as x^2 + 3x + 1 or sin(x).
  2. Choose the x-coordinate a where the normal should meet the curve.
  3. Evaluate f(a) to locate the point (a, f(a)).
  4. Differentiate f and evaluate f′(a) to obtain the tangent slope.
  5. If f′(a) is nonzero, calculate the normal slope −1/f′(a). If it is zero, use the vertical line x = a.
  6. Substitute the point and normal direction into the line equation, then check that the line passes through the point.

Worked example

Problem: Find the normal line to f(x) = x² + 3x + 1 at x = 2.

Method: The curve point is (2, 11). Since f′(x) = 2x + 3, the tangent slope is f′(2) = 7, so the normal slope is −1/7.

Result: y − 11 = −(1/7)(x − 2), or y = −x/7 + 79/7.

The normal crosses the curve at (2, 11) and has a slope whose product with the tangent slope 7 is −1.

When is the normal line vertical or undefined?

  • If f′(a) = 0, the normal is vertical and is written x = a rather than as y = mx + b.
  • At a corner or cusp, the tangent slope may not exist, so the normal is not defined by this method.
  • At a discontinuity or outside the function’s real domain, there is no valid curve point for the requested normal.
  • If the tangent is vertical, this function-based derivative method cannot return a finite tangent slope; use an implicit curve method to analyze the normal direction.
  • Numerical approximations are displayed as approximations; small rounding differences can affect the last shown digit.

Common mistakes

  • Using the tangent slope itself as the normal slope instead of taking its negative reciprocal.
  • Forgetting the negative sign when calculating −1/f′(a).
  • Using (a, f′(a)) instead of the actual curve point (a, f(a)).
  • Trying to write a vertical normal in slope-intercept form.
  • Assuming a normal exists at a point where the derivative is undefined or the function is not defined.

Frequently asked questions

How do you find the normal line to a curve?

Find the point (a, f(a)) and tangent slope f′(a). If the tangent slope is nonzero, the normal slope is −1/f′(a); use the point-slope equation through the curve point.

Why is the normal slope the negative reciprocal?

Two nonvertical perpendicular lines have slopes whose product is −1. Solving m_tangent × m_normal = −1 gives m_normal = −1/m_tangent.

What if the tangent slope is zero?

The tangent is horizontal, so the normal is vertical. At x = a, its equation is x = a.

Does the normal line pass through the curve?

It passes through the selected point (a, f(a)). It is generally a straight line and does not follow the curve elsewhere.

Can the normal line be written in slope-intercept form?

Yes when the normal is not vertical. A vertical normal has equation x = a and cannot be written as y = mx + b.

What is the difference between a tangent and a normal?

The tangent follows the curve’s instantaneous direction. The normal passes through the same point but is perpendicular to that tangent.

References

Related calculus tools