# Math Help - Trouble taking a derivative

1. ## Trouble taking a derivative

I have to take the derivative of $\frac{y - 1}{y^2 - y + 1}$:

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

2. ## Re: Trouble taking a derivative

Your differentiation is correct, but you go wrong at the third line.

$(y^{2} -y + 1)^{-2} = \frac{1}{(y^{2} - y + 1)^{2}},$

there shouldn't be any square roots.