# Slope of the tangent line

## Homework Statement

Find the slope of the tangent line to the curve y=x3 at point (-1,-1)
(i) Using Definition 1
m=limx-->a$$\frac{f(x)-f(a)}{x-a}$$

(i) Using Equation 2
m=limh-->0$$\frac{f(a+h)-f(a)}{h}$$

## The Attempt at a Solution

For the first one, I got as far as limx-->-1x3+1/x+1 and was stuck. I thought it was undefined. Then I plugged it into a limit calculator online in desperation, and found that the answer was 3. But for equation 2 I got to the end and go undefined again, plugged it into the limit calculator seeing that it said it was undefined too. I just wanna know how you would go about completing the first one, and I am just a little confused at the point of this exercise. Thanks for any help you guys can give me.

$$a^3-b^3=(a-b)(a^2+ab+b^2)$$
$$a^3+b^3=(a+b)(a^2-ab+b^2)$$