[Math] Calculus question: finding tangent line using limit (first principles for derivative)

calculusderivativeslimits

How would I solve the following?

Find an equation for the tangent line to the graph

$f(x)=3x^2-4x$ at the point $x=-1$

What I did is

$3(-1+h)^2-4(-1+h)-7)$

$3-6h+3h^2+4-4h-7)$

As h approaches zero $(2h+3h^2)/h$ limit equal $2$

then the equation I wrote is $y-7=2(x+1)$

But I am not sure if it is correct.

Best Answer

You're approach is sound: the one (simple algebraic) mistake is that

$$(3-6h+3h^2+4-4h-7)\, =\, 3h^2 - 10h,\; \text{ and not} \;\;3h^2 + 2h:$$


So we need to evaluate the limit of $\;\;\dfrac{(3h^2 -10h)}{h}\; = \;\dfrac{h(3h -10)}{h}\;$ as $\;h\to 0:$

$$ \lim_{h\to 0}\,\frac{h(3h - 10)}{h} \; =\;\lim_{h\to 0}\, (3h-10) = -10.$$


So you need only replace "$2$" with "$-10$" in your equation of the line tangent to $\;f(x)=3x^2-4x\;$ at the point $\;(-1, 7)\;$, which gives you:

$$y - 7 = {-10}(x +1) \;\iff \;y = -10x-3$$