10.2.1 Numerical Methods in Context
Non-Homogeneous Second-Order Differential Equation (S.O.D.E)
- Solve the characteristic equation:
The characteristic equation is derived by assuming a solution of the form y=emx, leading to:
m2−5m+6=0
Factorizing the quadratic:
(m−2)(m−3)=0
This gives the roots m=2 and m=3.
- Write the general solution to the homogeneous equation:
The general solution (complementary function) is formed by the linear combination of the solutions corresponding to the roots:
yh=Ae2x+Be3x
where A and B are arbitrary constants.
- Combine with the particular integral:
From the previous work, the particular integral (the particular solution to the non-homogeneous equation) was found to be:
yp=−61sin(3x)+65cos(3x)
- Form the complete solution:
The complete solution to the non-homogeneous differential equation is the sum of the particular integral and the complementary function:
y=−61sin(3x)+65cos(3x)+Ac2x+Bc3x
- Note on the complementary function:
The complementary function on its own is not a solution to the original non-homogeneous equation (since it equals zero), but it complements the particular integral to form the full solution.
Problem Statement
1. Complementary Function (C.F.)
First, solve the homogeneous part of the equation:
C.F.:m2−5m+6=0
Factorizing:
(m−2)(m−3)=0
This gives the roots m=2 and m=3.
Thus, the complementary function is:
yh=Ae2x+Be3x
2. Particular Integral (P.I.)
Next, propose a form for the particular integral. Since the non-homogeneous term is 3x2, assume:
y=ax2+bx+c
Then:
dxdy=2ax+b
dx2d2y=2a
Substitute y and its derivatives into the differential equation:
2a−5(2ax+b)+6(ax2+bx+c)=3x2
Simplifying, collect terms involving x2,x, and constants:
6ax2+(6b−10a)x+(2a−5b+6c)=3x2
Equating coefficients of like terms:
- Coefficient of x2:6a=3⟹a=21
- Coefficient of x:6b−10(21)=0⟹b=65
- Constant term: 2(21)−5(65)+6c=0⟹c=3619
So, the particular integral is:
yp=21x2+65x+3619
3. General Solution
The general solution is the sum of the complementary function and the particular integral:
y=21x2+65x+3619+Ae2x+Be3x
Forms of Particular Integrals
RHS | P.I. |
---|
k | c |
λx+μ | bx+c<br> Note: μ can = 0 |
λx2+μx+2 | ax2+bx+c Note: μ, 2 can = 0 |
λekx | aekx |
psinλx+qcosλx | asinλx+bcosλx Note: a,b can = 0 |
Anything more complemented will be given in the question.
S.O.D.E. Where P.I. is Part of C.F.
Justification of Trying λxe2x:
- Start with the given S.O.D.E.:
dx2d2y−5dxdy+6y=e2x
- Rewrite the differential equation:
(dxd−2)(dxd−3)y=e2x
- Multiply both sides by (dxd−2) to get:
(dxd−2)2(dxd−3)y=(dxd−2)e2x
- Calculate the right-hand side:
- Simplify the expression on the right:
(dxd−2)e2x=dxde2x−2e2x=2e2x−2e2x=0
(dxd−2)2(dxd−3)y=0
- Conclusion:
- This leads to the equation:
(dxd−2)2(dxd−3)y=0
- The repeated root at m=2 results in the solution of the form:
y=(A+Bx)e2x
- Here, the term Bxe2x is equivalent to the form λxe2x that was tried, justifying its use as a trial solution.