7. Applications of Second-Order Equations

Spring-mass Systems

Spring-Mass Systems in Second-Order Differential Equations

Introduction: Why Springs Matter in Differential Equations

students, imagine a car bouncing after hitting a speed bump 🚗 or a guitar string vibrating after being plucked 🎸. In both cases, the motion is not random. It follows a pattern that can be modeled with a second-order differential equation. One of the most important examples is the spring-mass system, which shows how force, mass, and motion work together.

In this lesson, you will learn how a spring-mass system is built, why it leads to a differential equation, and how to describe its motion using math. By the end, you should be able to explain the main terms, set up the equation of motion, and connect spring-mass systems to the bigger topic of applications of second-order equations.

Learning goals

  • Understand the meaning of spring-mass system vocabulary.
  • Set up the differential equation for a mass attached to a spring.
  • Recognize what the solution tells us about motion.
  • Connect this model to real-world vibration and oscillation problems.

1. What Is a Spring-Mass System?

A spring-mass system is a physical setup where a mass is attached to a spring and can move back and forth. The spring may be hanging vertically or placed horizontally on a surface. The key idea is that the spring pulls or pushes the mass back toward a balanced position.

The balanced position is called the equilibrium position. This is where the spring is neither stretched nor compressed. If the mass is moved away from equilibrium, the spring exerts a restoring force that tries to bring it back.

This restoring force is described by Hooke’s Law:

$$F=-kx$$

Here, $F$ is the restoring force, $k$ is the spring constant, and $x$ is the displacement from equilibrium. The minus sign means the force acts in the opposite direction of the displacement.

A larger value of $k$ means a stiffer spring. A smaller value of $k$ means a softer spring. For example, a heavy-duty car suspension spring has a much larger spring constant than a spring in a ballpoint pen 🖊️.

2. How a Differential Equation Comes from the Physics

To understand why this is a second-order differential equation, we use Newton’s Second Law:

$$F=ma$$

If the mass is $m$ and its position at time $t$ is $x(t)$, then the acceleration is the second derivative $x''(t)$. So the law becomes:

$$m x''(t)=F$$

For an ideal spring-mass system with no friction and no outside force, the only force is the spring force $-kx(t)$. So we get:

$$m x''(t)=-kx(t)$$

Rewriting gives the standard differential equation:

$$m x''(t)+kx(t)=0$$

This is a second-order linear homogeneous differential equation with constant coefficients. It is one of the classic models in differential equations because it describes periodic motion, which is motion that repeats over time.

If we divide by $m$, we get:

$$x''(t)+\frac{k}{m}x(t)=0$$

This form shows the key ratio $\frac{k}{m}$. A larger $k$ makes the system oscillate faster, while a larger $m$ makes it oscillate more slowly.

3. What the Solution Looks Like

The solution to

$$x''(t)+\frac{k}{m}x(t)=0$$

is a combination of sine and cosine functions:

$$x(t)=c_1\cos(\omega t)+c_2\sin(\omega t)$$

where

$$\omega=\sqrt{\frac{k}{m}}$$

The number $\omega$ is called the angular frequency. It tells how fast the system oscillates.

This solution means the mass keeps moving back and forth around equilibrium. The motion is called simple harmonic motion when there is no damping and no external force. The graph of $x(t)$ looks like a wave that repeats regularly 📈.

A useful fact is that the motion has period

$$T=\frac{2\pi}{\omega}=2\pi\sqrt{\frac{m}{k}}$$

The period is the time for one complete cycle. If the mass is larger, the period is longer. If the spring is stiffer, the period is shorter.

4. Initial Conditions and Real Motion

A differential equation alone does not give one specific motion. To describe a real situation, we also need initial conditions. These tell us where the mass starts and how fast it starts moving.

For example, suppose at time $t=0$ the mass is pulled $3$ cm above equilibrium and released from rest. Then the initial conditions may be:

$$x(0)=3, \qquad x'(0)=0$$

The first condition gives the initial displacement, and the second gives the initial velocity.

Using these conditions, we can find the constants $c_1$ and $c_2$ in the solution. This gives the exact motion of the mass. In real life, these details matter because two spring systems with the same $m$ and $k$ can behave differently if they start differently.

For example, if a playground swing is pulled back and released, it moves differently than if someone gives it a push at the bottom ⛓️. The spring-mass model works the same way: starting position and starting velocity both affect the motion.

5. Solving a Sample Spring-Mass Problem

Let’s build a simple model. Suppose a mass of $m=2$ kg is attached to a spring with spring constant $k=8$ N/m. Assume there is no damping and no external force.

The equation is

$$2x''(t)+8x(t)=0$$

Divide by $2$:

$$x''(t)+4x(t)=0$$

Here,

$$\omega=\sqrt{4}=2$$

So the general solution is

$$x(t)=c_1\cos(2t)+c_2\sin(2t)$$

Now suppose the mass starts $1$ meter above equilibrium and is released from rest:

$$x(0)=1, \qquad x'(0)=0$$

From $x(0)=1$, we get $c_1=1$. Next, differentiate:

$$x'(t)=-2c_1\sin(2t)+2c_2\cos(2t)$$

Then

$$x'(0)=2c_2=0$$

so $c_2=0$. Therefore the motion is

$$x(t)=\cos(2t)$$

This means the mass moves back and forth with no loss of energy. In a perfect math model, the amplitude stays constant forever. In real life, this is rare because air resistance and friction usually remove energy over time.

6. Why This Topic Matters in Applications of Second-Order Equations

Spring-mass systems are a foundation for many other models in the applications of second-order equations unit. The same basic ideas appear in:

  • car suspensions 🚙
  • building vibrations during wind or earthquakes 🌍
  • bouncing objects
  • machine parts that vibrate
  • electrical circuits that behave like oscillators

The reason spring-mass systems matter is that they help students connect physical motion to differential equations. Instead of seeing $x''(t)$ as abstract, you can think of it as acceleration. Instead of seeing $x(t)$ as just a function, you can think of it as position.

This model also prepares you for later topics such as damping and forced oscillations. Damping adds a resisting force, often proportional to velocity, and forced oscillations add an external driving force. The spring-mass system is the starting point for both.

7. Key Ideas to Remember

A spring-mass system is based on three main ideas:

  1. The spring pulls the mass toward equilibrium.
  2. The force is proportional to displacement: $F=-kx$.
  3. Newton’s Law turns the physics into a second-order differential equation.

The standard undamped equation is

$$m x''(t)+kx(t)=0$$

Its solutions are periodic and describe oscillation around equilibrium. The constants depend on the initial position and velocity.

If you understand this model, students, you have a strong foundation for the rest of the applications of second-order equations unit. 🎯

Conclusion

Spring-mass systems are one of the clearest and most useful examples in differential equations. They show how a real object attached to a spring can be modeled with a second-order equation, how the solution describes repeating motion, and how physical ideas like force, mass, and acceleration become mathematical expressions.

The big takeaway is simple: the equation

$$m x''(t)+kx(t)=0$$

captures the motion of an ideal spring-mass system. By studying its solutions, you can predict position over time, understand oscillation, and prepare for more advanced models that include damping and external forces. This is why spring-mass systems are such an important part of applications of second-order equations.

Study Notes

  • A spring-mass system models a mass attached to a spring moving back and forth around equilibrium.
  • The restoring force follows Hooke’s Law: $F=-kx$.
  • Newton’s Second Law gives the undamped equation: $m x''(t)+kx(t)=0$.
  • The solution is sinusoidal: $x(t)=c_1\cos(\omega t)+c_2\sin(\omega t)$.
  • The angular frequency is $\omega=\sqrt{\frac{k}{m}}$.
  • The period is $T=2\pi\sqrt{\frac{m}{k}}$.
  • Initial conditions like $x(0)$ and $x'(0)$ determine the specific motion.
  • Larger $k$ means faster oscillation; larger $m$ means slower oscillation.
  • Ideal spring-mass systems do not lose energy, so the amplitude stays constant.
  • This topic is the starting point for damping and forced oscillation models.

Practice Quiz

5 questions to test your understanding