Class 12 Maths, Worked in Full Past papersGet updates
Chapter 9 · Differential Equations

Example 1: Order and degree of y′−cos⁡x=0y' - \cos x = 0⁠, xyy′′+x(y′)2−yy′=0xyy'' + x(y')^2 - yy' = 0 and y′′′+y2+ey′=0y''' + y^2 + e^{y'} = 0

ExamplesOrder and degree · Sections 9.2.1 and 9.2.2
The question

Find the order and degree, if defined, of each of the following differential equations:

(i) dydx−cos⁡x=0\dfrac{dy}{dx} - \cos x = 0

(ii) xyd2ydx2+x(dydx)2−ydydx=0xy\dfrac{d^2y}{dx^2} + x\left(\dfrac{dy}{dx}\right)^2 - y\dfrac{dy}{dx} = 0

(iii) y′′′+y2+ey′=0y''' + y^2 + e^{y'} = 0

Exam answer

(i) The highest order derivative present is dydx\frac{dy}{dx}⁠, so the order is 1. The equation is a polynomial equation in dydx\frac{dy}{dx}⁠, and the highest power of dydx\frac{dy}{dx} is 1.

∴\therefore Order 1, degree 1.

(ii) The highest order derivative present is d2ydx2\frac{d^2y}{dx^2}⁠, so the order is 2. The equation is a polynomial equation in d2ydx2\frac{d^2y}{dx^2} and dydx\frac{dy}{dx}⁠, and the highest power of d2ydx2\frac{d^2y}{dx^2} is 1.

∴\therefore Order 2, degree 1.

(iii) The highest order derivative present is y′′′y'''⁠, so the order is 3. The term ey′e^{y'} is not a polynomial in y′y'⁠, so the equation is not a polynomial equation in its derivatives.

∴\therefore Order 3; degree not defined.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Two separate questions are asked of every differential equation. Order: which is the highest derivative that appears? Its order is the order of the equation. Degree: this exists only when the equation is a polynomial equation in the derivatives (every derivative appears only with whole-number powers, never inside sin, cos, log, e, a root or a denominator). When it exists, the degree is the highest power of that highest derivative, and of nothing else.

Given, to find, and the plan
Given
Three differential equations, (i), (ii) and (iii), with yy a function of xx⁠.
To find
The order of each, and its degree if the degree is defined.
Plan
For each equation: (1) list the derivatives that appear and pick the highest; its order is the order of the equation. (2) Check whether the equation is a polynomial in all its derivatives. (3) If it is, read the highest power of the highest derivative; if it is not, say that the degree is not defined.

Basics you need

1Derivatives and their order

dydx=y′\frac{dy}{dx} = y' is the first derivative (order 1), d2ydx2=y′′\frac{d^2y}{dx^2} = y'' the second (order 2), d3ydx3=y′′′\frac{d^3y}{dx^3} = y''' the third (order 3). The book uses both notations (Section 9.2, Note 1). Basics: y′ is the slope, y″ how fast it changes

2Order of a differential equation

The order of the highest order derivative of the dependent variable that appears in the equation (Section 9.2.1). Lesson: order and degree

3Degree, and the polynomial condition

The degree is defined only when the equation is a polynomial equation in its derivatives y′,y′′,y′′′,…y', y'', y''', \ldots⁠. Then it is the highest power (a positive whole number) of the highest order derivative (Section 9.2.2). The coefficients may be any functions of xx and yy⁠: the book calls equation (10) of Section 9.2.2 "a polynomial equation in y′y' (not a polynomial in yy though)". Lesson: order and degree

4Repeated derivatives of a polynomial and of epe^p

Differentiating a polynomial of degree nn one more time than its degree, n+1n + 1 times, gives 0. Every derivative of epe^p is epe^p⁠, which is never 0 (Section 5.4). Basics: e^{kt} and its rate

Part (i): dydx−cos⁡x=0\frac{dy}{dx} - \cos x = 0

  1. Find the highest derivative: the order

    The only derivative in the equation is dydx\frac{dy}{dx}⁠, a first derivative. So the highest order derivative present is dydx\frac{dy}{dx}⁠, and

    order=1.\text{order} = 1.
    The order counts how many times yy has been differentiated in the most differentiated term. Here that is once. The term cos⁡x\cos x is a function of xx only; it is not a derivative and plays no part in the order.
    Section 9.2.1: the order is the order of the highest order derivative present. Lesson: order and degree
  2. Check the polynomial condition, then read the degree

    Write p=dydxp = \frac{dy}{dx}⁠. The equation becomes p−cos⁡x=0p - \cos x = 0⁠, which is a polynomial in pp (of the form 1⋅p1+(a function of x)1\cdot p^1 + (\text{a function of } x)⁠). So the degree is defined. The highest order derivative is p=dydxp = \frac{dy}{dx}⁠, and its highest power is 1:

    degree=1.\text{degree} = 1.
    "Polynomial in the derivatives" means: replace each derivative by a letter, and the left side must be a sum of terms (function of xx and yy⁠) ×\times (whole-number powers of those letters). Here cos⁡x\cos x is allowed because it contains no derivative; only the derivatives have to appear polynomially.
    Section 9.2.2: the degree is the highest power of the highest order derivative. Lesson: order and degree

Part (ii): xyd2ydx2+x(dydx)2−ydydx=0xy\frac{d^2y}{dx^2} + x\left(\frac{dy}{dx}\right)^2 - y\frac{dy}{dx} = 0

  1. Find the highest derivative: the order

    The derivatives present are dydx\frac{dy}{dx} (order 1) and d2ydx2\frac{d^2y}{dx^2} (order 2). The highest is d2ydx2\frac{d^2y}{dx^2}⁠, so

    order=2.\text{order} = 2.
    The square on dydx\frac{dy}{dx} is a power, not an order: (dydx)2\left(\frac{dy}{dx}\right)^2 is the first derivative multiplied by itself, while d2ydx2\frac{d^2y}{dx^2} is the derivative of the derivative. Only the second kind raises the order.
    (dydx)2≠d2ydx2\left(\frac{dy}{dx}\right)^2 \ne \frac{d^2y}{dx^2}⁠: a power and an order are different things. Basics: y′ and y″
  2. Check the polynomial condition, then read the degree

    Write p=dydxp = \frac{dy}{dx} and q=d2ydx2q = \frac{d^2y}{dx^2}⁠. The equation becomes

    xy q+x p2−y p=0,xy\,q + x\,p^2 - y\,p = 0,

    a polynomial in qq and pp whose coefficients xyxy⁠, xx and −y-y are functions of xx and yy⁠. So the degree is defined. The highest order derivative is q=d2ydx2q = \frac{d^2y}{dx^2}⁠, and it appears only to the power 1:

    degree=1.\text{degree} = 1.
    The degree is read from the highest order derivative only. The power 2 on dydx\frac{dy}{dx} does not count, because dydx\frac{dy}{dx} is not the highest derivative here. The factors xx and yy in the coefficients are allowed: the condition is on the derivatives, not on yy⁠.
    Section 9.2.2: degree = highest power of the highest order derivative, once the equation is a polynomial in the derivatives. Lesson: order and degree

Part (iii): y′′′+y2+ey′=0y''' + y^2 + e^{y'} = 0

  1. Find the highest derivative: the order

    The derivatives present are y′y' (inside ey′e^{y'}⁠) and y′′′y'''⁠. The highest is y′′′y'''⁠, so

    order=3.\text{order} = 3.
    A derivative counts for the order wherever it sits, even inside an exponential. y2y^2 is a power of yy itself, not a derivative, so it does not matter for the order either.
    Section 9.2.1; y′′′=d3ydx3y''' = \frac{d^3y}{dx^3} (Section 9.2, Note 1). Basics: y′ and y″
  2. Check the polynomial condition: it fails

    Write p=y′p = y' and r=y′′′r = y'''⁠. The equation becomes r+y2+ep=0r + y^2 + e^{p} = 0⁠. The term epe^{p} is not a polynomial in pp⁠. Here is why: if epe^{p} were equal to a polynomial in pp of some degree nn⁠, then differentiating both sides n+1n + 1 times with respect to pp would give ep=0e^{p} = 0⁠, because a polynomial of degree nn differentiated n+1n + 1 times is 0. But ep>0e^{p} > 0 for every pp⁠. So no polynomial equals epe^{p}⁠, and the equation is not a polynomial equation in its derivatives. Therefore

    degree: not defined.\text{degree: not defined.}
    The degree is only defined for equations that are polynomials in the derivatives. Once a derivative sits inside ee (or sin, cos, log, tan⁡−1\tan^{-1}⁠, …), there is no "highest power" to read. The order is still defined: it is 3. The term y2y^2 is harmless; it is the ey′e^{y'} that spoils the degree.
    Section 9.2.2, equation (11): a derivative inside a sine has no degree; the same holds inside an exponential. Basics: e^{kt} and its rate
Result

(i) Order 1, degree 1. (ii) Order 2, degree 1. (iii) Order 3; degree not defined. (Textbook answer: the same: one and one; two and one; three and not defined.)

Check it with numbers

The order predicts how many arbitrary constants a general solution carries (chapter Summary: as many as the order). Two quick tests:

(i) y=sin⁡x+Cy = \sin x + C solves dydx=cos⁡x\frac{dy}{dx} = \cos x⁠, with one constant. Take C=0C = 0 and x=0.5x = 0.5⁠. The slope of the curve, from two nearby points, is

0.4795132945−0.47933777800.0002≈0.877583,\begin{aligned} &\frac{0.4795132945 - 0.4793377780}{0.0002} \\ &\approx 0.877583, \end{aligned}

using sin⁡0.5001≈0.4795132945\sin 0.5001 \approx 0.4795132945 and sin⁡0.4999≈0.4793377780\sin 0.4999 \approx 0.4793377780⁠. The equation asks for cos⁡0.5≈0.877583\cos 0.5 \approx 0.877583⁠. They agree.

(ii) The curves y2=cx2+dy^2 = cx^2 + d carry two constants, as order 2 requires. Take c=1c = 1⁠, d=3d = 3⁠, so y=x2+3y = \sqrt{x^2 + 3}⁠. At x=1x = 1⁠: y=2y = 2⁠, y′=xy=0.5y' = \frac{x}{y} = 0.5⁠, y′′=3y3=0.375y'' = \frac{3}{y^3} = 0.375⁠, and

xyy′′+x(y′)2−yy′=0.75+0.25−1=0.\begin{aligned} &xyy'' + x(y')^2 - yy' \\ &= 0.75 + 0.25 - 1 = 0. \end{aligned}
Common mistakes
  1. Reading the degree from the largest power anywhere. In (ii), (dydx)2\left(\frac{dy}{dx}\right)^2 has power 2, but the degree is the power of d2ydx2\frac{d^2y}{dx^2}⁠, which is 1.
  2. Confusing a power with an order. (dydx)2\left(\frac{dy}{dx}\right)^2 is order 1; d2ydx2\frac{d^2y}{dx^2} is order 2.
  3. Saying the degree of (iii) is 1 because y′′′y''' appears to the first power. The polynomial test comes first, and ey′e^{y'} fails it.
  4. Blaming y2y^2 in (iii). Powers of yy itself never stop the degree; only non-polynomial use of a derivative does.
What to take away
  1. Order: the highest derivative present. It always exists for a differential equation.
  2. Degree: first check that the equation is a polynomial in its derivatives; if yes, take the power of the highest derivative; if no, the degree is not defined.
  3. Order and degree, when defined, are positive whole numbers.

Every fact used, and where it comes from

FactUsed inSource
y′=dydxy' = \frac{dy}{dx}⁠, y′′=d2ydx2y'' = \frac{d^2y}{dx^2}⁠, y′′′=d3ydx3y''' = \frac{d^3y}{dx^3}Parts (i)–(iii)Section 9.2, Note 1 (Basics)
Order = order of the highest order derivative presentParts (i)–(iii), Step 1Section 9.2.1 (Lesson)
Degree defined only for a polynomial equation in the derivatives; then the highest power of the highest order derivativeParts (i)–(iii), Step 2Section 9.2.2 (Lesson)
Order and degree (if defined) are positive integersWhat to take awaySection 9.2.2, Note
A polynomial of degree nn differentiated n+1n + 1 times gives 0; ddpep=ep>0\frac{d}{dp}e^p = e^p > 0Part (iii), Step 2Power rule (Class XI); Chapter 5, Section 5.4 for epe^p (Basics)
A general solution has as many arbitrary constants as the orderCheck boxChapter Summary (Basics)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →