Q.Solve the following differential equation:
This is a first-order linear ODE solved using the integrating factor method. The general solution is , where is an arbitrary constant.
The equation is a classic first-order linear ordinary differential equation. It fits the standard form , where and .
The key insight: we cannot directly integrate because and its derivative are mixed. But we can multiply both sides by a cleverly chosen function — the integrating factor — that turns the left-hand side into the derivative of a product. This makes the equation integrable in one step.
Let’s work through it.
- Find the integrating factor. For , the integrating factor is . Here , so . Thus
- Multiply the entire equation by .
Notice the left side is exactly because the derivative of is (product rule). So we have:
- Integrate both sides with respect to .
where is the constant of integration.
- Solve for . Divide through by :
The integrating factor method always works for first-order linear ODEs. If you ever forget the formula, just remember: multiply by so the left side becomes a perfect derivative.
A common mistake is forgetting the constant of integration or misplacing the sign when integrating . Double-check: , not or something else.
The solution is a sum of two parts: the particular solution (which matches the forcing term’s form) and the complementary solution (which solves the homogeneous equation ). The constant will be fixed if an initial condition is given.
The general solution is .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.