Interactive physics simulator
Mass-Spring System
Explore mass-spring dynamics in three interactive modes. Compare gravity effects in horizontal vs. vertical layouts, examine series and parallel spring stiffness combinations, and analyze viscous damping with live phase space spirals.
Mass-Spring Oscillations Laboratory
Modify physical parameters in the right panel. Watch the springs compress and stretch, and observe the live telemetry and curves update.
Live System Telemetry
- Elapsed Time
- 0.00 s
- Horiz. Disp. (x)
- 0.00 m
- Vert. Disp. (y)
- 0.00 m
- Horiz. Vel. (v)
- 0.00 m/s
- Vert. Vel. (v)
- 0.00 m/s
What is a Mass-Spring System?
A **Mass-Spring System** is the classic physical prototype of a simple harmonic oscillator. It consists of a block of mass m attached to an elastic spring of stiffness or spring constant k. When displaced from its rest position and released, the spring exerts a restoring force that pushes the mass back towards equilibrium.
According to Hooke\'s Law, the restoring force is proportional to the displacement and acts in the opposite direction:
Substituting this into Newton\'s second law (F = m · a) gives the differential equation of motion:
This represents a simple harmonic motion with an angular frequency of:
From this angular frequency, the natural frequency f and time period T are derived:
Horizontal vs. Vertical Systems
A key physical question is how gravity affects the dynamics of a mass-spring system.
- **Horizontal System**: The mass slides on a frictionless horizontal table. Gravity is balanced by the normal force from the table, so it has no effect on the oscillation. The equilibrium position is the unstretched length of the spring.
- **Vertical System**: The mass hangs vertically under gravity. Gravity pulls the mass downward, stretching the spring even at rest. This shifts the equilibrium position downward by:
y_eq = (m · g) / kHowever, the restoring force relative to this new equilibrium is still linear: F_net = -k(y - y_eq). Because the spring constant k and mass m are identical, the vertical system oscillates with the **exact same frequency and period** as the horizontal system.
Springs in Series vs. Parallel
When multiple springs are combined, they behave as a single equivalent spring with an effective spring constant k_eff:
- Series Connection: The springs are connected end-to-end. The tension force in each spring is equal, but their individual displacements add up. This makes the system softer:
1/k_eff = 1/k_1 + 1/k_2 ⇒ k_eff = (k_1 · k_2) / (k_1 + k_2)For two identical springs of constant k, the combined stiffness is halved: k_eff = k / 2. This doubles the compliance, increasing the time period of oscillation by a factor of √2.
- Parallel Connection: The springs are connected side-by-side, sharing the load. They undergo the same displacement, and their individual forces add up. This makes the system stiffer:
k_eff = k_1 + k_2For two identical springs of constant k, the combined stiffness is doubled: k_eff = 2k. This increases the restoring force, making the system oscillate faster (reducing the period by a factor of √2).
Damped Oscillations & Phase Space
In real environments, energy is dissipated due to resistive forces. For a mass moving through a viscous fluid, the damping force is proportional to its velocity: F_d = -b · v.
The total restoring force becomes: F_net = -k · x - b · v. This leads to three distinct regimes depending on the damping coefficient b:
- Underdamped (γ < ω_0): The system continues to oscillate, but the amplitude decays exponentially over time according to x(t) = A · e&supmini;&supgam;t · cos(ω_d t + φ), where γ = b/(2m).
- Critically Damped (γ = ω_0): The system returns to equilibrium as fast as possible without any overshoot. This is ideal for car shock absorbers and door closers.
- Overdamped (γ > ω_0): The damping is extremely strong, causing the mass to return slowly to equilibrium without ever crossing it.
In **Phase Space** (plotting velocity v vs. displacement x), a simple harmonic oscillator traces a closed ellipse. However, when damping is introduced, the system continuously loses energy, turning the closed ellipse into a spiral that winds inward and terminates at the origin.
Solved Examples
A 0.50 kg mass is attached to a vertical spring with spring constant k = 50 N/m. (a) Calculate the static stretch (equilibrium displacement) of the spring under gravity. (b) Find the time period of the oscillation if the mass is pulled down and released.
View Step-by-Step Solution
- Identify the parameters: mass m = 0.50 kg, spring constant k = 50 N/m, acceleration due to gravity g = 9.8 m/s².
- Part (a): At static equilibrium, the restoring force of the spring balances the gravitational force: k · y_eq = m · g.
- Solve for equilibrium stretch y_eq: y_eq = (m · g) / k.
- y_eq = (0.50 kg · 9.8 m/s²) / 50 N/m = 4.9 / 50 = 0.098 m = 9.8 cm.
- Part (b): The time period of a mass-spring system is independent of gravity and orientation: T = 2 · π · √(m / k).
- Substitute values: T = 2 · 3.14159 · √(0.50 / 50) = 2 · 3.14159 · √(0.01) = 2 · 3.14159 · 0.10 = 0.628 seconds.
- The static stretch is 9.8 cm and the oscillation period is 0.63 s.
**Final Answer:** y_eq = 9.8 cm, T = 0.63 s
Two identical springs, each with stiffness k = 200 N/m, support a 2.0 kg block. Find the effective spring constant and the oscillation frequency when the springs are connected in (a) series, and (b) parallel.
View Step-by-Step Solution
- Identify parameters: spring constants k_1 = k_2 = 200 N/m, mass m = 2.0 kg.
- Part (a): In series connection, the effective stiffness is given by 1/k_eff = 1/k_1 + 1/k_2.
- For identical springs in series, k_eff_series = k / 2 = 200 / 2 = 100 N/m.
- Calculate frequency: f_series = (1 / 2π) · √(k_eff_series / m) = (1 / 2π) · √(100 / 2.0) = (1 / 2π) · √(50) ≈ 7.07 / 6.283 ≈ 1.13 Hz.
- Part (b): In parallel connection, the effective stiffness is given by k_eff_parallel = k_1 + k_2.
- For identical springs in parallel, k_eff_parallel = 2 · 200 = 400 N/m.
- Calculate frequency: f_parallel = (1 / 2π) · √(k_eff_parallel / m) = (1 / 2π) · √(400 / 2.0) = (1 / 2π) · √(200) ≈ 14.14 / 6.283 ≈ 2.25 Hz.
- Series effective stiffness is 100 N/m (frequency = 1.13 Hz); parallel effective stiffness is 400 N/m (frequency = 2.25 Hz).
**Final Answer:** Series: k_eff = 100 N/m, f = 1.13 Hz; Parallel: k_eff = 400 N/m, f = 2.25 Hz
A horizontal mass-spring system (m = 0.25 kg, k = 100 N/m) exhibits damped oscillations in a fluid with damping coefficient b = 0.50 N·s/m. Determine whether the system is underdamped, critically damped, or overdamped, and calculate the damped angular frequency if applicable.
View Step-by-Step Solution
- Identify parameters: mass m = 0.25 kg, spring constant k = 100 N/m, damping coefficient b = 0.50 N·s/m.
- Calculate the undamped angular frequency: ω_0 = √(k / m) = √(100 / 0.25) = √(400) = 20 rad/s.
- Calculate the damping factor (attenuation constant): γ = b / (2m) = 0.50 / (2 · 0.25) = 0.50 / 0.50 = 1.0 s¹.
- Compare γ and ω_0. Since γ (1.0) is much smaller than ω_0 (20), the system is underdamped (γ < ω_0).
- Calculate the damped angular frequency ω_d: ω_d = √(ω_0² - γ²).
- ω_d = √(20² - 1²) = √(400 - 1) = √(399) ≈ 19.97 rad/s.
- The system is underdamped and oscillates with a frequency of 19.97 rad/s.
**Final Answer:** Underdamped, ω_d = 19.97 rad/s
Common Misconceptions & Pitfalls
- Misconception: Gravity changes the oscillation frequency of a vertical spring.
**Reality:** Gravity only shifts the center of oscillation (the equilibrium position) downward. The rate of change of the restoring force with displacement remains exactly dF/dy = -k, meaning the spring\'s stiffness and the system\'s period are completely unaffected. - Misconception: Connecting two springs in series makes the system twice as stiff.
**Reality:** End-to-end series connection reduces stiffness, halving the effective spring constant (k_eff = k/2). Stiffness is doubled only when they are connected in parallel side-by-side (k_eff = 2k). - Misconception: Critically damped systems oscillate a few times before stopping.
**Reality:** Critical damping is defined as the boundary where oscillations cease. A critically damped system never overshoots the equilibrium position; it decays to zero asymptotically without any oscillation.
Practice Questions
Question 1
Why does adding gravity to a vertical mass-spring system shift the equilibrium position but not change the frequency of oscillation?
Show Explanation
Gravity exerts a constant downward force (F_g = mg). When the mass hangs at rest, the spring stretches by y_eq = mg/k to generate an equal and opposite upward spring force (k · y_eq = mg). When the mass oscillates, the total force at any position y (measured downwards from the unstretched point) is F_net = mg - ky. Substituting ky_eq for mg gives F_net = ky_eq - ky = -k(y - y_eq). If we define a new displacement variable relative to the static equilibrium, x = y - y_eq, the force equation becomes F_net = -kx. This is Hooke's Law in its standard form. Since the restoring force constant (k) remains unchanged, the equation of motion is mathematically identical, and the period is still T = 2π√(m/k), unaffected by gravity.
Question 2
If you cut a spring of stiffness k in half, what is the spring constant of each individual half? Explain in terms of series spring combination.
Show Explanation
Each half of the spring will have a spring constant of 2k. To understand why, consider the two halves connected back together. This represents two springs in series. The series stiffness formula states that 1/k_eff = 1/k_1 + 1/k_2. Since the two halves are identical, let their stiffness be k'. Reconnecting them gives the original stiffness k: 1/k = 1/k' + 1/k' = 2/k'. Rearranging this formula yields k' = 2k. Intuitively, a shorter spring is stiffer because a given total force produces less overall elongation when distributed over fewer coils.
Question 3
What physical conditions determine whether a mass-spring-damper system is underdamped, critically damped, or overdamped?
Show Explanation
The behavior depends on the ratio of the damping factor γ = b/(2m) to the natural angular frequency ω_0 = √(k/m). Underdamped (γ < ω_0): The damping force is weak. The system oscillates back and forth with a gradually decaying amplitude. Critically damped (γ = ω_0): The system returns to equilibrium as quickly as possible without any overshoot or oscillation. Overdamped (γ > ω_0): The damping force is very strong. The system returns to equilibrium slowly without oscillating, acting like a sluggish movement through a thick gel.
Question 4
Explain the shape of the phase space orbit for an undamped vs. a damped mass-spring system.
Show Explanation
For an undamped system, energy is conserved, and the system oscillates infinitely between maximum displacement and velocity. The phase space orbit (velocity v vs. displacement x) forms a closed, stable ellipse centered at the origin. For a damped system, energy is continuously lost to the environment. As a result, both displacement and velocity peaks decrease over time. This causes the phase space orbit to spiral inwards, crossing its previous paths, and eventually terminating at the origin (x = 0, v = 0) where the system comes to rest.
Frequently Asked Questions
- What is a mass-spring system?
- A mass-spring system is a fundamental physical model consisting of a mass attached to an elastic spring. It oscillates in simple harmonic motion under a restoring force described by Hooke's Law.
- How does gravity affect a vertical mass-spring system?
- Gravity shifts the equilibrium position downward by y_eq = mg/k. However, the oscillation period remains T = 2π√(m/k), identical to a horizontal system, because the restoring force gradient is unchanged.
- What is the effective spring constant for springs in series?
- For two springs in series, the effective spring constant is 1/k_eff = 1/k_1 + 1/k_2. If the springs are identical (k), then k_eff = k/2, which makes the system softer and increases the period.
- What is the effective spring constant for springs in parallel?
- For two springs in parallel, the effective spring constant is k_eff = k_1 + k_2. If the springs are identical (k), then k_eff = 2k, making the system stiffer and decreasing the period.
- What is damped oscillation?
- Damped oscillation is motion where energy is gradually lost over time due to dissipative forces like friction or viscous drag, causing the amplitude of oscillation to decay.
- What does a phase space plot of a damped mass-spring system look like?
- A phase space plot (velocity vs. displacement) of a damped system shows a spiral winding inward and ending at the origin (equilibrium), representing the loss of mechanical energy.