Question
Solve the linear differential equation
with initial condition .
Solution — Step by Step
This is a linear first-order ODE: with , .
Integrating factor: .
Multiplying by : . Left side equals .
So .
.
Final answer: .
Why This Works
The integrating factor turns a linear ODE into an exact derivative. Once we recognise as the product whose derivative we want, integration is mechanical.
The structure is engineered so that . That’s why the trick always works for linear ODEs.
Alternative Method
Recognise the homogeneous equation has solution . Look for a particular solution . Substituting: , so , giving . Total: . Same answer via the homogeneous + particular method.
For JEE Main, recognise the linear-ODE pattern fast: it’s plus a function-of- times equals another function of . If the equation isn’t in this form, manipulate until it is.
Common Mistake
Forgetting the constant of integration when integrating the integrating factor. Always include — it carries the initial condition. Skipping loses you 2 marks even if the rest is right.