Linear equation
\[\frac{dy}{dx}+Py=Q:\quad \text{IF}=e^{\int P\,dx},\quad y\,\text{IF}=\int Q\,\text{IF}\,dx+C\]
Differential Equations
A first-order linear equation has the form \(\frac{dy}{dx}+P(x)\,y=Q(x)\). Multiply by the integrating factor \(\text{IF}=e^{\int P\,dx}\); the left side becomes \(\frac{d}{dx}(y\cdot\text{IF})\), so
\[y\cdot\text{IF}=\int Q\cdot\text{IF}\,dx+C.\]
Example: \(\frac{dy}{dx}+\frac yx=x^2\) (\(x>0\)). \(\text{IF}=e^{\int\frac1x dx}=x\). Then \(xy=\int x^3dx=\frac{x^4}4+C\).
Similarly \(\frac{dx}{dy}+P_1(y)\,x=Q_1(y)\) is linear in \(x\): \(\text{IF}=e^{\int P_1dy}\) and \(x\cdot\text{IF}=\int Q_1\cdot\text{IF}\,dy+C\).
\[\frac{dy}{dx}+Py=Q:\quad \text{IF}=e^{\int P\,dx},\quad y\,\text{IF}=\int Q\,\text{IF}\,dx+C\]
For \(x\frac{dy}{dx}+2y=x^2\), divide by \(x\) first: \(P=\frac2x\), \(\text{IF}=x^2\) – not \(e^{\int2\,dx}\).
Solve \(\frac{dy}{dx}+y=e^{x}\).
\(\text{IF}=e^x\). \(ye^x=\int e^{2x}dx=\frac{e^{2x}}2+C\Rightarrow y=\frac{e^x}2+Ce^{-x}\).
A fresh set of questions from this topic. Change answers freely – solutions appear after you submit.
Start PracticeStandard form → integrating factor → integrate Q·IF → divide by IF if y is wanted explicitly.
Create a free account to take practice sessions and tests, see detailed explanations and track your progress.