Q.Solve the following differential equation:
This is a first-order linear ODE solved using the integrating factor method. The general solution is .
Why This Approach Works
The equation is a first-order linear ordinary differential equation — it has the standard form . Here (constant) and .
The key insight: the left side looks almost like the derivative of a product. If we multiply both sides by a cleverly chosen function , the left side becomes exactly . That function is the integrating factor.
For , the integrating factor is .
Once we multiply through by , we can integrate both sides directly — no guesswork needed.
Step-by-Step Solution
1. Identify and compute the integrating factor.
Here , so:
2. Multiply the entire equation by .
Notice the left side is now exactly — check by differentiating: . Perfect.
3. Rewrite and integrate.
Integrate both sides with respect to :
4. Evaluate the integral .
This is a classic integration by parts (or use the formula for ). Let's do it cleanly.
›Proof
Let .
Use integration by parts: set , . Then , .
Now integrate similarly: , , giving , .
Substitute back:
Bring to the left:
Multiply both sides by :
So:
A faster route: the formula gives the same result instantly with , .
5. Solve for .
From step 3:
Divide through by (which is never zero):
A common mistake is forgetting the constant or misplacing the sign when integrating by parts. Always double-check the integration of — the signs in the formula are easy to flip.
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.