Slope of the tangent line

1. Sep 28, 2008

metalmagik

1. The problem statement, all variables and given/known data
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}$$

2. Relevant equations

3. 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.

2. Sep 28, 2008

foxjwill

for the first one, try factoring numerator. You should find that things cancel out. And by the way, it's not undefined, it's in an "indeterminate form". And for the second one, expand the numerator, and again, you'll find that things cancel out. :)

3. Sep 28, 2008

metalmagik

how do I factor x3+1...its not (x+1)3

4. Sep 28, 2008

sutupidmath

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

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