Question
Solve the differential equation:
(NCERT Class 12, Exercise 9.6)
Solution — Step by Step
This is of the form , where and .
This is a linear first-order differential equation, so we use the integrating factor method.
The integrating factor is .
Multiply through by :
The left side is the derivative of (that’s exactly why the IF works):
Integrate both sides:
where is an arbitrary constant.
Why This Works
The integrating factor method converts a non-exact equation into an exact one. When we multiply by , the left side magically becomes the derivative of a product — . This lets us integrate both sides directly.
Why does do the trick? Because , which is exactly the left side of our equation multiplied by the IF. The product rule gives us this for free.
Alternative Method — Complementary Function + Particular Integral
For those familiar with the CF + PI approach (common in JEE):
CF: Solve , which gives .
PI: For , try . Substituting: , so , giving .
General solution: . Same answer.
The CF + PI method is faster when is a standard form (, , polynomial). For CBSE boards, stick with the IF method — it’s what the marking scheme expects. For JEE, knowing both approaches saves time on different question types.
Common Mistake
Students often forget to divide by the IF at the end. After integrating, you have . The final answer is , not . Always isolate — leaving the IF attached to in your final answer will cost you marks.