How do we analyse problems involving harmonic motion?
In our previous article on mechanical resonance, we looked at harmonic motion and how it affects structures. Now weโre going to jump into how we can solve issues that involve simple harmonic motion.
What is simple harmonic motion?
Many systems consist of components that vibrate in the presence of appropriate forces, which can be desirable, undesirable, or unavoidable. This is called Simple Harmonic Motion (SMH).
Understanding the nature of vibration means we can analyse and solve a range of engineering problems. Any system that consists of a mass resting on, or supported by, a spring or flexible structure falls into this category. One of the most important factors is identifying the natural frequency of the system. This is the frequency at which resonance occurs. This is the frequency at which the system will vibrate in the absence of any outside force.
Categorising Vibration
Vibration can be categorised into four different types. One is free vibration, where there is no force generating the motion. Another is forced vibration, where a force acts on the system.
The other categories are damped or undamped. Damping is a force that causes vibrations to die away, and it is present in most systems to some extent. Undamped is the opposite.
Notation
When we analyse vibration, we are dealing with displacement, velocity, and acceleration. Itโs very common to use this short-hand notation:

The over-dot represents differentiation with respect to time, t.
Response of a mass spring system
The spring-mass system is simple, but many engineering systems show the same behavior, so it is useful for us to understand. It provides a great deal of information about a range of systems. Letโs look at a system where the mass is displaced slightly from its equilibrium position and then released. The only force acting on the mass is the spring force.

The diagram shows a spring mass system in its equilibrium position. The corresponding position, velocity, and acceleration are shown; position and velocity are towards the right and are positive, and acceleration is negative since the mass is decelerating.
Letโs imagine a mass is attached to this spring, and we assume there is no friction or damping force acting. If we displace the mass from its equilibrium position by a certain distance, x, it will feel a force from the spring equal to kx directed towards its original position.
If the mass is released, this force will accelerate the mass towards its original position with a force that reduces to zero. As the mass passes its original position, the spring force begins to increase in the other direction, decelerating the mass.
The equation can be described as below, assuming the positive is to the right. If the mass is displaced to the right, it feels a spring force acting to the left, and so our equation is: ๐๐ฬ = โ๐๐
Dividing across by m, we obtain an expression for acceleration: ๐ฬ = -kmx
This equation allows us to make two important observations about the motion of the mass. We can see that the acceleration, the second derivative of position, is always equal to minus a constant (k/m) multiplied by position (x). In fact, trigonometric functions have this property, so suppose we assume that: ๐ฅ(๐ก) = A cos(๐๐ก)
Where A is the amplitude (m) of the response and t is time (s) and ฯ is the frequency (rad/s), then if we differentiate with respect to time:
๐ฅฬ = โ๐๐ด sin(๐๐ก)
๐ฅฬ = โ๐2๐ด cos(๐๐ก) = โ๐2๐ฅ
Therefore:
๐ฬ = โ๐๐๐ ๐คโ๐๐๐ ๐๐ = k/m
This solution will work for our equation of motion, so we can say that a spring-mass system that has been given an initial disturbance moves in a sinusoidal manner. If we plot the position of the mass against time, it has a sinusoidal path, and the maximum value of this displacement is A, so that the mass moves between maximum displacements of โA and +A from its rest position.
Alternative Equation
Another form of the simple harmonic motion equation can be obtained by noting the relationship between acceleration and velocity:. Since ๐ฅฬ = โ๐2๐ฅ, we can write:
This equation is valid at any time and is valid for any system that executes simple harmonic motion.
Letโs look at an example. Say a mass of 5kg is suspended from a spring with a stiffness of 2 kN/m. We want to calculate the natural frequency of the spring, and then calculate the maximum velocity and acceleration of the mass if the spring is displaced by 25mm.
For the sake of this example, letโs say the spring is initially in equilibrium, so we donโt need to consider the weight of the mass as the spring has already deflected to account for this.
Firstly, the natural frequency and periodic time can be calculated by:
n=km=20005=20rads fn=n2ฯ=3.18 Hz T=1fn=0.31 s
Now letโs calculate the maximum velocity and acceleration. The formula for velocity is ๐ฅฬ = โ๐๐ ๐ ๐๐ ๐๐ก where A is the amplitude of the position. Since we initially displaced the mass by 25 mm before releasing it, A must be 25 mm. Since the maximum value of sin(ฯt) is ยฑ1, then the maximum absolute value of velocity must be ฯA:
|๐ฅฬ|๐๐๐ฅ = ๐A = (20)(0.025) = 0.5๐/๐
A similar situation exists for acceleration, whose formula is ๐ฅฬ = โ๐2๐ cos ๐๐ก. Again, since the maximum value of the cosine term is ยฑ1, we have a maximum value of acceleration of:
|๐ฅฬ|๐๐๐ฅ = ๐2A = (20)2(0.025) = 10๐/๐ 2
Weโre going to continue our series with more interesting facts and calculations around vibration and how it affects civil engineering structures.
Interested in our courses?
Interested in civil or mechanical engineering? Find out more about all the civil engineering courses we have available by clicking here, and the mechanical engineering courses by clicking here.
Diploma in Mechanical Engineering
Diploma in Mechanical Technology
Diploma in Sustainable Construction
Diploma in Structural Engineering
Diploma in Building and Construction Engineering
Higher International Certificate in Civil Engineering
Higher International Diploma in Civil Engineering
Higher International Diploma in Mechanical Engineering
Higher International Certificate in Mechanical Engineering
Alternatively, you can view all our online engineering courses here.
Recent Posts
Catching a Rocket: The Engineering Behind SpaceXโs Incredible Starship Achievement
Catching a Rocket: The Engineering Behind SpaceXโs Incredible Starship Achievement How do you catch a rocket falling from space? We explore the mechanical, electrical and control engineering principles behind one of the most remarkable achievements in modern aerospace engineering. Imagine trying to catch a 50-metre-tall rocket as it returns from space, travelling at enormous speeds, […]
Why a Headwind Reduces Take-Off Distance: The AirspeedโGroundspeed Derivation
Why a Headwind Reduces Take-Off Distance: The AirspeedโGroundspeed Derivation Aeroplanes normally take off into wind because the wing must reach a required airspeed to produce lift, whereas the runway distance is travelled at groundspeed. A headwind contributes to the airspeed before the aircraft has covered any runway. It therefore reduces the groundspeed required at lift-off […]
How to Calculate Aircraft Take-Off Ground Run: A Flight Mechanics Tutorial
How to Calculate Aircraft Take-Off Ground Run: A Flight Mechanics Tutorial An aircraft does not become airborne simply because its engines are producing thrust. During the take-off ground run, thrust must overcome aerodynamic drag and rolling resistance. On a sloping runway, it must also overcome a component of the aircraftโs weight. This tutorial derives a […]

