The equation of motion of a harmonic oscillator has the following form:
x¨+ω02x=0 By introducing the new variable
y=x˙ we transform the initial 2nd order ODE into the set of the two 1st order ODEs:
y˙=−ω02xx˙=y Excluding time, we come to the single ODE defining the phase portrait of the system:
dxdy=−yω02x Performing the integration, we obtain:
2y2+2ω02x2=c2 Introducing the notations
a2≡ω022c2,b2≡2c2, we obtain
a2x2+b2y2=1 which is the canonical equation of an ellipse.
Comments