Linear mechanical systems
Newton’s laws¶
In this lecture, we consider mechanical systems with translational motion in one direction. The most important facts we will use are Newton’s laws. The fundamental physical object in this context is a particle, which carries a constant mass and has (vector) position .
Since we will be dealing extensively with functions of time (also called signals), we will use two notation conventions so that our equations do not look too cluttered.
We use dots to denote time derivatives, so we write instead of and we write instead of . We can also write and for higher derivatives.
We often omit the for brevity. Therefore, it is important to know based on the context which symbols represent fixed parameters, such as the mass , and which represent signals, such as the position .
We will now specialize Newton’s laws to rigid body motion in 1D. A rigid body is a large collection of particles that are constrained to keep the same relative position to one another. In 1D, we assume the body only translates in one direction (no rotation), and all external forces are applied in that direction. In this case, all points on the body have the same velocity and acceleration , and the quantities , , may be treated as scalars since they only act in 1D. If the total mass of the body is , Newton’s second law simplifies to:
In other words: In 1D, the mass of a body times its acceleration is equal to the sum of all external forces acting on the body. For a detailed derivation, see the appendix on Newton’s laws.
Fundamental components¶
Stiffness elements¶
A stiffness element is used to represent a spring-like interaction between two points. If you apply a force to compress or stretch the space between the two points, the stiffness element deforms accordingly, and acts as a lossless energy storage device. We represent stiffness elements as a zig-zag line, which depicts a spring.
Figure 1:Simple spring being stretched by both ends.
In the diagram of Figure 1, we have:
The arrows labeled , which indicate that a force is being applied in opposite directions on both ends of the spring. We omit the for brevity, but you should always assume that applied forces (or system inputs in general) could be functions of time.
Measurements and with corresponding arrows that indicate direction. This tells us how we will record/track the positions of the endpoints of the spring. These are measured with respect to fixed inertial space. For example, the arrow to the right means that the left endpoint is displaced an amount to the right. So if , the point moves right, and if , the point moves left.
Finally, the spring is labeled to indicate that this is the spring constant of the spring and that it obeys Hooke’s Law: the force is proportional to the displacement.
This sort of equation relating different physical quantities is called a constitutive equation. The minus sign is there because represents the lengthening of the spring. The spring lengthens if (the right point moves right) or (the left point moves left). Note that if , for example, both endpoints move right 5 units, so there is no net lengthening!
We can also have one endpoint fixed, which we represent using a line with hash marks.
Figure 2:Simple spring being stretched by one end, with the other end fixed to a wall.
In this case, the left endpoint of the spring is fixed to the wall, so we do no need to label it, and Hooke’s law simply becomes .
Damping elements¶
A damping element is used to represent a dashpot-like (viscous) interaction between two points. If you apply a force to compress or stretch the space between the two points, the damping element deforms at a speed that depends on the force, and acts as an energy dissipation device. We represent damping elements as a cartoon-like piston, which depicts a dashpot.
Another damping element is viscous friction, which happens when there is a viscous fluid at the interface between two surfaces that causes the two surfaces to slide at a speed that depends on the tangential force applied. We represent this as a hatched region between the surfaces. The two damping elements are depicted below.
Figure 3:Left: Simple damper (dashpot) being stretched by both ends. Right: Viscous damping between two sliding surfaces.
Both of the damping elements shown in Figure 3 have the same constitutive equation:
Other forms of damping
Viscous friction, which we described above, opposes motion with a force proportional to velocity. This typically occurs when there is a viscous liquid at the interface between two surfaces that are sliding relative to one another. Here are two other forms of damping (energy dissipation) that you may have encountered in your prior studies.
Coulomb friction: Also known as dry friction, is a nonlinear phenomenon that depends on the normal force .
When the tangential force is less than , the object does not move (the friction force cancels out the tangential force).
When the tangential force is greater than , the object “unsticks” and begins to slide. Then, the friction force resisting motion is constant and equal to . Here, the coefficients and (with ) are the coefficients of static friction and dynamic (or kinetic) friction, respectively.
Pressure/aerodynamic drag: This is a drag force that opposes motion when a body moves through a fluid such as air or water. It is also a nonlinear effect, and typically scales with the square of the body’s velocity.
Free body diagrams¶
To obtain equations of motion for an interconnected system involving masses, stiffness, and damping elements, we apply Newton’s second law once for each inertia (each mass) in the system. A simple way of keeping track of the various forces at play is to draw a free body diagram for each inertia.
When connecting elements together, we apply Newton’s third law. This means that our stiffness (or damping) elements can be interpreted in two different ways:
When you apply a force to a spring, it deforms an amount , where .
When you deform a spring an amount , it resists with a force , where .
So when we connect a spring to a mass, the force that the mass imparts on the spring will be equal and opposite to the force the spring imparts on the mass.
Example: spring-mass-damper¶
Consider the classical spring-mass-damper system shown in Figure 4.
Figure 4:Classic spring-mass-damper system. The wheels indicate that there is no friction.
Car suspension
A common example of a spring-mass-damper system is a car suspension, which typically consists of an inner tube surrounded by a coiled spring, as shown below.

The outer coil is an ordinary spring. The inner tube is a damper, more precisely a hydraulic shock absorber: a piston in an oil-filled cylinder, where oil is forced through valves/orifices, dissipating energy and resisting relative motion.
There is a single inertia (the mass ) connected to a wall by a spring and a damper. The wheels under the mass indicate that there is no friction. There is also an external force applied to the mass.
The spring and damper exert forces on the mass, so let’s draw a free body diagram of mass to account for all the forces:
Figure 6:Free body diagram for the spring-mass-damper system of Figure 4.
The spring force and damper force are drawn pointing in the direction we expect them to act when . A displacement to the right () will cause the spring to exert a force on the mass towards the left (resisting the motion). As we will see later, it doesn’t matter which way you draw these arrows, as long as you adjust your constitutive equation accordingly!
We can now write all the relevant equations:
Eliminating and by substituting the two constitutive equations into Newton’s law and rearranging the equation, we obtain our final equation of motion:
Sign conventions¶
The directions of the arrows in the free body diagram are a convention. The arrow says “this is the direction we’ll be calling positive”. This does not mean the force must act in this direction! If it acts in the opposite direction, it will simply have a negative value.
What happens if we use a different convention in the spring-mass-damper system? Let’s draw our FBD differently this time, by switching the direction of the spring force.
Figure 7:Alternative free body diagram for the spring-mass-damper system of Figure 4.
The relevant equations now become:
The spring equation changes because when we have a positive displacement (), the spring force should oppose the motion (). Newton’s second law also changes because is now aligned with . The two effects cancel out, and we obtain the same equation of motion as before, (5).
More examples¶
For the rest of this lecture, we will cover several different examples. Each uses a similar workflow to the spring-mass-damper system of Figure 4, but with increasing complexity.
Example: springs in parallel¶
Consider two springs connected in parallel to a mass.
Figure 8:Left: two springs connected in parallel to a mass. Right: corresponding free body diagram.
The relevant equations for this system are:
Eliminating and by substitution, we obtain our equation of motion:
Example: springs in series¶
Now consider two springs connected in series to a mass.
Figure 9:Two springs connected in series to a mass.
The difficulty here is that if we draw a free body diagram for mass only, we will not have enough information to solve the problem. This is because the displacement of the seconds spring is , so our equation of motion will depend on both and .
The trick to solving this problem is to imagine a fictitious mass located between the two springs. Let’s now make free body diagrams for both masses:
Figure 10:Free body diagrams for the system of Figure 9.
The relevant equations for this system are now:
Eliminating and by substituting into last two equations, we obtain
Setting in the first equation, the differential equation becomes an algebraic equation (no derivatives). We can solve for and obtain:
Plugging this back into (10) and simplifying, we obtain our equation of motion:
Test your knowledge¶
Solution to Exercise 1 #
Begin by drawing the free body diagrams for both masses.
Figure 12:Free body diagrams for the masses in the system of Figure 11.
The force corresponds to the viscous friction force, which acts equal and opposite on the two masses. The spring forces and were drawn so as to oppose the directions of and , but again, this is just a convention and has no effect on the final answer. Now, we can write our system of equations.
The trickiest part is getting the signs right on the viscous damping. One way to do this is to imagine displacing one mass while holding everything else fixed.
Look at . Imagine holding fixed () and moving in the positive- direction. We would expect the friction force to oppose the motion, so , since the acting on is already opposing the direction of .
Now look at . Imagine holding fixed () and moving in the positive- direction. We would expect the friction force to oppose the motion, so , since the acting on is in the same direction as .
When neither mass is held fixed, the system obeys superpostion; we can just add the two friction forces together and obtain .
Returning to Eq. (13), we can substitute the first three equations into the last two equations to eliminate , , and , and we obtain: