So I have the following differential equations:
$$\dot{x} = \omega y \ \ \ \ (i) $$ $$\dot{y}= -\omega x \ \ \ (ii)$$
Now, my professor considered them as complex variables and solved in the following way:
$$\dot{x}+i\dot{y} = -\omega (y-ix) \ \ \ \ (iii) $$ $$\implies \dot{z} = -i\omega z \ \ \ \ (iv)$$
Which can be further solved to prove that it gives a circle.
My doubt is regarding the third equation. That is shouldn't the equation come out to be as :
$$ x+iy = -\omega(iy -x )$$
Or, is it that we simply are multiplying i to the equation then adding them ?