Find a general solution for y ′′′ + 2y ′′ + y ′ + y = e −x + sin(x)
- User
Find a general solution for y ′′′ + 2y ′′ + y ′ + y = e −x + sin(x)
- Assistant
Find a general solution for y ′′′ + 2y ′′ + y ′ + y = e −x + sin(x)
To solve the differential equation:
[ y''' + 2y'' + y' + y = e^{-x} + \sin(x) ]
we will find the general solution, which is the sum of the homogeneous solution ( y_h(x) ) and a particular solution ( y_p(x) ):
[ y(x) = y_h(x) + y_p(x) ]
1. Find the Homogeneous Solution ( y_h(x) ):
We start by solving the homogeneous equation:
[ y''' + 2y'' + y' + y = 0 ]
The associated characteristic equation is:
[ r^3 + 2r^2 + r + 1 = 0 ]
To find the roots of this cubic equation, we attempt to factor it. However, it doesn't factor nicely with rational numbers. Instead, we can approximate the roots numerically.
Approximate Real Root ( r_1 ):
Using trial and error, we find one real root approximately at ( r_1 \approx -1.753 ).
Quadratic Factor for Complex Roots:
Dividing the cubic polynomial by ( (r - r_1) ), we can find the quadratic factor corresponding to the complex roots:
[ r^3 + 2r^2 + r + 1 = (r - r_1)(r^2 + sr + t) ]
Solving for ( s ) and ( t ):
With ( r_1 \approx -1.753 ):
Complex Roots ( r_2 ) and ( r_3 ):
Now, we solve the quadratic equation:
[ r^2 + sr + t = 0 ]
[ r^2 + 0.247 r + 0.570 = 0 ]
Using the quadratic formula:
[ r = \frac{-s \pm \sqrt{s^2 - 4t}}{2} ]
Calculate the discriminant:
[ D = s^2 - 4t = (0.247)^2 - 4 \times 0.570 \approx -2.219 ]
Since ( D < 0 ), we have complex roots:
[ r = \frac{-0.247 \pm i \sqrt{2.219}}{2} ]
[ r \approx -0.1235 \pm 0.745i ]
Homogeneous Solution ( y_h(x) ):
With these roots, the homogeneous solution is:
[ y_h(x) = C_1 e^{-1.753 x} + e^{-0.1235 x} \left[ C_2 \cos(0.745 x) + C_3 \sin(0.745 x) \right] ]
2. Find the Particular Solution ( y_p(x) ):
We find particular solutions corresponding to each nonhomogeneous term separately.
(a) For ( e^{-x} ):
Assume ( y_p1(x) = A e^{-x} ). Substitute into the differential equation and solve for ( A ):
[ (-A e^{-x}) + 2(A e^{-x}) + (-A e^{-x}) + A e^{-x} = e^{-x} ]
Simplify:
[ A e^{-x} = e^{-x} ]
So, ( A = 1 ).
Thus,
[ y_{p1}(x) = e^{-x} ]
(b) For ( \sin(x) ):
Assume ( y_{p2}(x) = B \cos(x) + C \sin(x) ). Substitute into the differential equation and collect like terms to solve for ( B ) and ( C ):
[ -C \sin(x) - B \cos(x) = \sin(x) ]
Set up equations:
So, ( B = 0 ) and ( C = -1 ).
Thus,
[ y_{p2}(x) = -\sin(x) ]
Total Particular Solution ( y_p(x) ):
[ y_p(x) = y_{p1}(x) + y_{p2}(x) = e^{-x} - \sin(x) ]
3. Combine to Find the General Solution ( y(x) ):
Finally, the general solution is:
[ y(x) = y_h(x) + y_p(x) ]
[ y(x) = C_1 e^{-1.753 x} + e^{-0.1235 x} \left[ C_2 \cos(0.745 x) + C_3 \sin(0.745 x) \right] + e^{-x} - \sin(x) ]
So the general solution is:
Answer:
An explicit expression: y(x) = C₁·e^(–1.753 x) + e^(–0.1235 x)[C₂·cos 0.745 x + C₃·sin 0.745 x] + e^(–x) – sin x
Not yet included in a published release.