Question #161325

Find the general solution of the equation xdy/dx+4y=x³e^x using the method of variation of parameters.


1
Expert's answer
2021-02-24T06:53:53-0500

Solution:

Given differential equation cannot be solved by variation of parameters currently as there is insufficient data, either solution of the homogeneous equation should have been given or 'x' should be removed from 'dy/dx'. So, we are going to solve this by the method of Integrating factor.

xdydx+4y=x3exx\dfrac{dy}{dx}+4y=x^3e^x

Dividing both sides by xx ,

dydx+4xy=x2ex\dfrac{dy}{dx}+\dfrac4xy=x^2e^x ...(i)

On comparing this with dydx+Py=Q\dfrac{dy}{dx}+Py=Q , we get

P=4x, Q=x2exP=\dfrac4x,\ Q=x^2e^x

Now, integrating factor, I.F.=ePdxI.F.=e^{\int Pdx}

I.F.=e4xdx=e4lnx=elnx4=x4I.F.=e^{\int \frac4xdx}=e^{4\ln x}=e^{\ln x^4}=x^4

On multiplying (i) by this I.F., we get,

I.F.×y=Q×I.F. dxI.F.\times y=\int Q\times I.F. \ dx

x4×y=x2ex×x4 dx\Rightarrow x^4\times y=\int x^2e^x\times x^4\ dx

yx4=x6ex dx\Rightarrow yx^4=\int x^6e^x\ dx

Now we apply integration by parts on right side, taking x6x^6 as first function and exe^x as second. Also we need to perform this rule various times further.

yx4=x6ex6x5ex dxyx4=x6ex6[x5ex5x4ex] dxyx4=x6ex6x5ex+30[x4ex4x3ex] dx\Rightarrow yx^4=x^6e^x-\int 6x^5e^x\ dx \\ \Rightarrow yx^4=x^6e^x-6[x^5e^x-\int 5x^4e^x]\ dx \\ \Rightarrow yx^4=x^6e^x-6x^5e^x+30[x^4e^x-\int 4x^3e^x]\ dx

yx4=x6ex6x5ex+30x4ex120[x3ex3x2ex] dxyx4=x6ex6x5ex+30x4ex120x3ex+360[x2ex2xex] dx\\ \Rightarrow yx^4=x^6e^x-6x^5e^x+30x^4e^x-120[x^3e^x-\int 3x^2e^x]\ dx \\ \Rightarrow yx^4=x^6e^x-6x^5e^x+30x^4e^x-120x^3e^x+360[x^2e^x-\int 2xe^x]\ dx

yx4=x6ex6x5ex+30x4ex120x3ex+360x2ex720(xexex)+Cyx4=x6ex6x5ex+30x4ex120x3ex+360x2ex720xex+720ex+C\\ \Rightarrow yx^4=x^6e^x-6x^5e^x+30x^4e^x-120x^3e^x+360x^2e^x-720(xe^x- e^x)+C \\ \Rightarrow yx^4=x^6e^x-6x^5e^x+30x^4e^x-120x^3e^x+360x^2e^x-720xe^x+720 e^x+C

y=x6ex6x5ex+30x4ex120x3ex+360x2ex720xex+720ex+Cx4\Rightarrow y=\dfrac{x^6e^x-6x^5e^x+30x^4e^x-120x^3e^x+360x^2e^x-720xe^x+720 e^x+C}{x^4}

y=x2ex6xex+30ex120exx+360exx2720exx3+720exx4+Cx4\Rightarrow y=x^2e^x-6xe^x+30e^x-\dfrac{120e^x}{x}+\dfrac{360e^x}{x^2}-\dfrac{720e^x}{x^3}+\dfrac{720 e^x}{x^4}+\dfrac{C}{x^4}


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!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS