bsodmike
- 82
- 0
Homework Statement
Going through a book on Numerical Methods, it states,
y' = 4e^{0.8x}-0.5y
has the analytical solution,
y= \dfrac{4}{1.3}(e^{0.8x}-e^{-0.5x})+2e^{-0.5x}
Homework Equations
This is of the form,
y'+p(x)y=q(x)
Should I use an Integrating Factor to solve the Linear ODE?, i.e. use an integrating factor \mu(x)=e^{\int{p(x)dx}}
\mu(x)\left[y'+p(x)y\right]=\mu(x)q(x)
\left(\mu(x)y\right)'=\mu(x)q(x)
\mu(x)y=\int{\mu(x)q(x)dx+C}
...and divide through by \mu(x) ?
The Attempt at a Solution
\mu(x)=e^{\int{p(x)dx}}=e^{0.5x}
thus,
e^{0.5x}y=4\int{e^{0.8x}e^{0.5x}dx+C}
and it is given: y(0) = 2
Any pointers? Dick, your help would be much appreciated once again!
Thanks and happy new year to all as well,
Cheers
Mike
Last edited: