Derivatives: the basics

Equation of a tangent line

The tangent line to y=f(x)y=f(x) at x=ax=a is the line with slope f(a)f'(a) through the point (a,f(a))(a,\,f(a)).

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

A tangent line is the line with slope f(a)f'(a) through the point (a,f(a))(a,\,f(a)).

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

Get the slope by differentiating, plug in the coordinates of the point, and the equation is determined. Do not forget to compute the yy-coordinate of the point of tangency from f(a)f(a).

xyy = f(x)a(a, f(a))
The tangent line passes through (a, f(a)) with slope f'(a).Drag the dot

Examples

  1. 01Tangent line at x=2x=2. What goes in □?f(x)=x2    y=(x2)+4\displaystyle f(x)=x^{2} \;\Rightarrow\; y=\square(x-2)+4AnswerHide
    Answer4\displaystyle 4
  2. 02What are the coordinates of the point of tangency at x=1x=1?f(x)=x2\displaystyle f(x)=x^{2}AnswerHide
    Answer(1, 1)\displaystyle (1,\ 1)
  3. 03Tangent line at x=1x=-1. What goes in □?f(x)=x2    y=(x+1)+1\displaystyle f(x)=x^{2} \;\Rightarrow\; y=\square(x+1)+1AnswerHide
    Answer2\displaystyle -2
  4. 04Tangent line at x=1x=1. What goes in □?f(x)=x2    y=(x1)+1\displaystyle f(x)=x^{2} \;\Rightarrow\; y=\square(x-1)+1AnswerHide
    Answer2\displaystyle 2
  5. 05Tangent line at x=3x=3. What goes in □?f(x)=x2    y=(x3)+9\displaystyle f(x)=x^{2} \;\Rightarrow\; y=\square(x-3)+9AnswerHide
    Answer6\displaystyle 6
  6. 06Tangent line at x=2x=-2. What goes in □?f(x)=x2    y=(x+2)+4\displaystyle f(x)=x^{2} \;\Rightarrow\; y=\square(x+2)+4AnswerHide
    Answer4\displaystyle -4

FAQ

Q1Where does the slope of the tangent come from?Show answerHide
A
From the derivative at the point of tangency, f(a)f'(a). The steps are: find f(x)f'(x), substitute x=ax=a, then write the line from the point and the slope.

Practice this pattern in the app, 5 problems a day.

Download on the App Store
This topic
Equation of a tangent line
Next
Last in this chapter

Published 2026-09-03 · Updated 2026-09-05