The Line That Meets the Curve Squarely
Imagine designing a curved mirror in CAD software. Light bouncing off the mirror follows the law of reflection, and that law is measured against the normal line, the line perpendicular to the surface at the point of contact. The same perpendicular appears in machining tool paths and in the geometry of orbits. The Normal Line Calculator finds the equation of that perpendicular for any curve at any point, starting from the tangent slope.
The Formula, Up Close
Formula: The normal slope is m_n = -1 / m_t, when the tangent slope m_t is nonzero.
In plain words: perpendicular lines have slopes that are negative reciprocals of each other. Find the tangent slope m_t by differentiating the function at the point, using the implicit differentiation approach when the curve is given as an equation rather than y = f(x). Then the normal slope is -1 divided by the tangent slope. If the tangent is horizontal (slope 0), the normal is simply the vertical line x = constant.
How to Use It
- Enter the function, for example y = x^2.
- Enter the x-coordinate of the point, for example x = 2.
- The calculator differentiates to get the tangent slope at that point.
- It flips the slope to the negative reciprocal and writes the line through the point in point-slope form, then simplified.
Worked Example, Step by Step
Find the normal line to y = x^2 at x = 2.
Step 1: The point on the curve is (2, 4), since 2^2 = 4. Step 2: Differentiate: y' = 2x, so the tangent slope at x = 2 is m_t = 4. Step 3: Normal slope m_n = -1/4. Step 4: Point-slope form: y - 4 = (-1/4)(x - 2). Step 5: Simplify: y - 4 = -x/4 + 1/2, so y = -x/4 + 9/2, which is y = -x/4 + 4.5.
Check: at x = 2, y = -0.5 + 4.5 = 4, back on the curve, and the slopes 4 and -1/4 multiply to -1, confirming perpendicularity.
Where Normal Lines Appear
Optics uses them for reflection and refraction angles. CNC machining offsets tool paths along normal directions. In differential geometry, the normal vector generalizes this idea to surfaces and space curves. They also pair naturally with tangent-line work and with the quotient rule or product rule when the curve itself needs those rules to differentiate.
Mistakes Worth Avoiding
- Forgetting the negative. The reciprocal 1/4 is not perpendicular; only -1/4 is.
- Using the function value as the slope. The slope comes from the derivative at the point, not from y itself.
- Ignoring the horizontal-tangent case. When m_t = 0, do not divide; the normal is the vertical line through the point.
An Honest Limitation
The formula needs a well-defined, nonzero tangent slope. At cusps, corners, or vertical tangents, the normal line may not exist or needs a separate geometric argument.