Differential EquationsApplications of Systems2 of 3
Applications of Systems · 2
Coupled Oscillators and Normal Modes
When two masses are connected by springs, for most starting positions neither mass oscillates in a simple cosine wave, because each mass keeps pulling on the other, so we need a way to set up and solve their equations of motion together.
1
Setting Up Coupled Spring Equations
We want to write the differential equations for the displacements x1(t) and x2(t) of two masses measured to the right from their resting positions.
Instead of tracking both moving masses at once and dealing with x2−x1 sign errors, we can find the spring forces one column at a time by holding one mass at 0 and moving the other to +1.
Setting Up Coupled Spring Equations
Text solution
Hold x2=0 and move x1=1Moving Mass 1 one unit to the right stretches the left spring and compresses the middle spring, so the left spring pulls Mass 1 left and the middle spring pushes it left, while the middle spring pushes Mass 2 right:
First force column=[−k−kk]x1=[−2kk]x1
Hold x1=0 and move x2=1Moving Mass 2 one unit to the right stretches the middle spring to pull Mass 1 right, while the middle spring pulls Mass 2 left and the compressed right spring pushes it left:
Second force column=[k−k−k]x2=[k−2k]x2
Combine the columns into Newton's second lawPutting the two force columns side by side and setting m=1 and k=1 gives the coupled system for the accelerations:
So the two equations x1′′=−2x1+x2 and x2′′=x1−2x2 are coupled because each mass's acceleration depends on where the other mass is.
2
Normal Modes and Eigenvalues
Because x1 and x2 are mixed together in both equations, we first look for normal modes: special motions where both masses oscillate together at a single shared frequency ω, crossing the center and turning around at the exact same instant.
If both masses oscillate at the same frequency ω with amplitudes A and B, so x1=Acos(ωt) and x2=Bcos(ωt), taking two derivatives multiplies both positions by the same negative number −ω2:
[x1′′x2′′]=−ω2[x1x2]
Normal Modes and Eigenvalues
Matching the spring acceleration from the matrix to the shared-frequency acceleration at t=0, when the positions are A and B, turns finding normal modes into an eigenvalue problem:
Set the determinant of the shifted matrix to zeroSubtracting λ from the diagonal gives the eigenvalues λ=−ω2 and their natural frequencies ω:
det[−2−λ11−2−λ]=(−2−λ)2−1=0
(−2−λ)2−2−λ=1=±1
λ1=−1λ2=−3⟹ω1=1=1,⟹ω2=3
Slow mode shape (λ1=−1,ω1=1)Plugging λ1=−1 into the shifted matrix gives the starting ratio for the slower frequency:
[−111−1][AB]−A+B=[00]=0⟹A=B⟹v1=[11]
Fast mode shape (λ2=−3,ω2=3)Plugging λ2=−3 into the shifted matrix gives the starting ratio for the faster frequency:
[1111][AB]A+B=[00]=0⟹B=−A⟹v2=[1−1]
So the system has a slow mode v1=[11] where both masses move together at ω1=1 without stretching the middle spring, and a fast mode v2=[1−1] where they move back and forth in opposite directions at ω2=3.
When Mass 1 is pulled to +1 and both masses are released from rest, almost every starting position for Mass 2 produces an irregular motion where the masses pull back and forth out of sync, except at the two exact mode positions x2(0)=+1 and x2(0)=−1, where both masses cross the center at the exact same instant and follow a single pure cosine wave.
When Mass 1 starts pulled 1 unit right, the two masses cross the center together and trace a single cosine wave only if Mass 2 starts 1 unit right or 1 unit left.
3
Solving Motion from Rest by Combining Modes
Now we can return to our original problem: finding the motion x1(t) and x2(t) when Mass 1 is pulled to x1(0)=2, Mass 2 is held at x2(0)=0, and both are released from rest. Because [20] is not a multiple of either mode shape, we build it by adding the two normal modes together.
Solving Motion from Rest by Combining Modes
Text solution
Combine the two cosine modesBecause both masses are released from rest (x′(0)=[00]), each normal mode oscillates as a pure cosine wave at its own natural frequency:
[x1(t)x2(t)]=c1[11]cos(t)+c2[1−1]cos(3t)
Match the starting positions at t=0Plugging in t=0 makes cos(0)=1, which gives a system of equations for the mode weights c1 and c2:
Because cos(3t) oscillates about 1.73 times faster than cos(t), the two cosine waves immediately drift out of sync. Whenever the two cosines have the same sign, they add up in x1 and partly cancel in x2; whenever they have opposite signs, the minus sign in x2 makes them add up in x2 and partly cancel in x1.
When the middle spring is very weak, the two mode frequencies ω1 and ω2 are nearly equal, so the two cosine waves drift slowly in and out of sync and the masses take turns coming almost to rest in slow beats; stiffening the middle spring pushes the two frequencies apart so the cosines fall out of sync right away.
When you pull Mass 1 and let go, a stiffer middle spring pushes the two mode frequencies apart, turning a slow, clean trade of motion into a fast, uneven shake.
4
Including Starting Velocities
Next, we want to find the motion x(t) when the masses are not only displaced at t=0, but also given a starting push x′(0)=[40].
Just as on a single spring, cos(ωt) starts at position 1 with velocity 0, while sin(ωt) starts at position 0 and its derivative ωcos(ωt) starts with velocity ω. Including both a cosine and a sine in each mode lets us match starting positions and starting velocities separately:
Match the starting position at t=0Since sin(0)=0 and cos(0)=1, the starting position x(0)=[20] uses only the cosine terms, giving the same c1 and c2 as before:
c1[11]+c2[1−1]=[20]⟹c1=1,c2=1
Match the starting velocity at t=0Differentiating sin(ωt) gives ωcos(ωt), with ω out front, so plugging t=0 into x′(t) multiplies each d by its mode's frequency:
So the push on Mass 1 adds a sine wave to each mode, with the second mode's sine coefficient divided by its frequency 3.
5
Solving an Asymmetric System
When the masses and springs are different, we cannot guess the mode shapes by symmetry. Here a left wall holds spring k1=9 and Mass 1 (m1=3), followed by a middle spring k2=12 and Mass 2 (m2=4) with a free right end, and we want to find the motion starting from x(0)=[42] and x′(0)=[012].
Solving an Asymmetric System
Text solution
Build the force columns and divide each row by its massHolding x2=0 and moving x1=1 gives force −9−12=−21 on Mass 1 and +12 on Mass 2; holding x1=0 and moving x2=1 stretches only the middle spring, giving +12 on Mass 1 and −12 on Mass 2, and dividing the two equations by m1=3 and m2=4 isolates x1′′ and x2′′:
Even without symmetry, the motion breaks into a slow mode [23] at ω1=1 where the outer mass (with no right spring) moves 1.5 times farther than the inner mass, and a fast mode [2−1] at ω2=3 where they move in opposite directions.
Key concepts
Every coupled spring problem follows the same steps from forces to normal modes, with shortcuts depending on how the system is started:
Hold one mass and move the other to build the matrix
Hold x2=0 and move x1=1 to get the first force column, then hold x1=0 and move x2=1 to get the second. Divide the top row by m1 and the bottom row by m2 so the accelerations are isolated:
Eigenvalues give frequencies, eigenvectors give mode shapes
Solve det(M−λI)=0 for the system matrix M. Because second derivatives bring out −ω2, each negative eigenvalue λ=−ω2 gives a natural frequency ω=−λ (so λ=−9 gives ω=3, not 9) and its eigenvector v=[AB] gives the mode shape. When the two masses and outer springs are identical, you already know the mode shapes are v1=[11] and v2=[1−1].
Already in a normal mode: If the masses are released from rest in a ratio that already matches one mode shape, such as x(0)=[612]=6[12], you don't need to solve a system for c1 and c2; only that mode is active, so x(t)=[612]cos(ω1t).
Released from rest (x′(0)=[00]): Drop the sine terms (d1=d2=0) and only solve c1v1+c2v2=x(0).
Pushed from the resting position (x(0)=[00]): Drop the cosine terms (c1=c2=0) and only solve ω1d1v1+ω2d2v2=x′(0).
6
Practice
1
Two masses of mass m1=2 and m2=3 are connected between two walls by three springs: a left spring of stiffness k1=4, a middle spring of stiffness k2=6, and a right spring of stiffness k3=6. Find the force columns one mass at a time to write the system of differential equations in the matrix form [x1′′x2′′]=A[x1x2].
Watch out: leaving the forces without dividing by the masses gives the wrong matrix [−1066−12].
Hold x2=0 and move x1=1: which two springs touch Mass 1, and what direction do they pull? After finding both force columns, remember to divide each row by its own mass.
Holding x2=0 and moving x1=1 stretches the left spring and compresses the middle spring, giving force −(4+6)=−10 on Mass 1 and +6 on Mass 2. Holding x1=0 and moving x2=1 gives force +6 on Mass 1 and −(6+6)=−12 on Mass 2:
2x1′′3x2′′=−10x1+6x2=6x1−12x2
Divide the first equation by m1=2 and the second equation by m2=3 (watch out: leaving the forces without dividing by the masses gives the wrong matrix [−1066−12]):
[x1′′x2′′]=[−523−4][x1x2]
2
A coupled spring system obeys [x1′′x2′′]=[−522−2][x1x2]. Find both natural frequencies and mode shapes. Then, if Mass 1 is pulled to x1(0)=6 and both masses are released from rest, find the starting position x2(0) that makes the system oscillate purely in its slower normal mode, and write the resulting motion [x1(t)x2(t)].
After finding λ1 and λ2, which eigenvalue gives the smaller frequency ω=−λ? For the system to move purely in that mode, [6x2(0)] must be a multiple of that mode's eigenvector.
Set the determinant of the shifted matrix to zero:
This gives λ1=−1 so ω1=1=1, and λ2=−6 so ω2=6 (don't forget the square root: ω2 is 6, not 6).
For λ1=−1 (ω1=1, the slower mode):
[−422−1][AB]=[00]⟹2A−B=0⟹v1=[12]
(Watch out: reading 2A=B backwards as v1=[21] gives the wrong starting position x2(0)=3 and [63]cos(t).)
For λ2=−6 (ω2=6, the faster mode):
[1224][AB]=[00]⟹A+2B=0⟹v2=[2−1]
To oscillate purely in the slower mode v1=[12] with x1(0)=6, the positions must stay in the ratio 1 to 2, so x2(0)=12 and:
[x1(t)x2(t)]=[612]cos(t)
3
Two identical masses with m1=1 and m2=1 are connected between two walls by three identical springs of stiffness k=3. Mass 1 is pulled to x1(0)=4, Mass 2 is pulled to x2(0)=−2, and both are released from rest. Find x1(t) and x2(t).
Set up the matrix for k=3 and m=1 to find λ1 and λ2, then match c1v1+c2v2=[4−2] at t=0.
With m=1 and k=3, the system is:
[x1′′x2′′]=[−633−6][x1x2]
Finding the eigenvalues gives (−6−λ)2−9=0, so −6−λ=±3, which gives λ1=−3 (ω1=3,v1=[11]) and λ2=−9 (ω2=3,v2=[1−1]). (Watch out: using −λ directly without taking the square root gives the wrong frequencies cos(3t) and cos(9t).)
A coupled spring system with [x1′′x2′′]=[−544−5][x1x2] starts at its resting position x(0)=[00] and is given a starting velocity x′(0)=[4−8]. Find x1(t) and x2(t).
Starting at x(0)=[00] makes both cosine weights zero. When matching x′(0), remember what comes out in front of each d when you differentiate sin(ωt).
Setting (−5−λ)2−16=0 gives −5−λ=±4, so λ1=−1 (ω1=1,v1=[11]) and λ2=−9 (ω2=3,v2=[1−1]). Since x(0)=[00], we have c1=0 and c2=0.
Matching the starting velocities with ω1d1v1+ω2d2v2=x′(0) (watch out: forgetting to multiply d2 by ω2=3 gives d2=6 and the wrong answer −2sin(t)±6sin(3t)):
A left wall is connected to a spring of stiffness k1=4, attached to Mass 1 with m1=2, which is connected by a middle spring of stiffness k2=2 to Mass 2 with m2=1, with a free right end (no right spring or wall). If x(0)=[30] and x′(0)=[06], find x1(t) and x2(t).
Because there is no right spring, only the middle spring pulls on Mass 2 when you move it to x2=1. After finding the force columns, divide the top row by m1=2 and the bottom row by m2=1.
Holding x2=0 and moving x1=1 gives force −(4+2)=−6 on Mass 1 and +2 on Mass 2; holding x1=0 and moving x2=1 stretches only the middle spring, giving +2 on Mass 1 and −2 on Mass 2. Dividing the first equation by m1=2 and the second by m2=1 gives:
Setting the determinant of the shifted matrix to zero gives the frequencies and mode shapes:
det[−3−λ21−2−λ]=λ2+5λ+4=(λ+1)(λ+4)=0
λ1=−1λ2=−4⟹ω1=1,v1=[12]⟹ω2=2,v2=[1−1]
Matching the starting position x(0)=[30]:
c1[12]+c2[1−1]=[30]⟹c1=1,c2=2
Matching the starting velocity x′(0)=[06] with ω1=1 and ω2=2 (watch out: leaving off the factor ω2=2 on d2 gives d2=−2 and doubles the sin(2t) terms):
1d1[12]+2d2[1−1]=[06]⟹d1=2,d2=−1
Combining both modes gives [x1(t)x2(t)]=[12](cos(t)+2sin(t))+[1−1](2cos(2t)−sin(2t)), or: