Example 10.1.1. Oscillation of a mass on a spring.
Consider a spring with a mass attached to one end and the other end attached to a wall. For simplicity, we will assume that the mass rests on a frictionless surface. Let represent the position of the spring relative to the wall at time and let represent the βequilibriumβ position.
Imagine what will happen if the mass is held at a position that compresses the spring, and then is released. The initial velocity of the mass is as it is starting from rest, but the force of the spring causes it to accelerate. The mass reaches its highest velocity as it passes the equilibrium position, since past that point the spring is now stretched and begins to pull back on the mass. The force of the stretched spring now causes the spring to slow down, stop, and begin to move back towards the wall. We now consider the mass to have negative velocity as it is moving in the opposite direction, and its distance from the wall is now decreasing. The mass reaches its largest negative velocity as it again passes the equilibrium position before slowing down, stopping, and repeating the motion all over again.
Now consider the position function For simplicity, letβs label the equilibrium position as so that positions closer to the wall than equilibrium and negative, and positions farther from the wall are positive. If the mass begins at position (with positive), it will reach the equilibrium position at the same time that the velocity is at its peak, and will by symmetry will the position will be the furthest from the wall it reaches, at the same time that velocity is a gain Then its position will return back to following the same pattern in reverse.