Write down the differential equation of SHM. What is its solution? Using graph show the variation of its velocity and acceleration of a body executing SHM with displacement.
Simple Harmonic Motion · Question 57 of 63
Write down the differential equation of SHM.
Solution:
Concept: In SHM the restoring force on a body of mass is , and Newton's second law gives .
Step 1 — Write the differential equation. We equate the two expressions, because both describe the same force, and then divide by and put :
Step 2 — Write its solution. The solution is
Here is the amplitude and the initial phase. Differentiating twice gives times the same sine, so this satisfies the equation.
Step 3 — Find the velocity in terms of displacement. We differentiate once with respect to time, because velocity is the rate of change of displacement:
Since (plus while the body moves in the direction, minus while it moves back), this becomes
Squaring and rearranging gives
So the graph of against is an ellipse. The velocity is zero at the extreme positions ; at the mean position it is . The upper half is traced while the body moves one way and the lower half on its return.

Step 4 — Find the acceleration in terms of displacement. We differentiate once more, because acceleration is the rate of change of velocity:
So the graph of against is a straight line through the origin with negative slope . At the extreme position the acceleration is ; at it is .

Therefore, the differential equation is , with solution ; the velocity–displacement graph is an ellipse () and the acceleration–displacement graph is a straight line through the origin ().
