What Is a Differential Equation?

Ordinary equations like x2−3x+3=0x^2 - 3x + 3 = 0 or x+y=7x + y = 7 involve only variables. An equation like

xdydx+y=0x\frac{dy}{dx} + y = 0

involves a derivative of the dependent variable — and that changes everything. In general:

Definition: An equation involving derivatives of the dependent variable with respect to the independent variable is called a differential equation.

Such equations arise wherever change is modelled — physics, chemistry, biology, economics — because nature usually specifies rates, and solving the differential equation recovers the quantity itself.

Ordinary versus partial

  1. A differential equation involving derivatives with respect to only one independent variable is an ordinary differential equation (ODE) — e.g. 2d2ydx2+(dydx)3=02\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^3 = 0.
  2. Equations with derivatives with respect to several independent variables are partial differential equations — beyond this course. From here, "differential equation" means an ordinary one.

Notation

dydx=y′,d2ydx2=y′′,d3ydx3=y′′′,dnydxn=yn\frac{dy}{dx} = y', \qquad \frac{d^2y}{dx^2} = y'', \qquad \frac{d^3y}{dx^3} = y''', \qquad \frac{d^ny}{dx^n} = y_n

The dash notation keeps long equations readable; yny_n avoids a forest of dashes for higher orders.

Key Point: A differential equation is a relationship between a function and its rates of change. "Solving" it will mean finding every function y(x)y(x) that makes the relationship true — a function-valued answer, not a number-valued one.

Order and Degree

Order

Definition: The order of a differential equation is the order of the highest order derivative of the dependent variable appearing in it.

  1. dydx=ex\dfrac{dy}{dx} = e^x — highest derivative dydx\frac{dy}{dx}: order 1.
  2. d2ydx2+y=0\dfrac{d^2y}{dx^2} + y = 0 — highest derivative d2ydx2\frac{d^2y}{dx^2}: order 2.
  3. d3ydx3+x2(d2ydx2)3=0\dfrac{d^3y}{dx^3} + x^2\left(\dfrac{d^2y}{dx^2}\right)^3 = 0 — highest derivative d3ydx3\frac{d^3y}{dx^3}: order 3 (the power on y′′y'' is irrelevant to order).

Degree — check the polynomial condition first

Definition: When the equation is a polynomial equation in its derivatives y′,y′′,y′′′,…y', y'', y''', \ldots, the degree is the highest power (a positive integer) of the highest order derivative.

Decision card for finding order and degree of a differential equation

The three NCERT touchstones:

  1. y′′′+2(y′′)2−y′+y=0y''' + 2\left(y''\right)^2 - y' + y = 0 — polynomial in y′′′,y′′,y′y''', y'', y': degree =1= 1 (power of y′′′y''').
  2. (y′)2+y′−sin⁡2y=0\left(y'\right)^2 + y' - \sin^2 y = 0 — polynomial in y′y' (the sin⁡2y\sin^2 y involves yy, not a derivative — harmless): degree =2= 2.
  3. y′+sin⁡(y′)=0y' + \sin\left(y'\right) = 0 — sin⁡\sin of a derivative: not a polynomial in y′y', so the degree is not defined.

The rules in brief

  1. Order is always defined; degree only when the polynomial condition holds.
  2. Order and degree (when defined) are always positive integers.
  3. Functions of xx or of yy alone (exe^x, sin⁡y\sin y, log⁡x\log x) never spoil the degree — only functions of derivatives (sin⁡y′\sin y', ey′e^{y'}, cos⁡y′′\cos y'') do.

Key Point: Two separate questions, two separate scans. First scan for the highest derivative (order — always answerable). Then ask "polynomial in the derivatives?" — if yes, read off the power of the highest derivative; if no, write "degree not defined", which is itself a full-credit answer.

[JEE Tip] JEE and boards both bait with equations needing clearing first: y′′=1+y′y'' = \sqrt{1 + y'} must be squared to (y′′)2=1+y′\left(y''\right)^2 = 1 + y' before reading degree 22. Clear roots and fractions of derivatives first, then apply the definitions — but never try to "clear" a sin⁡(y′)\sin(y'); that stays undefined.

Solved Examples

Example 1: A clean first-order equation

Find the order and degree, if defined, of dydx−cos⁡x=0\dfrac{dy}{dx} - \cos x = 0.

Solution:

  1. Order: highest derivative is dydx\frac{dy}{dx} — order 11.
  2. Degree: polynomial in y′y' (cos⁡x\cos x involves only xx); power of y′y' is 11.

Final Answer: order 11, degree 11.

Example 2: Products of derivatives

Find the order and degree, if defined, of xyd2ydx2+x(dydx)2−ydydx=0xy\dfrac{d^2y}{dx^2} + x\left(\dfrac{dy}{dx}\right)^2 - y\dfrac{dy}{dx} = 0.

Solution:

  1. Order: highest derivative is d2ydx2\frac{d^2y}{dx^2} — order 22.
  2. Degree: the equation is polynomial in y′′y'' and y′y'; the highest power of y′′y'' is 11 (the square sits on y′y', which doesn't count).

Final Answer: order 22, degree 11.

Example 3: A derivative inside an exponential

Find the order and degree, if defined, of y′′′+y2+ey′=0y''' + y^2 + e^{y'} = 0.

Solution:

  1. Order: highest derivative y′′′y''' — order 33.
  2. Degree: ey′e^{y'} is an exponential of a derivative — the equation is not polynomial in its derivatives.

Final Answer: order 33, degree not defined. (The y2y^2 term is irrelevant — powers of yy itself never matter.)

Example 4: Sine of a third derivative

Find the order and degree, if defined, of d4ydx4+sin⁡(y′′′)=0\dfrac{d^4y}{dx^4} + \sin\left(y'''\right) = 0.

Solution:

  1. Order: highest derivative d4ydx4\frac{d^4y}{dx^4} — order 44.
  2. Degree: sin⁡(y′′′)\sin(y''') breaks the polynomial condition.

Final Answer: order 44, degree not defined.

Example 5: Watch which derivative carries the power

Find the order and degree, if defined, of (dsdt)4+3s d2sdt2=0\left(\dfrac{ds}{dt}\right)^4 + 3s\,\dfrac{d^2s}{dt^2} = 0.

Solution:

  1. Order: highest derivative is d2sdt2\frac{d^2s}{dt^2} — order 22.
  2. Degree: polynomial in both derivatives; the power of the highest derivative d2sdt2\frac{d^2s}{dt^2} is 11 — the fourth power on the lower-order dsdt\frac{ds}{dt} does not set the degree.

Final Answer: order 22, degree 11.

Takeaway: Degree reads the exponent on the highest-order derivative only. A big power on a lower derivative is a decoy — the single most common order/degree error.

Example 6: Both order and degree above 1

Find the order and degree, if defined, of (y′′′)2+(y′′)3+(y′)4+y5=0\left(y'''\right)^2 + \left(y''\right)^3 + \left(y'\right)^4 + y^5 = 0.

Solution:

  1. Order: highest derivative y′′′y''' — order 33.
  2. Degree: polynomial in all derivatives; power of y′′′y''' is 22.

Final Answer: order 33, degree 22.