Linear differential equations (first order)
A first-order differential equation is called linear when the dependent variable and its derivative appear only to the first power, with no products like or terms like . Such an equation usually cannot be split into "-stuff on one side, -stuff on the other" the way a separable equation can. Instead, CBSE teaches a clever trick: multiply the whole equation by a special function called the integrating factor (IF), chosen precisely so that the left-hand side collapses into the derivative of a single product. Once that happens, the equation solves itself by direct integration. This is the third and last solving technique in the Class 12 Differential Equations chapter, after variables separable and homogeneous equations. The syllabus restricts you to two standard forms — linear in , or linear in — and one job: identify the form, build the IF, plug into a fixed formula, and integrate. Exact equations and Bernoulli's equation are outside this syllabus.
Multiplying by the integrating factor turns the left side into , so the whole equation integrates directly to give .
The core idea
Recognise the standard form. A first-order linear equation in looks like
where and are constants or functions of only — never of . If the equation you are given is not already written this way (coefficient of not equal to ), divide through first; reading off and from the un-simplified equation is the single most common source of error.
Build the integrating factor. The IF is defined as
where: is the coefficient function from the standard form and is computed without a constant of integration (any constant would cancel out later, so it is dropped by convention).
Read off the solution formula. Multiplying the standard equation by and integrating both sides gives the general solution directly:
where: is the arbitrary constant of integration, fixed by an initial condition if one is given.
Mind the mirror form. Some equations are more naturally linear in (treating as the dependent variable), with standard form , where are functions of only. The same machinery applies with and swapped: and . Deciding which variable the equation is linear in — before touching the formula — is the real skill being tested. A quick giveaway: if isolating leaves a coefficient or a right-hand side that still depends on , the equation is not linear in at all, and you should instead try writing it as and check whether come out depending only on .
Why this is different from the earlier two methods. Variables separable equations let you sort every -term to one side and every -term to the other before integrating; homogeneous equations use the substitution to reduce to a separable one. A linear equation of the form generally cannot be separated or reduced by at all — the and dependence are tangled together through the sum . The integrating factor is not a substitution that changes variables; it is a multiplier that reshapes the equation itself so that ordinary integration becomes possible, which is why it is introduced as a genuinely new technique rather than a variant of the first two.
The goal is to show, from the product rule alone, that multiplying by turns the left-hand side into the exact derivative , which is the entire reason the method works and the fact every student is expected to justify, not just apply.
Step 1. Multiply the standard equation throughout by . This gives . Nothing has been solved yet — this is just a relabelling of the same equation with every term scaled by the same function of .
Step 2. Differentiate itself using the chain rule. Since , , because the derivative of with respect to is simply by the fundamental theorem of calculus.
Step 3. Now apply the product rule to : . Compare this term by term with the left-hand side obtained in Step 1 — they are identical, so exactly.
Step 4. Substitute this back into the multiplied equation from Step 1: the left side becomes , so the whole equation reads . Integrating both sides with respect to removes the derivative on the left and leaves , the general solution formula, now shown to follow from nothing more than the product rule and the definition of .
Worked example
Solve , for .
Step 1. Identify the standard form. The equation already matches with and ; no rearrangement is needed since the coefficient of is already .
Step 2. Compute the integrating factor: (since , no absolute value is needed).
Step 3. Apply the solution formula: .
Step 4. Solve for : . Checking by differentiating confirms , which matches the original equation.
Competitive stretch
If the same equation instead carried an initial condition when , you would substitute directly into the general solution rather than re-deriving anything: , giving the particular solution . This is the standard "general solution first, then plug in the condition" pattern examiners expect — never try to build the condition into the integrating factor itself.
Common traps
- Reading off and before reducing to standard form. If the coefficient of is not , dividing through is compulsory first; skipping this step gives a wrong integrating factor.
- Choosing the wrong variable to be linear in. An equation linear in (form ) forced into the -form produces a non-linear mess this method cannot solve.
- Mishandling and the exponent-log simplification. This integral is , so in general; the absolute value is dropped only once a domain restriction like is stated.
- Applying the initial condition to the original equation instead of the integrated one. must come from , never from directly.
Ask the tutor: if computing or simplifying feels like the tricky part, ask your AI tutor to walk through it step by step for your specific equation.
Why does the integrating factor have no plus C in its own exponent?
Because any constant added inside would appear as a multiplying factor on both sides of , and dividing it out leaves the same relationship between and . It changes nothing about the final solution, so by convention the constant is simply dropped when computing for the integrating factor, keeping the algebra as clean as possible.
How do I tell whether an equation is linear in y or linear in x?
Look at where the derivative sits and what it is being divided or multiplied by. If you can isolate and the rest of the equation involves only (and to the first power, unmultiplied by any -function times 's own derivative in a nonlinear way), it is linear in . If instead isolates cleanly with coefficients depending only on , treat as the dependent variable instead. Try the -form first since it is more common in the syllabus; if or end up depending on , switch to the -form.
What happens if I forget the constant of integration C?
You lose the general solution and get only one member of an entire family of solutions — usually not the one the question wants. Since first-order equations always produce one arbitrary constant, must appear in and stay until either the question asks only for the general solution (leave it as ) or gives an initial condition (solve for its specific numeric value).