Tangent Line Formula

Tangent line is a line that touches a curve at exactly one point and has the same slope as the curve there.

The Formula

yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)

When to use: The tangent line is the unique straight line that best approximates the curve at a specific point — same value, same slope.

Quick Example

At x=1x = 1, if f(1)=3f(1) = 3 and f(1)=2f'(1) = 2, the tangent line is y=2(x1)+3=2x+1y = 2(x-1) + 3 = 2x + 1.

Notation

y=L(x)y = L(x) or y=f(a)+f(a)(xa)y = f(a) + f'(a)(x - a) for the tangent line (linear approximation) at x=ax = a.

What This Formula Means

A line that touches a curve at exactly one point and has the same slope as the curve there.

The tangent line is the unique straight line that best approximates the curve at a specific point — same value, same slope.

Formal View

The tangent line to y=f(x)y = f(x) at x=ax = a is L(x)=f(a)+f(a)(xa)L(x) = f(a) + f'(a)(x - a), where f(a)=limxaf(x)f(a)xaf'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}. Equivalently, LL is the unique linear function satisfying L(a)=f(a)L(a) = f(a) and L(a)=f(a)L'(a) = f'(a).

Worked Examples

Example 1

easy
Find the equation of the tangent line to f(x)=x2+3f(x) = x^2 + 3 at x=2x = 2.

Answer

y=4x1y = 4x - 1

First step

1
Find the point of tangency: f(2)=4+3=7f(2) = 4 + 3 = 7. Point: (2,7)(2, 7).

Full solution

  1. 2
    Find the slope: f(x)=2xf'(x) = 2x, so f(2)=4f'(2) = 4.
  2. 3
    Write the tangent line using point-slope form: y7=4(x2)y - 7 = 4(x - 2).
  3. 4
    Simplify: y=4x8+7=4x1y = 4x - 8 + 7 = 4x - 1.
Two pieces of information define a line: a point and a slope. The point is (a,f(a))(a, f(a)) and the slope is f(a)f'(a). Plug both into the point-slope formula yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a).

Example 2

medium
Find the equation of the tangent line to g(x)=xg(x) = \sqrt{x} at x=9x = 9, and use it to approximate 9.1\sqrt{9.1}.

Example 3

medium
Find the equation of the tangent to f(x)=1xf(x) = \frac{1}{x} at x=2x = 2.

Common Mistakes

  • Using the slope of a secant instead of f(a)f'(a) — the tangent's slope is the instantaneous derivative at the contact point.
  • Forgetting to use the point of tangency (a,f(a))(a,f(a)) in the line equation — plug in both the slope and the actual point.
  • Assuming a tangent touches the curve only once globally — it shares slope locally and may cross the curve elsewhere.

Why This Formula Matters

The tangent line is the geometric meaning of the derivative and the basis of linear approximation, Newton's method, and local analysis. Its key feature — equal value and equal slope at the contact point — is what makes 'zooming in until the curve looks straight' rigorous, and it's why f(a)f'(a) is the slope you plug into the line. Recognizing it by "Do I need the line that matches the curve's value and slope (f(a)f'(a)) at a single point of contact?" — rather than by familiar numbers — is what lets a student tell it apart from secant line and normal line and derivative in a mixed problem set.

Frequently Asked Questions

What is the Tangent Line formula?

A line that touches a curve at exactly one point and has the same slope as the curve there.

How do you use the Tangent Line formula?

The tangent line is the unique straight line that best approximates the curve at a specific point — same value, same slope.

What do the symbols mean in the Tangent Line formula?

y=L(x)y = L(x) or y=f(a)+f(a)(xa)y = f(a) + f'(a)(x - a) for the tangent line (linear approximation) at x=ax = a.

Why is the Tangent Line formula important in Math?

The tangent line is the geometric meaning of the derivative and the basis of linear approximation, Newton's method, and local analysis. Its key feature — equal value and equal slope at the contact point — is what makes 'zooming in until the curve looks straight' rigorous, and it's why f(a)f'(a) is the slope you plug into the line. Recognizing it by "Do I need the line that matches the curve's value and slope (f(a)f'(a)) at a single point of contact?" — rather than by familiar numbers — is what lets a student tell it apart from secant line and normal line and derivative in a mixed problem set.

What do students get wrong about Tangent Line?

The procedure for tangent line is the easy part; the trap is using the slope of a secant instead of f(a)f'(a). Asking "Do I need the line that matches the curve's value and slope (f(a)f'(a)) at a single point of contact?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Tangent Line formula?

Before studying the Tangent Line formula, you should understand: slope, derivative.

Want the Full Guide?

This formula is covered in depth in our complete guide:

Derivatives Explained: Rules, Interpretation, and Applications →