Recall that a differential equation can always be written as where is a differential operator and is some function of . Differential equations are linear if is a linear differential operator. That is, satisfies
- for any constant
- for any two functions and
In general, this means thatany th order linear differential equation can be written in the form
The functions are called the coefficients of the linear operator. We will spend most of our time looking at differential equations where the coefficients are constants.
Definition: An ODE is called homogeneous if and inhomogeneous if
We'll start by looking for solutions to homogeneous differential equations, and show that they can be used to help find solutions to non-homogenous equations.
Example: Consider the second order homogeneous differential equation We can rewrite this as
and so solving this equation is the same as asking to find a function that is its own second derivative.
Clearly works as a solution. also works, as does In fact any function of the form is also a solution. In the language we have been using, this is a two-parameter family of solutions.
The linear superposition principle: If is a linear differential operator, and and are both solutions to , then any linear combination of and are also solutions.
As a consequence of this, is always a solution to homogeneous linear differential equations. We call this the trivial solution. We are often only interested in other solutions, so we will be looking for nontrivial solutions.
Practice: Find all of the solutions to
Theorem: Every linear th order differential equation with constant coefficients has at least one solution of the form for some
We can see this by writing
This is a polynomial in , and by the fundamental theorem of algebra, every non-constant polynomial has at least one complex root.
Example: Find a non-trivial solution to the differential equation
Solution: By the previous theorem, we know there is at least one solution of the form Subbing this in gives
which is zero if or if Therefore one solution to the problem is and another solution is We can combine these two solutions to get the two-parameter family of solutions
Practice Problems
Find at least one non-trivial solution to each of the following differential equations
-