We recall that this type of equation has the form
where p and q are real numbers, and y(x) is the function one would like to calculate. An example is the differential equation of the damped linear harmonic oscillator
cf. Eq.(2.1).
Consider
This is the case p = 0 of Eq. (2.8). An example for this is the differential equation of the undamped linear harmonic oscillator
where k > 0 here, cf. Eq.(2.1). From our physical intuition, we know that the mass point described by Eq.(2.10) performs oscillations at an angular frequency ω. Therefore, we try \mathop{sin}\nolimits and \mathop{cos}\nolimits functions as solution: If we write
Here, {x}_{1} is an arbitrary constant. The function x(t) = {x}_{1}\mathop{ sin}\nolimits (ωt) fulfills the differential equation Eq. (2.10), if
If on the other hand we write
we again recognise that the functionx(t) = {x}_{2}\mathop{ cos}\nolimits (ωt) fulfills the differential equation Eq. (2.10), if {ω}^{2} = k∕m (same as before). Again, {x}_{2} is an arbitrary constant. Therefore, we find two solutions of the second order differential equation Eq. (2.10). Now we are a bit confused. Let us summarize what we have found so far, using our ‘mathematical notation’,
We now make an important observation:
THEOREM: With two solutions {y}_{1}(x) and {y}_{2}(x) of a linear homogeneous differential equation, also the sum {y}_{1}(x) + {y}_{2}(x) is a solution of the linear homogeneous differential equation.
PROOF:
We have used the fact that the sum of the derivatives of two functions is the derivative of the sum of the functions.
The general solution of y''(x) + qy(x) = 0,q > 0 can be written as the sum
Here we consider
the equation of the undamped linear harmonic oscillator. Note that we write x(t) instead of y(x) here. We have found the general solution as
where x(t) is the position x at time t. As mentioned above, in order to know x(t) at all times later than, say, t = 0, we must specify the initial conditions, i.e. the initial position of the particle {x}_{0} = x(t = 0) and its initial velocity {v}_{0} =\dot{ x}(t = 0), i.e.
Therefore, we can express the parameters {x}_{1} and {x}_{2} by the given initial values {x}_{0} and {v}_{0} and obtain
Consider
We notice that for q < 0 the argument in the \mathop{sin}\nolimits and \mathop{cos}\nolimits in Eq.(2.15) becomes imaginary since \sqrt{q} = \sqrt{−|q|} = i\sqrt{|q|} for q < 0. Let us find a solution by recalling that the exponential function f(x) =\mathop{ exp}\nolimits (x) fulfills
More generally, we have
Comparing this to our differential equation,
we recognize by comparing with Eq. (2.20) that two independent solutions of Eq. (2.21) are
As above, the most general solution again is the sum of these two, i.e. the linear combination of {e}^{−\sqrt{|q|}x} and {e}^{\sqrt{|q|}x} with the two independent constants {y}_{1} and {y}_{2},
We summarize the two pairs of solutions for q > 0 and q = −|q| < 0 of y''(x) + qy(x) = 0 in the following table:
y''(x) + qy(x) = 0,\quad q = {k}^{2} > 0 | y''(x) + qy(x) = 0,\quad q = −{κ}^{2} < 0 |
two solutions | two solutions |
{y}_{1}(x) = {y}_{1}\mathop{ sin}\nolimits (kx), {y}_{2}(x) = {y}_{2}\mathop{ cos}\nolimits (kx) | {y}_{1}(x) = {y}_{1}{e}^{κx}, {y}_{ 2}(x) = {y}_{2}{e}^{−κx} |
general solution | general solution |
y(x) = {y}_{1}\mathop{ sin}\nolimits (kx) + {y}_{2}\mathop{ cos}\nolimits (kx) | y(x) = {y}_{1}{e}^{κx} + {y}_{ 2}{e}^{−κx} |
character: | character: |
oscillatory (\mathop{sin}\nolimits and \mathop{cos}\nolimits ) | exponential (decreasing and incr.) |
Note that the sign of q makes all the difference!