Linear differential equations: Introduction

Let q(x),p0(x),p1(x),,pn1(x) be functions of x. The equation

(Eq:linode)y(n)+pn1(x)y(n1)++p1(x)y+p0(x)y+q(x)=0

of an unknown function y=y(x) is called an n-th order linear differential equation. If q(x)=0, then (Eq:linode) is said to be homogeneous; otherwise, it is said to be inhomogeneous.



Let's rewrite (Eq:linode) using differential operators. Let D=ddx denote the differential operator with respect to x. That is, Dy=ddxy=y and Dny=dndxny=y(n), etc. By combining these operators, we can define a new operator E by

(eq:diffop)E=Dn+pn1(x)Dn1++p1(x)D+p0(x).

Then, (Eq:linode) is concisely denoted as

Ey+q(x)=0.

Theorem (Linear combinations of solutions of a homogeneous linear ODE)

Let y1(x) and y2(x) be functions. For any a,bR, the following holds:

E(ay1+by2)=aEy1+bEy2

where E is the differential operator defined by (Eq:diffop). In particular, if y=y1(x) and y=y2(x) are the solutions of the homogeneous linear differential equation Ey=0, then ay1(x)+by2(x) is also a solution.

Proof. Let y=ay1+by2. For k0, we have

Dky=y(k)=ay1(k)+by2(k).

Thus,

Ey=Dny+pn1(x)Dn1y++p1(x)Dy+p0(x)y=a{Dny1+pn1(x)Dn1y1++p1(x)Dy1+p0(x)y1}+b{Dny2+pn1(x)Dn1y2++p1(x)Dy2+p0(x)y2}=aEy1+bEy2.

This theorem indicates two things:

  1. The operator E is linear.
  2. The solutions of Ey=0 are closed under scalar (real numbers) multiplication and addition. In other words, the set of solutions of a linear ODE comprises a vector space. (This means that each solution can be regarded as a vector.)

Example. Consider 
y+ω2y=0.
y1=cos(ωx) and y2=sin(ωx) are solutions of this ODE. In fact, y1=ω2cos(ωx)=ω2y1 and y2=ω2sin(ωx)=ω2y2. For any a,bR, we have
(acos(ωx)+bsin(ωx))=ω2(acos(ωx)+bsin(ωx)).
Thus, y=ay1+by2 is also a solution. □

Theorem (General solution of an inhomogeneous linear ODE)

Consider an inhomogeneous differential equation:
Ey+q(x)=0
and the corresponding homogeneous differential equation
Ey=0.
Let y=y0(x) be a special solution of Ey+q(x)=0. Then, the general solution of Ey+q(x)=0 is given by
y=y0(x)+Y(x)
where Y(x) is the general solution of Ey=0.
Proof. Let y=y0(x)+Y(x). Then, since Ey0(x)+q(x)=0 and EY(x)=0
Ey+q(x)={Ey0(x)+EY(x)}+q(x)={Ey0(x)+q(x)}+EY(x)=0.
Suppose that f(x) is an arbitrary solution of Ey+q(x)=0. Let Y(x)=f(x)y0(x). Then, f(x)=y0(x)+Y(x). But
EY=EyEy0=q(x)(q(x))=0.
Thus, y=Y(x) is a solution of Ey=0. ■

Example. Consider the inhomogeneous linear ODE
y+2y3e4x=0.
y0=12e4x is a special solution. In fact,
(12e4x)+2(12e4x)3e4x=0.
The corresponding homogeneous ODE
y+2y=0
has a solution Y=e2x. In fact, 
(e2x)+2e2x=0.
Thus, the general solution is
y=12e4x+Ce2x
where C is a constant. □

Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic