Second-order linear differential equations, which are of interest in science and technology, can be written in the form If then the ODE is called homogeneous. The functions , and are called coefficients. When these coefficients are constant, then the general solution can be expressed in terms of elementary functions. This is the only type of second-order linear differential equations that we will deal with, but even then there already many applications. For inspiration, we start with the most famous example: the so-called mathematical pendulum.
The general solution of the mathematical pendulum, that is, of the ODE where is some real parameter is where and are constants, which are in most cases fixed when two additional conditions are specified. These may be two function values or one function value and one derivative at a point.
We consider the following second-order differential equation of the mathematical pendulum where is some fixed number. You can try to guess a solution. A suitable guess could be a solution of the form where is a yet to be determined constant. Subsitution in the ODE gives the following condition for : There are two complex solutions of this equation for : and . So, and are complex solutions of the given ODE. But any linear combination (with complex constants and ) is also a solution. This leads to two real solutions of the ODE, namely and Also, each linear combination of these two functions, a solution of the ODE. Of course we could have guessed immediately that the sine and cosine function with angular frequency are solution, taking the standard derivatives of trigonometric functions into account.
We omit the proof that we have found in the above way all solutions of the mathematical pendulum, but it is similar to the proof of the second theorem on this theory page.
The general solution of the ODE is where and are constants, which are in most cases fixed when two additional conditions are specified. These may be two function values or one function value and one derivative at a point.
Consider the following second-order differential equation where is some fixed number. Similarly to the solving of the ODE of the mathematical pendulum we guessing again a solution of the form Substitution in the ODE gives the following condition for : There are two solutions of this equation : and . So, and are solutions of the given ODE. But any linear combination (with constants and ) is a solution.
Thus, the general solution of the ODE is where and are constants, which are in most cases fixed when two additional conditions are specified. These may be two function values or one function value and one derivative at a point.
The proof that we have found in the above way all solutions of the given ODE boils down to the proof that for a solution of the form it must be true that for some constant . This is just application of rules for differentiation and formula manipulation. We already know the general solution of the latter ODE: with and some constant. Then: where and are constants.