The previous lesson proved that a second order linear equation has exactly two independent solutions and gave no way to find even one, and this lesson closes that gap for the case that covers most of physics.
The case is constant coefficients:
with , and numbers rather than functions of . Every mass on a spring, every RLC circuit, every small oscillation about equilibrium in a system whose parts do not change with time is of this form, and the whole problem reduces to solving a quadratic.
The guess
Look at what the equation asks. A solution must be a function that reproduces itself, up to a constant, when differentiated once and again, so that the three terms can cancel. Exponentials do exactly that, so try with unknown.
Then and , and substituting gives
The exponential is never zero, so the trial function solves the equation precisely when
the characteristic equation. A calculus problem has become an algebra problem, and this substitution is the entire method. The quadratic has two roots, and the three cases of the discriminant give the three behaviours that the rest of the course keeps meeting.
Two real roots
If the roots are real, and and are two solutions. They are independent: their Wronskian is , which is nonzero exactly because the roots differ. So the general solution is
and no other solutions exist, by the dimension argument of the previous lesson.
Example. Solve with and .
The characteristic equation is , so and and . The conditions give and . Substituting into the second gives , so and , and
At this is . Both terms decay, so , and after a short time the term is negligible and the decay is governed by the root nearer zero. That root is the one that matters in any real system: the slowest decaying mode dominates everything eventually.
Now you. Solve with and .
Answer
, so . Then and , giving , so and , and . The positive root means this solution grows without bound.
Complex roots and Euler's formula
If the roots are a complex conjugate pair , with and . The algebra does not care: is a perfectly good solution once the exponential of a complex number is defined. But the equation has real coefficients and describes a real system, so a real answer is wanted.
Euler's formula, , supplies it. Writing
and using superposition, the sum of the two complex solutions is and their difference is . Both are combinations of solutions, so both are solutions, and dividing by the constants leaves two real ones. Their Wronskian is , nonzero since , so the general solution is
This is the most important formula in the subject. The real part of the root sets the envelope, growing if and decaying if , and the imaginary part sets the frequency of oscillation inside it. A single complex number carries both facts, which is why engineers work with complex roots and read off the physics at the end.
Example. Solve with and , and give the amplitude of the oscillation at .
The characteristic equation is , with roots . So . At , . Differentiating with the product rule,
so , giving . The solution is . Combining the trigonometric pair, its initial amplitude is , so the motion is an oscillation of period inside an envelope . At the value is .
Now you. Solve with and .
Answer
The roots are , so . Then , and gives . So .
Writing the answer as a single sinusoid is often clearer. Since with and , the example above is , with the phase in radians. The amplitude-and-phase form is what an oscilloscope shows; the sine-and-cosine form is what the initial conditions fit easily. Both are used, and converting between them is worth doing until it is automatic.
The repeated root
If there is only one root, , and only one solution . The theory demands two, so the second must be found another way, and reduction of order supplies it exactly as in the previous lesson: putting into the equation makes the terms in and both vanish, leaving , so and the new solution is . The general solution is
The factor of is not a patch. It is what the double root means: the two exponentials of the nearby non-repeated case, and , have a difference which, divided by and taken to the limit as the roots merge, is precisely . The pair does not degenerate into one solution; it degenerates into a solution and a derivative.
Example. Solve with and .
The characteristic equation is , so twice and . Then , and differentiating, , so and . Hence , which rises briefly before decaying, since the linear factor beats the exponential at first. At it is .
Now you. Solve with and .
Answer
, so . Then and , so and .
Reading the roots
Before any initial conditions are applied, the roots already say what the system does, and this is the habit worth acquiring.
Both roots negative and real: the solution decays without oscillating, and the slower root sets the timescale. Roots complex with negative real part: a decaying oscillation, frequency , envelope time constant . Purely imaginary roots, meaning : undamped oscillation at frequency forever. Any root with a positive real part: growth, and the system is unstable, oscillating or not. A zero root, meaning : a constant solution, so the system has no restoring force and drifts.
That classification is the whole qualitative theory of a linear second order system, and the next lesson does nothing but attach physical names to its cases.
Higher order, and one other solvable family
The method does not care about the order. For , substituting gives a polynomial of degree , and each root contributes a solution: real roots give exponentials, complex conjugate pairs give and , and a root repeated times contributes its exponential multiplied by . Together they give independent solutions, and the solution space of an -th order linear equation has dimension .
For example has characteristic polynomial , so the general solution is . The honest limit is that polynomials of degree five and above have no formula for their roots, so beyond the quartic the characteristic equation itself has to be solved numerically. That is not a serious obstacle, since a numerical root is as good as an exact one for computing a response, but it does mean the method stops being a closed form procedure.
One other family yields to a substitution of the same spirit. The Cauchy-Euler equation has coefficients that are not constant, but each derivative comes multiplied by exactly the matching power of , so trying works: it gives . The equation from the previous lesson gives , a repeated root at , and the second solution acquires a factor of rather than , which is what reduction of order produced there.
What still cannot be done
Everything here is homogeneous: no forcing, no external driving. All these solutions decay, grow or oscillate on their own terms and then, if stable, sit at zero. A system that is being pushed needs a particular solution, which is a different problem.
It is also worth being clear about the reach of constant coefficients. They describe a system whose properties do not change with time and whose response is proportional to the disturbance. A spring stretched too far, a circuit driven into saturation, a pendulum swung through a large angle: none of these is covered, and the last of them is the subject of the final lesson.
Next, though, comes the physics. The equation is one equation with three regimes, and the same three roots that came out of the algebra above turn out to be the difference between a car that rides well and one that bounces down the road.