The displacement of particle along the $x$ and $y$ axis is \begin{cases} x(t)=\omega t-\sin\omega t\\ y(u)=1-\cos\omega t \end{cases} Upon differentiation, the velocity is \begin{cases} v_x(t)=\omega\left(1-\cos\omega t\right)\\ v_y(t)=\omega\sin\omega t \end{cases} so $$v =\sqrt{v_x^2+ v_y^2} = 2w \sin (wt /2)$$
My problem is if I find the magnitude of acceleration by differentiation of components $v_x$ and $v_y$ followed by their sum, I get a constant acceleration $w^2$ but if I directly differentiate $v$ I got variable acceleration $w^2 \cos (wt/2)$. I don't understand why. How are the two methods different?