WishWasTraining Academy
NDA & Naval Academy entrance exam school
โ† home
Chapter M6-4 ยท 4 of 5 in Integral Calculus and Differential Equations ยท 12 min read

Differential equations: order, degree and formation

33 real NDA questions of this kind in the 19 papers of 2017 to 2026.

Try three questions free โ†“
This chapter has a video lessonWatch it, practise with a drill and keep your record, all with a free account. No fee, no card.

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 parabolas y = x^2 + c for c = 2, 1, 0 and -1; the one through the point 0, 1 is drawn in red

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.

  1. Count the arbitrary constants. Say there are โ€‹nโ€‹.
  2. Differentiate the equation โ€‹nโ€‹ times.
  3. 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}โ€‹.

Several straight lines through the origin; on one of them a point with its run x and rise y marked

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

  1. 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.
  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.
  3. 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.
  4. 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.

  1. Find the order and degree of โ€‹\dfrac{d^3y}{dx^3} + 2\left(\dfrac{d^2y}{dx^2}\right)^4 + y = 0โ€‹.
  2. Find the order and degree of โ€‹\left(\dfrac{d^2y}{dx^2}\right)^{2/3} = 1 + \dfrac{dy}{dx}โ€‹.
  3. Is โ€‹y = e^x + 1โ€‹ a solution of โ€‹\dfrac{d^2y}{dx^2} - \dfrac{dy}{dx} = 0โ€‹?
  4. Form the differential equation of the family โ€‹y = cx^3โ€‹.
  5. 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

  1. Order 3, degree 1. The highest derivative is โ€‹\dfrac{d^3y}{dx^3}โ€‹ and its power is 1.
  2. Order 2, degree 2. Cube both sides: โ€‹\left(\dfrac{d^2y}{dx^2}\right)^2 = \left(1 + \dfrac{dy}{dx}\right)^3โ€‹.
  3. Yes. โ€‹y' = e^xโ€‹ and โ€‹y'' = e^xโ€‹, so โ€‹y'' - y' = 0โ€‹.
  4. โ€‹\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โ€‹.
  5. Three, because the order is 3.

Next chapter: Solving differential equations; growth and decay.

Free ยท no sign-up

Try three questions on this chapter

Exam-pattern questions from this chapter's drill. Pick an answer for each, then check.

  1. Question 1 of 3
    What is the differential equation of the family of curves โ€‹y = Ae^{2x} + Be^{-3x}โ€‹, where โ€‹Aโ€‹ and โ€‹Bโ€‹ are arbitrary constants?
  2. Question 2 of 3
    Consider the following statements: I. The general solution of a differential equation of order 3 contains exactly three arbitrary constants. II. The differential equation of the family โ€‹y = ae^x + be^{x+1}โ€‹, where โ€‹aโ€‹ and โ€‹bโ€‹ are arbitrary constants, is of order 2. Which of the statements given above is/are correct?
  3. Question 3 of 3
    What is the differential equation of the family of curves โ€‹y = cx^4โ€‹, where โ€‹cโ€‹ is an arbitrary constant?
Free sign-up

You have read the chapter. Now make it stick.

A free account adds the video lesson, a drill of ten questions on this chapter marked like the exam, the timed mock papers, a study plan to your exam date and your own record of what you have done. No fee, no card.

Past questions quoted are from the official UPSC paper named in the text; the explanations are WishWas's own and have been checked against the official key. The links under โ€œRead and watch moreโ€ go to free material on other sites; nothing is copied.