Differential EquationsVibrations and Oscillations1 of 4
Vibrations and Oscillations · 1
Free Undamped Motion
We want to track the position x(t) of a mass bouncing on a spring when there is no friction to slow it down and no outside force pushing it.
1
Setting up the spring equation
To write an equation for the motion, we mark the spring's relaxed resting spot as equilibrium (x=0) and match the block's acceleration to the pull of the spring.
Setting up the spring equation mx″ + kx = 0
Whenever the block is at position x, the spring pulls back toward x=0 with force −kx. Setting mass times acceleration equal to this spring force gives the differential equation for free undamped motion:
maccelerationx′′⟹mx′′+kx=spring force−kx=0
2
Solving for angular frequency, period, and frequency
Now that we have the differential equation mx′′+kx=0 (and want to see whether hanging the spring vertically changes anything), we want to solve for the position wave x(t) and find how many seconds one full bounce takes and how many bounces happen each second.
Solving for angular frequency, period, and frequency
Because there is no x′ friction term, the characteristic equation mr2+k=0 has purely imaginary roots, so the solution is a combination of cosine and sine waves whose speed is set by the stiffness k and mass m:
mr2+k=0⟹r=±imk
x(t)=c1cos(ωt)+c2sin(ωt),angular frequency (rad/s)ω=mk
To complete one full bounce, the angle inside the cosine and sine must travel through 2π radians at a speed of ω radians per second, which gives the time for one bounce and the bounces per second as reciprocals:
A stiffer spring (larger k) or a lighter block (smaller m) increases the angular speed ω=mk around the 2π circle, which shortens the period T of one bounce and fits more bounces f=T1 into each second.
Making the spring stiffer or the block lighter spins the circle faster, shortening the time for one full bounce so the reciprocal number of bounces fits into a single second.
3
How starting position and velocity set c1 and c2
The spring and mass fix ω, and next we need to find the constants c1 and c2 from where the block starts and how fast it is pushed at t=0.
How starting position and velocity set c₁ and c₂
At t=0,cos(0)=1 while sin(0)=0, and in the velocity derivative x′(t)=−ωc1sin(ωt)+ωc2cos(ωt) the chain rule brings an ω out in front of c2:
Releasing the block from rest (v(0)=0) gives a pure cosine wave x(0)cos(ωt) with a flat slope at t=0. Hitting it at equilibrium (x(0)=0) gives a pure sine wave ωv(0)sin(ωt) starting at zero with slope v(0). Doing both adds the two waves together.
Starting position only scales the cosine wave, starting velocity only scales the sine wave, and the spring’s motion is always the sum of the two.
4
Finding the equation of motion from a hanging weight
Most problems don't give you k and m directly. Instead, they tell you how far a hanging weight stretches the spring to reach equilibrium. At that resting spot, the weight force F=mg matches Hooke's law F=kL, where L is the stretch.
Problem: A mass weighing 32 lbs stretches a spring 2 ft. The mass is then pulled down an extra 1 ft below equilibrium and released with an upward velocity of 6 ft/s. Find the equation of motion x(t), the period T, and the frequency f.
Worked problem: equation of motion, period, and frequency
Text solution
Find stiffness k from the resting stretchBecause the 32 lb weight stretches the spring L=2 ft to reach equilibrium, Hooke's law F=kL gives the stiffness:
32=k(2)⟹k=16 lbs/ft
Divide weight in pounds by g=32 ft/s2 to get mass mIn US units, 32 lbs is already the gravity force mg, so we divide by 32 ft/s2 to get the mass in slugs and write the differential equation:
m=3232=1 slug⟹1x′′+16x=0
Compute ω, period T, and frequency f from k and mPlugging k=16 and m=1 into ω=mk gives the angular frequency, the time for one bounce, and the bounces per second:
ωTf=116=4 rad/s,=42π=2π s,=T1=π2 Hz
Set c1 and c2 from the initial position and velocityTaking upward as positive and downward as negative, starting 1 ft below equilibrium with an upward velocity of 6 ft/s gives x(0)=−1 and v(0)=+6:
c1c2=x(0)=−1,=ωv(0)=46=1.5
x(t)=−1cos(4t)+1.5sin(4t)
5
Amplitude, phase angle, and the single cosine wave
In x(t)=−1cos(4t)+1.5sin(4t), both waves are active at once, so neither −1 nor 1.5 is the furthest distance the block reaches from equilibrium. To find the true peak distance and when the block first gets there, we combine the two waves into a single shifted cosine wave:
x(t)=amplitudeAcos(ωt−phase angleϕ)
Expanding Acos(ωt−ϕ)=Acosϕcos(ωt)+Asinϕsin(ωt) matches c1 and c2 to the horizontal and vertical legs of a right triangle:
c1c2=Acosϕ,=Asinϕ
Problem (continued): For x(t)=−1cos(4t)+1.5sin(4t), what is the maximum distance the mass reaches from equilibrium, when does it first get there, and how is the motion written as a single cosine wave?
Amplitude, phase angle, and the single cosine wave
Text solution
Plot (c1,c2) and find the amplitude A from the hypotenusePlotting (c1,c2)=(−1,1.5) in Quadrant II gives the maximum distance from equilibrium as the triangle's hypotenuse:
A=(−1)2+(1.5)2=1+2.25=3.25≈1.80 ft
Add π to arctanc1c2 when c1<0 to reach Quadrant IIBecause a calculator's arctan only returns angles on the right half of the circle (Quadrants I and IV), we add π radians to rotate across the origin from Quadrant IV into Quadrant II:
Set the angle inside the cosine to zero to find the first peak timeSince cos(0)=1, the mass first reaches its peak of 1.80 ft above equilibrium when the inside of the cosine equals zero:
4t−2.16=0⟹t=42.16≈0.54 s
As (c1,c2) moves around the four quadrants, the two waves c1cos(ωt) and c2sin(ωt) combine into Acos(ωt−ϕ), with peak height A=c12+c22 and first peak at t=ωϕ (with ϕ measured counter-clockwise, between 0 and 2π). When (c1,c2) crosses onto the left half of the grid (c1<0), arctanc1c2 points across the origin in the opposite direction until you add π.
Your point on the grid forms a triangle whose hypotenuse sets the combined wave's peak height and whose angle sets the timing of its first peak, needing an extra half-turn past the arctangent angle whenever the point is on the left side.
Key concepts
Every free undamped spring problem follows mx′′+kx=0, whether the spring slides on a table or hangs from the ceiling with x=0 at its stretched resting position. Your first step is checking the units to get m and k:
Given mass in kilograms (m)
Multiply by g=9.8 m/s2 to get the gravity force before finding k from F=kL (a 5 kg mass stretching a spring 0.2 m pulls with F=5(9.8)=49 N, giving k=0.249=245 N/m).
Given weight in pounds (F=mg)
Use the pounds directly as F in F=kL, and divide by g=32 ft/s2 to get the mass in slugs (a 32 lb weight stretching a spring 2 ft gives k=232=16 lbs/ft and m=3232=1 slug).
Once you have m and k, the angular frequency ω=mk sets how fast the angle travels around a 2π circle, giving the period and frequency as reciprocals:
ωTf=mk,=ω2π s/bounce,=T1=2πω Hz
How the block starts at t=0 splits directly between cosine for starting position and sine for starting velocity:
x(t)=x(0)cos(ωt)+ωv(0)sin(ωt)
When not to use the (c1,c2) triangle
If the mass is released from rest (v(0)=0, such as x(t)=−0.3cos(7t)) or hit right at equilibrium (x(0)=0, such as x(t)=4sin(3t)), one of the two waves is already zero, so the peak distance from equilibrium is simply ∣c1∣ or ∣c2∣ with no triangle needed.
When both c1 and c2 are nonzero
Plot (c1,c2) to combine c1cos(ωt)+c2sin(ωt) into Acos(ωt−ϕ), using the hypotenuse for the maximum distance A and checking the sign of c1 for the phase angle:
Aϕ=c12+c22,=⎩⎨⎧arctanc1c2if c1>0 (Quadrant I or IV)arctanc1c2+πif c1<0 (Quadrant II or III)
For (−1,1.5) in Quadrant II, A=(−1)2+1.52≈1.80 and ϕ=arctan(−1.5)+π≈2.16 rad, giving x(t)=1.80cos(4t−2.16) and the first peak when 4t−2.16=0, at t≈0.54 s.
6
Practice
1
A 2 kg block attached to a spring with stiffness k=18 N/m rests at equilibrium (x=0) on a frictionless horizontal table. At t=0, a hammer hits the block, giving it an initial velocity of 12 m/s in the positive direction. Write the differential equation, and find the angular frequency ω, the period T, the frequency f, and the equation of motion x(t).
Since the block starts at equilibrium (x(0)=0), which of the two waves drops out, and what must you divide v(0)=12 by to get the coefficient in front of the remaining wave?
Putting m=2 and k=18 into mx′′+kx=0 gives the differential equation, angular frequency, period, and frequency:
At t=0,x(0)=0 and v(0)=12. Be careful not to put v(0)=12 directly in front of sin(3t) (which gives the common wrong answer 12sin(3t)). Remember to divide the starting velocity by ω=3:
c1c2=x(0)=0,=ωv(0)=312=4⟹x(t)=4sin(3t)
2
A 5 kg mass hangs from a vertical spring and stretches it 0.2 m to reach its resting equilibrium position (use g=9.8 m/s2). The mass is then pulled 0.3 m below equilibrium and released from rest. Taking upward as positive, find the spring stiffness k, the differential equation, the period T, the frequency f, and the equation of motion x(t).
Because 5 kg is mass, multiply by g=9.8 m/s2 to get the weight force F=49 N before solving F=kL (using 5 directly as force gives the wrong stiffness k=0.25=25 N/m and wrong speed ω=5 rad/s).
Is 5 kg already the mass m or the weight force F? Find the downward gravity force in Newtons before using F=kL, and check the sign of x(0) when the mass starts below equilibrium.
Because 5 kg is mass, multiply by g=9.8 m/s2 to get the weight force F=49 N before solving F=kL (using 5 directly as force gives the wrong stiffness k=0.25=25 N/m and wrong speed ω=5 rad/s):
F⟹k⟹5x′′+245x=5(9.8)=49 N=0.249=245 N/m=0
ωTf=5245=7 rad/s,=72π s,=2π7 Hz
With upward positive, pulling the mass 0.3 m below equilibrium means x(0)=−0.3 (forgetting the negative sign gives +0.3cos(7t)), and releasing from rest means v(0)=0:
c1c2=−0.3,=0⟹x(t)=−0.3cos(7t)
3
A weight of 16 pounds stretches a vertical spring 0.5 feet to reach equilibrium (use g=32 ft/s2). The weight is lifted 0.5 feet above equilibrium and released with a downward velocity of 4 ft/s. Taking upward as positive, find the mass m, the spring stiffness k, the angular frequency ω, the period T, the frequency f, and the equation of motion x(t).
Use the 16 lb force directly to find k, and divide by g=32 ft/s2 to get the mass in slugs (putting m=16 directly into mx′′+kx=0 is a common mistake, which gives ω=1632=2 rad/s instead of 8 rad/s).
In US units, 16 pounds is already the force of gravity, so divide by g=32 ft/s2 to get the mass m, and watch the sign on the downward initial velocity when upward is positive.
Use the 16 lb force directly to find k, and divide by g=32 ft/s2 to get the mass in slugs (putting m=16 directly into mx′′+kx=0 is a common mistake, which gives ω=1632=2 rad/s instead of 8 rad/s):
Lifting 0.5 ft above equilibrium gives x(0)=0.5, and pushing downward at 4 ft/s when upward is positive gives v(0)=−4 (missing the negative sign on velocity gives +0.5sin(8t)):
A mass on a vertical spring moves according to x(t)=−3cos(5t)−4sin(5t), where x is in feet (upward positive) and t is in seconds. Rewrite the motion as a single cosine wave x(t)=Acos(ωt−ϕ), find the maximum distance the mass reaches from equilibrium, and find when it first reaches its highest peak above equilibrium.
Plot (c1,c2)=(−3,−4) on the coordinate grid first. Which quadrant is it in, and which quadrant does arctan−3−4=arctan34 point to?
Plotting (c1,c2)=(−3,−4) in Quadrant III gives the maximum distance from equilibrium:
A=(−3)2+(−4)2=5 ft
Because −3−4=+34 is positive, it is easy to get fooled into keeping the calculator's Quadrant I angle arctan34≈0.93 rad (which gives the wrong wave 5cos(5t−0.93) and wrong peak time t≈0.19 s, when the mass is actually at its lowest point x=−5 ft). Since c1=−3<0 puts (−3,−4) in Quadrant III, add π:
Setting the inside of the cosine equal to zero gives the first peak time:
5t−4.07=0⟹t=54.07≈0.81 s
5
A 4 kg block on a frictionless horizontal spring completes π2 bounces per second (Hz). At t=0, the block is pulled 1 m to the left of equilibrium (x(0)=−1) and pushed to the right with initial velocity v(0)>0. If the maximum distance the block reaches from equilibrium is 2 m, find the spring stiffness k, the initial velocity v(0), the single cosine wave x(t)=Acos(ωt−ϕ), and the first time t the block reaches its rightmost peak.
Use f=2πω to get ω first, then use the right triangle A2=c12+c22 with A=2 and c1=−1 to find c2 before multiplying by ω to get v(0).
From the frequency f=π2 Hz, find ω and then the stiffness k:
ω=2πf=2π(π2)=4 rad/s⟹4k=4⟹k=64 N/m
Using c1=x(0)=−1 and amplitude A=2 in the hypotenuse formula gives c2 (since v(0)>0, take the positive root), and remember to multiply c2 by ω=4 to get v(0) rather than stopping at c2=3≈1.73 m/s:
(−1)2+c22⟹c2⟹v(0)=2=3=ωc2=43≈6.93 m/s
Because (c1,c2)=(−1,3) lies in Quadrant II (c1<0), add π to the calculator's Quadrant IV angle arctan(−3)=−3π (forgetting +π gives the wrong wave 2cos(4t+3π)):