Yes you can have different algebraic formulas for the same derivative. Just plug in a value into the variable into each formula and see if you get the same value. If you do then it the same.

As for your problem I just took a quick glance at it but I think you made a mistake when taken the derivative of

It should be