A common early calculus problem is finding the tangent line to a curve at a given value. Consider the following problem:
Find the equation of the tangent line at x = -1 to the following curve:
First you need to find the derivative in order to find the slope of the tangent line. In case you don't remember derivatives, here is how basic derivatives work:
Now back to the problem:
Find the tangent line at x = -1 to the curve f(x) = 3x3 + 7x2 - 8x - 4
The derivative to find the slope of the tangent line:
f '(x) = 3(3x)2 + 2(7x) - 8
f '(x) = 9x2 + 14x - 8
Next we need to use the point-slope form to find the tangent line. Here it is:
y - y1 = m(x - x1)
We have to find y1 and x1 and the slope m.
Now, recall we want the tangent line for x = -1. Find y1 by solving for f(x) at the given value. So, If we solve for f(x) where x = -1, we have the following:
f(-1) = 3(-1)3 + 7(-1)2 - 8(-1) - 4 = -3 + 7 + 8 - 4 = 8
y1 = 8
Since we are looking for an answer at x = -1, x1 = -1.
And recall that the derivative is the slope. So, we solve f '(-1):
f '(-1) = 9(-1)2 + 14(-1) = 9 - 14 - 8 = -13
m = -13
Finally, we plug it all into the point-slope form y - y1 = m(x - x1):
y - 8 = -13(x -(-1))
y - 8 = -13(x + 1)
y - 8 = -13x - 13
y - 8 + 8 = -13x - 13 + 8
And that is the equation for the tangent line to the curve f(x) = 3x3 + 7x2 - 8x - 4 at x = -1.