# Math Help - the chain rule

1. ## the chain rule

I have 2 questions

1) y=sin(x^2) = 2X cos(x^2)

which i sort of understand but not shure how to do

2) y= (sinx)^2 cn someone explain the answer ?

2. It's like when differentiating $x^n,$ in this case our $x$ is $\sin x,$ hence, we require to apply the chain rule (actually, when one differentiates $x^n$ is applyin' the chain rule, it's just that $(x)'=1$), hence $y'=2\sin(x)\cdot(\sin x)'.$