Topic 8

Tangent Lines & Linear Approximation

Every tangent line needs exactly two things: a point (a,f(a))(a, f(a)) and a slope m=f′(a)m = f'(a). Find both, then write the line in point-slope form y−y1=m(x−x1)y - y_1 = m(x - x_1) — every recipe below is a different way of getting those two things. The derivative is not the tangent line: f′(a)f'(a) is only its slope.

5 kinds of question. Open the one you are stuck on.

1

Find the equation of the tangent line at a point

e.g. “Find the equation of the tangent line to y=f(x)y = f(x) at x=ax = a”
  1. 1
    Find the point: (a, f(a))(a,\ f(a))

    Plug x=ax = a into the original function. If the point is given, check it.

  2. 2
    Differentiate: find f′(x)f'(x)

    Use whatever rule the function needs: power, product, quotient, chain.

  3. 3
    Find the slope: m=f′(a)m = f'(a)

    Plug x=ax = a into the derivative, not into ff. This number is only the slope; you are not done until step 4 gives the line.

  4. 4
    Write it in point-slope form: y−f(a)=m(x−a)y - f(a) = m(x - a)

    Stop there unless the question asks for y=mx+by = mx + b.

Remember: Point, derivative, slope, line.

See it in a problem4 worked examples

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

  1. 1
    Find the point: (a, f(a))(a,\ f(a))

    f(2)=2(4)−6+1=3f(2) = 2(4) - 6 + 1 = 3, so the point is (2,3)(2, 3).

  2. 2
    Differentiate: find f′(x)f'(x)

    f′(x)=4x−3f'(x) = 4x - 3.

  3. 3
    Find the slope: m=f′(a)m = f'(a)

    m=f′(2)=8−3=5m = f'(2) = 8 - 3 = 5.

  4. 4
    Write it in point-slope form: y−f(a)=m(x−a)y - f(a) = m(x - a)

    y−3=5(x−2)y - 3 = 5(x - 2).

Answer:

y−3=5(x−2)y - 3 = 5(x - 2)

Common mistakes5
  • Big mistake: calling the derivative the tangent line. f′(x)f'(x) (or f′(a)f'(a)) is only the slope of the tangent line; the tangent line is the equation y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a).
  • Plugging aa into f′(x)f'(x) but leaving xx in the slope: the slope is a number, never a function of xx.
  • Using f′(a)f'(a) as the yy-value of the point. The point comes from ff, the slope from f′f'.
  • Mixing up the signs in y−y1=m(x−x1)y - y_1 = m(x - x_1): the point (−2,5)(-2, 5) gives y−5=m(x+2)y - 5 = m(x + 2).
  • Asked for the normal line? Its slope is −1m-\dfrac{1}{m}, the negative reciprocal of the tangent slope (if m=0m = 0, the normal is the vertical line x=ax = a).
2

Find tangent lines parallel, perpendicular or horizontal

e.g. “tangent line(s) parallel to the line …”
  1. 1
    Read off the slope you need

    Parallel: same slope. Perpendicular: −1m-\dfrac{1}{m}. Horizontal: 00. Rewrite the given line as y=mx+by = mx + b first.

  2. 2
    Find f′(x)f'(x)
  3. 3
    Set f′(x)=f'(x) = that slope and solve for all xx

    Expect more than one answer: a quadratic can give two, and a trig equation gives infinitely many (add 2πk2\pi k) unless an interval is given.

  4. 4
    Find the yy-value of each point from ff
  5. 5
    Write one point-slope line per point

Remember: Slope first, then hunt for the xx that has it.

See it in a problem3 worked examples

Find the equations of all tangent lines to y=x−2x+2y = \dfrac{x - 2}{x + 2} that are parallel to the line y=x−4y = x - 4.

  1. 1
    Read off the slope you need

    The line y=x−4y = x - 4 has slope 11, so we need m=1m = 1.

  2. 2
    Find f′(x)f'(x)

    Quotient rule: y′=(1)(x+2)−(x−2)(1)(x+2)2=4(x+2)2y' = \dfrac{(1)(x + 2) - (x - 2)(1)}{(x + 2)^2} = \dfrac{4}{(x + 2)^2}.

  3. 3
    Set f′(x)=f'(x) = that slope and solve for all xx

    4(x+2)2=1⇒(x+2)2=4⇒x+2=±2⇒x=0\dfrac{4}{(x + 2)^2} = 1 \Rightarrow (x + 2)^2 = 4 \Rightarrow x + 2 = \pm 2 \Rightarrow x = 0 or x=−4x = -4.

  4. 4
    Find the yy-value of each point from ff

    y(0)=−22=−1y(0) = \dfrac{-2}{2} = -1 and y(−4)=−6−2=3y(-4) = \dfrac{-6}{-2} = 3. Points (0,−1)(0, -1) and (−4,3)(-4, 3).

  5. 5
    Write one point-slope line per point

    y+1=1(x−0)y + 1 = 1(x - 0) and y−3=1(x+4)y - 3 = 1(x + 4).

Answer:

y+1=1(x−0)y + 1 = 1(x - 0) and y−3=1(x+4)y - 3 = 1(x + 4)

Common mistakes3
  • Stopping at one solution. (x+2)2=4(x + 2)^2 = 4 has two roots, so there are two tangent lines.
  • Reading the slope of 2x+3y=62x + 3y = 6 as 22. Solve for yy first: y=−23x+2y = -\tfrac{2}{3}x + 2, slope −23-\tfrac{2}{3}.
  • Throwing away an xx that is outside the domain is right; throwing away one that is merely negative is not.
3

Find a tangent line from other functions' tangent lines

e.g. “The tangent line to ff at x=ax = a is y=…y = \dots Find the tangent line to f(x)g(x)f(x)g(x) …”
  1. 1
    Decode each given tangent line into a value and a slope

    Value: plug x=ax = a into the line. Slope: the coefficient of xx. So y=3x−1y = 3x - 1 at a=1a = 1 gives f(1)=2f(1) = 2, f′(1)=3f'(1) = 3. A line given as y−2=3(x−1)y - 2 = 3(x - 1) shows both directly.

  2. 2
    Find the point: h(a)h(a)

    Combine the values the way hh combines the functions.

  3. 3
    Differentiate hh with the right rule

    Product, quotient or chain rule, written with f,f′,g,g′f, f', g, g' — no numbers yet.

  4. 4
    Plug in the numbers: m=h′(a)m = h'(a)
  5. 5
    Write y−h(a)=m(x−a)y - h(a) = m(x - a)

Remember: A tangent line is a value and a slope in disguise.

See it in a problem3 worked examples

The tangent line to ff at x=1x = 1 is y=3x−1y = 3x - 1, and the tangent line to gg at x=1x = 1 is y=−2x+5y = -2x + 5. Find the tangent line to h(x)=f(x)g(x)h(x) = f(x)g(x) at x=1x = 1.

  1. 1
    Decode each given tangent line into a value and a slope

    f(1)=3−1=2f(1) = 3 - 1 = 2, f′(1)=3f'(1) = 3; g(1)=−2+5=3g(1) = -2 + 5 = 3, g′(1)=−2g'(1) = -2.

  2. 2
    Find the point: h(a)h(a)

    h(1)=f(1)g(1)=2⋅3=6h(1) = f(1)g(1) = 2 \cdot 3 = 6.

  3. 3
    Differentiate hh with the right rule

    h′(x)=f′(x)g(x)+f(x)g′(x)h'(x) = f'(x)g(x) + f(x)g'(x).

  4. 4
    Plug in the numbers: m=h′(a)m = h'(a)

    m=h′(1)=3⋅3+2⋅(−2)=5m = h'(1) = 3 \cdot 3 + 2 \cdot (-2) = 5.

  5. 5
    Write y−h(a)=m(x−a)y - h(a) = m(x - a)

    y−6=5(x−1)y - 6 = 5(x - 1).

Answer:

y−6=5(x−1)y - 6 = 5(x - 1)

Common mistakes2
  • Taking the yy-intercept of the given line as f(a)f(a). The value is the line's height at x=ax = a.
  • Quotient rule order: (fg)′=f′g−fg′g2\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2} — "low d-high minus high d-low".
4

Find a tangent line that passes through a point not on the curve

e.g. “tangent line(s) to the curve that pass through (x0,y0)(x_0, y_0)”
  1. 1
    Name the unknown touching point (a, f(a))(a,\ f(a))

    The given point is NOT on the curve, so you cannot use it as the tangency point.

  2. 2
    Write the slope two ways

    From the derivative: f′(a)f'(a). From the two points: f(a)−y0a−x0\dfrac{f(a) - y_0}{a - x_0}.

  3. 3
    Set them equal and solve for aa

    Multiply both sides by a−x0a - x_0 first to clear the fraction.

  4. 4
    Write y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a) for each aa

    Check: (x0,y0)(x_0, y_0) should satisfy each line.

Remember: Unknown touch point, two slopes, set equal.

See it in a problem2 worked examples

Find all lines through (1,−3)(1, -3) that are tangent to y=x2y = x^2.

  1. 1
    Name the unknown touching point (a, f(a))(a,\ f(a))

    Touching point (a,a2)(a, a^2).

  2. 2
    Write the slope two ways

    Slope from the derivative: 2a2a. Slope from the points: a2−(−3)a−1=a2+3a−1\dfrac{a^2 - (-3)}{a - 1} = \dfrac{a^2 + 3}{a - 1}.

  3. 3
    Set them equal and solve for aa

    a2+3a−1=2a⇒a2+3=2a2−2a⇒a2−2a−3=0⇒a=3\dfrac{a^2 + 3}{a - 1} = 2a \Rightarrow a^2 + 3 = 2a^2 - 2a \Rightarrow a^2 - 2a - 3 = 0 \Rightarrow a = 3 or a=−1a = -1.

  4. 4
    Write y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a) for each aa

    a=3a = 3: point (3,9)(3, 9), slope 66, so y−9=6(x−3)y - 9 = 6(x - 3). a=−1a = -1: point (−1,1)(-1, 1), slope −2-2, so y−1=−2(x+1)y - 1 = -2(x + 1). Both pass through (1,−3)(1, -3).

Answer:

y−9=6(x−3)y - 9 = 6(x - 3) and y−1=−2(x+1)y - 1 = -2(x + 1)

Common mistakes2
  • Using f′(x0)f'(x_0). The outside point is not where the line touches, so its xx tells you nothing about the slope.
  • Forgetting the second solution: a parabola usually has two tangents through an outside point.
5

Estimate a value with a linear approximation

e.g. “Use a linear approximation (or linearization, or differentials) to estimate …”
  1. 1
    Choose ff and a nice nearby point aa

    aa must be close to the target and make f(a)f(a) easy: a perfect square, a perfect cube, 00 (for exe^x or trig), 11 (for log⁡x\log x), a special angle.

  2. 2
    Compute f(a)f(a)
  3. 3
    Compute f′(a)f'(a)
  4. 4
    Write L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)

    This is just the tangent line at aa, solved for yy.

  5. 5
    Plug in the target xx

Remember: A linear approximation is exactly the equation of the tangent line at x=ax = a, solved for yy.

See it in a problem4 worked examples

Use a linear approximation to estimate 4.1\sqrt{4.1}.

  1. 1
    Choose ff and a nice nearby point aa

    f(x)=xf(x) = \sqrt{x}, a=4a = 4 (a perfect square close to 4.14.1).

  2. 2
    Compute f(a)f(a)

    f(4)=2f(4) = 2.

  3. 3
    Compute f′(a)f'(a)

    f′(x)=12xf'(x) = \dfrac{1}{2\sqrt{x}}, so f′(4)=14f'(4) = \dfrac{1}{4}.

  4. 4
    Write L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a)

    L(x)=2+14(x−4)L(x) = 2 + \dfrac{1}{4}(x - 4).

  5. 5
    Plug in the target xx

    L(4.1)=2+14(0.1)=2.025L(4.1) = 2 + \dfrac{1}{4}(0.1) = 2.025.

Answer:

4.1≈2.025\sqrt{4.1} \approx 2.025

Common mistakes3
  • Choosing aa far from the target. For 263\sqrt[3]{26} use a=27a = 27, not a=8a = 8.
  • Trig in degrees. Calculus formulas need radians: sin⁡(0.1)\sin(0.1) means 0.10.1 radians, and for sin⁡(31∘)\sin(31^\circ) the step x−ax - a is 1∘=π1801^\circ = \tfrac{\pi}{180}.
  • Over or under? If f′′>0f'' > 0 near aa (concave up) the tangent lies below the curve, so LL under-estimates; f′′<0f'' < 0 over-estimates.

Need the formulas? Must memorize · Flashcards

Found this helpful? Leave us a review on Google ↗Spotted a mistake?

Which topics are you reviewing?

The topic list, Flashcards, Must memorize and Exam words will only show these. Change it any time with the Topics button above the topic list.

Limits & continuity
Derivatives
Applications
Theorems & approximation
10 of 17 topics selected