How to solve linear differential equations in Class 12 Maths?
$ \frac{d y}{d x}+P(x) y=Q(x)$
To solve it:
1. Find the integrating factor (IF):
$ I F=e^{\int P(x) d x} $
2. Multiply the equation by IF.
3. Integrate both sides to get the general solution.