Skip to content
MathsISC Class 12 · Differential Equations

Linear Differential Equations: Integrating Factor Method

Updated 15 October 2026 · Fact-checked

A linear differential equation has the form dy/dx + Py = Q, where P and Q are functions of x only. Multiply by the integrating factor IF = e^(∫P dx); the left side becomes d/dx(y × IF), so y × IF = ∫Q × IF dx + C. If x and y swap roles, use dx/dy + Px = Q.

Follow the arrows: write dy/dx + Py = Q, find and simplify the IF, then integrate; if y is not linear, try the dx/dy form.

Illustration drawn for QuestionBuddy.

Understand Linear Differential Equations

Recognising the form. A first-order differential equation is **linear in ** if it can be written as

with and appearing only to the first power and not multiplied together, and , depending on alone (they may be constants). Examples: , . To bring an equation to this form, divide by the coefficient of .

The integrating factor. Multiply the whole equation by . Because , the left side is exactly the derivative of a product:

Integrating,

That is the whole method. No constant is needed inside the integrating factor.

Simplify the integrating factor. Often is a logarithm, and :

  • : .
  • (in the -form): .
  • : .

The ISC 2025 examiners specifically noted candidates who did not simplify integrating factors of the type .

**The other form: .** Some equations are not linear in but are linear in when is treated as the independent variable. ISC 2025 set . As written it is neither separable nor linear in ; but flipping gives , that is , linear in with , . Then and . The examiners reported candidates who tried the homogeneous method on it and failed: identify the type first.

Particular solutions. If a condition is given, substitute it into the general solution to find , and write the final answer. The examiners in 2025 again noted candidates who stopped at the general solution.

Why linear equations matter. Many real processes are linear: a tank with brine flowing in and out, a body falling with air resistance proportional to speed, a capacitor charging through a resistor, money in an account with steady deposits. In each, the rate of change equals a constant input minus something proportional to the current amount, , which settles towards the steady value .

Linear Differential Equations: formulas to remember

Linear in y
Make the coefficient of dy/dx equal to 1 first.
Integrating factor
Simplify e^{log f} = f.
Solution
One constant C, added after integrating.
Linear in x
P, Q functions of y.
Common integrating factors
For x > 0 and suitable intervals.
Steady-state model
Constant k and Q; y approaches Q/k.

How to solve Linear Differential Equations questions

Follow these steps; each usually carries a mark in a 5- or 6-mark question.

  1. 1Identify the type. If and appear only to the first power, aim for . If that fails, try .
  2. 2Divide through so the coefficient of the derivative is 1, and write and clearly.
  3. 3Find and simplify any to .
  4. 4Write the solution formula: .
  5. 5Evaluate the integral (often by parts or substitution).
  6. 6Solve for (or ) to get the general solution.
  7. 7If a condition is given, substitute it to find and write the particular solution.

Linear Differential Equations in real life

Each concept, met in an everyday situation. Read the situation, try the problem, then check the solution. The one-line hook is what to remember.

Linear equation for steady deposits

Suppose a savings account grows continuously at 5% a year on its balance, and the owner also pays in money continuously at Rs 1000 a year. The balance (in rupees) after years satisfies , starting from .

Find as a function of and the balance after 10 years.

Try it first, then show the solutionSolution
  1. Write it as . , so .
  2. .
  3. . From : , so .
  4. At : .

Answer: ; after 10 years the balance is about Rs 12 974.

Memory hook: Growth plus steady input: a linear equation, solved with IF = e^{−0.05t}.

Linear equation for charging

Imagine a capacitor in a simple circuit whose charge (in suitable units) after seconds satisfies , with at .

Find , the charge after 2 seconds, and the final charge.

Try it first, then show the solutionSolution
  1. . Then .
  2. ; gives , so .
  3. At : . As , .

Answer: ; about 3.79 units after 2 s, approaching 6 units.

Memory hook: Input minus leak: the amount climbs towards Q/k and never overshoots.

Tricks to remember Linear Differential Equations

Short memory aids. Say each one aloud once, then use it on a question the same day.

  • IF = e to the integral of P

    "If you see P, raise e to its integral."

    Use it when: Writing the integrating factor.

  • y times IF equals integral of Q times IF

    Multiply y by IF on the left; multiply Q by IF inside the integral on the right.

    Use it when: The solution formula.

  • e and log cancel

    e^{log f} = f: e^{2 log x} = x², e^{−log y} = 1/y.

    Use it when: Simplifying the IF, as the 2025 examiners asked.

  • Stuck? Flip it

    If the equation has y² or worse with dy/dx, try dx/dy; it may be linear in x.

    Use it when: Equations like (x + 5y²) dy/dx = y.

Linear Differential Equations: solved examples

Ordered from board level to HOTS. Try each one before you open the solution.

Example 1: An integrating factor · 1 mark · MCQBoard level

The integrating factor of () is:
(a)
(b)
(c)
(d)

Try it first, then show the solutionSolution
  1. .

Answer: (b) .

Example 2: Constant P · 3 marks · Short answerBoard level

Solve .

Try it first, then show the solutionSolution
  1. , , . (1 mark)
  2. . (1 mark)
  3. . (1 mark)

Answer: .

Example 3: A particular solution with IF = x² · 5 marks · Long answerHarder board level

Solve (), given when .

Try it first, then show the solutionSolution
  1. Divide by : . , . (1 mark)
  2. . (1 mark)
  3. . (1 mark)
  4. . At : , so . (1 mark)
  5. Particular solution: . (1 mark)

Answer: .

Example 4: Trigonometric P · 3 marks · Short answerHarder board level

Solve , for .

Try it first, then show the solutionSolution
  1. (as ). (1 mark)
  2. . (1 mark)
  3. . (1 mark)

Answer: .

Example 5: Linear in x · 5 marks · Long answerHarder board level

Solve (), given when .

Try it first, then show the solutionSolution
  1. Flip: , so : linear in . (1 mark)
  2. , . (1 mark)
  3. . (1 mark)
  4. At , : , so . (1 mark)
  5. , that is . (1 mark)

Answer: . (ISC 2025 set the same type with .)

Example 6: A brine tank · 5 marks · Case-basedHOTS / competency

Suppose a tank holds 100 litres of water in which 10 kg of salt is dissolved. Brine containing 0.5 kg of salt per litre flows in at 4 litres per minute, and the well-mixed solution flows out at the same rate.
(i) Show that the amount of salt kg after minutes satisfies . (1 mark)
(ii) Solve for . (2 marks)
(iii) Find the amount after 25 minutes. (1 mark)
(iv) What amount does the tank approach in the long run? (1 mark)

Try it first, then show the solutionSolution
  1. (i) Salt in: kg/min. Salt out: kg/min. So .
  2. (ii) ; , so . gives : .
  3. (iii) kg.
  4. (iv) As , kg (the concentration of the incoming brine times the volume).

Answer: ; about 35.28 kg after 25 minutes; approaching 50 kg.

Where students lose marks in Linear Differential Equations

The slips examiners see most often, and what to write instead.

  • Mistake: Using the homogeneous method on a linear equation

    The ISC 2025 examiners reported candidates who tried y = vx on (x + 5y²) dy/dx = y.

    Do this: Identify the type first: if it is not of degree zero in y/x, test whether dy/dx or dx/dy gives a linear form.

    Usually costs: The whole 6-mark question.

  • Mistake: Not simplifying the integrating factor

    Leaving IF = e^{2 log x} or e^{−log y} makes the integral look impossible.

    Wrong working

    , so .

    Right working

    , so .

    Do this: Always use e^{log f} = f immediately.

    Usually costs: 2 to 3 marks.

  • Mistake: Forgetting to divide by the coefficient of dy/dx

    P and Q must be read from the standard form with coefficient 1.

    Do this: Write the standard form on its own line before naming P and Q.

    Usually costs: The integrating factor and everything after it.

  • Mistake: Missing the particular solution

    The examiners noted candidates who did not use the given condition.

    Do this: If x and y values are given, find C and write the final equation.

    Usually costs: 1 to 2 marks.

Exam tips

  • Name the form explicitly: "this is linear of the form ".
  • State , and the integrating factor on separate lines; each is a marking point.
  • Write the general solution formula before substituting, so a slip in integration still earns method marks.
  • Use by-parts results you know (for example ) without re-deriving if time is short.
  • Check your answer by substituting it into the original equation, at least mentally.

Practice questions on Linear Differential Equations

Write each answer on paper first. Open the hint only if you are stuck, and the answer only when you have finished.

  1. Q1 · 1 mark · MCQBoard level

    The integrating factor of () is:
    (a)
    (b)
    (c)
    (d)

    Hint

    .

    Answer

    (b) .

  2. Q2 · 3 marks · Short answerBoard level

    Solve .

    Hint

    ; integrate by parts.

    Answer

    , so .

  3. Q3 · 3 marks · Short answerHarder board level

    Solve .

    Hint

    The left side is already .

    Answer

    , . , so .

  4. Q4 · 3 marks · Short answerHarder board level

    Solve .

    Hint

    Use .

    Answer

    , so .

  5. Q5 · 1 mark · Assertion-reasonHarder board level

    Assertion (A): is a linear differential equation.
    Reason (R): Its integrating factor is (for ).
    (a) Both true, R explains A. (b) Both true, R does not explain A. (c) A true, R false. (d) A false, R true.

    Hint

    What makes an equation linear?

    Answer

    (b). Both are true, but the equation is linear because and appear to the first power with coefficients in ; the integrating factor does not explain that.

  6. Q6 · 3 marks · Short answerHOTS / competency

    Solve ().

    Hint

    , so .

    Answer

    (by parts). So .

  7. Q7 · 4 marks · Case-basedHOTS / competency

    Case study: Suppose a parachutist falls from rest, and with the parachute open her velocity (m/s) satisfies .
    (i) Find the integrating factor. (1 mark)
    (ii) Find . (1 mark)
    (iii) Find her velocity after 2 seconds. (1 mark)
    (iv) What velocity does she approach? (1 mark)

    Hint

    .

    Answer

    (i) . (ii) , : . (iii) m/s. (iv) 19.6 m/s, the terminal velocity.

Test your recall

Answer in your head or on paper first, then open the card. Pulling an answer out of memory makes it stick far better than re-reading.

  1. 1.Write the standard form of a linear equation in .Show answer

    , with , functions of .

  2. 2.What is the integrating factor?Show answer

    .

  3. 3.Find the IF of .Show answer

    .

  4. 4.Write the solution formula.Show answer

    .

  5. 5.When should you use ?Show answer

    When the equation is linear in (with as the independent variable) but not in .

  6. 6.What value does approach if ?Show answer

    5.

Linear Differential Equations: frequently asked questions

How do I recognise a linear differential equation?

After dividing by the coefficient of dy/dx, it should read dy/dx + Py = Q, where P and Q depend on x only. y and dy/dx must appear only to the first power and not multiplied together.

Why does the integrating factor work?

Multiplying by e^(∫P dx) turns the left side into the derivative of y times that factor, by the product rule. The equation can then be integrated in one step.

What if the equation is not linear in y?

Try treating x as the dependent variable. If it can be written as dx/dy + Px = Q, with P and Q functions of y, it is linear in x and the same method works with integrals in y.

Do I need a constant in the integrating factor?

No. Any constant multiple of the integrating factor works, so the constant of integration inside it can be ignored. Only one constant C is needed, in the final solution.

Are linear differential equations in the ISC 2027 syllabus?

Yes. The CISCE 2027 syllabus includes linear differential equations of both forms, dy/dx + Py = Q and dx/dy + Px = Q, and a 6-mark question in ISC 2025 used the second form.