Question #64774

Q. solve (D4+8D2−9)y=9x3+5cos2x

Expert's answer

Answer on Question #64774 – Math – Differential Equations

Question

Solve (D4+8D29)y=9x3+5cos2x(D4+8D2-9)y=9x3+5\cos2x

Solution

Rewrite the equation (D4+8D29)y=9x3+5cos2x\left(D^{4} + 8D^{2} - 9\right)y = 9x^{3} + 5\cos 2x as


y(4)+8y9y=9x3+5cos2x.y ^ {(4)} + 8 y ^ {\prime \prime} - 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)+8y9y=0.y ^ {(4)} + 8 y ^ {\prime \prime} - 9 y = 0.


Assume a solution will be eλxe^{\lambda x}, where λ\lambda is a constant.

Substituting y=eλxy = e^{\lambda x} into the differential equation


(eλx)(4)+8(eλx)9eλx=0,λ4eλx+8λ2eλx9eλx=0,eλx(λ4+8λ29)=0,eλx0,λ4+8λ29=0,(λ2+9)(λ21)=0,(λ+3i)(λ3i)(λ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}


Solving for λ\lambda:


λ=1 or λ=1 or λ=3i or λ=3i.\lambda = 1 \text{ or } \lambda = - 1 \text{ or } \lambda = 3 i \text{ or } \lambda = - 3 i.


The complementary solution is


yc=C1ex+C2ex+C3cos3x+C4sin3x.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)+8y9y=9x3+5cos2xy^{(4)} + 8y^{\prime \prime} - 9y = 9x^{3} + 5\cos 2x via the method of undetermined coefficients.

A particular solution will be the sum of the particular solutions to y(4)+8y9y=9x3y^{(4)} + 8y^{\prime \prime} - 9y = 9x^{3} and y(4)+8y9y=5cos2xy^{(4)} + 8y^{\prime \prime} - 9y = 5\cos 2x.

A particular solution to y(4)+8y9y=9x3y^{(4)} + 8y^{\prime \prime} - 9y = 9x^{3} is given by


y1=a1+a2x+a3x2+a4x3.y _ {1} = a _ {1} + a _ {2} x + a _ {3} x ^ {2} + a _ {4} x ^ {3}.


A particular solution to y(4)+8y9y=5cos2xy^{(4)} + 8y^{\prime \prime} - 9y = 5\cos 2x is given by


y2=a5cos2x+a6sin2x.y _ {2} = a _ {5} \cos 2 x + a _ {6} \sin 2 x.


Adding y1y_{1} and y2y_{2} one obtains ypy_{p}:


yp=y1+y2=a1+a2x+a3x2+a4x3+a5cos2x+a6sin2x.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 a1,a2,a3,a4,a5a_1, a_2, a_3, a_4, a_5 and a6a_6 first we need to compute


(yp)(4)=(a1+a2x+a3x2+a4x3)(4)+(a5cos2x+a6sin2x)(4)==a524cos(2x+π24)+a624sin(2x+π24)=16a5cos2x+16a6sin2x\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}(yp)=(a1+a2x+a3x2+a4x3)+(a5cos2x+a6sin2x)=2a3+6a4x4a5cos2x4a6sin2x(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


Substituting the particular solution ypy_{p} and (yp)(4),(yp)\left(y_{p}\right)^{(4)}, \left(y_{p}\right)^{\prime \prime} into the differential equation


(yp)(4)+8(yp)9y=9x3+5cos2x,(y_p)^{(4)} + 8(y_p)'' - 9y = 9x^3 + 5\cos 2x,


one gets


16a5cos2x+16a6sin2x+8(2a3+6a4x4a5cos2x4a6sin2x)9(a1+a2x+a3x2+a4x3+a5cos2x+a6sin2x)=9x3+5cos2x.\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}


Simplifying


(9a1+16a3)+(9a2+48a4)9a3x29a4x325a5cos2x25a6sin2x=9x3+5cos2x.(-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.


Then


{9a1+16a3=09a2+48a4=09a3=09a4=925a5=525a6=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.


The third equation (9a3=0)(-9a_3 = 0) of the system gives a3=0a_3 = 0 and substituting for a3a_3 into the first equation (9a1+16a3=0)(-9a_1 + 16a_3 = 0) one gets 9a1=0-9a_1 = 0, hence a1=0a_1 = 0.

The fourth equation (9a4=9)(-9a_4 = 9) of the system gives a4=1a_4 = -1 and substituting for a4a_4 into the second equation (9a2+48a4=0)(-9a_2 + 48a_4 = 0) one gets 9a248=0-9a_2 - 48 = 0, hence a2=489=163a_2 = -\frac{48}{9} = -\frac{16}{3}.

It follows from the fifth equation (25a5=5)(-25a_5 = 5) of the system that a5=525=15a_5 = -\frac{5}{25} = -\frac{1}{5}.

It follows from the sixth equation (25a6=0)(-25a_6 = 0) of the system that a6=0a_6 = 0.

Solution of the system is


{a1=0a2=163a3=0a4=1a5=15a6=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.


Then


yp=163xx315cos2x andy_p = -\frac{16}{3}x - x^3 - \frac{1}{5}\cos 2x \text{ and}y=yc+yp=C1ex+C2ex+C3cos3x+C4sin3xx3163x15cos2x.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.


Answer:


y=yc+yp=C1ex+C2ex+C3cos3x+C4sin3xx3163x15cos2x.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.


Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS