Linear first-order differential equations: Class 12 practice
dy/dx + Py = Q is solved with the integrating factor IF = e^(∫P dx): y × IF = ∫Q × IF dx + C.. The quick answer and an example come first; then the method, worked examples and six graded questions.
Linear first-order differential equations: quick answer
dy/dx + Py = Q is solved with the integrating factor IF = e^(∫P dx): y × IF = ∫Q × IF dx + C.
Example: Solve dy/dx + 1y = 9 with y(0) = -4. Answer: y = 9 − 13e^(−1x).
- Where it is taught: Chapter 9 of the NCERT Class 12 Maths book.
- On this page: the method, 3 worked examples and 6 graded questions with a full answer key.
How to use this page (about 30 minutes)
- Read the method once, then cover the worked examples and try them yourself before reading the steps.
- Do the two Basic questions without notes. If either is wrong, re-read the matching worked example.
- Do the Standard and Challenge questions, then check every line of working against the answer key — not only the final answer.
- Write down the mistake behind each wrong answer and redo that question the next day.
What you should know first
- Integration
The idea behind linear first-order differential equations
dy/dx + Py = Q is solved with the integrating factor IF = e^(∫P dx): y × IF = ∫Q × IF dx + C.
Step-by-step method
- Identify P and Q.
- IF = e^(∫P dx).
- y·IF = ∫Q·IF dx + C; use any initial condition.
Worked example 1 (Basic)
Solve dy/dx + 1y = 9 with y(0) = -4.
- IF = e^(1x)
- y e^(1x) = (9/1) e^(1x) + C
- C = -13
- y = 9 − 13e^(−1x)
- Answer: y = 9 − 13e^(−1x)
Worked example 2 (Standard)
Solve dy/dx + 1y = 4 with y(0) = -4.
- IF = e^(1x)
- y e^(1x) = (4/1) e^(1x) + C
- C = -8
- y = 4 − 8e^(−1x)
- Answer: y = 4 − 8e^(−1x)
Worked example 3 (Challenge)
Solve dy/dx + 3y = 6 with y(0) = -2.
- IF = e^(3x)
- y e^(3x) = (6/3) e^(3x) + C
- C = -4
- y = 2 − 4e^(−3x)
- Answer: y = 2 − 4e^(−3x)
Common mistakes and misconceptions
- Wrong sign of P
- Forgetting C
Practice questions
- (Basic) Solve dy/dx + 3y = 4 with y(0) = 1.
- (Basic) Solve dy/dx + 1y = 4 with y(0) = 5.
- (Standard) Solve dy/dx + 3y = 3 with y(0) = 3.
- (Standard) Solve dy/dx + 4y = 9 with y(0) = 0.
- (Challenge) Solve dy/dx + 1y = 9 with y(0) = -1.
- (Challenge) Solve dy/dx + 3y = 3 with y(0) = 4.
Answer key with full working
- Q1: IF = e^(3x) → y e^(3x) = (4/3) e^(3x) + C → C = -0.33 → y = 4/3 − 0.33e^(−3x) → Answer: y = 4/3 − 0.33e^(−3x)
- Q2: IF = e^(1x) → y e^(1x) = (4/1) e^(1x) + C → C = 1 → y = 4 + 1e^(−1x) → Answer: y = 4 + 1e^(−1x)
- Q3: IF = e^(3x) → y e^(3x) = (3/3) e^(3x) + C → C = 2 → y = 1 + 2e^(−3x) → Answer: y = 1 + 2e^(−3x)
- Q4: IF = e^(4x) → y e^(4x) = (9/4) e^(4x) + C → C = -2.25 → y = 9/4 − 2.25e^(−4x) → Answer: y = 9/4 − 2.25e^(−4x)
- Q5: IF = e^(1x) → y e^(1x) = (9/1) e^(1x) + C → C = -10 → y = 9 − 10e^(−1x) → Answer: y = 9 − 10e^(−1x)
- Q6: IF = e^(3x) → y e^(3x) = (3/3) e^(3x) + C → C = 3 → y = 1 + 3e^(−3x) → Answer: y = 1 + 3e^(−3x)
Which textbook this practice follows
In the NCERT Class 12 Maths book used in the 2026-27 session, this is Chapter 9, "Differential Equations". ICSE/ISC and state-board books keep their own chapter lists, so check your own book's contents page.
Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.
Still stuck after the answer key?
If the same step in linear first-order differential equations keeps going wrong, a short live 1 on 1 class can find the exact gap. The first demo class is free; send the class, board and chapter on WhatsApp (+91 9379416374).
Related practice and notes
More Class 12 Maths practice
Continue with this syllabus
Frequently asked questions
Which chapter is linear first-order differential equations in?
In the NCERT Class 12 Maths book used in the 2026-27 session, this is Chapter 9, "Differential Equations". ICSE/ISC and state-board books keep their own chapter lists, so check your own book's contents page.
Which question should I start with?
Start with the Basic questions. Move to Standard only when both Basic answers match the key with the same working; the Challenge questions combine this skill with earlier ones.
How were the answers checked?
Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.
Is this only for CBSE?
The skill names follow NCERT/CBSE, but the method is the same for ICSE, state boards, IGCSE and IB. Only the chapter name and order differ.
Can I get live help with this topic?
Yes. RG's E-Learning teaches live 1 on 1 online classes; the first demo class is free and fees are shared after it.