Question #66150

Solve the equation x^2×d^2y/dx^2+x×dy/dx +y = x^m , for all positive integer values of m.

Expert's answer

Answer on Question #66150 – Math – Differential Equations

Question

Solve the equation


x2d2ydx2+xdydx+y=xmx ^ {2} \frac {d ^ {2} y}{d x ^ {2}} + x \frac {d y}{d x} + y = x ^ {m}


for all positive integer values of mm .

Solution

We have the differential equation (DE)


x2d2ydx2+xdydx+y=xmx ^ {2} \frac {d ^ {2} y}{d x ^ {2}} + x \frac {d y}{d x} + y = x ^ {m}


This is the Euler equation. Change the variable xx by tt :


x=et,t=lnx,(x>0)x = e ^ {t}, \quad t = \ln x, \quad (x > 0)


Express the derivatives with respect to xx in terms of the derivatives with respect to tt :


ddx=ddtdtdx=dlnxdxddt=1xddt=etddt\frac {d}{d x} = \frac {d}{d t} \frac {d t}{d x} = \frac {d \ln x}{d x} \frac {d}{d t} = \frac {1}{x} \frac {d}{d t} = e ^ {- t} \frac {d}{d t}d2dx2=ddx(ddx)=etddt(etddt)=e2td2dt2e2tddt\frac {d ^ {2}}{d x ^ {2}} = \frac {d}{d x} \left(\frac {d}{d x}\right) = e ^ {- t} \frac {d}{d t} \left(e ^ {- t} \frac {d}{d t}\right) = e ^ {- 2 t} \frac {d ^ {2}}{d t ^ {2}} - e ^ {- 2 t} \frac {d}{d t}


Substituting in the equation we get


e2t(e2td2ydt2e2tdydt)+etetdydt+y=emte ^ {2 t} \left(e ^ {- 2 t} \frac {d ^ {2} y}{d t ^ {2}} - e ^ {- 2 t} \frac {d y}{d t}\right) + e ^ {t} e ^ {- t} \frac {d y}{d t} + y = e ^ {m t}d2ydt2+y=emt(1)\frac {d ^ {2} y}{d t ^ {2}} + y = e ^ {m t} \quad (1)


To solve a nonhomogeneous linear differential equation (1) we must do the following steps:

1) find the complementary function ycy_{c} that is the general solution of the associated homogeneous DE


d2ydt2+y=0\frac {d ^ {2} y}{d t ^ {2}} + y = 0


2) find any particular solution ypy_{p} of the nonhomogeneous equation


d2ydt2+y=emt\frac {d ^ {2} y}{d t ^ {2}} + y = e ^ {m t}


The solution of the associated homogeneous DE is


yc=C1cost+C2sint,y _ {c} = C _ {1} \cos t + C _ {2} \sin t,


where C1C_1 and C2C_2 are arbitrary real constants.

Assume for the particular solution


yp=Aemty _ {p} = A e ^ {m t}


Substituting ypy_{p} into the given differential equation (1), we get


d2ydt2+y=Am2emt+Aemt=emt,\frac {d ^ {2} y}{d t ^ {2}} + y = A m ^ {2} e ^ {m t} + A e ^ {m t} = e ^ {m t},


that is,


Am2+A=1,A m ^ {2} + A = 1,


hence


A=1m2+1.A = \frac {1}{m ^ {2} + 1}.


Then


yp=1m2+1emt.y _ {p} = \frac {1}{m ^ {2} + 1} e ^ {m t}.


The general solution of the nonhomogeneous equation is


y=C1cost+C2sint+1m2+1emty = C _ {1} \cos t + C _ {2} \sin t + \frac {1}{m ^ {2} + 1} e ^ {m t}


Substituting t=lnxt = \ln x we get


y=C1cos(lnx)+C2sin(lnx)+1m2+1xmy = C _ {1} \cos (\ln x) + C _ {2} \sin (\ln x) + \frac {1}{m ^ {2} + 1} x ^ {m}


Answer:


y=C1cos(lnx)+C2sin(lnx)+1m2+1xmy = C _ {1} \cos (\ln x) + C _ {2} \sin (\ln x) + \frac {1}{m ^ {2} + 1} x ^ {m}


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