



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The following two theorems summarize these results and provide the foundation by which we construct solutions of such non-homogeneous second order ODEs. Y (x) ...
Typology: Lecture notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!
We now consider differential equations of the form
(1) y′′^ + p(x)y′^ + q(x)y = g(x)
where g(x) 6 = 0.
Obvious things that we’d like to know are
To this end, it certainly would be nice to have something like the Superposition Principle at our disposal. However, for non-homogeneous linear differential equations the Superposition Principle can not be applied. To see this, suppose Y 1 (x) and Y 2 (x) are solutions of (1). If the Superposition Principle were valid then Y (x) = c 1 Y 1 (x) + c 2 Y 2 (x) would also be a solution. But for this Y (x)
Y ′′^ + p(x)Y ′^ + q(x)Y = c 1 Y 1 ′′ + c 2 Y 2 ′′ + p(x) (c 1 Y 1 ′ + c 2 Y 2 ′ ) + q(x) (c 1 Y 1 + c 2 Y 2 ) = c 1 (Y 1 ′′ + p(x)Y 1 ′ + q (x) Y 1 ) + c 2 (Y 2 ′′ + p(x)Y 2 ′ + q(x)Y 2 ) = c 1 g(x) + c 2 g(x) = (c 1 + c 2 ) g(x) 6 = g(x)
Thus, if y 1 (x) and y 2 (x) satisfy (1) then a linear combinattion of y 1 and y 2 doesn’s satisfy the same equation. So we can’t make more solutions out of two independent solutions.
However, the calculation carried above, nevertheless, leads us to a way of constructing the general solution to (1). Let Y 1 (x) and Y 2 (x) be any two solutions of (1) and consider the function ∆Y (x) defined as the difference of Y 1 (x) and Y 2 (x):
∆Y (x) = Y 1 (x) − Y 2 (x).
Applying the calculation above with c 1 = 1 and c 2 = −1 we see that Y (x) obeys
Y ′′^ + p(x)Y ′^ + q(x)Y = (1 − 1)g(x) = 0
Thus, the difference of any two solutions of (1) must be a solution of the corresponding homogeneous equation.
Now let’s assume that we’ve solved the correpsponding homogeneous equation
(2) (∆y)′′^ + p(x) (∆Y )′^ + q(x)∆Y = 0.
From the general theory of homogeneous second order linear equations, we know that every solution can be expressed as a linear combination of two linearly independent solutions. Suppose then that y 1 (x) and y 2 (x) are two linearly independent solutions of (2) so that any solution of (2) can be expressed in the form c 1 y 1 (x) + c 2 y 2 (x). This implies in particular that the function ∆Y (x) = Y 1 (x) − Y 2 (x) must be expressible in the form c 1 y 1 (x) + c 2 y 2 (x) (since as we have seen y(x) satisfies (2)). Thus, we have
(3) Y 1 (x) − Y 2 (x) = y(x) = c 1 y 1 (x) + c 2 y 2 (x)
63
(Note that the functions Y 1 (x) and Y 2 (x) on the left hand side are solutions of the non-homogeneous equation (1) and the functions y 1 (x) and y 2 (x) on the right hand side are two linearly independent solutions of the corresponding homogeneous equation (2)). Now, in this calculation both Y 1 (x) and Y 2 (x) are arbitrary solutions of the non-homogeneous equation (1). Let’s now interprete Y 2 (x) as some fixed solution Yp(x) of (1) and interprete Y 1 (x) as representing any other solution Y (x) of (1). Then equation (3) becomes
Y (x) − Yp(x) = c 1 y 1 (x) + c 2 y 2 (x)
or Y (x) = Yp(x) + c 1 y 1 (x) + c 2 y 2 (x).
Thus, every solution of the non-homogeneous equation (1) can be expressed in terms of a single solution Yp(x) and a linear combination of two linearly independent solutions of the corresponding homogeneous problem (2).
The following two theorems summarize these results and provide the foundation by which we construct solutions of such non-homogeneous second order ODEs.
Theorem 15.1. If Y 1 and Y 2 are two solutions of the nonhomogeneous equation
(4) y′′^ + p(x)y′^ + q(x)y = g(x) ,
then their difference Y (x) = Y 1 (x) − Y 2 (x)
is a solution of the corresponding homogeneous equation
(5) y′′^ + p(x)y′^ + q(x)y = 0.
If, in addition, y 1 and y 2 are a fundamental set of solutions to (5), then
Y 1 (x) − Y 2 (x) = c 1 y 1 (x) + c 2 y 2 (x).
Theorem 15.2. Given one solution yp(x) of the nonhomogeneous differential equation
y′′^ + p(x)y′^ + q(x)y = g(x)
then any other solution of this equation can be expressed as
y(x) = yp(x) + c 1 y 1 (x) + c 2 y 2 (x)
where y 1 and y 2 are two linearly independent solutions of the corresponding homogeneous differential equa- tion y′′^ + p(x)y′^ + q(x)y = 0.
Thus, to determine the general solution of a non-homogeneous linear equation (4), we can procede in three steps.
(1) Determine the general solution c 1 y 1 (x) + c 2 y 2 (x) of the corresponding homogeneous problem. (2) Find a particular solution yp(x) of the nonhomogeneous differential equation (5). (3) Construct the general solution of (4) by setting y(x) = yp(x) + c 1 y 1 (x) + c 2 y 2 (x).
Example 15.3. Given that one solution of
(6) y′′^ + 3y′^ + 2y = e−x
is y(x) = xe−x, write down the general solution.
To construct the general solution we just apply the preceding theorem. We can immediately identify the function yp(x) in the theorem statement with our given solution xe−x. To write down the general solution we also need two linearly independent solutions of
(7) y′′^ + 3y′^ + 2 = 0.
Fact 15.4. Let
Ax + By = e Cx + Dy = f
be a pair of independent linear equations in two unknowns x and y. Then the solution of this system is given by
x =
eD − Bf AD − BC
y =
Af − eC AD − BC
Thus, in the situation at hand, regarding (16) and (17) as a pair of linear equations for u′ 1 and u′ 2 , we have
u′ 1 = (^) y 1 y−′y^2 g 2 −y 1 ′y^2 = (^) W− [yy 12 ,yg 2 ] u′ 2 = (^) y 1 yy′^1 g 2 −y 1 ′y^2 = (^) W [yy^11 g,y 2 ].
(Note that division by W (y 1 , y 2 ) causes no problems since y 1 and y 2 were chosen such that W (y 1 , y 2 ) 6 = 0.) Hence u 1 (x) =
∫ (^) x (^) −y 2 (t)g(t) W y 1 ,y 2 dt u 2 (x) =
∫ (^) x y 1 (t)g(t) W y 1 ,y 2 dx
′
and so
(18) yp(x) = −y 1 (x)
∫ (^) x y 2 (t)g(t) W y 1 , y 2
dt + y 2 (x)
∫ (^) x y 1 (t)g(t) W y 1 , y 2
dt
is a particular solution of (8).
Example 15.5. Find the general solution of
(19) y′′^ − y′^ − 2 y = 2e−x
using the method of Variation of Parameters.
Well, the corresponding homogeneous problem is
(20) y′′^ − y′^ − 2 y = 0.
This is a second order linear equation with constant coefficients whose characteristic equation is
λ^2 − λ − 2 = 0.
The characteristic equation has two distinct real roots
λ = − 1 , 2
and so the functions y 1 (x) = e−x y 2 (x) = e^2 x
form a fundamental set of solutions to (20).
To find a particular solution to (19) we employ the Variation of Parameters formula (18). Now
g(x) = 2e−x
and W y 1 , y 2 =
e−x
2 e^2 x
−e−x
e^2 x
= 3ex^ ,
so yp(x) = −y 1 (x)
∫ (^) x (^) y 2 (t)g(t) W y 1 ,y 2 dt^ +^ y^2 (x)^
∫ (^) x (^) y 1 (t)g(t) W y 1 ,y 2 dt = −e−x^
∫ (^) x e^2 t( 2 e−t) 3 et^ dt^ +^ e
2 x ∫^ x e −t( 2 e−t) 3 et^ dt = −e−x^
∫ (^) x (^2) 3 dt^ +^ e
2 x ∫^ x^2 3 e
− 3 tdt = − 23 xe−x^ − 29 e−x
The general solution of (19) is thus
y(x) = yp(x) + c 1 y 1 (x) + c 2 (x) = − 23 xe−x^ +
c 1 − (^29)
e−x^ + c 2 e^2 x = − 23 xe−x^ + C 1 e−x^ + C 2 e^2 x
where we have absorbed the − 29 in the second line into the arbitrary parameter C 1.