Tangent Line Calculator

Find the equation of the tangent line to the function $f(x)$ at the specified point $x_0$. The tangent line is a linear approximation of the curve at that exact point.

Equation: $f(x)$ and Point $x_0$

The Three Essential Steps to Finding the Tangent Line

The equation of the tangent line is found by applying the point-slope formula, $y - y_0 = m(x - x_0)$. This requires three key components derived from calculus:

1. Find the Slope ($m$)

The slope is the value of the first derivative of the function $f'(x)$ evaluated at the point $x_0$:

$$m = f'(x_0)$$

2. Find the Point of Tangency ($x_0, y_0$)

The $y$-coordinate ($y_0$) is found by substituting $x_0$ into the original function:

$$y_0 = f(x_0)$$

3. Construct the Equation

Substitute $m$, $x_0$, and $y_0$ into the point-slope form and algebraically rearrange it into the common slope-intercept form, $y = mx + b$.

Tangent Line vs. Normal Line

The **Normal Line** is perpendicular to the tangent line at the point of tangency. This relationship is defined by their slopes:

  • If the slope of the tangent line is $m$, the slope of the normal line ($m_n$) is the negative reciprocal: $$m_n = -\frac{1}{m}$$

The normal line equation is often used in optics (reflection/refraction) and fluid dynamics.

Frequently Asked Questions (FAQ)

What is the relationship between the derivative and the tangent line?

What is the formula for the tangent line?

What is the normal line?

What is a horizontal tangent line?


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\]
','
Formula (extracted LaTeX)
\[m = f'(x_0)\]
m = f'(x_0)
Formula (extracted LaTeX)
\[y_0 = f(x_0)\]
y_0 = f(x_0)
Formula (extracted LaTeX)
\[m_n = -\frac{1}{m}\]
m_n = -\frac{1}{m}
Formula (extracted LaTeX)
\[y - y_0 = m(x - x_0)\]
y - y_0 = m(x - x_0)
Formula (extracted LaTeX)
\[m_{\text{normal}} = -\frac{1}{m}\]
m_{\text{normal}} = -\frac{1}{m}
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
, ', svg: { fontCache: 'global' } }; ]], displayMath: [['\\[','\\]']] }, svg: { fontCache: 'global' } };, svg: { fontCache: 'global' } };