Answer on Question #64774 – Math – Differential Equations
Question
Solve ( D 4 + 8 D 2 − 9 ) y = 9 x 3 + 5 cos 2 x (D4+8D2-9)y=9x3+5\cos2x ( D 4 + 8 D 2 − 9 ) y = 9 x 3 + 5 cos 2 x
Solution
Rewrite the equation ( D 4 + 8 D 2 − 9 ) y = 9 x 3 + 5 cos 2 x \left(D^{4} + 8D^{2} - 9\right)y = 9x^{3} + 5\cos 2x ( D 4 + 8 D 2 − 9 ) y = 9 x 3 + 5 cos 2 x as
y ( 4 ) + 8 y ′ ′ − 9 y = 9 x 3 + 5 cos 2 x . y ^ {(4)} + 8 y ^ {\prime \prime} - 9 y = 9 x ^ {3} + 5 \cos 2 x. y ( 4 ) + 8 y ′′ − 9 y = 9 x 3 + 5 cos 2 x .
The general solution will be the sum of the complementary and a particular solutions. Find the complementary solution by solving
y ( 4 ) + 8 y ′ ′ − 9 y = 0. y ^ {(4)} + 8 y ^ {\prime \prime} - 9 y = 0. y ( 4 ) + 8 y ′′ − 9 y = 0.
Assume a solution will be e λ x e^{\lambda x} e λ x , where λ \lambda λ is a constant.
Substituting y = e λ x y = e^{\lambda x} y = e λ x into the differential equation
( e λ x ) ( 4 ) + 8 ( e λ x ) ′ ′ − 9 e λ x = 0 , λ 4 e λ x + 8 λ 2 e λ x − 9 e λ x = 0 , e λ x ( λ 4 + 8 λ 2 − 9 ) = 0 , e λ x ≠ 0 , λ 4 + 8 λ 2 − 9 = 0 , ( λ 2 + 9 ) ( λ 2 − 1 ) = 0 , ( λ + 3 i ) ( λ − 3 i ) ( λ − 1 ) ( λ + 1 ) = 0. \begin{array}{l}
(e ^ {\lambda x}) ^ {(4)} + 8 (e ^ {\lambda x}) ^ {\prime \prime} - 9 e ^ {\lambda x} = 0, \\
\lambda^ {4} e ^ {\lambda x} + 8 \lambda^ {2} e ^ {\lambda x} - 9 e ^ {\lambda x} = 0, \\
e ^ {\lambda x} (\lambda^ {4} + 8 \lambda^ {2} - 9) = 0, \\
e ^ {\lambda x} \neq 0, \lambda^ {4} + 8 \lambda^ {2} - 9 = 0, \\
\left(\lambda^ {2} + 9\right) \left(\lambda^ {2} - 1\right) = 0, \\
\left(\lambda + 3 i\right) \left(\lambda - 3 i\right) \left(\lambda - 1\right) \left(\lambda + 1\right) = 0.
\end{array} ( e λ x ) ( 4 ) + 8 ( e λ x ) ′′ − 9 e λ x = 0 , λ 4 e λ x + 8 λ 2 e λ x − 9 e λ x = 0 , e λ x ( λ 4 + 8 λ 2 − 9 ) = 0 , e λ x = 0 , λ 4 + 8 λ 2 − 9 = 0 , ( λ 2 + 9 ) ( λ 2 − 1 ) = 0 , ( λ + 3 i ) ( λ − 3 i ) ( λ − 1 ) ( λ + 1 ) = 0.
Solving for λ \lambda λ :
λ = 1 or λ = − 1 or λ = 3 i or λ = − 3 i . \lambda = 1 \text{ or } \lambda = - 1 \text{ or } \lambda = 3 i \text{ or } \lambda = - 3 i. λ = 1 or λ = − 1 or λ = 3 i or λ = − 3 i .
The complementary solution is
y c = C 1 e x + C 2 e − x + C 3 cos 3 x + C 4 sin 3 x . y _ {c} = C _ {1} e ^ {x} + C _ {2} e ^ {- x} + C _ {3} \cos 3 x + C _ {4} \sin 3 x. y c = C 1 e x + C 2 e − x + C 3 cos 3 x + C 4 sin 3 x .
Determine a particular solution of y ( 4 ) + 8 y ′ ′ − 9 y = 9 x 3 + 5 cos 2 x y^{(4)} + 8y^{\prime \prime} - 9y = 9x^{3} + 5\cos 2x y ( 4 ) + 8 y ′′ − 9 y = 9 x 3 + 5 cos 2 x via the method of undetermined coefficients.
A particular solution will be the sum of the particular solutions to y ( 4 ) + 8 y ′ ′ − 9 y = 9 x 3 y^{(4)} + 8y^{\prime \prime} - 9y = 9x^{3} y ( 4 ) + 8 y ′′ − 9 y = 9 x 3 and y ( 4 ) + 8 y ′ ′ − 9 y = 5 cos 2 x y^{(4)} + 8y^{\prime \prime} - 9y = 5\cos 2x y ( 4 ) + 8 y ′′ − 9 y = 5 cos 2 x .
A particular solution to y ( 4 ) + 8 y ′ ′ − 9 y = 9 x 3 y^{(4)} + 8y^{\prime \prime} - 9y = 9x^{3} y ( 4 ) + 8 y ′′ − 9 y = 9 x 3 is given by
y 1 = a 1 + a 2 x + a 3 x 2 + a 4 x 3 . y _ {1} = a _ {1} + a _ {2} x + a _ {3} x ^ {2} + a _ {4} x ^ {3}. y 1 = a 1 + a 2 x + a 3 x 2 + a 4 x 3 .
A particular solution to y ( 4 ) + 8 y ′ ′ − 9 y = 5 cos 2 x y^{(4)} + 8y^{\prime \prime} - 9y = 5\cos 2x y ( 4 ) + 8 y ′′ − 9 y = 5 cos 2 x is given by
y 2 = a 5 cos 2 x + a 6 sin 2 x . y _ {2} = a _ {5} \cos 2 x + a _ {6} \sin 2 x. y 2 = a 5 cos 2 x + a 6 sin 2 x .
Adding y 1 y_{1} y 1 and y 2 y_{2} y 2 one obtains y p y_{p} y p :
y p = y 1 + y 2 = a 1 + a 2 x + a 3 x 2 + a 4 x 3 + a 5 cos 2 x + a 6 sin 2 x . y _ {p} = y _ {1} + y _ {2} = a _ {1} + a _ {2} x + a _ {3} x ^ {2} + a _ {4} x ^ {3} + a _ {5} \cos 2 x + a _ {6} \sin 2 x. y p = y 1 + y 2 = a 1 + a 2 x + a 3 x 2 + a 4 x 3 + a 5 cos 2 x + a 6 sin 2 x .
To find the unknown coefficients a 1 , a 2 , a 3 , a 4 , a 5 a_1, a_2, a_3, a_4, a_5 a 1 , a 2 , a 3 , a 4 , a 5 and a 6 a_6 a 6 first we need to compute
( y p ) ( 4 ) = ( a 1 + a 2 x + a 3 x 2 + a 4 x 3 ) ( 4 ) + ( a 5 cos 2 x + a 6 sin 2 x ) ( 4 ) = = a 5 ⋅ 2 4 cos ( 2 x + π 2 ⋅ 4 ) + a 6 ⋅ 2 4 sin ( 2 x + π 2 ⋅ 4 ) = 16 a 5 cos 2 x + 16 a 6 sin 2 x \begin{array}{l}
(y _ {p}) ^ {(4)} = \left(a _ {1} + a _ {2} x + a _ {3} x ^ {2} + a _ {4} x ^ {3}\right) ^ {(4)} + \left(a _ {5} \cos 2 x + a _ {6} \sin 2 x\right) ^ {(4)} = \\
= a _ {5} \cdot 2 ^ {4} \cos \left(2 x + \frac {\pi}{2} \cdot 4\right) + a _ {6} \cdot 2 ^ {4} \sin \left(2 x + \frac {\pi}{2} \cdot 4\right) = 16 a _ {5} \cos 2 x + 16 a _ {6} \sin 2 x \\
\end{array} ( y p ) ( 4 ) = ( a 1 + a 2 x + a 3 x 2 + a 4 x 3 ) ( 4 ) + ( a 5 cos 2 x + a 6 sin 2 x ) ( 4 ) = = a 5 ⋅ 2 4 cos ( 2 x + 2 π ⋅ 4 ) + a 6 ⋅ 2 4 sin ( 2 x + 2 π ⋅ 4 ) = 16 a 5 cos 2 x + 16 a 6 sin 2 x ( y p ) ′ ′ = ( a 1 + a 2 x + a 3 x 2 + a 4 x 3 ) ′ ′ + ( a 5 cos 2 x + a 6 sin 2 x ) ′ ′ = 2 a 3 + 6 a 4 x − 4 a 5 cos 2 x − 4 a 6 sin 2 x (y _ {p}) ^ {\prime \prime} = \left(a _ {1} + a _ {2} x + a _ {3} x ^ {2} + a _ {4} x ^ {3}\right) ^ {\prime \prime} + \left(a _ {5} \cos 2 x + a _ {6} \sin 2 x\right) ^ {\prime \prime} = 2 a _ {3} + 6 a _ {4} x - 4 a _ {5} \cos 2 x - 4 a _ {6} \sin 2 x ( y p ) ′′ = ( a 1 + a 2 x + a 3 x 2 + a 4 x 3 ) ′′ + ( a 5 cos 2 x + a 6 sin 2 x ) ′′ = 2 a 3 + 6 a 4 x − 4 a 5 cos 2 x − 4 a 6 sin 2 x
Substituting the particular solution y p y_{p} y p and ( y p ) ( 4 ) , ( y p ) ′ ′ \left(y_{p}\right)^{(4)}, \left(y_{p}\right)^{\prime \prime} ( y p ) ( 4 ) , ( y p ) ′′ into the differential equation
( y p ) ( 4 ) + 8 ( y p ) ′ ′ − 9 y = 9 x 3 + 5 cos 2 x , (y_p)^{(4)} + 8(y_p)'' - 9y = 9x^3 + 5\cos 2x, ( y p ) ( 4 ) + 8 ( y p ) ′′ − 9 y = 9 x 3 + 5 cos 2 x ,
one gets
16 a 5 cos 2 x + 16 a 6 sin 2 x + 8 ( 2 a 3 + 6 a 4 x − 4 a 5 cos 2 x − 4 a 6 sin 2 x ) − − 9 ( a 1 + a 2 x + a 3 x 2 + a 4 x 3 + a 5 cos 2 x + a 6 sin 2 x ) = 9 x 3 + 5 cos 2 x . \begin{array}{l}
16a_5 \cos 2x + 16a_6 \sin 2x + 8(2a_3 + 6a_4x - 4a_5 \cos 2x - 4a_6 \sin 2x) - \\
- 9(a_1 + a_2x + a_3x^2 + a_4x^3 + a_5 \cos 2x + a_6 \sin 2x) = 9x^3 + 5 \cos 2x.
\end{array} 16 a 5 cos 2 x + 16 a 6 sin 2 x + 8 ( 2 a 3 + 6 a 4 x − 4 a 5 cos 2 x − 4 a 6 sin 2 x ) − − 9 ( a 1 + a 2 x + a 3 x 2 + a 4 x 3 + a 5 cos 2 x + a 6 sin 2 x ) = 9 x 3 + 5 cos 2 x .
Simplifying
( − 9 a 1 + 16 a 3 ) + ( − 9 a 2 + 48 a 4 ) − 9 a 3 x 2 − 9 a 4 x 3 − 25 a 5 cos 2 x − 25 a 6 sin 2 x = 9 x 3 + 5 cos 2 x . (-9a_1 + 16a_3) + (-9a_2 + 48a_4) - 9a_3x^2 - 9a_4x^3 - 25a_5 \cos 2x - 25a_6 \sin 2x = 9x^3 + 5 \cos 2x. ( − 9 a 1 + 16 a 3 ) + ( − 9 a 2 + 48 a 4 ) − 9 a 3 x 2 − 9 a 4 x 3 − 25 a 5 cos 2 x − 25 a 6 sin 2 x = 9 x 3 + 5 cos 2 x .
Then
{ − 9 a 1 + 16 a 3 = 0 − 9 a 2 + 48 a 4 = 0 − 9 a 3 = 0 − 9 a 4 = 9 − 25 a 5 = 5 − 25 a 6 = 0 \left\{
\begin{array}{l}
-9a_1 + 16a_3 = 0 \\
-9a_2 + 48a_4 = 0 \\
-9a_3 = 0 \\
-9a_4 = 9 \\
-25a_5 = 5 \\
-25a_6 = 0
\end{array}
\right. ⎩ ⎨ ⎧ − 9 a 1 + 16 a 3 = 0 − 9 a 2 + 48 a 4 = 0 − 9 a 3 = 0 − 9 a 4 = 9 − 25 a 5 = 5 − 25 a 6 = 0
The third equation ( − 9 a 3 = 0 ) (-9a_3 = 0) ( − 9 a 3 = 0 ) of the system gives a 3 = 0 a_3 = 0 a 3 = 0 and substituting for a 3 a_3 a 3 into the first equation ( − 9 a 1 + 16 a 3 = 0 ) (-9a_1 + 16a_3 = 0) ( − 9 a 1 + 16 a 3 = 0 ) one gets − 9 a 1 = 0 -9a_1 = 0 − 9 a 1 = 0 , hence a 1 = 0 a_1 = 0 a 1 = 0 .
The fourth equation ( − 9 a 4 = 9 ) (-9a_4 = 9) ( − 9 a 4 = 9 ) of the system gives a 4 = − 1 a_4 = -1 a 4 = − 1 and substituting for a 4 a_4 a 4 into the second equation ( − 9 a 2 + 48 a 4 = 0 ) (-9a_2 + 48a_4 = 0) ( − 9 a 2 + 48 a 4 = 0 ) one gets − 9 a 2 − 48 = 0 -9a_2 - 48 = 0 − 9 a 2 − 48 = 0 , hence a 2 = − 48 9 = − 16 3 a_2 = -\frac{48}{9} = -\frac{16}{3} a 2 = − 9 48 = − 3 16 .
It follows from the fifth equation ( − 25 a 5 = 5 ) (-25a_5 = 5) ( − 25 a 5 = 5 ) of the system that a 5 = − 5 25 = − 1 5 a_5 = -\frac{5}{25} = -\frac{1}{5} a 5 = − 25 5 = − 5 1 .
It follows from the sixth equation ( − 25 a 6 = 0 ) (-25a_6 = 0) ( − 25 a 6 = 0 ) of the system that a 6 = 0 a_6 = 0 a 6 = 0 .
Solution of the system is
{ a 1 = 0 a 2 = − 16 3 a 3 = 0 a 4 = − 1 a 5 = − 1 5 a 6 = 0 \left\{
\begin{array}{l}
a_1 = 0 \\
a_2 = -\frac{16}{3} \\
a_3 = 0 \\
a_4 = -1 \\
a_5 = -\frac{1}{5} \\
a_6 = 0
\end{array}
\right. ⎩ ⎨ ⎧ a 1 = 0 a 2 = − 3 16 a 3 = 0 a 4 = − 1 a 5 = − 5 1 a 6 = 0
Then
y p = − 16 3 x − x 3 − 1 5 cos 2 x and y_p = -\frac{16}{3}x - x^3 - \frac{1}{5}\cos 2x \text{ and} y p = − 3 16 x − x 3 − 5 1 cos 2 x and y = y c + y p = C 1 e x + C 2 e − x + C 3 cos 3 x + C 4 sin 3 x − x 3 − 16 3 x − 1 5 cos 2 x . y = y_c + y_p = C_1 e^x + C_2 e^{-x} + C_3 \cos 3x + C_4 \sin 3x - x^3 - \frac{16}{3}x - \frac{1}{5} \cos 2x. y = y c + y p = C 1 e x + C 2 e − x + C 3 cos 3 x + C 4 sin 3 x − x 3 − 3 16 x − 5 1 cos 2 x .
Answer:
y = y c + y p = C 1 e x + C 2 e − x + C 3 cos 3 x + C 4 sin 3 x − x 3 − 16 3 x − 1 5 cos 2 x . y = y_c + y_p = C_1 e^x + C_2 e^{-x} + C_3 \cos 3x + C_4 \sin 3x - x^3 - \frac{16}{3}x - \frac{1}{5} \cos 2x. y = y c + y p = C 1 e x + C 2 e − x + C 3 cos 3 x + C 4 sin 3 x − x 3 − 3 16 x − 5 1 cos 2 x .
Answer provided by https://www.AssignmentExpert.com