Two carts on a straight track are each tied to a wall by a spring and tied to each other by a third spring. Pull the first cart aside and let it go. The second cart starts at rest, yet it soon swings as well, and the two carts pass motion back and forth in a pattern that looks irregular. This lesson writes the motion as one matrix equation, finds the special shapes in which every cart oscillates at a single frequency, and uses those shapes as coordinates in which the system separates into independent copies of the single mass on a spring.
Key terms
Coupled oscillators
Definition Let be time, let primes denote derivatives with respect to , and let the vector list the displacements of bodies from an equilibrium configuration. A linear undamped system of coupled oscillators is a system
where the mass matrix is a constant symmetric positive definite matrix and the stiffness matrix is a constant symmetric matrix. When is also positive definite, the equilibrium is stable and every motion is a combination of oscillations, as the normal modes below show. The oscillators are coupled when or is not diagonal, so that the equation for one coordinate contains other coordinates and the equations cannot be solved one at a time. The model describes small motions with no damping and no outside force. For given and it has exactly one solution, and that solution is defined for every real . With the state that stacks on top of , a vector with entries, it becomes the first-order system
but the second-order form keeps and in view and leads to a problem of size instead of .
In plain words Each body is pulled by springs whose stretch depends on its own position and on the positions of its neighbors. Moving one body changes the forces on the others, so no coordinate can be followed on its own.
Example Two bodies of mass move along a line between two walls. Each is tied to its wall by a spring of stiffness , and a middle spring of stiffness joins them. The middle spring changes length by , so with in meters it exerts a force of newtons on the first body and the opposite force on the second. Newton’s second law gives
which is with
Release the first body from with both bodies at rest. The second body sits at equilibrium with zero velocity, yet its acceleration at that moment is , because the middle spring already pushes on it with a force of .
Mass matrix
Definition The mass matrix of a linear system in coordinates measured from equilibrium is the symmetric positive definite matrix for which the kinetic energy is
When body is a point mass moving along a line and is its own displacement, the mass matrix is in kilograms, and positive definiteness says that every mass is positive. Other coordinates, such as the two angles of a double pendulum, can give a mass matrix that is not diagonal. Because is invertible, the system can be solved for the accelerations as .
In plain words The mass matrix says how strongly each coordinate resists being accelerated. The same force moves a heavy body less than a light one, so the masses have to appear wherever forces are turned into accelerations.
Example Take and , with a left wall spring of , a middle spring of and a right wall spring of . Then
where comes from the chain formula in the next section. At the displacement the spring forces are , and the accelerations are . Forces of different sizes give accelerations of the same size, because the first body is twice as heavy. At the velocity the kinetic energy is .
Stiffness matrix
Definition The stiffness matrix is the symmetric matrix for which the spring forces on the bodies form the vector , or equivalently for which the energy stored in the springs is . Its entry , in newtons per meter, is minus the spring force on body per unit displacement of body , with every other body at its equilibrium position. It is symmetric because all the spring forces come from one stored energy. For the chain made of a wall, a spring , body 1, a spring , body 2, a spring and a wall, the stored energy is
so
The matrix is positive definite when every nonzero displacement stores energy. For this chain with and , that happens exactly when . With the vector satisfies , and the pair can slide together without stretching any spring.
In plain words Column of lists, with a minus sign, the forces that appear on all the bodies when only body is moved by one unit. The off-diagonal entries are the coupling, the springs that connect different bodies.
Example For the two bodies of the first section, and , which gives with rows and . Moving only the first body by produces a force of on it and on the second body, the negatives of the first column. At the release position the springs store
which is in the left wall spring plus in the middle spring, compressed by .
Generalized eigenvalue problem
Definition Try with a constant vector and a scalar function , not identically zero, with . Substituting gives , so the trial solves exactly when . The generalized eigenvalue problem, or generalized eigenproblem, for the pair asks for numbers and vectors with
The eigenvalues are the roots of , a polynomial equation of degree because is invertible. If is symmetric positive definite and is symmetric, there are real eigenvalues , counted with multiplicity, and eigenvectors that form a basis of with for . Each eigenvalue equals
so every is positive when is positive definite, and none is negative when is positive semidefinite. The problem has the same solutions as the ordinary eigenvalue problem for , but that matrix is usually not symmetric. When is a multiple of , as for equal masses, the eigenvectors of alone are the mode shapes, but in general they are not.
In plain words We look for a displacement shape that keeps its proportions while it oscillates. The squared angular frequency is the eigenvalue and the shape is the eigenvector. The masses stay in the equation because the same spring force accelerates a light body more than a heavy one.
Example For the unequal chain with and with rows and ,
For the matrix has rows and , which gives , and indeed . For the matrix has rows and , which gives , with . The natural angular frequencies are and radians per second. The eigenvalues of by itself are , about and , which are not the squared frequencies, and is not a multiple of .
Normal modes
Definition Let and satisfy , and put . The corresponding normal mode is the family of solutions
with real constants and , not both zero. The number is a natural angular frequency of the system, and is the mode shape, fixed only up to a nonzero factor. Modes with different eigenvalues are -orthogonal, meaning , because symmetry of and gives
and , so . For a repeated eigenvalue an -orthogonal basis of its eigenspace can be chosen, but two arbitrary eigenvectors in that eigenspace need not be -orthogonal. If is positive definite, every solution of is a sum of the terms , one for each eigenvector of the basis above, with and some terms possibly zero. An eigenvalue gives the motion instead, which stretches no spring, and a negative eigenvalue gives solutions that grow exponentially, so the equilibrium is then unstable.
In plain words In a normal mode every body moves at the same frequency, reaches its extreme position at the same instant and passes through equilibrium at the same instant. A body whose entry in is zero stays at rest. Bodies whose entries in have the same sign move in step, and bodies whose entries have opposite signs move in opposite directions. The whole configuration grows and shrinks without changing its shape.
Example For the two bodies with rows and ,
So is a mode with radians per second, and is a mode with radians per second. In the first mode the bodies move together, the middle spring keeps its length, and each body feels only its wall spring, so . In the second mode they move in opposite directions, the middle spring changes length by twice each displacement, and each body feels a stiffness of , so . Here , so -orthogonality is the ordinary . For the unequal chain of the previous section the modes and are not perpendicular, since their dot product is , but they are -orthogonal, since .
Modal coordinates
Definition Let be -orthogonal eigenvectors of that form a basis, and let be the invertible matrix with these columns. The modal coordinates of a displacement are the entries of , so that
By -orthogonality both and are diagonal, with modal masses and entries . Substituting into , multiplying on the left by the invertible matrix and dividing row by gives the separate equations
for . The initial data become and , and -orthogonality gives each entry directly, for example . The energy separates too,
and each term of the sum is constant along every solution.
In plain words Modal coordinates measure how much of each mode shape is present in the current displacement. In these coordinates each equation contains only its own unknown, so the coupled system becomes single oscillators that are solved one at a time and then added back together.
Example For the two bodies take
Then and , so the modal equations are and . Release the first body from with both bodies at rest, so and . The conditions and give , and both modal velocities start at zero. Hence and , and
Substitution confirms it. For example , and gives the same expression. The energy stays , with in the first mode and in the second. Each modal coordinate is periodic, but the first body never returns exactly to after , since that needs at the same time, and is irrational.
Check yourself
- Two bodies of mass are each tied to a wall by a spring of stiffness and to each other by a spring of stiffness . With primes denoting derivatives in , write the system and find the mode shapes and natural angular frequencies.
Show the answer
The chain formula with and gives
The products and show that the in-step mode has radians per second and the opposite mode has radians per second. These are all the modes, since . The in-step frequency does not depend on the middle spring, because that spring keeps its length in this mode.
- A system has and with rows and . A classmate computes the eigenvalues of and reports their square roots as the natural angular frequencies. Find the correct frequencies and mode shapes, and explain the mistake.
Show the answer
The squared frequencies are the roots of
so and radians per second. The matrix has rows and , which gives , and has rows and , which gives . As a check, and , and the modes are -orthogonal, since . The classmate solved , which treats both bodies as if each had mass . The accelerations are , and a given force gives the body only one third of the acceleration it would give a body, so has to stay in the problem. The classmate’s values, about and radians per second, are not frequencies of this system.
- Two bodies of mass on a frictionless track are joined only by a spring of stiffness , with no wall springs. The first body is struck so that and , where primes are derivatives in . Find , and explain what the eigenvalue zero means for the motion.
Show the answer
Here and has rows and , which is only positive semidefinite. The equation gives with and with . The modal equations are and . Both modal coordinates start at , and the velocities satisfy and , so both modal velocities start at . Hence and , and
Substituting back, and , which add to zero. The eigenvalue zero belongs to a motion that stretches no spring, so its coordinate grows linearly instead of oscillating. The pair drifts at an average velocity of while the spring between them vibrates at radians per second. Writing that mode as with leaves only a constant, which cannot match the modal velocity .