The tangent line

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus BC (AP-aligned) › The derivative

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

The tangent line

The derivative.

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2+2xf(x) = x^2 + 2x. Use f′(3)=lim⁡h→0f(3+h)−f(3)hf'(3) = \displaystyle\lim_{h \to 0} \dfrac{f(3 + h) - f(3)}{h} to find f′(3)f'(3).
  2. Which expression is f′(2)f'(2)?
    1. lim⁡h→0f(2+h)−f(2)h\displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h}
    2. lim⁡h→0(f(2+h)−f(2))\displaystyle\lim_{h \to 0} \big(f(2 + h) - f(2)\big)
    3. f(2+1)−f(2)1\dfrac{f(2 + 1) - f(2)}{1}
    4. f(2)f(2)
  3. f(x)=3xf(x) = \dfrac{ 3 }{x}. Use the limit definition to find f′(2)f'(2).

Discover

The blue line is the tangent to y=x2y = x^2 at x=ax = a. Move aa.

The parabola y = x² and its tangent line at x = a, which touches the curve at (a, a²) with slope 2a.

At a=1a = 1, the tangent has slope 2 and touches the curve at (1,1)(1, 1). Which equation is it?

  1. y=1+2(x−1)y = 1 + 2(x - 1)
  2. y=2xy = 2x

Key idea

The tangent line touches the graph at (a,f(a))(a, f(a)) with slope f′(a)f'(a).

Tangent line to y=f(x)y = f(x) at x=ax = a: y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a).

Worked example

f(2)=5f(2) = 5 and f′(2)=−3f'(2) = -3. Write the tangent line at x=2x = 2.

y=5+(−3)(x−2)y = 5 + (-3)(x - 2)
The point (2, 5) and the slope −3.
y=−3x+11y = -3x + 11
Expand if you like.

Your turn, guided

Your turn: f(4)=1f(4) = 1 and f′(4)=2f'(4) = 2.

y=1+2(x−4)y = 1 + 2(x - 4)
Point (4, 1), slope 2.
y=2x−7y = 2x - 7
Expanded: 2x − 8 + 1.

Practice ★

  1. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=1x = 1: place two points on it.
  2. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=−2x = -2: place two points on it.
  1. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  2. f(2)=−5f(2) = -5 and f′(2)=3f'(2) = 3. Write the tangent line to the graph of ff at x=2x = 2: enter the right-hand side of y=…y = \ldots

Watch out!

Practice ★★

  1. For f(x)=x3f(x) = x^3, the difference quotient at x=−3x = -3 simplifies to 27+−9h+h227 + -9h + h^2. What is the slope of the tangent line at x=−3x = -3?
  2. For f(x)=x3f(x) = x^3, the difference quotient at x=−2x = -2 simplifies to 12+−6h+h212 + -6h + h^2. What is the slope of the tangent line at x=−2x = -2?

Exit ticket

Three questions to check you have got it.

  1. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  2. f(2)=−5f(2) = -5 and f′(2)=3f'(2) = 3. Write the tangent line to the graph of ff at x=2x = 2: enter the right-hand side of y=…y = \ldots
  3. f(1)=−4f(1) = -4 and f′(1)=−3f'(1) = -3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots

Summary card

The tangent line

  • Point: (a,f(a))(a, f(a)). Slope: f′(a)f'(a).
  • y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a).

Watch out: y=f′(a) xy = f'(a)\,x has the right slope but usually misses the point.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. At which point (xx-value) is the tangent to y=x2y = x^2 parallel to the line y=−4x+1y = -4x + 1?
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits