Answer on Question #58666 - Math - Differential Equations
Question
y ′ ′ − 3 y ′ = 8 e 3 x + 4 sin x . y'' - 3y' = 8e^{3x} + 4\sin x. y ′′ − 3 y ′ = 8 e 3 x + 4 sin x . Solution
The general solution will be the sum of the complementary solution y 0 y_0 y 0 and a particular solution y ∗ y^* y ∗ :
y = y 0 + y ∗ . y = y_0 + y^*. y = y 0 + y ∗ .
Solving the characteristic equation
k 2 − 3 k = 0 k^2 - 3k = 0 k 2 − 3 k = 0
gives
k 1 = 0 , k 2 = 3. k_1 = 0, \, k_2 = 3. k 1 = 0 , k 2 = 3.
Then the solution y 0 y_0 y 0 of the differential equation y ′ ′ − 3 y ′ = 0 y'' - 3y' = 0 y ′′ − 3 y ′ = 0 is
y 0 = C 1 + C 2 e 3 x . y_0 = C_1 + C_2 e^{3x}. y 0 = C 1 + C 2 e 3 x .
Find a particular solution y ∗ y^* y ∗ of the differential equation
y ′ ′ − 3 y ′ = 8 e 3 x + 4 sin x y'' - 3y' = 8e^{3x} + 4\sin x y ′′ − 3 y ′ = 8 e 3 x + 4 sin x
by the method of undetermined coefficients:
y ∗ = x A e 3 x + B cos x + C sin x . y^* = x A e^{3x} + B \cos x + C \sin x. y ∗ = x A e 3 x + B cos x + C sin x .
Solve for unknown constants A , B , C A, B, C A , B , C :
y ∗ ′ = A e 3 x + 3 A x e 3 x − B sin x + C cos x ; y^{*'} = A e^{3x} + 3A x e^{3x} - B \sin x + C \cos x; y ∗ ′ = A e 3 x + 3 A x e 3 x − B sin x + C cos x ; y ′ ′ ′ = 3 A e 3 x + 3 A e 3 x + 9 x A e 3 x − B cos x − C sin x = 6 A e 3 x + 9 x A e 3 x − B cos x − C sin x . y^{'''} = 3A e^{3x} + 3A e^{3x} + 9x A e^{3x} - B \cos x - C \sin x = 6A e^{3x} + 9x A e^{3x} - B \cos x - C \sin x. y ′′′ = 3 A e 3 x + 3 A e 3 x + 9 x A e 3 x − B cos x − C sin x = 6 A e 3 x + 9 x A e 3 x − B cos x − C sin x .
Plug a particular solution into the differential equation:
6 A e 3 x + 9 x A e 3 x − B cos x − C sin x − 3 ( A e 3 x + 3 A x e 3 x − B sin x + C cos x ) = 8 e 3 x + 4 sin x . 6A e^{3x} + 9x A e^{3x} - B \cos x - C \sin x - 3(A e^{3x} + 3A x e^{3x} - B \sin x + C \cos x) = 8e^{3x} + 4 \sin x. 6 A e 3 x + 9 x A e 3 x − B cos x − C sin x − 3 ( A e 3 x + 3 A x e 3 x − B sin x + C cos x ) = 8 e 3 x + 4 sin x . 3 A e 3 x + ( − B − 3 C ) cos x + ( 3 B − C ) sin x = 8 e 3 x + 4 sin x . 3A e^{3x} + (-B - 3C) \cos x + (3B - C) \sin x = 8e^{3x} + 4 \sin x. 3 A e 3 x + ( − B − 3 C ) cos x + ( 3 B − C ) sin x = 8 e 3 x + 4 sin x .
Equating like terms gives the system of equations:
{ 3 A = 8 , − B − 3 C = 0 , 3 B − C = 4. ⇒ { A = 8 3 B = − 3 C − 9 C − C = 4 ⇒ { A = 8 3 B = − 3 ⋅ ( − 2 5 ) = 6 5 C = − 4 10 = − 2 5 \left\{ \begin{array}{c} 3 A = 8, \\ - B - 3 C = 0, \\ 3 B - C = 4. \end{array} \right. \Rightarrow \left\{ \begin{array}{c} A = \frac {8}{3} \\ B = - 3 C \\ - 9 C - C = 4 \end{array} \right. \Rightarrow \left\{ \begin{array}{c} A = \frac {8}{3} \\ B = - 3 \cdot \left(- \frac {2}{5}\right) = \frac {6}{5} \\ C = - \frac {4}{10} = - \frac {2}{5} \end{array} \right. ⎩ ⎨ ⎧ 3 A = 8 , − B − 3 C = 0 , 3 B − C = 4. ⇒ ⎩ ⎨ ⎧ A = 3 8 B = − 3 C − 9 C − C = 4 ⇒ ⎩ ⎨ ⎧ A = 3 8 B = − 3 ⋅ ( − 5 2 ) = 5 6 C = − 10 4 = − 5 2
hence
y ∗ = 8 3 e 3 x + 6 5 cos x − 2 5 sin x . y ^ {*} = \frac {8}{3} e ^ {3 x} + \frac {6}{5} \cos x - \frac {2}{5} \sin x. y ∗ = 3 8 e 3 x + 5 6 cos x − 5 2 sin x .
Then the general solution of y ′ ′ − 3 y ′ = 8 e 3 x + 4 sin x y'' - 3y' = 8e^{3x} + 4\sin x y ′′ − 3 y ′ = 8 e 3 x + 4 sin x is
y = y 0 + y ∗ = C 1 + C 2 e 3 x + 8 3 e 3 x + 6 5 cos x − 2 5 sin x . y = y _ {0} + y ^ {*} = C _ {1} + C _ {2} e ^ {3 x} + \frac {8}{3} e ^ {3 x} + \frac {6}{5} \cos x - \frac {2}{5} \sin x. y = y 0 + y ∗ = C 1 + C 2 e 3 x + 3 8 e 3 x + 5 6 cos x − 5 2 sin x .
Answer: y = C 1 + C 2 e 3 x + 8 3 e 3 x + 6 5 cos x − 2 5 sin x . y = C_{1} + C_{2}e^{3x} + \frac{8}{3} e^{3x} + \frac{6}{5}\cos x - \frac{2}{5}\sin x. y = C 1 + C 2 e 3 x + 3 8 e 3 x + 5 6 cos x − 5 2 sin x .
www.AssignmentExpert.com