← Back to Math 055

5.1 Linear Models: Initial-Value Problems: Class Notes

5.1a Mass-Spring Models Setup

5.1b

Undamped motion

Example

A mass weighing 32 pounds stretches a spring 2 feet. Determine the amplitude and period of motion if the mass is initially released from a point 1 foot above the equilibrium position with an upward velocity of 2 ft/s. How many complete cycles will the mass have completed at the end of 4π seconds?

Spring and mass: unstretched, at equilibrium, and in motion

Spring/mass system in three stages (after Figure 5.1.1 in the textbook). (a) An unstretched spring of natural length l hangs from a rigid support. (b) A mass m is attached and the spring stretches an extra s to the equilibrium position, where mg−ks=0. (c) In motion, the mass is a distance x beyond the equilibrium position, so the spring is stretched s+x beyond its natural length (the equilibrium position sits l+s below the support).

Solution

Setting up the model

Hooke’s Law: F=k|s|. The weight is the force and the stretch is F=32 lb, |s|=2 ft, so

32=k·2⟹k=16 lb/ft

At the equilibrium position (b), the force due to gravity, mg, balances the restoring force of the spring, ks:

mg=ks⟹mg−ks=0

Assuming down is positive, if the mass is moving, we have F=ma (Newton’s 2nd law) with a=d2xdt2. So

md2xdt2=−k(x+s)+mgmd2xdt2=−kx−ks+mg⏟=0

The last two terms are zero by the equilibrium condition, which leaves

md2xdt2+kx=0

where x(t) is distance from equilibrium, m is the mass, and k is the spring constant.

Units

Units for each quantity
Systemxkmg
Metricm or cmN/mkg9.8 m/s2
US customaryftlb/ftslugs (lb32)32 ft/s2

In the second row, the mass in slugs is the weight in pounds divided by 32.

Solving

The mass weighs 32 lb. Weight is mg, with g=32 ft/s2:

32=32m⟹m=1

Dividing md2xdt2+kx=0 by m and letting ω2=km yields

d2xdt2+ω2x=0⟹r2+ω2=0(auxiliary equation)

so r=±ωi, where ω=km. This gives

x(t)=c1cos⁡ωt+c2sin⁡ωt

For the above example, k=16 and m=1, so ω=161=4 and

x(t)=c1cos⁡4t+c2sin⁡4t

Released from 1 ft above equilibrium (up is negative): x(0)=−1

Upward velocity 2 ft/s: x′(0)=−2

x(0)=−1 gives c1=−1. Next, x′(t)=−4c1sin⁡4t+4c2cos⁡4t, so

x′(0)=−2⟹−2=4c2⟹c2=−12

Equation of motion:

x(t)=−cos⁡4t−12sin⁡4t

Period of motion:

T=2πω=2π4=π2 sec/cycle

Frequency:

f=1T=2π cycles/sec (hertz)

At the end of 4π seconds, the number of cycles is 4ππ/2=8.

Answer: T=π2 sec, 8 complete cycles

To find the amplitude

Consider acos⁡θ+bsin⁡θ. Factor out a2+b2:

a2+b2(aa2+b2cos⁡θ+ba2+b2sin⁡θ)

Reference triangle with opposite side a, adjacent side b, hypotenuse square root of a squared plus b squared

Right triangle with acute angle φ. Opposite side: a. Adjacent side: b. Hypotenuse: a2+b2.

Suppose there is an angle φ such that aa2+b2=sin⁡φ and ba2+b2=cos⁡φ (the triangle above, with a opposite φ and b adjacent).

Then we have

a2+b2(sin⁡φcos⁡θ+cos⁡φsin⁡θ)=a2+b2sin⁡(θ+φ)

So if x(t)=c1cos⁡ωt+c2sin⁡ωt, then

x(t)=c12+c22sin⁡(ωt+φ),where tan⁡φ=c1c2

For our example, x(t)=−cos⁡4t−12sin⁡4t, so

c12+c22=1+14=52

tan⁡φ=c1c2=2⟹φref≈1.11

But sin⁡φ and cos⁡φ have the signs of c1=−1 and c2=−12, both negative, so φ is in Quadrant III:

φ=π+1.11≈4.25

x(t)=52sin⁡(4t+4.25)

Answer: amplitude 52 ft, period π2 sec, 8 complete cycles

Generalization

md2xdt2+kx=0 yields

x(t)=c1cos⁡ωt+c2sin⁡ωt

x(t)=c12+c22sin⁡(ωt+φ),where tan⁡φ=c1c2

Reference triangle with opposite side c sub 1, adjacent side c sub 2

Right triangle with acute angle φ. Opposite side: c1. Adjacent side: c2. Hypotenuse: c12+c22.

Finding the quadrant

I’ll use φref=tan−1⁡c1c2 and the signs of c1, c2 to identify the correct quadrant.

F=k|s| gives k (F is force: lb, newtons), m is mass (kg, slugs), and ω=km.

It is also possible to express the solution in terms of cosine:

md2xdt2+kx=0⟹x(t)=c1cos⁡ωt+c2sin⁡ωt

x(t)=c12+c22cos⁡(ωt−φ),where tan⁡φ=c2c1

Justification:

cos⁡(α−β)=cos⁡αcos⁡β+sin⁡αsin⁡β

With α=ωt and β=φ, the cosine term matches c1 and the sine term matches c2, so c1=c12+c22cos⁡φ and c2=c12+c22sin⁡φ, which gives tan⁡φ=c2c1.

Reference triangle with opposite side c sub 2, adjacent side c sub 1

Right triangle with acute angle φ. Opposite side: c2. Adjacent side: c1. Hypotenuse: c12+c22.

5.1c

Multiple springs in parallel: keff=k1+k2

Multiple springs in series: keff=k1k2k1+k2

Two springs in parallel (side by side) and in series (end to end)

Left (parallel): two springs, with constants k1 and k2, side by side, each attached to both walls. Right (series): the two springs joined end to end, one after the other, between the walls.

Damped motion

md2xdt2=−kx−βdxdt

The left side is ma. On the right, −kx is the restoring force from the spring, and −βdxdt is the damping force; β is the damping constant. The damping force is proportional to the instantaneous velocity.

Dividing by m:

d2xdt2+βmdxdt+kmx=0

Let 2λ=βm and ω2=km:

d2xdt2+2λdxdt+ω2x=0

Auxiliary equation:

r=−2λ±4λ2−4ω22r=−λ±λ2−ω2

Case I: λ2−ω2>0 (real, distinct roots)

x(t)=c1e(−λ+λ2−ω2)t+c2e(−λ−λ2−ω2)t

This does not oscillate. This system is overdamped.

Case II: λ2−ω2=0

x(t)=c1e−λt+c2te−λt

This is critically damped.

Tip: Critical damping is not going to happen by accident: it needs λ2=ω2 exactly.

In Case I and Case II, equilibrium is crossed at most 1 time. The motion can look like either sketch below.

Overdamped or critically damped motion: x decays with no crossing, or one crossing

Two sketches of displacement x against time t (the x-axis arrow points down, since down is positive). Left: x starts away from equilibrium and decays toward 0 without ever crossing it. Right: x starts away from equilibrium, crosses equilibrium once, overshoots a little, and then decays back toward 0 from the other side.

Case III: λ2−ω2<0 (complex roots)

x(t)=e−λt[c1cos⁡(ω2−λ2t)+c2sin⁡(ω2−λ2t)]

This is underdamped. The bracket oscillates with amplitude c12+c22, and the factor e−λt shrinks it, so the motion stays inside the envelope ±c12+c22e−λt.

Underdamped motion: oscillation inside a decaying exponential envelope

Displacement x against time t (the x-axis arrow points down). The curve oscillates back and forth across equilibrium, and its swings shrink over time. It stays between the two envelope curves ±c12+c22e−λt (drawn in blue), which decay to 0.

Driven motion

md2xdt2+kx+βdxdt=f(t)

The forcing term f(t) makes the equation nonhomogeneous, so we use undetermined coefficients or variation of parameters.

5.1d

LRC-series circuit

Ldidt+Ri+1Cq=E(t), which is

Ld2qdt2+Rdqdt+1Cq=E(t)

The first two terms, Ldidt+Ri, alone give an LR-series circuit. The last two, Rdqdt+1Cq, alone give an RC-series circuit.

“Underdamped,” “critically damped,” and “overdamped” have the same meanings as with spring/mass systems.

The complementary function is the transient term/solution, and the particular solution is the steady-state term/solution.

Example

Find the charge on the capacitor in an LRC-series circuit when L=14 h, R=20 Ω, C=1300 f, E(t)=0 V, q(0)=4 C, and i(0)=0 A. Is the charge on the capacitor ever equal to zero?

Solution

Substitute the values (1C=300):

14d2qdt2+20dqdt+300q=0

Multiply by 4 and factor the auxiliary equation:

q″+80q′+1200q=0⟹(m+60)(m+20)=0

m=−20, −60

q(t)=c1e−20t+c2e−60tq′(t)=−20c1e−20t−60c2e−60t

Since i=q′, the initial conditions give

q(0)=4⟹c1+c2=4q′(0)=0⟹−20c1−60c2=0

Divide the second equation by 20 to get −c1−3c2=0, then add it to c1+c2=4:

−2c2=4⟹c2=−2

Then c1=6.

Answer: q(t)=6e−20t−2e−60t

Does q(t)=0? Set 6e−20t−2e−60t=0 and multiply by 12e60t:

3e40t−1=0⟹e40t=13

t=140ln⁡13<0

The only zero is at a negative time.

Answer: No: the charge is never zero for t>0.