How Does the Integrating Factor Simplify Differential Equations?

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
1 reply · 2K views
nick.martinez
Messages
51
Reaction score
0
im in calculus 2 right now and we are doing differential equaitons right now. I am confused as to why when i find the integrating factor I(x)=e^(∫p(x) and when i multiply both sides i get
e^∫(p(x))[(dy/dx)+p(x)*y]=d(e^(p(x)dx)*y) how are they equal. i will give an example.

(dy/dx)+y=x*e^(x) the integrating factor is e^(∫dx)=e^(x) then i multiply both sides by
e^(x) which gives

e^(x)*[(dy/dx)+y]=e^(x)*[x*e^(x)]

which is equal to:

d[e^(x)*y]/dx=e^(x)*x; basically my question is how do you get here? how does e^(x)*dy/dx just disappear after i multiply the integrating factor to both sides?

please help with what happens after this step: e^(x)*[(dy/dx)+y]=e^(x)*[x*e^(x)]
 
Physics news on Phys.org
Lets see... your example is: ##\renewcommand{\dyx}[1]{\frac{d #1}{dx}}##

$$\dyx{y}+y=xe^{x}$$ - integrating factor is: ##e^{\int dx}=e^x##
multiplying both sides by the integrating factor gives you:

$$e^x\left [ \dyx{y}+y \right ] = e^x\left [ xe^x \right ]$$ ... to from there to the end result - you must first multiply out the brackets.

But you can see that the two expressions are the same by doing the differentiation on the LHS:

$$\dyx{} [e^x y]$$

This is how you choose the integrating factor - you have to notice that this relation will work.
http://tutorial.math.lamar.edu/Classes/DE/Linear.aspx