Questions tagged [integrating-factor]

For questions about integrating factors in general as well as their application to solving ODEs.

Integrating factors are commonly used to solve ordinary differential equations, oftentimes first order linear ODEs, though their use is not strictly limited to this class of problems. In the case of a first order linear ODE, $$\frac{dy}{dx} +p(x)y =q(x),\tag{1}$$ an integrating factor can be obtained as follows. Let $\mu(x)$ be a differentiable function to be determined later and multiply $(1)$ by $\mu(x)$: $$\mu(x)\frac{dy}{dx} + \mu(x)p(x)y = \mu(x)q(x).\tag{2}$$ Observe that $$\frac{d}{dx}\left(\mu(x)y\right) = \mu(x)\frac{dy}{dx} + \frac{d\mu}{dx}y.\tag{3}$$ By noting the similarity in the LHS of $(2)$ and the RHS of $(3)$ we choose $\mu(x)$ to solve $$\frac{d\mu}{dx} = \mu(x)p(x),$$ that is $$\mu(x) = e^{\int_{s_{0}}^{x}p(s)\,ds}.$$ This $\mu$ is then our integrating factor, and we can rewrite $(2)$ as $$\frac{d}{dx}\left(y e^{\int_{s_{0}}^{x}p(s)\,ds}\right) = q(x)e^{\int_{s_{0}}^{x}p(s)\,ds}.$$

144 questions
4
votes
1 answer

Trotter factorization

While reading a paper on the simulation of an exciton in potassium chloride using effective mass path integrals, a partition function is given as so, $Z = ∫ dr_1⟨r_1∣e^{−βH}∣r_1⟩$ in which a symmetric trotter factorization is applied to the…
user827658
1
vote
2 answers

Integrating Factors Help

Studying for a test and I am a bit confused with this problem. $$y'+\frac y{(2xy-e^{-2y})}=0$$ It says that you can rewrite it as the following: $${(2xy-e^{-2x})}dy+ydx=0$$ I understand that you multiply both sides by the denominator but I am…
0
votes
1 answer

Linear equation integrating factor method

I want to ask simple questions. $$ dy/dx + p(x)y=q(x)$$ In courses, I see always $$p(x)y$$ but what if $$ p(x)y^2$$ or $$p(x)y^3$$ or more ? It doesn't change anything I guess but I want to ask anyway. I mean what if $$ dx/dx + y^3=5x$$ will p(x) =…