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)\massone{x_1(t)} and x2(t)\masstwo{x_2(t)} of two masses measured to the right from their resting positions.

kk
mm
kk
mm
kk
x1\htmlClass{lc-blue}{x_1}
x2\htmlClass{lc-orange}{x_2}

Instead of tracking both moving masses at once and dealing with x2−x1\masstwo{x_2} - \massone{x_1} sign errors, we can find the spring forces one column at a time by holding one mass at 00 and moving the other to +1+1.

Setting Up Coupled Spring Equations
kk
mm
kk
mm
kk
x1=1\htmlClass{lc-blue}{x_1} = 1
x2=0\htmlClass{lc-orange}{x_2} = 0
[x1′′x2′′]=  ?\begin{bmatrix} \htmlClass{lc-blue}{x_1''} \\ \htmlClass{lc-orange}{x_2''} \end{bmatrix} = \;?
Text solution
Hold x2=0\masstwo{x_2} = 0 and move x1=1\massone{x_1} = 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\displaystyle \text{First force column} = \begin{bmatrix} -k - k \\ k \end{bmatrix} \massone{x_1} = \begin{bmatrix} -2k \\ k \end{bmatrix} \massone{x_1}
Hold x1=0\massone{x_1} = 0 and move x2=1\masstwo{x_2} = 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\displaystyle \text{Second force column} = \begin{bmatrix} k \\ -k - k \end{bmatrix} \masstwo{x_2} = \begin{bmatrix} k \\ -2k \end{bmatrix} \masstwo{x_2}
Combine the columns into Newton's second lawPutting the two force columns side by side and setting m=1m = 1 and k=1k = 1 gives the coupled system for the accelerations:
m[x1′′x2′′]=[−2kkk−2k][x1x2][x1′′x2′′]=[−211−2][x1x2]\displaystyle \begin{aligned} m\begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} &= \begin{bmatrix} -2k & k \\ k & -2k \end{bmatrix} \begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix} \\ \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} &= \begin{bmatrix} -2 & 1 \\ 1 & -2 \end{bmatrix} \begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix} \end{aligned}

So the two equations x1′′=−2x1+x2\massone{x_1''} = -2\massone{x_1} + \masstwo{x_2} and x2′′=x1−2x2\masstwo{x_2''} = \massone{x_1} - 2\masstwo{x_2} are coupled because each mass's acceleration depends on where the other mass is.

2

Normal Modes and Eigenvalues

Because x1\massone{x_1} and x2\masstwo{x_2} are mixed together in both equations, we first look for normal modes: special motions where both masses oscillate together at a single shared frequency ω\omega, crossing the center and turning around at the exact same instant.

If both masses oscillate at the same frequency ω\omega with amplitudes A\massone{A} and B\masstwo{B}, so x1=Acos⁡(ωt)\massone{x_1} = \massone{A}\cos(\omega t) and x2=Bcos⁡(ωt)\masstwo{x_2} = \masstwo{B}\cos(\omega t), taking two derivatives multiplies both positions by the same negative number −ω2-\omega^2:

[x1′′x2′′]=−ω2[x1x2]\displaystyle \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = -\omega^2 \begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix}
Normal Modes and Eigenvalues
1\htmlClass{lc-green}{1}
1\htmlClass{lc-green}{1}
ω1=  ?\htmlClass{lc-green}{\omega_1} = \;?
1\htmlClass{lc-violet}{1}
−1\htmlClass{lc-violet}{-1}
ω2=  ?\htmlClass{lc-violet}{\omega_2} = \;?

Matching the spring acceleration from the matrix to the shared-frequency acceleration at t=0t = 0, when the positions are A\massone{A} and B\masstwo{B}, turns finding normal modes into an eigenvalue problem:

[−211−2][AB]⏟mode shape v(eigenvector)=−ω2⏟eigenvalue λ(ω=−λ)[AB]\displaystyle \begin{bmatrix} -2 & 1 \\ 1 & -2 \end{bmatrix} \underbrace{\begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix}}_{\substack{\text{mode shape } v \\ \text{(eigenvector)}}} = \underbrace{-\omega^2}_{\substack{\text{eigenvalue } \lambda \\ (\omega = \sqrt{-\lambda})}} \begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix}
Text solution
Set the determinant of the shifted matrix to zeroSubtracting λ\lambda from the diagonal gives the eigenvalues λ=−ω2\lambda = -\omega^2 and their natural frequencies ω\omega:
det⁡[−2−λ11−2−λ]=(−2−λ)2−1=0\displaystyle \begin{aligned} &\det\begin{bmatrix} -2 - \lambda & 1 \\ 1 & -2 - \lambda \end{bmatrix} \\ &\quad = (-2 - \lambda)^2 - 1 = 0 \end{aligned}
(−2−λ)2=1−2−λ=±1\displaystyle \begin{aligned} (-2 - \lambda)^2 &= 1 \\ -2 - \lambda &= \pm 1 \end{aligned}
λ1=−1  ⟹  ω1=1=1,λ2=−3  ⟹  ω2=3\displaystyle \begin{aligned} \modeone{\lambda_1} = -1 &\implies \modeone{\omega_1} = \sqrt{1} = 1, \\ \modetwo{\lambda_2} = -3 &\implies \modetwo{\omega_2} = \sqrt{3} \end{aligned}
Slow mode shape (λ1=−1,ω1=1\modeone{\lambda_1} = -1, \modeone{\omega_1} = 1)Plugging λ1=−1\modeone{\lambda_1} = -1 into the shifted matrix gives the starting ratio for the slower frequency:
[−111−1][AB]=[00]−A+B=0  ⟹  A=B  ⟹  v1=[11]\displaystyle \begin{aligned} \begin{bmatrix} -1 & 1 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ -\massone{A} + \masstwo{B} &= 0 \\ &\implies \massone{A} = \masstwo{B} \\ &\implies \modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} \end{aligned}
Fast mode shape (λ2=−3,ω2=3\modetwo{\lambda_2} = -3, \modetwo{\omega_2} = \sqrt{3})Plugging λ2=−3\modetwo{\lambda_2} = -3 into the shifted matrix gives the starting ratio for the faster frequency:
[1111][AB]=[00]A+B=0  ⟹  B=−A  ⟹  v2=[1−1]\displaystyle \begin{aligned} \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} \begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ \massone{A} + \masstwo{B} &= 0 \\ &\implies \masstwo{B} = -\massone{A} \\ &\implies \modetwo{v_2} = \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \end{aligned}

So the system has a slow mode v1=[11]\modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} where both masses move together at ω1=1\modeone{\omega_1} = 1 without stretching the middle spring, and a fast mode v2=[1−1]\modetwo{v_2} = \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} where they move back and forth in opposite directions at ω2=3\modetwo{\omega_2} = \sqrt{3}.

When Mass 1 is pulled to +1+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\masstwo{x_2(0)} = +1 and x2(0)=−1\masstwo{x_2(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)\massone{x_1(t)} and x2(t)\masstwo{x_2(t)} when Mass 1 is pulled to x1(0)=2\massone{x_1(0)} = 2, Mass 2 is held at x2(0)=0\masstwo{x_2(0)} = 0, and both are released from rest. Because [20]\begin{bmatrix} 2 \\ 0 \end{bmatrix} 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
x1(0)=2\htmlClass{lc-blue}{x_1(0)} = 2
x2(0)=0\htmlClass{lc-orange}{x_2(0)} = 0
[x1(t)x2(t)]=  ?\begin{bmatrix} \htmlClass{lc-blue}{x_1(t)} \\ \htmlClass{lc-orange}{x_2(t)} \end{bmatrix} = \;?
Text solution
Combine the two cosine modesBecause both masses are released from rest (x′(0)=[00]\velocity{x'(0)} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}), 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⁡(3 t)\displaystyle \begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix} = \modeone{c_1 \begin{bmatrix} 1 \\ 1 \end{bmatrix} \cos(t)} + \modetwo{c_2 \begin{bmatrix} 1 \\ -1 \end{bmatrix} \cos(\sqrt{3}\,t)}
Match the starting positions at t=0t = 0Plugging in t=0t = 0 makes cos⁡(0)=1\cos(0) = 1, which gives a system of equations for the mode weights c1\modeone{c_1} and c2\modetwo{c_2}:
c1[11]+c2[1−1]=[20]c1+c2=2c1−c2=0}  ⟹  c1=1,c2=1\displaystyle \begin{aligned} \modeone{c_1 \begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \modetwo{c_2 \begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 2 \\ 0 \end{bmatrix} \\ \left.\begin{aligned} \modeone{c_1} + \modetwo{c_2} &= 2 \\ \modeone{c_1} - \modetwo{c_2} &= 0 \end{aligned}\right\} &\implies \modeone{c_1} = 1, \\ &\qquad \modetwo{c_2} = 1 \end{aligned}
Write the motion for each massSubstituting c1=1\modeone{c_1} = 1 and c2=1\modetwo{c_2} = 1 gives the position of each mass for all time tt:
[x1(t)x2(t)]=1[11]cos⁡(t)+1[1−1]cos⁡(3 t)x1(t)=cos⁡(t)+cos⁡(3 t)x2(t)=cos⁡(t)−cos⁡(3 t)\displaystyle \begin{aligned} \begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix} &= \modeone{1\begin{bmatrix} 1 \\ 1 \end{bmatrix}\cos(t)} \\ &\quad + \modetwo{1\begin{bmatrix} 1 \\ -1 \end{bmatrix}\cos(\sqrt{3}\,t)} \\ \massone{x_1(t)} &= \modeone{\cos(t)} + \modetwo{\cos(\sqrt{3}\,t)} \\ \masstwo{x_2(t)} &= \modeone{\cos(t)} - \modetwo{\cos(\sqrt{3}\,t)} \end{aligned}

Because cos⁡(3 t)\modetwo{\cos(\sqrt{3}\,t)} oscillates about 1.731.73 times faster than cos⁡(t)\modeone{\cos(t)}, the two cosine waves immediately drift out of sync. Whenever the two cosines have the same sign, they add up in x1\massone{x_1} and partly cancel in x2\masstwo{x_2}; whenever they have opposite signs, the minus sign in x2\masstwo{x_2} makes them add up in x2\masstwo{x_2} and partly cancel in x1\massone{x_1}.

When the middle spring is very weak, the two mode frequencies ω1\modeone{\omega_1} and ω2\modetwo{\omega_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)x(t) when the masses are not only displaced at t=0t = 0, but also given a starting push x′(0)=[40]\velocity{x'(0)} = \begin{bmatrix} 4 \\ 0 \end{bmatrix}.

Just as on a single spring, cos⁡(ωt)\cos(\omega t) starts at position 11 with velocity 00, while sin⁡(ωt)\sin(\omega t) starts at position 00 and its derivative ωcos⁡(ωt)\omega\cos(\omega t) starts with velocity ω\omega. Including both a cosine and a sine in each mode lets us match starting positions and starting velocities separately:

x(t)=v1(c1cos⁡(ω1t)⏟from x(0)+d1sin⁡(ω1t)⏟from x′(0))+v2(c2cos⁡(ω2t)⏟from x(0)+d2sin⁡(ω2t)⏟from x′(0))\displaystyle \begin{aligned} x(t) &= \modeone{v_1}\big(\underbrace{\modeone{c_1\cos(\omega_1 t)}}_{\text{from } x(0)} + \underbrace{\modeone{d_1\sin(\omega_1 t)}}_{\text{from } \velocity{x'(0)}}\big) \\ &\quad + \modetwo{v_2}\big(\underbrace{\modetwo{c_2\cos(\omega_2 t)}}_{\text{from } x(0)} + \underbrace{\modetwo{d_2\sin(\omega_2 t)}}_{\text{from } \velocity{x'(0)}}\big) \end{aligned}
Including Starting Velocities
4\htmlClass{lc-pink}{4}
x1(0)=2\htmlClass{lc-blue}{x_1(0)} = 2
x2(0)=0\htmlClass{lc-orange}{x_2(0)} = 0
x(t)=  ?x(t) = \;?
Text solution
Match the starting position at t=0t = 0Since sin⁡(0)=0\sin(0) = 0 and cos⁡(0)=1\cos(0) = 1, the starting position x(0)=[20]x(0) = \begin{bmatrix} 2 \\ 0 \end{bmatrix} uses only the cosine terms, giving the same c1\modeone{c_1} and c2\modetwo{c_2} as before:
c1[11]+c2[1−1]=[20]  ⟹  c1=1,c2=1\displaystyle \begin{aligned} \modeone{c_1\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \modetwo{c_2\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 2 \\ 0 \end{bmatrix} \\ &\implies \modeone{c_1} = 1, \\ &\qquad \modetwo{c_2} = 1 \end{aligned}
Match the starting velocity at t=0t = 0Differentiating sin⁡(ωt)\sin(\omega t) gives ωcos⁡(ωt)\omega\cos(\omega t), with ω\omega out front, so plugging t=0t = 0 into x′(t)\velocity{x'(t)} multiplies each dd by its mode's frequency:
ω1d1v1+ω2d2v2=x′(0)1d1[11]+3 d2[1−1]=[40]\displaystyle \begin{aligned} \modeone{\omega_1 d_1 v_1} + \modetwo{\omega_2 d_2 v_2} &= \velocity{x'(0)} \\ \modeone{1 d_1 \begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \modetwo{\sqrt{3}\, d_2 \begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 4 \\ 0 \end{bmatrix} \end{aligned}
d1+3 d2=4d1−3 d2=0}  ⟹  2d1=4  ⟹  d1=2,d2=23\displaystyle \begin{aligned} \left.\begin{aligned} \modeone{d_1} + \modetwo{\sqrt{3}\,d_2} &= 4 \\ \modeone{d_1} - \modetwo{\sqrt{3}\,d_2} &= 0 \end{aligned}\right\} &\implies 2\modeone{d_1} = 4 \\ &\implies \modeone{d_1} = 2, \\ &\qquad \modetwo{d_2} = \tfrac{2}{\sqrt{3}} \end{aligned}
Combine the cosine and sine termsPutting c1,c2\modeone{c_1}, \modetwo{c_2} and d1,d2\modeone{d_1}, \modetwo{d_2} into the general solution gives the complete motion:
[x1(t)x2(t)]=[11](cos⁡(t)+2sin⁡(t))+[1−1](cos⁡(3 t)+23sin⁡(3 t))\displaystyle \begin{aligned} \begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix} &= \modeone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}\big(\cos(t) + 2\sin(t)\big)} \\ &\quad + \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}\Big(\cos(\sqrt{3}\,t)} \\ &\qquad \modetwo{+ \tfrac{2}{\sqrt{3}}\sin(\sqrt{3}\,t)\Big)} \end{aligned}

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\modetwo{\sqrt{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=9k_1 = 9 and Mass 1 (m1=3m_1 = 3), followed by a middle spring k2=12k_2 = 12 and Mass 2 (m2=4m_2 = 4) with a free right end, and we want to find the motion starting from x(0)=[42]x(0) = \begin{bmatrix} 4 \\ 2 \end{bmatrix} and x′(0)=[012]\velocity{x'(0)} = \begin{bmatrix} 0 \\ 12 \end{bmatrix}.

k1 = 9k_1\,{=}\,9
m1 = 3m_1\,{=}\,3
k2 = 12k_2\,{=}\,12
m2 = 4m_2\,{=}\,4
Solving an Asymmetric System
x1(0)=4\htmlClass{lc-blue}{x_1(0)} = 4
x2(0)=2\htmlClass{lc-orange}{x_2(0)} = 2
12\htmlClass{lc-pink}{12}
x(t)=  ?x(t) = \;?
Text solution
Build the force columns and divide each row by its massHolding x2=0\masstwo{x_2} = 0 and moving x1=1\massone{x_1} = 1 gives force −9−12=−21-9 - 12 = -21 on Mass 1 and +12+12 on Mass 2; holding x1=0\massone{x_1} = 0 and moving x2=1\masstwo{x_2} = 1 stretches only the middle spring, giving +12+12 on Mass 1 and −12-12 on Mass 2, and dividing the two equations by m1=3m_1 = 3 and m2=4m_2 = 4 isolates x1′′\massone{x_1''} and x2′′\masstwo{x_2''}:
3x1′′=−21x1+12x24x2′′=12x1−12x2}  ⟹  [x1′′x2′′]=[−743−3][x1x2]\displaystyle \begin{aligned} &\left.\begin{aligned} 3\massone{x_1''} &= -21\massone{x_1} + 12\masstwo{x_2} \\ 4\masstwo{x_2''} &= 12\massone{x_1} - 12\masstwo{x_2} \end{aligned}\right\} \\ &\implies \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = \begin{bmatrix} -7 & 4 \\ 3 & -3 \end{bmatrix} \begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix} \end{aligned}
Find the eigenvalues and natural frequenciesSetting the determinant of the shifted matrix to zero gives λ=−ω2\lambda = -\omega^2:
det⁡[−7−λ43−3−λ]=(−7−λ)(−3−λ)−12=λ2+10λ+9=(λ+1)(λ+9)=0\displaystyle \begin{aligned} &\det\begin{bmatrix} -7 - \lambda & 4 \\ 3 & -3 - \lambda \end{bmatrix} \\ &\quad = (-7 - \lambda)(-3 - \lambda) - 12 \\ &\quad = \lambda^2 + 10\lambda + 9 \\ &\quad = (\lambda + 1)(\lambda + 9) = 0 \end{aligned}
λ1=−1  ⟹  ω1=1,λ2=−9  ⟹  ω2=3\displaystyle \begin{aligned} \modeone{\lambda_1} = -1 &\implies \modeone{\omega_1} = 1, \\ \modetwo{\lambda_2} = -9 &\implies \modetwo{\omega_2} = 3 \end{aligned}
Find the mode shapes v1\modeone{v_1} and v2\modetwo{v_2}Plugging λ1=−1\modeone{\lambda_1} = -1 and λ2=−9\modetwo{\lambda_2} = -9 into the shifted matrix gives the position ratios for the slow and fast modes:
For λ1=−1:[−643−2][AB]=[00]  ⟹  3A=2B  ⟹  v1=[23]For λ2=−9:[2436][AB]=[00]  ⟹  A=−2B  ⟹  v2=[2−1]\displaystyle \begin{aligned} \text{For } \modeone{\lambda_1} = -1: \\ \begin{bmatrix} -6 & 4 \\ 3 & -2 \end{bmatrix}\begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ &\implies 3\massone{A} = 2\masstwo{B} \\ &\implies \modeone{v_1} = \modeone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} \\ \text{For } \modetwo{\lambda_2} = -9: \\ \begin{bmatrix} 2 & 4 \\ 3 & 6 \end{bmatrix}\begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ &\implies \massone{A} = -2\masstwo{B} \\ &\implies \modetwo{v_2} = \modetwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} \end{aligned}
Match the starting position x(0)=[42]x(0) = \begin{bmatrix} 4 \\ 2 \end{bmatrix}Setting t=0t = 0 in the general solution gives the cosine weights c1\modeone{c_1} and c2\modetwo{c_2}:
c1[23]+c2[2−1]=[42]c1+c2=23c1−c2=2}  ⟹  4c1=4  ⟹  c1=1,c2=1\displaystyle \begin{aligned} \modeone{c_1\begin{bmatrix} 2 \\ 3 \end{bmatrix}} + \modetwo{c_2\begin{bmatrix} 2 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 4 \\ 2 \end{bmatrix} \\ \left.\begin{aligned} \modeone{c_1} + \modetwo{c_2} &= 2 \\ 3\modeone{c_1} - \modetwo{c_2} &= 2 \end{aligned}\right\} &\implies 4\modeone{c_1} = 4 \\ &\implies \modeone{c_1} = 1, \\ &\qquad \modetwo{c_2} = 1 \end{aligned}
Match the starting velocity x′(0)=[012]\velocity{x'(0)} = \begin{bmatrix} 0 \\ 12 \end{bmatrix}Multiplying each dd by its mode frequency ω1=1\modeone{\omega_1} = 1 and ω2=3\modetwo{\omega_2} = 3 gives the sine weights d1\modeone{d_1} and d2\modetwo{d_2}:
1d1[23]+3d2[2−1]=[012]\displaystyle \begin{aligned} \modeone{1d_1\begin{bmatrix} 2 \\ 3 \end{bmatrix}} + \modetwo{3d_2\begin{bmatrix} 2 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 0 \\ 12 \end{bmatrix} \end{aligned}
2d1+6d2=0  ⟹  d1=−3d23d1−3d2=12  ⟹  3(−3d2)−3d2=12}  ⟹  d2=−1,d1=3\displaystyle \begin{aligned} &\left.\begin{aligned} 2\modeone{d_1} + 6\modetwo{d_2} &= 0 \\ \implies \modeone{d_1} &= -3\modetwo{d_2} \\ 3\modeone{d_1} - 3\modetwo{d_2} &= 12 \\ \implies 3(-3\modetwo{d_2}) - 3\modetwo{d_2} &= 12 \end{aligned}\right\} \\ &\implies \modetwo{d_2} = -1, \quad \modeone{d_1} = 3 \end{aligned}
Write the complete motionSubstituting c1=1,c2=1,d1=3,\modeone{c_1} = 1, \modetwo{c_2} = 1, \modeone{d_1} = 3, and d2=−1\modetwo{d_2} = -1 into the general solution gives the position of both masses:
[x1(t)x2(t)]=[23](cos⁡(t)+3sin⁡(t))+[2−1](cos⁡(3t)−sin⁡(3t))\displaystyle \begin{aligned} &\begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix} \\ &\quad = \modeone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}\big(\cos(t) + 3\sin(t)\big)} \\ &\qquad + \modetwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}\big(\cos(3t) - \sin(3t)\big)} \end{aligned}
x1(t)=2cos⁡(t)+6sin⁡(t)+2cos⁡(3t)−2sin⁡(3t)x2(t)=3cos⁡(t)+9sin⁡(t)−cos⁡(3t)+sin⁡(3t)\displaystyle \begin{aligned} \massone{x_1(t)} &= \modeone{2\cos(t) + 6\sin(t)} \\ &\quad + \modetwo{2\cos(3t) - 2\sin(3t)} \\ \masstwo{x_2(t)} &= \modeone{3\cos(t) + 9\sin(t)} \\ &\quad - \modetwo{\cos(3t)} + \modetwo{\sin(3t)} \end{aligned}

Even without symmetry, the motion breaks into a slow mode [23]\modeone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} at ω1=1\modeone{\omega_1} = 1 where the outer mass (with no right spring) moves 1.51.5 times farther than the inner mass, and a fast mode [2−1]\modetwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} at ω2=3\modetwo{\omega_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\masstwo{x_2} = 0 and move x1=1\massone{x_1} = 1 to get the first force column, then hold x1=0\massone{x_1} = 0 and move x2=1\masstwo{x_2} = 1 to get the second. Divide the top row by m1m_1 and the bottom row by m2m_2 so the accelerations are isolated:

3x1′′=−21x1+12x2,4x2′′=12x1−12x2  ⟹  [x1′′x2′′]=[−743−3][x1x2]\displaystyle \begin{aligned} 3\massone{x_1''} &= -21\massone{x_1} + 12\masstwo{x_2}, \\ 4\masstwo{x_2''} &= 12\massone{x_1} - 12\masstwo{x_2} \\ \implies \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} &= \begin{bmatrix} -7 & 4 \\ 3 & -3 \end{bmatrix}\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix} \end{aligned}

Eigenvalues give frequencies, eigenvectors give mode shapes

Solve det⁡(M−λI)=0\det(M - \lambda I) = 0 for the system matrix MM. Because second derivatives bring out −ω2-\omega^2, each negative eigenvalue λ=−ω2\lambda = -\omega^2 gives a natural frequency ω=−λ\omega = \sqrt{-\lambda} (so λ=−9\lambda = -9 gives ω=3\omega = 3, not 99) and its eigenvector v=[AB]v = \begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} gives the mode shape. When the two masses and outer springs are identical, you already know the mode shapes are v1=[11]\modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} and v2=[1−1]\modetwo{v_2} = \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}.

Combine the modes and match t=0t = 0

x(t)=v1(c1cos⁡(ω1t)+d1sin⁡(ω1t))+v2(c2cos⁡(ω2t)+d2sin⁡(ω2t))\displaystyle \begin{aligned} x(t) &= \modeone{v_1\big(c_1\cos(\omega_1 t) + d_1\sin(\omega_1 t)\big)} \\ &\quad + \modetwo{v_2\big(c_2\cos(\omega_2 t) + d_2\sin(\omega_2 t)\big)} \end{aligned}
c1v1+c2v2=x(0)⏟starting position,ω1d1v1+ω2d2v2=x′(0)⏟starting velocity (don’t forget ω)\displaystyle \begin{gathered} \underbrace{\modeone{c_1 v_1} + \modetwo{c_2 v_2} = x(0)}_{\text{starting position}}, \\ \underbrace{\modeone{\omega_1 d_1 v_1} + \modetwo{\omega_2 d_2 v_2} = \velocity{x'(0)}}_{\text{starting velocity (don't forget }\omega\text{)}} \end{gathered}

When you can skip half the algebra

  • 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]x(0) = \begin{bmatrix} 6 \\ 12 \end{bmatrix} = 6\modeone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}, you don't need to solve a system for c1\modeone{c_1} and c2\modetwo{c_2}; only that mode is active, so x(t)=[612]cos⁡(ω1t)x(t) = \begin{bmatrix} 6 \\ 12 \end{bmatrix}\modeone{\cos(\omega_1 t)}.
  • Released from rest (x′(0)=[00]\velocity{x'(0)} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}): Drop the sine terms (d1=d2=0\modeone{d_1} = \modetwo{d_2} = 0) and only solve c1v1+c2v2=x(0)\modeone{c_1 v_1} + \modetwo{c_2 v_2} = x(0).
  • Pushed from the resting position (x(0)=[00]x(0) = \begin{bmatrix} 0 \\ 0 \end{bmatrix}): Drop the cosine terms (c1=c2=0\modeone{c_1} = \modetwo{c_2} = 0) and only solve ω1d1v1+ω2d2v2=x′(0)\modeone{\omega_1 d_1 v_1} + \modetwo{\omega_2 d_2 v_2} = \velocity{x'(0)}.
6

Practice

1

Two masses of mass m1=2m_1 = 2 and m2=3m_2 = 3 are connected between two walls by three springs: a left spring of stiffness k1=4k_1 = 4, a middle spring of stiffness k2=6k_2 = 6, and a right spring of stiffness k3=6k_3 = 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]\begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = A\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix}.

Hold x2=0\masstwo{x_2} = 0 and move x1=1\massone{x_1} = 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\masstwo{x_2} = 0 and moving x1=1\massone{x_1} = 1 stretches the left spring and compresses the middle spring, giving force −(4+6)=−10-(4 + 6) = -10 on Mass 1 and +6+6 on Mass 2. Holding x1=0\massone{x_1} = 0 and moving x2=1\masstwo{x_2} = 1 gives force +6+6 on Mass 1 and −(6+6)=−12-(6 + 6) = -12 on Mass 2:
2x1′′=−10x1+6x23x2′′=6x1−12x2\displaystyle \begin{aligned} 2\massone{x_1''} &= -10\massone{x_1} + 6\masstwo{x_2} \\ 3\masstwo{x_2''} &= 6\massone{x_1} - 12\masstwo{x_2} \end{aligned}
Divide the first equation by m1=2m_1 = 2 and the second equation by m2=3m_2 = 3 (watch out: leaving the forces without dividing by the masses gives the wrong matrix [−1066−12]\begin{bmatrix} -10 & 6 \\ 6 & -12 \end{bmatrix}):
[x1′′x2′′]=[−532−4][x1x2]\displaystyle \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = \begin{bmatrix} -5 & 3 \\ 2 & -4 \end{bmatrix}\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix}
2

A coupled spring system obeys [x1′′x2′′]=[−522−2][x1x2]\begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = \begin{bmatrix} -5 & 2 \\ 2 & -2 \end{bmatrix}\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix}. Find both natural frequencies and mode shapes. Then, if Mass 1 is pulled to x1(0)=6\massone{x_1(0)} = 6 and both masses are released from rest, find the starting position x2(0)\masstwo{x_2(0)} that makes the system oscillate purely in its slower normal mode, and write the resulting motion [x1(t)x2(t)]\begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix}.

After finding λ1\lambda_1 and λ2\lambda_2, which eigenvalue gives the smaller frequency ω=−λ\omega = \sqrt{-\lambda}? For the system to move purely in that mode, [6x2(0)]\begin{bmatrix} 6 \\ \masstwo{x_2(0)} \end{bmatrix} must be a multiple of that mode's eigenvector.

Set the determinant of the shifted matrix to zero:
det⁡[−5−λ22−2−λ]=(−5−λ)(−2−λ)−4=λ2+7λ+6=(λ+1)(λ+6)=0\displaystyle \begin{aligned} &\det\begin{bmatrix} -5 - \lambda & 2 \\ 2 & -2 - \lambda \end{bmatrix} \\ &\quad = (-5 - \lambda)(-2 - \lambda) - 4 \\ &\quad = \lambda^2 + 7\lambda + 6 \\ &\quad = (\lambda + 1)(\lambda + 6) = 0 \end{aligned}
This gives λ1=−1\modeone{\lambda_1} = -1 so ω1=1=1\modeone{\omega_1} = \sqrt{1} = 1, and λ2=−6\modetwo{\lambda_2} = -6 so ω2=6\modetwo{\omega_2} = \sqrt{6} (don't forget the square root: ω2\modetwo{\omega_2} is 6\sqrt{6}, not 66).
For λ1=−1\modeone{\lambda_1} = -1 (ω1=1\modeone{\omega_1} = 1, the slower mode):
[−422−1][AB]=[00]  ⟹  2A−B=0  ⟹  v1=[12]\displaystyle \begin{aligned} \begin{bmatrix} -4 & 2 \\ 2 & -1 \end{bmatrix}\begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ &\implies 2\massone{A} - \masstwo{B} = 0 \\ &\implies \modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} \end{aligned}
(Watch out: reading 2A=B2\massone{A} = \masstwo{B} backwards as v1=[21]v_1 = \begin{bmatrix} 2 \\ 1 \end{bmatrix} gives the wrong starting position x2(0)=3\masstwo{x_2(0)} = 3 and [63]cos⁡(t)\begin{bmatrix} 6 \\ 3 \end{bmatrix}\cos(t).)
For λ2=−6\modetwo{\lambda_2} = -6 (ω2=6\modetwo{\omega_2} = \sqrt{6}, the faster mode):
[1224][AB]=[00]  ⟹  A+2B=0  ⟹  v2=[2−1]\displaystyle \begin{aligned} \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\begin{bmatrix} \massone{A} \\ \masstwo{B} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ &\implies \massone{A} + 2\masstwo{B} = 0 \\ &\implies \modetwo{v_2} = \modetwo{\begin{bmatrix} 2 \\ -1 \end{bmatrix}} \end{aligned}
To oscillate purely in the slower mode v1=[12]\modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} with x1(0)=6\massone{x_1(0)} = 6, the positions must stay in the ratio 11 to 22, so x2(0)=12\masstwo{x_2(0)} = 12 and:
[x1(t)x2(t)]=[612]cos⁡(t)\displaystyle \begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix} = \begin{bmatrix} 6 \\ 12 \end{bmatrix}\modeone{\cos(t)}
3

Two identical masses with m1=1m_1 = 1 and m2=1m_2 = 1 are connected between two walls by three identical springs of stiffness k=3k = 3. Mass 1 is pulled to x1(0)=4\massone{x_1(0)} = 4, Mass 2 is pulled to x2(0)=−2\masstwo{x_2(0)} = -2, and both are released from rest. Find x1(t)\massone{x_1(t)} and x2(t)\masstwo{x_2(t)}.

Set up the matrix for k=3k = 3 and m=1m = 1 to find λ1\modeone{\lambda_1} and λ2\modetwo{\lambda_2}, then match c1v1+c2v2=[4−2]\modeone{c_1 v_1} + \modetwo{c_2 v_2} = \begin{bmatrix} 4 \\ -2 \end{bmatrix} at t=0t = 0.

With m=1m = 1 and k=3k = 3, the system is:
[x1′′x2′′]=[−633−6][x1x2]\displaystyle \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = \begin{bmatrix} -6 & 3 \\ 3 & -6 \end{bmatrix}\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix}
Finding the eigenvalues gives (−6−λ)2−9=0(-6 - \lambda)^2 - 9 = 0, so −6−λ=±3-6 - \lambda = \pm 3, which gives λ1=−3\modeone{\lambda_1} = -3 (ω1=3,v1=[11]\modeone{\omega_1} = \sqrt{3}, \modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}) and λ2=−9\modetwo{\lambda_2} = -9 (ω2=3,v2=[1−1]\modetwo{\omega_2} = 3, \modetwo{v_2} = \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}). (Watch out: using −λ-\lambda directly without taking the square root gives the wrong frequencies cos⁡(3t)\cos(3t) and cos⁡(9t)\cos(9t).)
Matching the starting position from rest at t=0t = 0:
c1[11]+c2[1−1]=[4−2]c1+c2=4c1−c2=−2}  ⟹  c1=1,c2=3\displaystyle \begin{aligned} \modeone{c_1\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \modetwo{c_2\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 4 \\ -2 \end{bmatrix} \\ \left.\begin{aligned} \modeone{c_1} + \modetwo{c_2} &= 4 \\ \modeone{c_1} - \modetwo{c_2} &= -2 \end{aligned}\right\} &\implies \modeone{c_1} = 1, \\ &\qquad \modetwo{c_2} = 3 \end{aligned}
Substituting c1=1\modeone{c_1} = 1 and c2=3\modetwo{c_2} = 3 into the two modes gives:
x1(t)=cos⁡(3 t)+3cos⁡(3t),x2(t)=cos⁡(3 t)−3cos⁡(3t)\displaystyle \begin{aligned} \massone{x_1(t)} &= \modeone{\cos(\sqrt{3}\,t)} + \modetwo{3\cos(3t)}, \\ \masstwo{x_2(t)} &= \modeone{\cos(\sqrt{3}\,t)} - \modetwo{3\cos(3t)} \end{aligned}
4

A coupled spring system with [x1′′x2′′]=[−544−5][x1x2]\begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = \begin{bmatrix} -5 & 4 \\ 4 & -5 \end{bmatrix}\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix} starts at its resting position x(0)=[00]x(0) = \begin{bmatrix} 0 \\ 0 \end{bmatrix} and is given a starting velocity x′(0)=[4−8]\velocity{x'(0)} = \begin{bmatrix} 4 \\ -8 \end{bmatrix}. Find x1(t)\massone{x_1(t)} and x2(t)\masstwo{x_2(t)}.

Starting at x(0)=[00]x(0) = \begin{bmatrix} 0 \\ 0 \end{bmatrix} makes both cosine weights zero. When matching x′(0)\velocity{x'(0)}, remember what comes out in front of each dd when you differentiate sin⁡(ωt)\sin(\omega t).

Setting (−5−λ)2−16=0(-5 - \lambda)^2 - 16 = 0 gives −5−λ=±4-5 - \lambda = \pm 4, so λ1=−1\modeone{\lambda_1} = -1 (ω1=1,v1=[11]\modeone{\omega_1} = 1, \modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}) and λ2=−9\modetwo{\lambda_2} = -9 (ω2=3,v2=[1−1]\modetwo{\omega_2} = 3, \modetwo{v_2} = \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}). Since x(0)=[00]x(0) = \begin{bmatrix} 0 \\ 0 \end{bmatrix}, we have c1=0\modeone{c_1} = 0 and c2=0\modetwo{c_2} = 0.
Matching the starting velocities with ω1d1v1+ω2d2v2=x′(0)\modeone{\omega_1 d_1 v_1} + \modetwo{\omega_2 d_2 v_2} = \velocity{x'(0)} (watch out: forgetting to multiply d2\modetwo{d_2} by ω2=3\modetwo{\omega_2} = 3 gives d2=6\modetwo{d_2} = 6 and the wrong answer −2sin⁡(t)±6sin⁡(3t)-2\sin(t) \pm 6\sin(3t)):
1d1[11]+3d2[1−1]=[4−8]d1+3d2=4d1−3d2=−8}  ⟹  2d1=−4  ⟹  d1=−2,d2=2\displaystyle \begin{aligned} \modeone{1d_1\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \modetwo{3d_2\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 4 \\ -8 \end{bmatrix} \\ \left.\begin{aligned} \modeone{d_1} + \modetwo{3d_2} &= 4 \\ \modeone{d_1} - \modetwo{3d_2} &= -8 \end{aligned}\right\} &\implies 2\modeone{d_1} = -4 \\ &\implies \modeone{d_1} = -2, \\ &\qquad \modetwo{d_2} = 2 \end{aligned}
Putting d1=−2\modeone{d_1} = -2 and d2=2\modetwo{d_2} = 2 into the sine modes gives:
x1(t)=−2sin⁡(t)+2sin⁡(3t),x2(t)=−2sin⁡(t)−2sin⁡(3t)\displaystyle \begin{aligned} \massone{x_1(t)} &= \modeone{-2\sin(t)} + \modetwo{2\sin(3t)}, \\ \masstwo{x_2(t)} &= \modeone{-2\sin(t)} - \modetwo{2\sin(3t)} \end{aligned}
5

A left wall is connected to a spring of stiffness k1=4k_1 = 4, attached to Mass 1 with m1=2m_1 = 2, which is connected by a middle spring of stiffness k2=2k_2 = 2 to Mass 2 with m2=1m_2 = 1, with a free right end (no right spring or wall). If x(0)=[30]x(0) = \begin{bmatrix} 3 \\ 0 \end{bmatrix} and x′(0)=[06]\velocity{x'(0)} = \begin{bmatrix} 0 \\ 6 \end{bmatrix}, find x1(t)\massone{x_1(t)} and x2(t)\masstwo{x_2(t)}.

Because there is no right spring, only the middle spring pulls on Mass 2 when you move it to x2=1\masstwo{x_2} = 1. After finding the force columns, divide the top row by m1=2m_1 = 2 and the bottom row by m2=1m_2 = 1.

Holding x2=0\masstwo{x_2} = 0 and moving x1=1\massone{x_1} = 1 gives force −(4+2)=−6-(4 + 2) = -6 on Mass 1 and +2+2 on Mass 2; holding x1=0\massone{x_1} = 0 and moving x2=1\masstwo{x_2} = 1 stretches only the middle spring, giving +2+2 on Mass 1 and −2-2 on Mass 2. Dividing the first equation by m1=2m_1 = 2 and the second by m2=1m_2 = 1 gives:
2x1′′=−6x1+2x21x2′′=2x1−2x2}  ⟹  [x1′′x2′′]=[−312−2][x1x2]\displaystyle \begin{aligned} &\left.\begin{aligned} 2\massone{x_1''} &= -6\massone{x_1} + 2\masstwo{x_2} \\ 1\masstwo{x_2''} &= 2\massone{x_1} - 2\masstwo{x_2} \end{aligned}\right\} \\ &\implies \begin{bmatrix} \massone{x_1''} \\ \masstwo{x_2''} \end{bmatrix} = \begin{bmatrix} -3 & 1 \\ 2 & -2 \end{bmatrix}\begin{bmatrix} \massone{x_1} \\ \masstwo{x_2} \end{bmatrix} \end{aligned}
Setting the determinant of the shifted matrix to zero gives the frequencies and mode shapes:
det⁡[−3−λ12−2−λ]=λ2+5λ+4=(λ+1)(λ+4)=0\displaystyle \begin{aligned} &\det\begin{bmatrix} -3 - \lambda & 1 \\ 2 & -2 - \lambda \end{bmatrix} \\ &\quad = \lambda^2 + 5\lambda + 4 \\ &\quad = (\lambda + 1)(\lambda + 4) = 0 \end{aligned}
λ1=−1  ⟹  ω1=1,v1=[12]λ2=−4  ⟹  ω2=2,v2=[1−1]\displaystyle \begin{aligned} \modeone{\lambda_1} = -1 &\implies \modeone{\omega_1} = 1, \quad \modeone{v_1} = \modeone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} \\ \modetwo{\lambda_2} = -4 &\implies \modetwo{\omega_2} = 2, \quad \modetwo{v_2} = \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \end{aligned}
Matching the starting position x(0)=[30]x(0) = \begin{bmatrix} 3 \\ 0 \end{bmatrix}:
c1[12]+c2[1−1]=[30]  ⟹  c1=1,c2=2\displaystyle \begin{aligned} \modeone{c_1\begin{bmatrix} 1 \\ 2 \end{bmatrix}} + \modetwo{c_2\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 3 \\ 0 \end{bmatrix} \\ &\implies \modeone{c_1} = 1, \\ &\qquad \modetwo{c_2} = 2 \end{aligned}
Matching the starting velocity x′(0)=[06]\velocity{x'(0)} = \begin{bmatrix} 0 \\ 6 \end{bmatrix} with ω1=1\modeone{\omega_1} = 1 and ω2=2\modetwo{\omega_2} = 2 (watch out: leaving off the factor ω2=2\modetwo{\omega_2} = 2 on d2\modetwo{d_2} gives d2=−2\modetwo{d_2} = -2 and doubles the sin⁡(2t)\modetwo{\sin(2t)} terms):
1d1[12]+2d2[1−1]=[06]  ⟹  d1=2,d2=−1\displaystyle \begin{aligned} \modeone{1d_1\begin{bmatrix} 1 \\ 2 \end{bmatrix}} + \modetwo{2d_2\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} 0 \\ 6 \end{bmatrix} \\ &\implies \modeone{d_1} = 2, \\ &\qquad \modetwo{d_2} = -1 \end{aligned}
Combining both modes gives [x1(t)x2(t)]=[12](cos⁡(t)+2sin⁡(t))\begin{bmatrix} \massone{x_1(t)} \\ \masstwo{x_2(t)} \end{bmatrix} = \modeone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}\big(\cos(t) + 2\sin(t)\big)} +[1−1](2cos⁡(2t)−sin⁡(2t))+ \modetwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}\big(2\cos(2t) - \sin(2t)\big)}, or:
x1(t)=cos⁡(t)+2sin⁡(t)+2cos⁡(2t)−sin⁡(2t)x2(t)=2cos⁡(t)+4sin⁡(t)−2cos⁡(2t)+sin⁡(2t)\displaystyle \begin{aligned} \massone{x_1(t)} &= \modeone{\cos(t) + 2\sin(t)} \\ &\quad + \modetwo{2\cos(2t) - \sin(2t)} \\ \masstwo{x_2(t)} &= \modeone{2\cos(t) + 4\sin(t)} \\ &\quad - \modetwo{2\cos(2t)} + \modetwo{\sin(2t)} \end{aligned}