A geometric description for simple and damped harmonic oscillators

In this work we consider the Riemannian geometry associated with the differential equations of one dimensional simple and damped linear harmonic oscillators. We show that the sectional curvatures are completely determined by the oscillation frequency and the friction coefficient and these physical constants can be thought as obstructions for the manifold to be flat. Moreover, equations of simple and damped harmonic oscillators describe nonisomorphic solvable Lie groups with nonpositive scalar curvature.