A mass on a spring is described by its position , its velocity and its acceleration , and many such systems obey a law tying the three together linearly. Knowing where the mass starts and how fast it is moving picks out exactly one motion. This lesson explains why two numbers are always enough, and how to write down every solution when the coefficients are constants.
Key terms
Linear homogeneous equation
Definition A second-order linear differential equation has the form
with , , and functions of alone. It is homogeneous when for all . On an interval where we may divide by and get the normalized form
Points where are singular points, and the theory below is applied on intervals that avoid them.
In plain words Linear means , and appear only to the first power, multiplied by functions of and added. Homogeneous means nothing is left over on the right side.
Example The equation is linear and homogeneous. Its leading coefficient vanishes at , so on the interval we normalize to
The function solves it, since after multiplying back by , and so does , since after the same step.
Continuous coefficients and existence
Definition Let , and be continuous on an open interval , and let be in . For any real numbers and , the initial value problem
has exactly one solution, and that solution exists on the whole interval .
In plain words As long as the normalized coefficients are continuous, a starting position and a starting slope pin down one solution, and it lives as long as the coefficients stay continuous.
Example For with and , the normalized coefficients are
which are continuous on , the largest open interval around that avoids and . The theorem guarantees a unique solution on all of , even though we cannot write it in closed form.
Superposition
Definition If and solve the homogeneous equation on an interval , then so does for all constants and . This follows from linearity of differentiation. The principle fails for nonhomogeneous equations, since there the right side would be multiplied by .
In plain words Add solutions, or scale them, and you still have a solution. The solutions form a vector space.
Example Both and solve , so and do as well.
Independent solutions
Definition Two functions and are linearly independent on an interval if the only constants with for every in are . Equivalently, neither is a constant multiple of the other on . If and are continuous on and , are linearly independent solutions of the homogeneous equation on , they form a fundamental set, and every solution on has the form
In plain words Two genuinely different solutions are enough to build all the others. A solution and a multiple of it are not enough.
Example On the solutions and of are independent, because is not constant. So every solution on is . By contrast, and both solve but are dependent, and their combinations miss .
The Wronskian
Definition The Wronskian of two differentiable functions is
If and solve with and continuous on , then Abel’s formula holds,
so is either zero at every point of or zero at no point of . The two solutions are independent on exactly when . For any two differentiable functions, at a single point already forces independence. The converse needs the functions to be solutions. The functions and on have everywhere, since the derivative of is , yet they are independent on , because equals for and for . So they cannot both solve one equation of this form with and continuous on .
In plain words The Wronskian is a single number at each that tells you whether the vectors and point in different directions. For solutions it is all or nothing.
Example For and on ,
never zero, as expected. It also matches Abel’s formula, since gives .
The characteristic equation
Definition For the equation with real constants , , and , the characteristic equation is
Substituting gives , and since , the exponential is a solution exactly when is a root. The coefficients are constant, hence continuous on all of , so every solution is defined for all real .
In plain words Guess an exponential, and the differential equation becomes a quadratic equation for the rate . The sign of decides which of three cases you are in.
Example For the characteristic equation factors as . So and are solutions.
Distinct and repeated real roots
Definition Let , , be real.
- If , the roots are real and the general solution is . The Wronskian is .
- If , there is one root , and the general solution is . The second solution works because , and the Wronskian is .
In plain words Two different real rates give two exponentials. When the rates collide, the missing second solution is the same exponential times .
Example For with and , the only root is , so . Then and give , and
Its derivative is , which is at as required.
Conjugate complex roots
Definition If , the roots are with
Since the coefficients are real, the real and imaginary parts of the complex solution are real solutions, and the general real solution is
with Wronskian .
In plain words Complex roots mean oscillation. The imaginary part sets the angular frequency and the real part makes the swings grow or decay.
Example For the roots of are . Every solution is
an oscillation with angular frequency whose amplitude decays like .
Initial value and boundary value problems
Definition An initial value problem prescribes and at one point, and under the continuity hypotheses above it always has exactly one solution. A boundary value problem prescribes values at two different points, such as and with . A boundary value problem may have exactly one solution, no solution, or infinitely many, and the general solution must be checked against both conditions.
In plain words Fixing position and slope at one moment always works. Fixing positions at two moments is a different kind of question, and the answer depends on the numbers.
Example For every solution is , and forces .
| Second condition | Result |
|---|---|
| one solution, | |
| infinitely many, | |
| none, since |
Check yourself
- Solve with and .
Show the answer
The roots of are and , so . The conditions give and , so and . The solution is
- Compute the Wronskian of and and decide whether they form a fundamental set for .
Show the answer
A direct computation gives , which is never zero. Both functions are solutions, so they form a fundamental set on . This agrees with the formula with and .
- For with , decide how many solutions satisfy , and how many satisfy .
Show the answer
Every solution is , and gives . Then whatever is. So has no solution, and has infinitely many, namely .