Ok, so in an equation I have the following:

$\displaystyle y^2$

If I want to find the derivative of this, I figured I should use the chain rule on this one:

$\displaystyle \frac{dy}{dy} \cdot \frac{dy}{dx}=1 \frac{dy}{dx}$

But is that correct? I don't get it if it's wrong. :/