Now, substituting y=erx in (1) and using (2), we obtain
anrnerx+an−1rn−1erx+⋯+a1rerx+a0erx=0.
Since erx=0, we can cancel out this term to obtain the polynomial
anrn+an−1rn−1+⋯+a1r+a0=0.(3)
We see that y=erx will be the solution of equation (1) precisely when r is a root of this polynomial.
This equation is called the characteristic equation or auxiliary equation of the differential equation (1).
Case of Distinct Real Roots
Theorem 1
If the n roots r1,r2,…,rn of the characteristic equation are real and distinct, then
y(x)=c1er1x+c2er2x+⋯+cnernx
is a general solution of the equation (1), with c1,c2,…,cn constants. □
Solve
y′′+2y′−8y=0,y(0)=5,y′(0)=−2.
We need to solve the characteristic equation r2+2r−8=0.
Observe that r=2,−4 are the roots of this equation. Then since y(x)=c1e2x+c2e−4x is the general solution, y′(x)=2c1e2x−4c2e−4x. Now, using the initial conditions, we have y(0)=c1+c2=5,y′(0)=2c1−4c2=−2⇒c1=3,c2=2.
Thereofore, the desired particular solution is y(x)=3e2x+2e−4x.□
Case of Repeated Real Roots
If there are repeated real roots of the characteristic equation (3), then we cannot generate n linearly independent solutions to equation (1) by the method of Theorem 1. Let us now consider the case that characteristic equation anrn+an−1rn−1+⋯+a1r+a0=0(3) has repeated real roots.
Theorem 2
If the characteristic equation (3) has a repeated real root r of multiplicity k, then part of the general solution of the differential equation corresponding to r in equation (1) is of the form
(c1+c2x+c3x2+⋯+ckxk−1)⋅erx.□
Find a general solution of
y(4)+3⋅y(3)+3⋅y′′+y′=0.
The characteristic equation of the differential equation is r4+3⋅r3+3⋅r2+r=r⋅(r+1)3=0.
It has the single root r1=0, which gives the solution y1=c1 to the general solution, and the triple root (k=3)r2=−1, which gives y2=(c2+c3x+c4x2)⋅e−x. Thus, the general solution of the differential equation is y(x)=c1+(c2+c3x+c4x2)⋅e−x.□
Case of Complex Roots
Because the coefficients of the differential equation and its characteristic equation are real, any root complex appears in complex conjugate pair a±bi, where a and b are real and i = −1.
Theorem 3: (No repeated complex roots)
If the characteristic equation (3) has a pair of complex roots not repeated a±bi, then the relevant part to them of the general solution of equation (1) has the form eax⋅(c1cosbx+c2sinbx).□
Solve y′′−4y′+5y=0.
The characteristic equation is r2−4r+5=0, whose roots are 2±i. Thus, the general solution is y(x)=e2x⋅(c1cosx+c2sinx).□
Theorem 2 holds for the case of repeated complex roots. If the conjugate pair a±bi have multiplicity k, then the relevant part to them of the general solution has the form
DIFFERENTIAL EQUATIONS - NO HOMOGENEOUS EQUATIONS WITH CONSTANT COEFFICIENTS
Let yp be a particular solution of the no homogeneous equation an(x)dxndny+an−1(x)dxn−1dn−1y+⋯+a1(x)dxdy+a0(x)y=f(x)(1) in an open interval I in which the functions f(x) and ai(x) are continuous. Let y1,y2,…,yn be linearly independent solutions of the associated differential homogeneous equation an(x)dxndny+an−1(x)dxn−1dn−1y+⋯+a1(x)dxdy+a0(x)y=0.(∗) If Y is a solution of equation (1) in I, then there exists constants c1,c2,…,cn such that Y(x)=c1y1(x)+c2y2(x)+⋯+cnyn(x)+yp(x) for all x in I.□
Sketch of Proof: Y solution of (1) ⇒Y−yp solution of the associated differential equation (∗) ⇒ there exist c1,c2,…,cn such that
Y(x)=c1y1(x)+c2y2(x)+…+cnyn(x)+yp(x) for all x in I.□
Let now the (???) no homogeneous differential equation of nth order with constant coefficients andxndny+an−1dxn−1dn−1y+⋯+a1dxdy+a0y=f(x),(1) then the general solution of (1) is Y=yc+yp, where yc is a general solution of the associated homogeneous equation andxndny+an−1dxn−1dn−1y+⋯+a1dxdy+a0y=0,(2) and yp is a simple particular solution of (1).
UNDETERMINED COEFFICIENTS METHOD
The method of undetermined coefficients is applied when f(x) according to equation (1) is a finite linear combination of products of functions of three types:
A polynomial in x.
An exponential function.
coskx or sinkx.
Let's see some examples:
Find a particular solution of
y′′+3y′+4y=3x+2.
Here f(x)=3x+2. Let's seek yp(x)=Ax+B. Then yp′(x)=A and yp′′(x)=0, so yp will satisfy the differential equation 3A+4(Ax+B)=3x+2 if and only if 4A=3 and 3A+4B=2, i.e. A=43 and B=16−1. Therefore, yp(x)=43x−161.□
Find a particular solution of
y′′+4y=3x3.
The complementary function of this equation is yc(x)=c1⋅cos2x+c2⋅sin2x. Here f(x)=3x3. Let's seek
The characteristic equation r2−3r+2=0 has the roots r=1 and r=2. Then the complementary function is yc=c1ex+c2e2x. Let's seek a particular solution
ypyp′yp′′=Ae−x+Bcos3x+Csin3x=−Ae−x−3Bsin3x+3Ccos3x=Ae−x−9Bcos3x−9Csin3x.
Substituing, we have
yp′′−3yp′+2yp⇒6AA⇒yp(x)=6Ae−x+(−7B−9C)cos3x+(9B−7C)sin3x=3e−x−10cos3x=3,−7B−9C=−10,9B−7C=0=21,B=137,C=139=21e−x+137cos3x+139sin3x.
Then the general solution is y(x)=yc(x)+yp(x)=c1ex+c2e2x+21e−x+137cos3x+139sin3x. The initial conditions lead to
y(0)y′(0)⇒c1=c1+c2+21+127=1=c1+2c2−21+1327=2=−21,c2=136.
Therefore, the solution sought is y(x)=−21ex+136e2x+21e−x+137cos3x+139sin3x.□
References
Editorial: PHH Ecuaciones diferenciales elementales y problemas con condiciones en la frontera authors: C.H Edwards, David Penney