Solve the initial value probelm of y'-y=e^x, y(1)=0
The integrating factor is e−∫dx=e−xMultiply the given differential equation by e−x ⟹ e−xy′−e−xy=e−xex∫d(e−xy)=∫1dxe−xy=x+cy=xex+cexRecall that y(1)=0 ⟹ 0=e1+ce1Therefore c = -1, hence the general solution is y=xex−ex\text{The integrating factor is } e^{-\int dx}=e^{-x}\\\text{Multiply the given differential equation by } e^{-x} \\\implies e^{-x}y'-e^{-x}y=e^{-x}e^x\\\int d(e^{-x}y)=\int1dx\\e^{-x}y=x+c\\y=xe^x+ce^{x}\\\text{Recall that y(1)=0}\\\implies0=e^1 +ce^1\\\text{Therefore c = -1, hence the general solution is }y =xe^x-e^xThe integrating factor is e−∫dx=e−xMultiply the given differential equation by e−x⟹e−xy′−e−xy=e−xex∫d(e−xy)=∫1dxe−xy=x+cy=xex+cexRecall that y(1)=0⟹0=e1+ce1Therefore c = -1, hence the general solution is y=xex−ex
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments