Solving a DE: Variation of Parameters & Integration Issues

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
Lancelot59
Messages
640
Reaction score
1
I've picked up a bit more since my last problem. I need to solve the following DE:
[tex]x^{2}\frac{dy}{dx}+x(x+2)y=e^{x}[/tex]

I decided to use variation of parameters, so I re-arranged it like so:
[tex]\frac{dy}{dx}=\frac{e^{x}}{x^{2}}-(1+\frac{2}{x})y[/tex]

Then solved the homogenous DE:
[tex]\frac{dy}{dx}=-(1+\frac{2}{x})y[/tex]
[tex]y=e^{-x}x^{-2}c[/tex]

Now for the particular solution:
[tex]y_{p}=u(x)e^{-x}x^{-2}c<br /> [tex]\frac{dy}{dx}=u'(x)e^{-x}x^{-2}-u(x)e^{-x}x^{-2}-2u'(x)e^{-x}x^{-2}[/tex]<br /> <br /> When I shoved this back in I wound up with this for u'(t):<br /> [tex]u'(x)=e^{x}x^{-2}[/tex]<br /> <br /> It seems...a bit strange. Did I mess up somewhere? It's a bit hard to integrate. I've gone over this several times already.[/tex]
 
Last edited:
on Phys.org
u(t) is the unknown function, that when multiplied by the solution to the homogenous equation, gives you a particular solution to the DE. I forgot to put in the step where I set that part up. It should also be u(x). I'll try going over the algebra again.