Question
Solve the differential equation .
Solution — Step by Step
This is a linear first-order ODE: with and .
Multiplying both sides by :
The left side is the derivative of :
Integrate both sides:
Final answer: .
Why This Works
The integrating factor trick converts a linear first-order ODE into something we can integrate directly. After multiplying by , the left side becomes the exact derivative of times the integrating factor. Then a single integration gives the solution.
This method works for any linear first-order ODE of the form above. The art lies in spotting that the equation is linear and identifying and correctly.
Alternative Method
Find the homogeneous solution by solving : . Then guess a particular solution of the form (matching the right side). Substituting: , so . General solution: . Same answer.
This method (homogeneous + particular) is what we use for higher-order linear ODEs in JEE Advanced.
Edge case: if the equation is alone, the answer is . Students sometimes write — wrong, because should multiply, not add.
Common Mistake
Forgetting to multiply by the integrating factor before integrating. The correct integrand is IF , not just . Always multiply both sides by the IF before stepping into the integral.