First is incorrect method as you would need to differentiate both sides, terms of x and y, and I presume this is C3? Differentiating both isn't covered until C4.
They both look correct to me. In the first one you've differentiated implicitly-- i dont know is that in C3?
You can use the second method for y=x^x but that doesnt help you in any way. If you let u=x you just get y=x^u (or u^u) which doesnt help because you need to natural log both sides in order to differentiatie, so you may as well do that from the start.
Sorry wildfire I didn't read your first method correctly - they are both correct, but your first one is implict differentiation, which isn't in C3, however, you could still use it, but the 2nd method is alot easier!
When, y = e^x, dy/dx = e^x. This only works with 'e'
y = a^x, dy/dx = a^x ln a. So y = x^x, dy/dx = x^x ln x.