# Prof = Wrong?

1. Sep 20, 2007

### Wonderballs

1. The problem statement, all variables and given/known data
lim |x-1|/x^3-1
x-->1+

2. Relevant equations

3. The attempt at a solution

This is from a "practise test" and the prof wrote his solution on it... I'm having a hard time figuring out why (x^3-1) = (x-1)(x^2+x+1) which is what he used to find the limit.... im fine at figureing out limits but I just have no idea how he figures those two equations are equal because when i multiply through i get (x^3-2x^2+2x-1)

2. Sep 20, 2007

### cristo

Staff Emeritus
(x-1)(x^2+x+1)=x^3+x^2+x-x^2-x-1=x^3-1 where the first three terms are obtained by multiplying the first term in the first bracket through with the right bracket, and the last three terms are obtained by multiplying the second term in the first bracket through with the right bracket.

3. Sep 20, 2007

### D H

Staff Emeritus
You're professor is right. Try multiplying it out again. If you get the same (wrong) answer again, show your work, and we'll help show you how to get to the correct answer.

Edit:
Well forget that. Cristo just did it for you.

4. Sep 20, 2007

### Wonderballs

Lol, thank you on my paper i have it written down as (x-1)(x^2-x+1)...

But I am still wondering how you get from (x^3-1) TO (x-1)(x^2+x+1)
I have tried to factor by grouping but that got me nowhere...

Last edited: Sep 20, 2007
5. Sep 20, 2007

### D H

Staff Emeritus
I don't remember that equation specifically. I do remember that
$$x^n-1 = (x-1)(x^{n-1}+x^{n-2}+\cdots+x+1)[/itex] Equations of this form come up a lot. It is worth knowing. If not, you have to factor. In general, yech. There is a general rule for solving cubics. I use it so infrequently I have to look it up every time I use it. There is a general rule for solving quartics, which I never use. There is no general rule for higher order polynomials. On the other hand, I run into things like $1/(1+x)$, $1/(x-1)$, and $(x^n-1)/(x-1)$ all the time. 6. Sep 20, 2007 ### Wonderballs (x^3-1)=(x^3+x^2-x^2+x-x-1) =(x^3+x^2-x^2)+(+x-x-1) =-1(-x^3-x^2+x^2)-1(-x+x) =-1(i dont know.... 7. Sep 20, 2007 ### cristo Staff Emeritus You can spot that x-1 is a factor and then use polynomial division. I don't think I've ever used the cubic formula! 8. Sep 20, 2007 ### Wonderballs is it called the binomial theorm? 9. Sep 21, 2007 ### ZioX There is a fairly well known equation for difference of cubes: [tex](a^3-b^3)=(a-b)(a^2+ab+b^2)$$

It's fairly easy to prove, once you just multiply everything out. There is also an analogue for addition of cubes which I do not provide for the reader.