Ordinary Differential Equations and its Applications (part 2: 3.4–3.5)
Open in the Padhaiko app3.4 Linear second order differential equations with constant and variable coefficients, Cauchy's equations, mass-spring system
A linear differential equation of second order with constant coefficients has the form
where are constants. Its general solution is : the complementary function (solution of the equation with , containing two arbitrary constants) plus any particular integral .
Complementary Function from the Auxiliary Equation
Trying in gives the auxiliary equation . Let its roots be . Then:
| Roots of | Complementary function |
|---|---|
| Real and distinct, | |
| Real and equal, | |
| Complex, |
| Particular integral | Condition | |
|---|---|---|
| with | is a root of multiplicity | |
| or | replace by in | must be non-zero in the result |
| or , | for , and for | for |
| Polynomial | expand as a series in and apply it to | |
| shift rule |
3.4
Solve .
Complementary function: the auxiliary equation gives , so and
Particular integral for : put , since :
Particular integral for : write and expand the inverse to the first power of , because :
General solution:
.
Cauchy's (Euler's) homogeneous equation and equations reducible to constant coefficients
Cauchy's Equation
An equation of the form
has variable coefficients but reduces to constant coefficients by the substitution (that is ). With :
The equation becomes , which is solved by the methods above and then is replaced by . The same idea handles Legendre's form with .
3.4.2
Solve the Cauchy equation for .
Substitution : the left side becomes and the right side is :
Complementary function: the auxiliary equation has the repeated root :
Particular integral: is a double root, so and :
Back to : with and :
.
Modeling a mass-spring system
A mass hangs on a spring of stiffness with a damper of coefficient . If is the displacement from equilibrium and an applied force, Newton's second law gives
The natural (undamped) angular frequency is . The auxiliary equation decides the motion:
| Condition | Roots | Motion |
|---|---|---|
| undamped simple harmonic motion, period | ||
| complex | underdamped: oscillation with decaying envelope | |
| equal real | critically damped: fastest return without oscillation | |
| distinct real | overdamped: slow return without oscillation |
3.5 Application in physical sciences and engineering
Differential equations turn a physical law into a rate equation. The standard models in this course are:
| Situation | Governing law | Equation |
|---|---|---|
| Newton's law of cooling | rate of cooling is proportional to temperature excess over the surroundings | |
| Growth and decay | rate of change is proportional to the amount present | |
| Series circuit | Kirchhoff's voltage law | |
| Mass-spring system | Newton's second law | |
| Orthogonal trajectories | slopes multiply to | replace by in the family's equation |
3.5
- A body at is placed in a room at and cools to in minutes. Find its temperature after minutes and the time it needs to reach .
- A mass on a spring () with damping coefficient is released from rest at . Find .
Part 1 — setting up: with , , so and . After minutes :
Part 1 — the two answers: at , , so . For , :
Part 2 — the equation: , that is . Here , so the motion is critically damped. The auxiliary equation gives
Part 2 — initial conditions: gives . Differentiating, , and gives :
- after minutes; after minutes.
- metres (critically damped, no oscillation).
Practice Exercises — Second-order equations and applications
Solve with and .
General solution: gives , so
Using the conditions: . Differentiating, , so and .
.
Find the general solution of .
Complementary function: gives , so .
Particular integral (resonance): putting makes the denominator zero, so use the special rule for with :
.
Solve .
Complementary function: the root is repeated, so .
Particular integral: use the shift rule with :
.
Solve for .
Substitution : , i.e. .
Complementary function: the roots are and , so .
Particular integral: .
.
A mass stretches a spring by at equilibrium (). It is pulled below equilibrium and released from rest; there is no damping. Find the displacement, the period and the maximum speed.
Spring constant: , so .
Displacement: gives . From and , and :
Period and maximum speed: the period is , and has maximum magnitude .
m, period s, maximum speed m/s.