Tangent Line Formula

A tangent line is a line that touches a curve at a point and has the same slope as the curve there; it may meet or cross the curve again elsewhere.

The Formula

y−f(a)=f′(a)(x−a)

Ask yourself: Do I need the line that matches the curve's value and slope (f′(a)) at a single point of contact?

Quick example

At x=1, if f(1)=3 and f′(1)=2, the tangent line is y=2(x−1)+3=2x+1.

Notation

y=L(x) or y=f(a)+f′(a)(x−a) for the tangent line (linear approximation) at x=a.

What this formula means

A tangent line is a line that touches a curve at a point and has the same slope as the curve there; it may meet or cross the curve again elsewhere.

A tangent line is like the beam of a car's headlights on a winding road: at each instant it points exactly the way the car is moving at that spot. Follow the beam a short way and you stay close to the road; follow it far and the road curves away. Further on, the beam may even cross the road again.

Formal view

The tangent line to y=f(x) at x=a is L(x)=f(a)+f′(a)(x−a), where f′(a)=lim⁡x→af(x)−f(a)x−a. Equivalently, L is the unique linear function satisfying L(a)=f(a) and L′(a)=f′(a).

Worked examples

Example 1

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

Answer

y=4x−1

First step

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

Full solution

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

Example 2

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

Example 3

medium
Find the equation of the tangent to f(x)=1x at x=2.

Common mistakes

  • Using the slope of a secant instead of f′(a) — the tangent's slope is the instantaneous derivative at the contact point.
  • Forgetting to use the point of tangency (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

Near the point of contact a curve and its tangent line are almost indistinguishable, so a hard function can be replaced by an easy line. That is how engineers estimate values like 4.1, why a stone released from a sling sets off along the tangent to its circle, and how Newton's method finds roots. A secant's slope instead gives a line that drifts away from the curve right where you need accuracy.

Frequently asked questions

What is the Tangent Line formula?

A tangent line is a line that touches a curve at a point and has the same slope as the curve there; it may meet or cross the curve again elsewhere.

How do you use the Tangent Line formula?

Use a tangent line when a problem asks for the line touching a curve at a given point, for the curve's slope written as a line, or for a linear approximation of a value near a point you know, such as 4.1 or (1.02)5. You need two things: the point (a,f(a)) and the slope f′(a). If the line must pass through two given points on the curve, it is a secant line. If it must be perpendicular to the curve, use the normal line, with slope −1f′(a).

What do the symbols mean in the Tangent Line formula?

y=L(x) or y=f(a)+f′(a)(x−a) for the tangent line (linear approximation) at x=a.

Why is the Tangent Line formula important in Math?

Near the point of contact a curve and its tangent line are almost indistinguishable, so a hard function can be replaced by an easy line. That is how engineers estimate values like 4.1, why a stone released from a sling sets off along the tangent to its circle, and how Newton's method finds roots. A secant's slope instead gives a line that drifts away from the curve right where you need accuracy.

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). Asking "Do I need the line that matches the curve's value and slope (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.

The full guide

This formula is covered in depth in Derivatives Explained: Rules, Interpretation, and Applications.