Second-Order Linear Differential Equation

Differential equation of the form [Maple Math] is called second-order linear differential equation. When [Maple Math] , then it is homogeneous, otherewise it is nonhomogeneous. First we will solve homogeneous equations with constant coefficients, that is with [Maple Math] and [Maple Math] where [Maple Math] and [Maple Math] are two constant. The so called characteristic equation of the second-order linear homogeneous differential equation

[Maple Math] is [Maple Math] . We first find roots of the characteristic equation using Maple command solve . Depending on nature of the roots will have three different cases:

REAL and DIFFERENT roots: If [Maple Math] and [Maple Math] are two different real roots then the soltion is given by [Maple Math] .

REAL and EQUAL roots: If [Maple Math] , then the solution is given by

[Maple Math] .

COMPLEX roots: If [M is a complex root, where [Maple Math] and [Maple Math] are its real and imaginary part respectively, then the solution is given by [Maple Math] . We first define RD (RD stands for real and differenent), RE (RE stands for real and equal) and C (C stands for complex) operators to faciliate our calculations.

> restart;

> RD:=c[1]*exp(r[1]*x)+c[2]*exp(r[2]*x);RE:=c[1]*exp(r[1]*x)+c[2]*r[1]*exp(r[1]*x);C:=exp(u*x)*(c[1]*cos(v*x)+c[2]*sin(v*x));

[Maple Math]

[Maple Math]

[Maple Math]

Example 1: Solve [Maple Math] .

Example 2: Solve [Maple Math] .

Example 3: Solve [Maple Math] .

Example 4: Solve the differential equation from Example 3, that satisfies the initial conditions [Maple Math] .