Where the spring rests, and the equation of motion
Gravity shifts the equilibrium of a vertical spring, but the equation for displacement from equilibrium stays the same. Displacement is positive downward when hanging and to the right on the track.
M061 · Timing a spring
What sets the period of a mass bouncing on a spring? Mass and spring stiffness set the period: four times the mass doubles it. Amplitude does not change it. Hanging the spring vertically only moves the equilibrium point down; gravity leaves the stiffness, and with it the period, unchanged.
Set a frictionless cart or a hanging mass oscillating on the same calibrated spring, and view it from any angle in three dimensions. Drag the mass or give it a kick, time its crossings through equilibrium in the positive direction, and compare the measured period with the exact solution. A phase-space plot with equal scales shows what amplitude and gravity really change.
Physics tutorial
BackgroundA linear spring pulls back with a force proportional to its stretch. Its motion repeats with a steady period, so it can serve as a clock: with a known mass it measures the stiffness, and with a known spring it measures the mass. Comparing the horizontal cart with the hanging mass shows directly what gravity changes.
Why it mattersSection 15.1 of OpenStax University Physics Volume 1 gives the ideal simple harmonic solution. This Lab shows that exact solution next to a crossing timer, a phase-space plot and a numerical trajectory solved on its own.
Start with the essentials
Gravity shifts the equilibrium of a vertical spring, but the equation for displacement from equilibrium stays the same. Displacement is positive downward when hanging and to the right on the track.
Mass and stiffness set the period. In the ideal linear model, amplitude and release phase have no effect on it.
Dividing velocity by the natural angular frequency gives both phase-space axes units of length. With equal scales the path is a circle; plotting raw position against velocity generally gives an ellipse.
The clock times each moment the numerical trajectory crosses zero in the positive direction, locating it by linear interpolation; it never reads the known period. A mass at rest has no crossings, so it has no measured period.
Measure the spring and gravitational energy changes from equilibrium, and their linear terms cancel. The spring force by itself is not the net force.
Typical misconceptionIf I pull it farther, it must swing more slowly.
Better mental modelCompare two amplitudes with the same mass and stiffness. In this linear model the periods are equal.
Typical misconceptionA hanging spring oscillates around its unstretched length.
Better mental modelThe spring stretches until it holds up the weight. Measure displacement from that lower equilibrium point.
Typical misconceptionThe clock should show the theoretical period even when nothing moves.
Better mental modelSet both the release displacement and the velocity to zero. The theoretical period is still defined, but the timer has no crossings to time and reports that the mass is stationary.
Choose the horizontal preset and measure eight periods.
What to observe: The measured period agrees with the exact period, and the total energy stays constant.Double the mass, then compare a larger release with a kick at equilibrium.
What to observe: The mass changes the period. Amplitude and release phase change the size of the circle or where it starts.Choose vertical suspension and vary gravity. Use energy review and fine steps to compare the forces during the same motion.
What to observe: The static stretch changes, but the period and the energy relation measured from equilibrium stay the same.Reduce the maximum step, then look at the error against the exact position and at how much the endpoint moves when the step is halved.
What to observe: The step in use may already be capped for stability. The refinement test halves that actual step.