# Equation of simple harmonic motion [duplicate]

Would

$$\frac{{\rm d}^2 x}{{\rm d}t^2} + \omega^2 x = {\rm (constant)}$$ be an SHM?

My instinct is no, as acceleration would not be zero at x = 0, but a solution in my book uses this equation to find angular frequency for an SHM.

• Let $x = y+\frac{k}{\omega^2}$... – By Symmetry Dec 4 '17 at 14:24

Say: $$\ddot{x}+\omega^2 x=C$$ $$\ddot{x}+\omega^2 x-C=0$$

Substitute:

$$u=\omega^2 x-C$$ $$\dot{u}=\omega^2\dot{x}$$ $$\ddot{u}=\omega^2\ddot{x}\implies \ddot{x}=\frac{1}{\omega^2}\ddot{u}$$ $$\implies \frac{1}{\omega^2}\ddot{u}+u=0$$ Or:

$$\ddot{u}+\omega^2 u=0$$

Which is the ODE for an SHM.

Solve, apply boundary conditions and backsubstitute $u$.

My instinct is no, as acceleration would not be zero at $x = 0$

That's not a requirement of an SHM, see my worked example.

• I still don't understand why acceleration doesn't have to be zero at the mean position. Mean position implies stable equilibrium which implies that the net force at that point is zero. – ymuf Dec 4 '17 at 15:02
• @user165756: did you check my worked example (link)? As $ma=F-kx$, at $x=0$, clearly $a\neq 0$. Mean position would be stable equilibrium if NO oscillation took place at all. – Gert Dec 4 '17 at 15:16
• Ah... sorry, I didn't understand the example before. Thank you. – ymuf Dec 4 '17 at 15:20