Why this chapter matters. This chapter drew 8 questions in the seven papers from NDA II 2023 to NDA II 2026, about one in each paper. They are of two kinds: read the order and degree of a given equation, or find the differential equation of a given family of curves. Both kinds can be done in under a minute, so these are among the quickest marks in the paper.
What you will be able to do
- Say what a differential equation is, and find its order.
- Find its degree, clearing roots and fractional powers first, and say when the degree is not defined.
- Check whether a given function is a solution, and tell a general solution from a particular one.
- Form the differential equation of a family of curves by removing the arbitrary constants.
Before you start you should know: how to differentiate once and twice, the product rule, and how to differentiate โy^2โ with respect to โxโ (Chapter M5-6).
1. What a differential equation is
A differential equation is an equation that contains a derivative of an unknown function. For example,
\frac{dy}{dx} = 2x \qquad \text{and} \qquad \frac{d^2y}{dx^2} + y = 0
Here โyโ is an unknown function of โxโ. To solve an ordinary equation is to find a number. To solve a differential equation is to find a function.
For short, โy'โ is written for โ\dfrac{dy}{dx}โ and โy''โ for โ\dfrac{d^2y}{dx^2}โ.
2. Order
The order is the order of the highest derivative in the equation.
โ\dfrac{dy}{dx} = 2xโ has order 1. โ\dfrac{d^2y}{dx^2} + y = 0โ has order 2. โ\dfrac{d^3y}{dx^3} + \dfrac{dy}{dx} = xโ has order 3.
Powers do not matter for the order. Only look for the highest derivative.
3. Degree
First write the equation as a polynomial in its derivatives: no derivative under a root, and no derivative with a fractional power. Then the degree is the power of the highest-order derivative.
If the equation cannot be written as a polynomial in its derivatives, the degree is not defined. The order is always defined.
| Equation | Order | Degree | Why |
|---|---|---|---|
| โ\dfrac{dy}{dx} = 2xโ | 1 | 1 | |
| โ\left(\dfrac{d^2y}{dx^2}\right)^3 + \left(\dfrac{dy}{dx}\right)^4 + y = 0โ | 2 | 3 | The power 4 belongs to a lower derivative and does not count |
| โ\left(\dfrac{dy}{dx}\right)^2 + \dfrac{dy}{dx} - \sin^2 y = 0โ | 1 | 2 | โ\sin^2 yโ contains โyโ, not a derivative, so it does no harm |
| โ\dfrac{d^2y}{dx^2} = \sqrt{1 + \left(\dfrac{dy}{dx}\right)^2}โ | 2 | 2 | Square both sides first: โ\left(\dfrac{d^2y}{dx^2}\right)^2 = 1 + \left(\dfrac{dy}{dx}\right)^2โ |
| โ\dfrac{d^2y}{dx^2} + \sin\left(\dfrac{dy}{dx}\right) = 0โ | 2 | Not defined | โ\sinโ of a derivative is not a polynomial in the derivative |
4. Solutions: general and particular
A solution is a function that satisfies the equation. To check, put the function into the equation.
Take โ\dfrac{dy}{dx} = 2xโ. Integrating gives โy = x^2 + cโ. This is the general solution: it holds for every value of the arbitrary constant โcโ. It is not one curve but a family of curves. Picture the parabola โy = x^2โ moved up or down: each position is one member of the family.
If we are also told that โy = 1โ when โx = 0โ, then โc = 1โ and โy = x^2 + 1โ. This is a particular solution: one curve of the family, with no arbitrary constant.

The general solution of an equation of order โnโ contains โnโ arbitrary constants.
5. Forming a differential equation
This is section 4 backwards. We are given a family of curves with arbitrary constants and want the differential equation that the whole family satisfies.
- Count the arbitrary constants. Say there are โnโ.
- Differentiate the equation โnโ times.
- Use these equations to remove all the constants.
The result has order โnโ and contains no arbitrary constant.
One constant. The straight lines through the origin are โy = mxโ. Differentiate once: โ\dfrac{dy}{dx} = mโ. Put this โmโ back: โy = x\dfrac{dy}{dx}โ.

The picture says the same thing: at any point โ(x, y)โ on any of these lines, the slope is โ\dfrac{y}{x}โ.
Two constants. Take โy = A\cos x + B\sin xโ. Differentiate twice: โy' = -A\sin x + B\cos xโ and โy'' = -A\cos x - B\sin x = -yโ. So โ\dfrac{d^2y}{dx^2} + y = 0โ.
| Family | Constants | Differential equation |
|---|---|---|
| โy = mxโ (lines through the origin) | 1 | โx\dfrac{dy}{dx} = yโ |
| โx^2 + y^2 = r^2โ (circles with centre at the origin) | 1 | โx + y\dfrac{dy}{dx} = 0โ |
| โy = Ae^{kx}โ, with โkโ a fixed number | 1 | โ\dfrac{dy}{dx} = kyโ |
| โy = mx + cโ (all straight lines) | 2 | โ\dfrac{d^2y}{dx^2} = 0โ |
| โy = A\cos kx + B\sin kxโ, with โkโ a fixed number | 2 | โ\dfrac{d^2y}{dx^2} + k^2 y = 0โ |
| โy = Ae^x + Be^{-x}โ | 2 | โ\dfrac{d^2y}{dx^2} - y = 0โ |
Count the constants with care. โy = a\,e^{x + b}โ looks as if it has two constants, but โa\,e^{x+b} = (a\,e^b)\,e^xโ, and โa\,e^bโ is one constant. So the family has one constant and its equation, โ\dfrac{dy}{dx} = yโ, has order 1.
6. Worked examples
Example 1. Find the order and degree of โ\left(\dfrac{d^3y}{dx^3}\right)^2 + 5\left(\dfrac{d^2y}{dx^2}\right)^4 = e^xโ.
The highest derivative is โ\dfrac{d^3y}{dx^3}โ, so the order is 3. Its power is 2, so the degree is 2. The power 4 is on a lower derivative.
Example 2. Find the order and degree of โ\left[1 + \left(\dfrac{dy}{dx}\right)^2\right]^{3/2} = 5\,\dfrac{d^2y}{dx^2}โ.
Remove the fractional power by squaring both sides: โ\left[1 + \left(\dfrac{dy}{dx}\right)^2\right]^3 = 25\left(\dfrac{d^2y}{dx^2}\right)^2โ. The highest derivative is the second, and its power is 2. Order 2, degree 2.
Example 3. Show that โy = e^{2x}โ is a solution of โ\dfrac{d^2y}{dx^2} - 3\dfrac{dy}{dx} + 2y = 0โ.
โy' = 2e^{2x}โ and โy'' = 4e^{2x}โ. So โy'' - 3y' + 2y = 4e^{2x} - 6e^{2x} + 2e^{2x} = 0โ. The equation is satisfied.
Example 4. Form the differential equation of the family โy = ax^2โ.
One constant, so differentiate once: โ\dfrac{dy}{dx} = 2axโ, which gives โa = \dfrac{1}{2x}\dfrac{dy}{dx}โ. Put this into โy = ax^2โ: โy = \dfrac{x}{2}\dfrac{dy}{dx}โ, that is โx\dfrac{dy}{dx} = 2yโ.
Example 5. Form the differential equation of the family โy = A\cos 2x + B\sin 2xโ.
Two constants, so differentiate twice. โy' = -2A\sin 2x + 2B\cos 2xโ and โy'' = -4A\cos 2x - 4B\sin 2x = -4yโ. So โ\dfrac{d^2y}{dx^2} + 4y = 0โ.
7. From the real papers
Try each question for one minute before reading the solution.
NDA II 2023, Q69. What are the order and the degree respectively of the differential equation โx^2\left(\frac{d^3y}{dx^3}\right)^2 + \left(\frac{dy}{dx}\right)^4 + \sin x = 0โ?
(a) 3, 4โโ(b) 1, 4โโ(c) 2, 2โโ(d) 3, 2
Solution. The highest derivative is โ\dfrac{d^3y}{dx^3}โ, so the order is 3. Its power is 2, so the degree is 2. The power 4 is on the lower derivative โ\dfrac{dy}{dx}โ, and โ\sin xโ contains no derivative. Answer (d).
NDA II 2025, Q91. What is the degree of the differential equation โ\left(\frac{d^2y}{dx^2}\right)^{\frac{3}{2}} = \left(\frac{dy}{dx}\right)^{\frac{5}{2}}โ?
(a) โ3โโโ(b) โ2โโโ(c) โ\frac{5}{2}โโโ(d) โ\frac{3}{2}โ
Solution. Square both sides to remove the fractional powers: โ\left(\dfrac{d^2y}{dx^2}\right)^3 = \left(\dfrac{dy}{dx}\right)^5โ. The highest derivative is the second, and its power is 3. Answer (a).
NDA I 2024, Q75. What are the order and degree respectively of the differential equation โ\left\{2 - \left(\frac{dy}{dx}\right)^2\right\}^{0.6} = \frac{d^2y}{dx^2}โ?
(a) 2, 2โโ(b) 2, 3โโ(c) 5, 2โโ(d) 2, 5
Solution. The highest derivative is the second, so the order is 2. Since โ0.6 = \dfrac{3}{5}โ, raise both sides to the power 5: โ\left\{2 - \left(\dfrac{dy}{dx}\right)^2\right\}^3 = \left(\dfrac{d^2y}{dx^2}\right)^5โ. The power of the highest derivative is now 5. Order 2, degree 5. Answer (d).
NDA II 2026, Q79. What is the differential equation of the family of straight lines passing through the origin?
(a) โy\frac{dy}{dx} - x = 0โโโ(b) โy\frac{dy}{dx} + x = 0โโโ(c) โx\frac{dy}{dx} - y = 0โโโ(d) โx\frac{dy}{dx} + y = 0โ
Solution. The lines are โy = mxโ, with one constant โmโ. Differentiate: โ\dfrac{dy}{dx} = mโ. Put back: โy = x\dfrac{dy}{dx}โ, that is โx\dfrac{dy}{dx} - y = 0โ. Answer (c).
NDA II 2023, Q70. What is the differential equation of all parabolas of the type โy^2 = 4a(x - b)โ?
(a) โ\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 = 0โโโ(b) โ\frac{d^2y}{dx^2} + x^2\left(\frac{dy}{dx}\right)^2 = 0โโโ(c) โy^2\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 = 0โโโ(d) โy\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 = 0โ
Solution. There are two constants, โaโ and โbโ, so differentiate twice. First: โ2y\dfrac{dy}{dx} = 4aโ, so โy\dfrac{dy}{dx} = 2aโ, and โbโ is gone. Differentiate again by the product rule: โy\dfrac{d^2y}{dx^2} + \dfrac{dy}{dx} \cdot \dfrac{dy}{dx} = 0โ, and โaโ is gone. Answer (d).
NDA I 2024, Q72. The differential equation, representing the curve โy = e^x(a\cos x + b\sin x)โ where โaโ and โbโ are arbitrary constants, is
(a) โ\frac{d^2y}{dx^2} + 2y = 0โโโ(b) โ\frac{d^2y}{dx^2} + 2\frac{dy}{dx} + 2y = 0โโโ(c) โ\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0โโโ(d) โ\frac{d^2y}{dx^2} + y = 0โ
Solution. Differentiate by the product rule: โy' = e^x(a\cos x + b\sin x) + e^x(-a\sin x + b\cos x) = y + e^x(-a\sin x + b\cos x)โ. So โe^x(-a\sin x + b\cos x) = y' - yโ. Differentiate again:
โy'' = y' + e^x(-a\sin x + b\cos x) + e^x(-a\cos x - b\sin x) = y' + (y' - y) - y = 2y' - 2yโ.
So โy'' - 2y' + 2y = 0โ. Answer (c).
8. Mistakes that cost marks
- Taking the biggest power in the equation as the degree. The degree is the power of the highest-order derivative only. In NDA II 2023 Q69 the power 4 is on โ\dfrac{dy}{dx}โ, so it does not count; the degree is 2.
- Reading the degree before clearing roots and fractional powers. โ\left(\dfrac{d^2y}{dx^2}\right)^{3/2}โ does not give degree โ\dfrac{3}{2}โ. A degree is always a positive whole number. Clear the fraction first.
- Giving a degree when there is none. If a derivative sits inside โ\sinโ, โ\cosโ, โ\logโ or an exponential, the degree is not defined. The order still is.
- Leaving a constant in the answer, or counting the constants wrongly. The differential equation of a family must contain no arbitrary constant. And its order equals the number of constants that are really independent: โy = a\,e^{x+b}โ has one, not two.
9. Quick check
Do these without help. Answers are at the end.
- Find the order and degree of โ\dfrac{d^3y}{dx^3} + 2\left(\dfrac{d^2y}{dx^2}\right)^4 + y = 0โ.
- Find the order and degree of โ\left(\dfrac{d^2y}{dx^2}\right)^{2/3} = 1 + \dfrac{dy}{dx}โ.
- Is โy = e^x + 1โ a solution of โ\dfrac{d^2y}{dx^2} - \dfrac{dy}{dx} = 0โ?
- Form the differential equation of the family โy = cx^3โ.
- How many arbitrary constants does the general solution of โ\dfrac{d^3y}{dx^3} + \dfrac{dy}{dx} = 0โ contain?
10. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook | NCERT Class 12 Mathematics, Chapter 9 Differential Equations ยท Hindi edition | English, Hindi |
| Self-study notes | NIOS Mathematics, Lesson 32 Differential Equations ยท Hindi edition | English, Hindi |
| Video, the whole topic for NDA | Defence Wallah: SHAKTI 2026 playlist (the video "Differential Equations", about 2 hours 40 minutes) | Hinglish |
| Video, every textbook problem | Magnet Brains: Class 12 Maths, Chapter 9 Differential Equations | Hinglish |
| Video, the whole topic in one lesson | NDA Vijay by Unacademy: Milestone Batch playlist (the video "Differential Equations in One Shot", about 2 hours 55 minutes) | Hinglish |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- Order 3, degree 1. The highest derivative is โ\dfrac{d^3y}{dx^3}โ and its power is 1.
- Order 2, degree 2. Cube both sides: โ\left(\dfrac{d^2y}{dx^2}\right)^2 = \left(1 + \dfrac{dy}{dx}\right)^3โ.
- Yes. โy' = e^xโ and โy'' = e^xโ, so โy'' - y' = 0โ.
- โ\dfrac{dy}{dx} = 3cx^2โ, so โc = \dfrac{1}{3x^2}\dfrac{dy}{dx}โ. Putting this into โy = cx^3โ gives โx\dfrac{dy}{dx} = 3yโ.
- Three, because the order is 3.
Next chapter: Solving differential equations; growth and decay.