Derivation of the Integrating Factor
\[ \frac{1}{\mu} \frac{d\mu}{dt} = p(t) \]
integrate with respect to \(t\)
\[ \int \frac{1}{\mu} \underbrace{\frac{d\mu}{dt} \, dt}_{d\mu} = \int p(t) \, dt \]
\[ \int \frac{1}{\mu} \, d\mu = \int p(t) \, dt \]
\[ \ln |\mu| = \int p(t) \, dt + c \]
\[ |\mu| = e^{\int p(t) \, dt + c} = \underbrace{e^c}_{\substack{\text{constant because } e \text{ and } c \\
\text{are constants}}} \cdot e^{\int p(t) \, dt} \]
\[ \mu = \underbrace{\pm e^c}_{\text{constant, call it } \text{"c"}} \cdot e^{\int p(t) \, dt} \]
\[ \mu(t) = C e^{\int p(t) \, dt} \]
ANY C
would work, so for simplicity we choose \(
C = 1 \)
Explanation: The integrating factor \(\mu(t)\) is used to
multiply the entire linear first-order differential equation. Choosing \(C = 1\) is the simplest non-zero choice,
avoiding unnecessary scalar constants across all terms.