tangent of x^3-2x^2-5x+6,\at x=2
⚠Ⓘ 2x is read as the product 2*x: for a power, write 2^x‖5x is read as the product 5*x: for a power, write 5^x
1) Find the tangent at x = 2
⇥1.1) Let's differentiate: ddx(x3 -2x2 -5x + 6)
⇥ ddx(x3) + ddx(-2x2) + ddx(-5x) + 0
⇥ℹddx(x3) = 3x2‖ddx(-2x2) = -2·ddx(x2)‖ddx(x2) = 2x‖ddx(-5x) = -5
⇥ 3x2 -2·2x -5
⇥ 3x2 -4x -5
Compute f(2)
⇥ 23 -2·22 -5·2 + 6
⇥ℹ23 = 8‖22 = 4‖-5·2 = -10
⇥ 8 -2·4 -10 + 6
⇥ℹ-2·4 = -8‖8 -10 = -2
⇥ -2 -8 + 6
⇥ -10 + 6
⇥ -4
The point of tangency is (2, -4)
Compute f'(2)
⇥ 3·22 -4·2 -5
⇥ℹ22 = 4‖-4·2 = -8
⇥ 3·4 -8 -5
⇥ℹ3·4 = 12‖-8 -5 = -13
⇥ 12 -13
⇥ -1
The slope is f'(2) = -1
The tangent passes through this point with this slope: y = -1·(x -2) -4
Compute the y-intercept: b = -4 -(-1·2)
⇥ -4 -(-1·2)
⇥ -4 + 2
⇥ -2
⇥ y = -1·x -2
▶Tangent line:   y = -x -2