Enter a function and point
Enter a supported function of x and a real input where the function is defined and differentiable.
At x = 2
Build the normal equation
- 1Locate the point on the curve
Evaluate the function at a = 2.
- 2Differentiate the function
- 3Find the perpendicular slope
A normal is perpendicular to the tangent, so its slope is the negative reciprocal of the tangent slope.
- 4Substitute the point and slope
- ✓Write the normal line
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.
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
- Enter a supported function f(x), such as x^2 + 3x + 1 or sin(x).
- Choose the x-coordinate a where the normal should meet the curve.
- Evaluate f(a) to locate the point (a, f(a)).
- Differentiate f and evaluate f′(a) to obtain the tangent slope.
- If f′(a) is nonzero, calculate the normal slope −1/f′(a). If it is zero, use the vertical line x = a.
- 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
- OpenStax, Rice University: Calculus Volume 1 — The Derivative as a Function — The derivative as a tangent slope and the role of derivatives in local curve behavior.