Basic concepts of differential equations

Every equation you have solved so far — x2−5x+6=0x^2 - 5x + 6 = 0, sin⁡θ=12\sin\theta = \tfrac{1}{2} — asks for a number. A differential equation asks a different question entirely: what function makes the equation true, once its derivatives are also plugged in? The moment an equation contains dydx\dfrac{dy}{dx} or d2ydx2\dfrac{d^2y}{dx^2} alongside xx and yy, you have left algebra and entered the world of differential equations — the language in which growth, motion, cooling and countless other changing quantities are actually written down. This chapter opens the Calculus section of CBSE Class 12 by asking the most basic questions first: what counts as a differential equation, what does it mean for a function to be its "solution," and how do we describe an equation's order and degree. No solving technique is needed yet — only careful differentiation and substitution — but everything that follows (variable separation, homogeneous equations, linear equations with an integrating factor) depends on getting these definitions exactly right.

The core insight

A differential equation relates a function to its own derivatives, and a solution is any function that satisfies this relation identically — checked purely by differentiating and substituting back, never by "solving for yy" at this stage.

The core idea

A differential equation is an equation involving an independent variable (xx), a dependent variable (yy), and at least one derivative of yy with respect to xx. In full generality, an equation in y=y(x)y = y(x) can be written as

F(x, y, dydx, d2ydx2, …, dnydxn)=0,F\left(x,\, y,\, \frac{dy}{dx},\, \frac{d^2y}{dx^2},\, \ldots,\, \frac{d^ny}{dx^n}\right) = 0,

where: FF stands for "some function of," xx is the independent variable, yy is the unknown dependent variable, and dkydxk\dfrac{d^ky}{dx^k} is the kk-th derivative of yy with respect to xx. Any equation fitting this pattern — from dydx=x2+3\dfrac{dy}{dx} = x^2 + 3 to far messier expressions — is a differential equation; an equation with no derivative in it, however complicated, is not. A solution of a differential equation is a function y=f(x)y = f(x) (or a relation connecting xx and yy) that satisfies the equation identically, for every xx in some interval, once it and its derivatives are substituted in. Verifying a proposed solution never requires solving anything new: differentiate the candidate function as many times as the equation demands, substitute every piece back in, and check the two sides match. Differential equations are classified along two axes:

Order is the order of the highest derivative present. An equation containing only dydx\dfrac{dy}{dx} is first order; one containing d2ydx2\dfrac{d^2y}{dx^2} is second order, regardless of what lower-order terms also appear.

Degree is the power of the highest-order derivative, once the equation has been cleared of fractions and radicals in the derivatives so that it is a polynomial in dydx,d2ydx2,…\dfrac{dy}{dx}, \dfrac{d^2y}{dx^2}, \ldots. Degree is defined only when the equation can be written as such a polynomial; if the highest derivative sits inside a sine, log, or a fractional power that cannot be cleared, the degree is not defined.

Figure
A diagram sorting three example equations into differential and non differential, each differential one further tagged with its order and degree
Sorting equations: differential or not, and their order/degree x squared plus y squared = 4 no derivative — not a DE dy/dx = x squared + 3 order 1, degree 1 d2y/dx2 cubed + dy/dx = x order 2, degree 3 purely algebraic outside this chapter highest derivative: dy/dx, power 1 highest derivative: d2y/dx2, power 3 Order looks at WHICH derivative is highest. Degree looks at its POWER once the equation is a polynomial in derivatives.

Determining order and degree of a differential equation

The goal is to take a concrete differential equation and pin down both its order and its degree correctly, since mixing the two up (or reading degree off the wrong term) is the single most common slip when this topic is first tested, and the definitions above only become solid once applied to an actual equation rather than left as abstract statements.

Step 1. Write down the equation and scan every term for derivatives of yy. Take

(d2ydx2)3+dydx=x.\left(\frac{d^2y}{dx^2}\right)^{3} + \frac{dy}{dx} = x.

The terms present are (d2ydx2)3\left(\dfrac{d^2y}{dx^2}\right)^3, dydx\dfrac{dy}{dx}, and the algebraic term xx.

Step 2. Identify the order by finding the highest derivative appearing anywhere in the equation. Here the derivatives present are d2ydx2\dfrac{d^2y}{dx^2} (second order) and dydx\dfrac{dy}{dx} (first order). The highest is d2ydx2\dfrac{d^2y}{dx^2}, so the order is 2. Note that the order does not care about powers — only about how many times yy has been differentiated.

Step 3. Confirm the equation is already a polynomial in its derivatives (no derivative sits inside a root, a fraction with a derivative in the denominator, a sine, or a logarithm). It is: both derivative terms appear as plain powers added together. Only now is degree defined at all.

Step 4. Read the power attached to the highest-order derivative — not the highest power appearing anywhere in the equation. The highest-order derivative is d2ydx2\dfrac{d^2y}{dx^2}, and it is raised to the power 33. So the degree is 3, even though dydx\dfrac{dy}{dx} appears only to the first power and no other term is cubed. Order 2, degree 3 fully classifies this equation.

Worked example

Verify that y=e2xy = e^{2x} is a solution of the differential equation dydx−2y=0\dfrac{dy}{dx} - 2y = 0, and state its order and degree.

Step 1. Differentiate the given function. y=e2x  ⟹  dydx=2e2xy = e^{2x} \implies \dfrac{dy}{dx} = 2e^{2x}.

Step 2. Substitute yy and dydx\dfrac{dy}{dx} into the left-hand side of the equation. dydx−2y=2e2x−2(e2x)=2e2x−2e2x=0\dfrac{dy}{dx} - 2y = 2e^{2x} - 2\left(e^{2x}\right) = 2e^{2x} - 2e^{2x} = 0.

Step 3. Compare with the right-hand side. The left-hand side equals 00 for every value of xx, matching the right-hand side identically — not just at one point.

Step 4. Classify the equation. Only dydx\dfrac{dy}{dx} appears, to the first power, so the equation is order 11, degree 11. y=e2xy = e^{2x} is confirmed as a solution of dydx−2y=0\dfrac{dy}{dx} - 2y = 0, an order-1, degree-1 equation.

Competitive stretch

Show that y=Acos⁡x+Bsin⁡xy = A\cos x + B\sin x, with AA and BB arbitrary constants, is a solution of d2ydx2+y=0\dfrac{d^2y}{dx^2} + y = 0.

Step 1. Find the first derivative. dydx=−Asin⁡x+Bcos⁡x\dfrac{dy}{dx} = -A\sin x + B\cos x.

Step 2. Find the second derivative. d2ydx2=−Acos⁡x−Bsin⁡x\dfrac{d^2y}{dx^2} = -A\cos x - B\sin x.

Step 3. Substitute into the equation. d2ydx2+y=(−Acos⁡x−Bsin⁡x)+(Acos⁡x+Bsin⁡x)=0\dfrac{d^2y}{dx^2} + y = (-A\cos x - B\sin x) + (A\cos x + B\sin x) = 0, satisfied identically. This is an order-2, degree-1 equation, and the presence of two arbitrary constants (AA and BB) matches its order — a pattern the next topics build on. (Second-order solving is outside the CBSE syllabus; only verification is being demonstrated.)

Common traps

  • Confusing an algebraic equation with a differential equation. x2+y2=4x^2 + y^2 = 4 contains no derivative and is not a differential equation on its own.
  • Forgetting to substitute the derivative, not just the function. Verifying a solution needs both yy and every required derivative substituted back — plugging in yy alone proves nothing.
  • Reading degree off the wrong term. Degree comes from the power of the highest-order derivative only, never from a lower-order derivative that happens to carry a bigger power.
  • Assuming degree always exists. If the highest derivative is trapped inside a sine, a log, or a radical that cannot be cleared, the degree is simply undefined — do not force a number.

Ask the tutor: if you want to see order and degree worked out for a trickier equation, or want another function verified as a solution before moving to general and particular solutions, ask your AI tutor to walk through more examples with you.

What is the actual difference between order and degree?

Order tells you how many times yy has been differentiated in the highest derivative present — it is about which derivative is highest. Degree tells you the power that highest-order derivative is raised to, once the equation is written as a polynomial in derivatives. An equation can have order 2 and degree 1, or order 2 and degree 3, as the worked derivation shows — the two numbers are independent of each other.

Why does verifying a solution never involve solving the equation?

Because verification and solving are opposite directions. Solving means starting from the differential equation and finding which functions satisfy it — a genuinely hard problem needing new techniques. Verifying means you are handed a candidate function already, so you only need to differentiate it and check the equation holds — pure differentiation, nothing new. This chapter deliberately starts with the easier direction before the next topics introduce actual solving methods.

Why do the solutions in the worked examples have arbitrary constants like A and B?

A differential equation typically has infinitely many solutions, not one, and arbitrary constants are how that whole family gets written in a single formula. Here, y=Acos⁡x+Bsin⁡xy = A\cos x + B\sin x solves d2ydx2+y=0\dfrac{d^2y}{dx^2} + y = 0 for any choice of AA and BB — two constants for a second-order equation. This is not a coincidence: the number of independent arbitrary constants needed generally matches the equation's order, a link the topics on general and particular solutions develop fully.

Before this

Where this leads