Question #80494

Using the method of undermined coefficient find the general solution of D.E
y^iv-2y^'''+2y^''=3ye^-x+2e^-x(x)+e^-xsinx.

Expert's answer

ANSWER on Question #80494 – Math – Differential Equations

QUESTION

Using the method of undermined coefficient find the general solution of D.E


y(IV)2y+2y=3yex+2exx+exsinxy ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 3 y e ^ {- x} + 2 e ^ {- x} \cdot x + e ^ {- x} \cdot \sin x

SOLUTION

Hint: In the solution, I will proceed from the assumption that the question contained a mistake and the equation actually looks like this:


y(IV)2y+2y=3ex+2exx+exsinxy ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 3 e ^ {- x} + 2 e ^ {- x} \cdot x + e ^ {- x} \cdot \sin x


As we know from theory, the solution of a differential equation of the form


F(x,y,y,y,,y(n))=f1(x)+f2(x)+f3(x)+fn(x)F \big (x, y, y ^ {\prime}, y ^ {\prime \prime}, \dots , y ^ {(n)} \big) = f _ {1} (x) + f _ {2} (x) + f _ {3} (x) + \dots f _ {n} (x)


consists of such parts:

1) solution of the homogeneous equation


F(x,y,y,y,,y(n))=0y=yh(x)F \big (x, y, y ^ {\prime}, y ^ {\prime \prime}, \dots , y ^ {(n)} \big) = 0 \rightarrow y = y _ {h} (x)


2) partial solutions of inhomogeneous equations


F(x,y,y,y,,y(n))=f1(x)y=y1(x)F \big (x, y, y ^ {\prime}, y ^ {\prime \prime}, \dots , y ^ {(n)} \big) = f _ {1} (x) \rightarrow y = y _ {1} (x)F(x,y,y,y,,y(n))=f2(x)y=y2(x)F \big (x, y, y ^ {\prime}, y ^ {\prime \prime}, \dots , y ^ {(n)} \big) = f _ {2} (x) \rightarrow y = y _ {2} (x)F(x,y,y,y,,y(n))=f3(x)y=y3(x)F \big (x, y, y ^ {\prime}, y ^ {\prime \prime}, \dots , y ^ {(n)} \big) = f _ {3} (x) \rightarrow y = y _ {3} (x)\dots \dots \dots \dots \dots \dots \dots \dots \dots \dots \dots \dots \dots \dotsF(x,y,y,y,,y(n))=fn(x)y=yn(x)F \big (x, y, y ^ {\prime}, y ^ {\prime \prime}, \dots , y ^ {(n)} \big) = f _ {n} (x) \rightarrow y = y _ {n} (x)


Then,


ysol=yh(x)+y1(x)+y2(x)+y3(x)++yn(x)y _ {s o l} = y _ {h} (x) + y _ {1} (x) + y _ {2} (x) + y _ {3} (x) + \dots + y _ {n} (x)


In our case,


y(IV)2y+2y=3ex+2exx+exsinxy ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 3 e ^ {- x} + 2 e ^ {- x} \cdot x + e ^ {- x} \cdot \sin x


1 STEP: We find the solution of the homogeneous equation


y(IV)2y+2y=0y ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 0


The solution will be sought in the form


y=ekxvy = e ^ {k x} \rightarrow v \rightarrowy(IV)2y+2y=0k4ekx2k3ekx+2k2ekx=0ekx(k42k3+2k2)=0y ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 0 \rightarrow k ^ {4} \cdot e ^ {k x} - 2 k ^ {3} \cdot e ^ {k x} + 2 k ^ {2} \cdot e ^ {k x} = 0 \rightarrow e ^ {k x} \cdot (k ^ {4} - 2 k ^ {3} + 2 k ^ {2}) = 0 \rightarrowk42k3+2k2=0k2(k22k+2)=0[k2=0k22k+2=0k ^ {4} - 2 k ^ {3} + 2 k ^ {2} = 0 \rightarrow k ^ {2} \cdot (k ^ {2} - 2 k + 2) = 0 \rightarrow \left[\begin{array}{c}k ^ {2} = 0\\k ^ {2} - 2 k + 2 = 0\end{array}\right.k2=0k1,2=0multiplerootk ^ {2} = 0 \rightarrow \boxed {k _ {1, 2} = 0 - m u l t i p l e r o o t}k22k+2=0{a=1b=2c=2D=b24ac=(2)2412=48=4k ^ {2} - 2 k + 2 = 0 \rightarrow \left\{\begin{array}{l}a = 1\\b = - 2\\c = 2\end{array}\right. \rightarrow D = b ^ {2} - 4 a c = (- 2) ^ {2} - 4 \cdot 1 \cdot 2 = 4 - 8 = - 4 \rightarrowD=4=2i[k3=bD2a=(2)2i21=22i2=1ik4=b+D2a=(2)+2i21=2+2i2=1+i\sqrt {D} = \sqrt {- 4} = 2 i \rightarrow \left[\begin{array}{l}k _ {3} = \frac {- b - \sqrt {D}}{2 a} = \frac {- (- 2) - 2 i}{2 \cdot 1} = \frac {2 - 2 i}{2} = 1 - i\\k _ {4} = \frac {- b + \sqrt {D}}{2 a} = \frac {- (- 2) + 2 i}{2 \cdot 1} = \frac {2 + 2 i}{2} = 1 + i\end{array}\right.


Then,


yh(x)=ek1x(A+Bx)since the root of multiplicity 2+C1ek3x+C2ek4xy_{h}(x) = \underbrace{e^{k_{1}x}(A + Bx)}_{\text{since the root of multiplicity 2}} + C_{1}e^{k_{3}x} + C_{2}e^{k_{4}x}\rightarrowyh(x)=e0x(A+Bx)+C1e(1+i)x+C3e(1i)xA+Bx+A1excosx+A2exsinxy _ {h} (x) = e ^ {0 \cdot x} (A + B x) + C _ {1} e ^ {(1 + i) x} + C _ {3} e ^ {(1 - i) x} \equiv A + B x + A _ {1} e ^ {x} \cdot \cos x + A _ {2} e ^ {x} \cdot \sin xHint:{eix=cosx+isinxeix=cosx+isinxC1eix+C2eixA1cosx+A2sinx\text{Hint:} \left\{ \begin{array}{l} e ^ {i x} = \cos x + i \cdot \sin x \\ e ^ {- i x} = \cos x + i \cdot \sin x \end{array} \right. \to C _ {1} e ^ {i x} + C _ {2} e ^ {- i x} \equiv A _ {1} \cos x + A _ {2} \sin x


Conclusion,


y(IV)2y+2y=0yh(x)=A+Bx+A1excosx+A2exsinx\boxed {y ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 0 \rightarrow y _ {h} (x) = A + B x + A _ {1} e ^ {x} \cdot \cos x + A _ {2} e ^ {x} \cdot \sin x}


2 STEP: We find a particular solution of the inhomogeneous equations

a) f1(x)=3exf_{1}(x) = 3e^{-x}

y(IV)2y+2y=3exy ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 3 e ^ {- x}


The solution will be sought in the form


y(x)=Cex{y(IV)=C(1)4ex=Cexy=C(1)3ex=Cexy=C(1)2ex=Cexy(x) = C e^{-x} \rightarrow \left\{ \begin{array}{l} y^{(IV)} = C \cdot (-1)^4 \cdot e^{-x} = C e^{-x} \\ y''' = C \cdot (-1)^3 \cdot e^{-x} = -C e^{-x} \\ y'' = C \cdot (-1)^2 \cdot e^{-x} = C e^{-x} \end{array} \right.


Then,


y(IV)2y+2y=3exCex2(Cex)+2Cex=3ex5Cex=3ex÷(5ex)y^{(IV)} - 2 y''' + 2 y'' = 3 e^{-x} \rightarrow C e^{-x} - 2 \cdot (-C e^{-x}) + 2 \cdot C e^{-x} = 3 e^{-x} \rightarrow 5 C e^{-x} = 3 e^{-x} | \div (5 e^{-x}) \rightarrowC=3ex5ex=35C = \frac{3 e^{-x}}{5 e^{-x}} = \frac{3}{5}


Conclusion,


y(IV)2y+2y=3exy1(x)=35exy^{(IV)} - 2 y''' + 2 y'' = 3 e^{-x} \rightarrow y_1(x) = \frac{3}{5} e^{-x}


b) f2(x)=2exxf_2(x) = 2 e^{-x} \cdot x

y(IV)2y+2y=2exxy^{(IV)} - 2 y''' + 2 y'' = 2 e^{-x} \cdot x


The solution will be sought in the form


y(x)=ex(Ax+B){y=ex(Ax+B)+Aexex(ABAx)y=ex(ABAx)Aexex(B2A+Ax)y=ex(B2A+Ax)+Aexex(3ABAx)y(IV)=ex(3ABAx)Aexex(B4A+Ax)y(x) = e^{-x} \cdot (A x + B) \rightarrow \left\{ \begin{array}{l} y' = -e^{-x} \cdot (A x + B) + A e^{-x} \equiv e^{-x} \cdot (A - B - A x) \\ y'' = -e^{-x} \cdot (A - B - A x) - A e^{-x} \equiv e^{-x} \cdot (B - 2 A + A x) \\ y''' = -e^{-x} \cdot (B - 2 A + A x) + A e^{-x} \equiv e^{-x} \cdot (3 A - B - A x) \\ y^{(IV)} = -e^{-x} \cdot (3 A - B - A x) - A e^{-x} \equiv e^{-x} \cdot (B - 4 A + A x) \end{array} \right.


Then,


y(IV)2y+2y=2exxy^{(IV)} - 2 y''' + 2 y'' = 2 e^{-x} \cdot x \rightarrowex(B4A+Ax)2ex(3ABAx)+2ex(B2A+Ax)=ex(2x)e^{-x} \cdot (B - 4 A + A x) - 2 \cdot e^{-x} \cdot (3 A - B - A x) + 2 \cdot e^{-x} \cdot (B - 2 A + A x) = e^{-x} \cdot (2 x) \rightarrowex(B4A+Ax6A+2B+2Ax+2B4A+2Ax)=ex(2x)e^{-x} \cdot (B - 4 A + A x - 6 A + 2 B + 2 A x + 2 B - 4 A + 2 A x) = e^{-x} \cdot (2 x) \rightarrowex(5B14A+5Ax)=ex(2x)5B14A+5Ax=2x{5A=2÷(5)5B14A=0e^{-x} \cdot (5 B - 14 A + 5 A x) = e^{-x} \cdot (2 x) \rightarrow 5 B - 14 A + 5 A x = 2 x \rightarrow \left\{ \begin{array}{l} 5 A = 2 | \div (5) \\ 5 B - 14 A = 0 \end{array} \right. \rightarrow{A=255B=1425{A=25B=2825\left\{ \begin{array}{c} A = \frac{2}{5} \\ 5 B = 14 \cdot \frac{2}{5} \end{array} \right. \rightarrow \boxed{\left\{ \begin{array}{l} A = \frac{2}{5} \\ B = \frac{28}{25} \end{array} \right.}


Conclusion,


y(IV)2y+2y=2exxy2(x)=ex(2x5+2825)y ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 2 e ^ {- x} \cdot x \rightarrow y _ {2} (x) = e ^ {- x} \cdot \left(\frac {2 x}{5} + \frac {2 8}{2 5}\right)


c) f3(x)=exsinxf_{3}(x) = e^{-x}\cdot \sin x

y(IV)2y+2y=exsinxy ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = e ^ {- x} \cdot \sin x


The solution will be sought in the form


y(x)=Aexsinx+Bexcosxy (x) = A e ^ {- x} \cdot \sin x + B e ^ {- x} \cdot \cos x \rightarrowy=Aexsinx+AexcosxBexcosxBexsinxy ^ {\prime} = - A e ^ {- x} \cdot \sin x + A e ^ {- x} \cdot \cos x - B e ^ {- x} \cdot \cos x - B e ^ {- x} \cdot \sin x \rightarrowy=(AB)exsinx+(AB)excosxy ^ {\prime} = (- A - B) e ^ {- x} \cdot \sin x + (A - B) e ^ {- x} \cdot \cos xy=(AB)exsinx+(AB)excosx(AB)excosx(AB)exsinxy ^ {\prime \prime} = - (- A - B) e ^ {- x} \cdot \sin x + (- A - B) e ^ {- x} \cdot \cos x - (A - B) e ^ {- x} \cdot \cos x - (A - B) e ^ {- x} \cdot \sin x \rightarrowy=(A+BA+B)exsinx+(ABA+B)excosxy ^ {\prime \prime} = (A + B - A + B) e ^ {- x} \cdot \sin x + (- A - B - A + B) e ^ {- x} \cdot \cos x \rightarrowy=(2B)exsinx+(2A)excosxy ^ {\prime \prime} = (2 B) e ^ {- x} \cdot \sin x + (- 2 A) e ^ {- x} \cdot \cos xy=(2B)exsinx+(2B)excosx(2A)excosx(2A)exsinxy ^ {\prime \prime \prime} = - (2 B) e ^ {- x} \cdot \sin x + (2 B) e ^ {- x} \cdot \cos x - (- 2 A) e ^ {- x} \cdot \cos x - (- 2 A) e ^ {- x} \cdot \sin x \rightarrowy=(2B+2A)exsinx+(2B+2A)excosxy ^ {\prime \prime \prime} = (- 2 B + 2 A) e ^ {- x} \cdot \sin x + (2 B + 2 A) e ^ {- x} \cdot \cos xy=(2B+2A)exsinx+(2B+2A)excosx(2B+2A)excosx(2B+2A)exsinxy ^ {\prime \prime \prime \prime} = - (- 2 B + 2 A) e ^ {- x} \cdot \sin x + (- 2 B + 2 A) e ^ {- x} \cdot \cos x - (2 B + 2 A) e ^ {- x} \cdot \cos x - (2 B + 2 A) e ^ {- x} \cdot \sin xy=(2B2A2B2A)exsinx+(2B+2A2B2A)excosxy ^ {\prime \prime \prime \prime} = (2 B - 2 A - 2 B - 2 A) e ^ {- x} \cdot \sin x + (- 2 B + 2 A - 2 B - 2 A) e ^ {- x} \cdot \cos x \rightarrowy=(4A)exsinx+(4B)excosxy ^ {\prime \prime \prime \prime} = (- 4 A) e ^ {- x} \cdot \sin x + (- 4 B) e ^ {- x} \cdot \cos x


Then,


y(IV)2y+2y=2exsinxy ^ {(I V)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 2 e ^ {- x} \cdot \sin x \rightarrow(4A)exsinx+(4B)excosx2((2B+2A)exsinx+(2B+2A)excosx)++2((2B)exsinx+(2A)excosx)=exsinx\begin{array}{l} (- 4 A) e ^ {- x} \cdot \sin x + (- 4 B) e ^ {- x} \cdot \cos x - 2 \left((- 2 B + 2 A) e ^ {- x} \cdot \sin x + (2 B + 2 A) e ^ {- x} \cdot \cos x\right) + \\ + 2 \left((2 B) e ^ {- x} \cdot \sin x + (- 2 A) e ^ {- x} \cdot \cos x\right) = e ^ {- x} \cdot \sin x \rightarrow \\ \end{array}(4A)exsinx+(4B)excosx+(4B4A)exsinx+(4B4A)excosx++(4B)exsinx+(4A)excosx=exsinx\begin{array}{l} (- 4 A) e ^ {- x} \cdot \sin x + (- 4 B) e ^ {- x} \cdot \cos x + (4 B - 4 A) e ^ {- x} \cdot \sin x + (- 4 B - 4 A) e ^ {- x} \cdot \cos x + \\ + (4 B) e ^ {- x} \cdot \sin x + (- 4 A) e ^ {- x} \cdot \cos x = e ^ {- x} \cdot \sin x \rightarrow \\ \end{array}(4A+4B4A+4B)exsinx+(4B4B4A4A)excosx=exsinx(8A+8B)exsinx+(8B8A)excosx=exsinx\begin{array}{l} (- 4 A + 4 B - 4 A + 4 B) e ^ {- x} \cdot \sin x + (- 4 B - 4 B - 4 A - 4 A) e ^ {- x} \cdot \cos x = e ^ {- x} \cdot \sin x \rightarrow \\ (- 8 A + 8 B) e ^ {- x} \cdot \sin x + (- 8 B - 8 A) e ^ {- x} \cdot \cos x = e ^ {- x} \cdot \sin x \rightarrow \\ \end{array}{8A+8B=18A8B=0{8A+8B=18A=8B÷(8){8(B)+8B=1A=B{16B=1A=B\left\{ \begin{array}{c} -8A + 8B = 1 \\ -8A - 8B = 0 \end{array} \right. \to \left\{ \begin{array}{c} -8A + 8B = 1 \\ -8A = 8B \mid \div (-8) \end{array} \right. \to \left\{ \begin{array}{c} -8 \cdot (-B) + 8B = 1 \\ A = -B \end{array} \right. \to \left\{ \begin{array}{c} 16B = 1 \\ A = -B \end{array} \right. \to{A=116B=116\left\{ \begin{array}{l} A = - \frac {1}{16} \\ B = \frac {1}{16} \end{array} \right.


Conclusion,


y(IV)2y+2y=2exsinxy3(x)=sinx16ex+cosx16exy ^ {(IV)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 2 e ^ {- x} \cdot \sin x \rightarrow y _ {3} (x) = - \frac {\sin x}{1 6} \cdot e ^ {- x} + \frac {\cos x}{1 6} \cdot e ^ {- x}


General conclusion,


y(IV)2y+2y=3yex+2exx+exsinxy ^ {(IV)} - 2 y ^ {\prime \prime \prime} + 2 y ^ {\prime \prime} = 3 y e ^ {- x} + 2 e ^ {- x} \cdot x + e ^ {- x} \cdot \sin x \rightarrowy(x)=yh(x)+y1(x)+y2(x)+y3(x)y (x) = y _ {h} (x) + y _ {1} (x) + y _ {2} (x) + y _ {3} (x) \rightarrowy(x)=A+Bx+A1excosx+A2exsinx+35ex+ex(2x5+2825)sinx16ex+cosx16exy (x) = A + B x + A _ {1} e ^ {x} \cdot \cos x + A _ {2} e ^ {x} \cdot \sin x + \frac {3}{5} e ^ {- x} + e ^ {- x} \cdot \left(\frac {2 x}{5} + \frac {2 8}{2 5}\right) - \frac {\sin x}{1 6} \cdot e ^ {- x} + \frac {\cos x}{1 6} \cdot e ^ {- x} \rightarrowy(x)=A+Bx+A1excosx+A2exsinx+(35+2825)ex+2x5exsinx16ex+cosx16exy (x) = A + B x + A _ {1} e ^ {x} \cdot \cos x + A _ {2} e ^ {x} \cdot \sin x + \left(\frac {3}{5} + \frac {2 8}{2 5}\right) \cdot e ^ {- x} + \frac {2 x}{5} \cdot e ^ {- x} - \frac {\sin x}{1 6} \cdot e ^ {- x} + \frac {\cos x}{1 6} \cdot e ^ {- x} \rightarrowy(x)=A+Bx+A1excosx+A2exsinx+4325ex+2x5exsinx16ex+cosx16exy (x) = A + B x + A _ {1} e ^ {x} \cdot \cos x + A _ {2} e ^ {x} \cdot \sin x + \frac {4 3}{2 5} \cdot e ^ {- x} + \frac {2 x}{5} \cdot e ^ {- x} - \frac {\sin x}{1 6} \cdot e ^ {- x} + \frac {\cos x}{1 6} \cdot e ^ {- x}

ANSWER

y(x)=A+Bx+A1excosx+A2exsinx+4325ex+2x5exsinx16ex+cosx16exy (x) = A + B x + A _ {1} e ^ {x} \cdot \cos x + A _ {2} e ^ {x} \cdot \sin x + \frac {4 3}{2 5} \cdot e ^ {- x} + \frac {2 x}{5} \cdot e ^ {- x} - \frac {\sin x}{1 6} \cdot e ^ {- x} + \frac {\cos x}{1 6} \cdot e ^ {- x}


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