Trouble taking a derivative

1. Oct 17, 2012

PhizKid

1. The problem statement, all variables and given/known data
Derivative of $$\frac{y - 1}{y^2 - y + 1}$$

2. Relevant equations

3. The attempt at a solution

The solution is $$\frac{y^2 - 2y}{(y^2 - y + 1)^2}$$ but in my work, the answer will have something to the 4th power on the top which will be impossible to cancel out. What have I done wrong?

Edit: Never mind, I see my mistake

Last edited: Oct 17, 2012
2. Oct 17, 2012

Scootertaj

Remember: $$\frac{d}{dx}\frac{f(x)}{g(x)} = \frac{g(x)f'(x) - f(x)g'(x)}{g(x)^2}$$

3. Oct 17, 2012

PhizKid

Yes but I don't like to work with the quotient rule. I should be getting the same answer using the product rule anyway, right?

Edit: Never mind, I see my mistake

4. Oct 17, 2012

Scootertaj

That's fine.

Then, remember: $$-(y^2-y+1)^{-2} = -\frac{1}{(y^2-y+1)^2}$$
(An expression to the -2 power doesn't equal 1/sqrt(expression))