Home / Mathematics / Class XII / Differential Equations
Differential Equations — CUET Mathematics hero
Class XII 📐 Mathematics Ch 9 of 13

Differential Equations

CUET unit: Differential Equations

📌 Snapshot

  • Differential equations for CUET: order, degree, separable, homogeneous and linear types with growth and decay.
  • How an equation about rates becomes a formula, and why each method (separation, y = vx, integrating factor) works.
  • How to read order and degree correctly, count constants, and pick the right method from the shape of the equation.
  • Six worked examples with the common wrong step, an exam traps table, a formula sheet and 12 practice MCQs.

📖 Detailed Notes

Written and reviewed by Devendra Dubey, Mathematics faculty at UniDrill (M.Sc. Mathematics, Osmania University · 10 years teaching Mathematics). Based on NCERT Mathematics Class XII, Chapter 9.

A bank balance that grows continuously

A bank advertises that your balance grows continuously at $5\%$ a year. Notice what that sentence gives you. It does not give a formula for the balance. It gives a rule about how fast the balance changes: the rate of growth is $5\%$ of whatever you have right now. In symbols, $\dfrac{dP}{dt} = \dfrac{P}{20}$. That is a differential equation. Almost every law in physics, biology and economics is stated this way, as a rule about rates. This chapter teaches you to turn the rule back into a formula.

Throughout, $\log$ means the natural logarithm.

The chapter in one line: read the equation (order, degree) → know what a solution is → identify the type (separable, homogeneous, linear) → apply that type's method.

What is a differential equation?

An equation that contains the derivatives of a dependent variable with respect to an independent variable is a differential equation. If there is only one independent variable it is an ordinary differential equation, and this chapter studies only those. The compact notation is $y' = \dfrac{dy}{dx}$, $y'' = \dfrac{d^2y}{dx^2}$ and $y''' = \dfrac{d^3y}{dx^3}$.

Order is the order of the highest derivative in the equation. It is always a positive integer.

Degree is the power of the highest order derivative, after the equation is a polynomial in its derivatives. If any derivative sits inside a function such as $\sin$, $\log$ or an exponential, the equation is not a polynomial in the derivatives, and the degree is not defined.

Equation Order Degree Why
$\dfrac{dy}{dx} = e^x$ 1 1 Highest derivative is $y'$, to the power 1
$\dfrac{d^2y}{dx^2} + y = 0$ 2 1 Highest derivative is $y''$, to the power 1
$\left( \dfrac{dy}{dx} \right)^3 + y = x$ 1 3 $y'$ is cubed
$\dfrac{d^3y}{dx^3} + x^2\left( \dfrac{d^2y}{dx^2} \right)^3 = 0$ 3 1 Highest derivative $y'''$ appears to the power 1; the cube is on a lower derivative
$\dfrac{dy}{dx} + \sin\left( \dfrac{dy}{dx} \right) = 0$ 1 Not defined A derivative sits inside $\sin$

Worked example: reading order and degree. Find the order and degree of $\left( \dfrac{d^3y}{dx^3} \right)^2 + \left( \dfrac{d^2y}{dx^2} \right)^3 + \left( \dfrac{dy}{dx} \right)^4 + y^5 = 0$.

Step What we do Result
1 Find the highest order derivative $\dfrac{d^3y}{dx^3}$, so the order is $3$
2 Check the equation is a polynomial in the derivatives It is, so the degree exists
3 Read the power of that highest derivative It is squared, so the degree is $2$

Common wrong step. Taking the degree as $4$ or $5$, the largest power anywhere in the equation. The degree is the power of the highest order derivative only, and $y^5$ is not a derivative at all.

Pause and predict: what are the order and degree of $y'' + \sin y' = 0$?

Check your answer: order $2$, degree not defined. The highest derivative is $y''$, but $y'$ appears inside $\sin$, so the equation is not a polynomial in its derivatives.

Solutions: general and particular

A solution is a function $y = \varphi(x)$ that satisfies the equation when you substitute it in. Its graph is an integral curve. To check a candidate, differentiate it as often as the equation needs and confirm that both sides match.

Consider the simplest equation $\dfrac{dy}{dx} = 2x$. Integrating gives $y = x^2 + C$, not a single function but a whole family, one curve for every $C$. This is the general solution. It contains as many arbitrary constants as the order of the equation, because getting back from an $n$th-order equation takes $n$ integrations and each one brings its own constant.

General solution Particular solution
Arbitrary constants As many as the order None
Graph A family of curves One curve
How you get it Integrate Substitute the given condition (such as $y = 3$ when $x = 1$)
Example $y = x^2 + C$ $y = x^2 + 2$, from $y(1) = 3$

A particular solution has no arbitrary constant left. Once the initial condition fixes every constant, nothing is arbitrary.

Method 1: variables separable

If an equation can be rearranged so that all $y$ terms sit with $dy$ on one side and all $x$ terms with $dx$ on the other, it is variables separable. Typically $\dfrac{dy}{dx} = g(x)\,h(y)$, and then:

$$\int \dfrac{dy}{h(y)} = \int g(x)\,dx + C$$

Why this is allowed. Dividing by $h(y)$ gives $\dfrac{1}{h(y)}\dfrac{dy}{dx} = g(x)$. The left side is exactly what the chain rule produces when you differentiate $H(y)$ with $H' = \dfrac{1}{h}$. So integrating both sides with respect to $x$ is legitimate, and in practice you just integrate each side in its own variable.

Put the single constant $C$ on one side, after both integrations. An exponential of a sum such as $e^{x+y}$ is a hidden separable form, because $e^{x+y} = e^x e^y$.

Worked example: a hidden separable equation. Solve $\dfrac{dy}{dx} = e^{x+y}$.

Step What we do Result
1 Split the exponential $\dfrac{dy}{dx} = e^x\,e^y$
2 Separate the variables $e^{-y}\,dy = e^x\,dx$
3 Integrate both sides $-e^{-y} = e^x + c$
4 Collect terms and rename the constant, $C = -c$ $e^x + e^{-y} = C$

Common wrong step. Integrating $e^{-y}\,dy$ as $e^{-y}$ and dropping the minus sign. The chain rule gives $\int e^{-y}\,dy = -e^{-y}$.

Growth and decay

A great many real laws say "the rate of change is proportional to the amount present". If $P$ is the amount at time $t$, that law is $\dfrac{dP}{dt} = kP$. Separating the variables gives $\dfrac{dP}{P} = k\,dt$, then $\log P = kt + c$, so $P = P_0 e^{kt}$, where $P_0$ is the value at $t = 0$.

$$\dfrac{dP}{dt} = kP \;\Rightarrow\; P = P_0 e^{kt} \qquad (k > 0 \text{ growth}, \ k < 0 \text{ decay})$$

Worked example: the continuously compounding deposit. A bank pays $5\%$ per year, compounded continuously. A deposit of ₹1000 is made. Find the amount after $t$ years and the time to double.

Step What we do Result
1 Write the rule: rate of growth is $5\%$ of the balance $\dfrac{dP}{dt} = \dfrac{5}{100}P = \dfrac{P}{20}$
2 Separate and integrate $\log P = \dfrac{t}{20} + c$
3 Use $P(0) = 1000$ to fix the constant $P = 1000\,e^{t/20}$
4 Doubling: set $P = 2000$ $e^{t/20} = 2$, so $t = 20\log 2 \approx 13.86$ years

Common wrong step. Writing $P = e^{t/20} + C$. The constant multiplies, because exponentiating $\log P = \dfrac{t}{20} + c$ gives $P = e^{c}e^{t/20}$. Note that the doubling time does not depend on the starting deposit.

Pause and predict: a radioactive substance decays at a rate proportional to the amount present, and its half-life is $10$ years. What fraction remains after $30$ years?

Check your answer: $\dfrac{1}{8}$. In the law $y = y_0 e^{-kt}$ the amount halves every equal period, so three half-lives leave $\left( \dfrac{1}{2} \right)^3 = \dfrac{1}{8}$.

Beyond the textbook. For the exam: growth and decay follow $\dfrac{dP}{dt} = kP$ and the answer is $P_0 e^{kt}$. In reality: the same equation, with only the sign and meaning of $k$ changed, describes radioactive decay and the early growth of a population. A close relative is Newton's law of cooling, $\dfrac{dT}{dt} = -k(T - T_0)$, where the temperature $T$ of a cooling object approaches the surrounding temperature $T_0$ at a rate proportional to the difference. Why it matters: one differential equation covers many unrelated phenomena, which is the reason this chapter is worth learning once and applying everywhere.

Beyond the textbook. For the exam: separate the variables, integrate both sides and add $C$. In reality: dividing by $h(y)$ can silently drop solutions where $h(y) = 0$. For $\dfrac{dy}{dx} = y^2$ the separated solution is $y = -\dfrac{1}{x + C}$, yet $y = 0$ also satisfies the equation and is missing from that family. Why it matters: a complete answer to a "find all solutions" question has to check the zeros of $h(y)$ separately, though a CUET question normally asks only for the general solution you get by separating.

Method 2: homogeneous equations

A function $F(x, y)$ is homogeneous of degree $n$ if $F(\lambda x, \lambda y) = \lambda^n F(x, y)$ for every non-zero $\lambda$. To test it, replace $x$ by $\lambda x$ and $y$ by $\lambda y$ and see whether a clean power of $\lambda$ comes out.

Function After $x \to \lambda x,\ y \to \lambda y$ Homogeneous?
$y^2 + 2xy$ $\lambda^2\left( y^2 + 2xy \right)$ Yes, degree 2
$2x - 3y$ $\lambda\,(2x - 3y)$ Yes, degree 1
$\cos\dfrac{y}{x}$ $\cos\dfrac{y}{x}$ Yes, degree 0
$\sin x + \cos y$ Cannot be written as $\lambda^n F(x, y)$ No

The equation $\dfrac{dy}{dx} = F(x, y)$ is a homogeneous differential equation when $F$ is homogeneous of degree zero, which means it depends only on the ratio $\dfrac{y}{x}$: $\dfrac{dy}{dx} = g\left( \dfrac{y}{x} \right)$. In the form $M\,dx + N\,dy = 0$, both $M$ and $N$ must be homogeneous of the same degree.

Why the substitution $y = vx$ works. Since the equation only cares about the ratio $v = \dfrac{y}{x}$, make that ratio the new variable. Then $y = vx$ and, by the product rule, $\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}$. The equation becomes $x\dfrac{dv}{dx} = g(v) - v$, and the variables now separate:

$$\int \dfrac{dv}{g(v) - v} = \int \dfrac{dx}{x} + C$$

After integrating, put back $v = \dfrac{y}{x}$. If the equation is written naturally as $\dfrac{dx}{dy} = h\left( \dfrac{x}{y} \right)$, use $x = vy$ instead, so that $\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}$.

Worked example: a homogeneous equation. Solve $\dfrac{dy}{dx} = \dfrac{x + y}{x}$.

Step What we do Result
1 Check homogeneity: both numerator and denominator have degree 1, so the ratio has degree 0 Homogeneous
2 Put $y = vx$, so $\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}$, and note the right side is $1 + v$ $v + x\dfrac{dv}{dx} = 1 + v$
3 Cancel $v$ $x\dfrac{dv}{dx} = 1$
4 Separate and integrate $dv = \dfrac{dx}{x}$, so $v = \log\lvert x\rvert + C$
5 Replace $v$ by $\dfrac{y}{x}$ $y = x\log\lvert x\rvert + Cx$

Common wrong step. Writing $\dfrac{dy}{dx} = v$ and forgetting that $v$ itself depends on $x$. The product rule gives the extra term: $\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}$. A second common slip is stopping at $v = \log\lvert x\rvert + C$ and not substituting back.

Pause and predict: is $\dfrac{dy}{dx} = \dfrac{x^2 + y^2}{xy}$ homogeneous, and which substitution would you try?

Check your answer: yes. The numerator and the denominator both have degree $2$, so the right side has degree $0$. Put $y = vx$.

Method 3: linear equations and the integrating factor

A linear differential equation in $y$ has the standard form

$$\dfrac{dy}{dx} + P\,y = Q$$

where $P$ and $Q$ are constants or functions of $x$ only. The coefficient of $\dfrac{dy}{dx}$ must be $1$. The unknown $y$ and its derivative must appear only to the first power and never multiplied together or wrapped in another function.

Why an integrating factor works. Multiply the equation by $e^{\int P\,dx}$, called the integrating factor (I.F.). By the product rule, the left side becomes $\dfrac{d}{dx}\left( y\cdot e^{\int P\,dx} \right)$, a perfect derivative, because the derivative of $e^{\int P\,dx}$ is $P\,e^{\int P\,dx}$. The right side is just $Q\,e^{\int P\,dx}$, so integrating gives the solution:

$$y\cdot \text{I.F.} = \int Q\cdot \text{I.F.}\,dx + C, \qquad \text{I.F.} = e^{\int P\,dx}$$

The recipe: (1) divide to make the coefficient of $\dfrac{dy}{dx}$ equal to $1$; (2) read off $P$ and $Q$; (3) find I.F. $= e^{\int P\,dx}$; (4) write $y\cdot\text{I.F.} = \int Q\cdot\text{I.F.}\,dx + C$.

When the equation is naturally linear in $x$, with the form $\dfrac{dx}{dy} + P_1x = Q_1$ ($P_1$, $Q_1$ functions of $y$ only), the same idea gives I.F. $= e^{\int P_1\,dy}$ and $x\cdot\text{I.F.} = \int Q_1\cdot\text{I.F.}\,dy + C$.

Worked example: dividing first. Solve $x\dfrac{dy}{dx} + 2y = x^2$ for $x > 0$.

Step What we do Result
1 Divide by $x$ to reach standard form $\dfrac{dy}{dx} + \dfrac{2}{x}\,y = x$
2 Read $P$ and $Q$ $P = \dfrac{2}{x}$, $Q = x$
3 Integrating factor $e^{\int \frac{2}{x}\,dx} = e^{2\log x} = x^2$
4 Write the solution $y\,x^2 = \int x\cdot x^2\,dx = \dfrac{x^4}{4} + C$
5 Solve for $y$ $y = \dfrac{x^2}{4} + \dfrac{C}{x^2}$

Common wrong step. Reading $P = 2$ from the equation as written and getting I.F. $= e^{2x}$. $P$ is the coefficient of $y$ only after $\dfrac{dy}{dx}$ has coefficient $1$.

Worked example: watching the sign. Solve $\dfrac{dy}{dx} - y = \cos x$.

Step What we do Result
1 Read $P$ and $Q$ from the standard form $P = -1$, $Q = \cos x$
2 Integrating factor $e^{\int -1\,dx} = e^{-x}$
3 Write the solution $y\,e^{-x} = \int e^{-x}\cos x\,dx + C$
4 Integrate by parts (twice) $\int e^{-x}\cos x\,dx = \dfrac{e^{-x}\left( \sin x - \cos x \right)}{2}$
5 Solve for $y$ $y = \dfrac{\sin x - \cos x}{2} + C\,e^{x}$

Common wrong step. Using I.F. $= e^{x}$ because the equation shows "$-y$" and "minus times minus" feels like a plus. $P$ is $-1$, so the integrating factor is $e^{-x}$. A wrong sign here propagates through the whole calculation.

Choosing the method

If the equation looks like Method First move
$\dfrac{dy}{dx} = g(x)\,h(y)$, or can be factored into $x$ terms times $y$ terms Variables separable Move $y$ to one side with $dy$ and $x$ to the other with $dx$
$\dfrac{dy}{dx} = g\left( \dfrac{y}{x} \right)$, with every term of the same degree Homogeneous Put $y = vx$ (or $x = vy$ for $\dfrac{dx}{dy}$ forms)
$\dfrac{dy}{dx} + P\,y = Q$ Linear Divide to make the coefficient of $\dfrac{dy}{dx}$ equal to $1$, then find the I.F.

Linear is more than first degree. The equation $\dfrac{dy}{dx} = y^2$ has degree $1$ but is not linear, because it contains $y^2$. It is separable, though. An equation can be linear and separable at the same time: $\dfrac{dy}{dx} = y$ is both.

Exam traps

The trap Why it's tempting The truth
Degree is the largest power anywhere Powers are all over the equation It is the power of the highest order derivative only
Degree exists for $\sin y'$, $e^{y'}$ or $\log y'$ Every equation seems to have a degree Not a polynomial in the derivatives, so the degree is not defined
A particular solution has one constant A solution should have a $C$ It has none. The condition fixes every constant
General solution of an $n$th-order equation has $n$ constants "One equation, one constant" It has exactly $n$ constants. Count them against the order
Using $y = vx$ for $\dfrac{dx}{dy} = h\left( \dfrac{x}{y} \right)$ One substitution seems to fit all Use $x = vy$ for equations written as $\dfrac{dx}{dy}$
$\dfrac{dy}{dx} = v$ after $y = vx$ $v$ looks like a constant $v$ depends on $x$. The product rule gives $v + x\dfrac{dv}{dx}$
Reading $P$ before dividing by the coefficient of $y'$ The equation is almost in standard form Divide first. For $x y' - y = 2x^2$, $P = -\dfrac{1}{x}$, not $-1$
Treating $\dfrac{dy}{dx} = y^2$ as linear It is first degree Linear needs $y$ to appear only to the first power

Formula sheet

Idea Formula When to use
Order Order of the highest derivative Any equation
Degree Power of the highest order derivative, if polynomial in derivatives Only if the equation is polynomial in its derivatives
Constants General solution has as many constants as the order Counting arbitrary constants
Variables separable $\int \dfrac{dy}{h(y)} = \int g(x)\,dx + C$ $\dfrac{dy}{dx} = g(x)\,h(y)$
Growth and decay $\dfrac{dP}{dt} = kP \Rightarrow P = P_0 e^{kt}$ Rate proportional to amount
Homogeneous test $F(\lambda x, \lambda y) = \lambda^n F(x, y)$ Degree 0 gives a homogeneous equation
Homogeneous substitution $y = vx$, $\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}$; $x = vy$ for $\dfrac{dx}{dy}$ forms After which $\int \dfrac{dv}{g(v) - v} = \int \dfrac{dx}{x} + C$
Linear in $y$ $\dfrac{dy}{dx} + Py = Q$, I.F. $= e^{\int P\,dx}$, $y\cdot\text{I.F.} = \int Q\cdot\text{I.F.}\,dx + C$ Divide first so the coefficient of $y'$ is $1$
Linear in $x$ $\dfrac{dx}{dy} + P_1x = Q_1$, I.F. $= e^{\int P_1\,dy}$ When $y$ is the independent variable
Newton's cooling $\dfrac{dT}{dt} = -k(T - T_0)$ A cooling object in surroundings at $T_0$

60-second revision

Topic Lock this in
Order and degree Highest derivative gives the order. Its power gives the degree, only if the equation is polynomial in derivatives
Solutions General: $n$ constants for order $n$. Particular: zero constants
Separable Split into $x$ part and $y$ part, integrate each, add $C$ once. Watch for $e^{x+y}$
Growth and decay $P = P_0 e^{kt}$. Constant multiplies. Doubling time is $\dfrac{\log 2}{k}$
Homogeneous Degree 0, $y = vx$, $v + x\dfrac{dv}{dx}$, separate, put $v = \dfrac{y}{x}$ back
Linear Divide first, $P$ and $Q$, I.F. $= e^{\int P\,dx}$, then $y\cdot\text{I.F.} = \int Q\cdot\text{I.F.}\,dx + C$
I.F. checks $x y' - y = 2x^2$ gives I.F. $\dfrac{1}{x}$; $y' - y = \cos x$ gives I.F. $e^{-x}$

Where this chapter connects

🎯 Practice MCQs

First 3 questions free · create a free account to unlock the rest — answers & explanations included, no payment needed

Q1. The order and degree of $\left( \dfrac{d^2y}{dx^2} \right)^3 + \left( \dfrac{dy}{dx} \right)^4 + y^5 = 0$ are

▸ Show answer & explanation

Answer: A

The highest derivative is $\dfrac{d^2y}{dx^2}$, so the order is 2. It appears cubed, so the degree is 3. Option (B) takes the power of the lower derivative. Option (D) takes the power of $y$, which is not a derivative. Option (C) swaps the order and the degree.

Q2. The degree of $\dfrac{d^2y}{dx^2} + \left( \dfrac{dy}{dx} \right)^2 + \sin\left( \dfrac{dy}{dx} \right) + 1 = 0$ is

▸ Show answer & explanation

Answer: D

The derivative $\dfrac{dy}{dx}$ appears inside $\sin$, so the equation is not a polynomial in its derivatives. The degree is therefore not defined, even though the order is 2.

Q3. Match List I with List II. List I: (i) y'' + y = 0 (ii) (y')³ + y = x (iii) y''' + (y')² = 0 (iv) sin(y') + y = 0. List II: (p) order 1, degree not defined (q) order 3, degree 1 (r) order 2, degree 1 (s) order 1, degree 3.

▸ Show answer & explanation

Answer: A

In (i) the highest derivative is y'' to the power 1, giving order 2 and degree 1. In (ii) it is y' cubed, giving order 1 and degree 3. In (iii) it is y''' to the power 1, giving order 3 and degree 1, because the square is on the lower derivative. In (iv) y' sits inside sine, so the order is 1 and the degree is not defined.

🔒 9 more practice MCQs

Create a free account to unlock every MCQ in this chapter — answers and explanations included. No payment needed.

Already registered? Just log in and they'll all appear here.

📊 Previous-Year Questions

Practise with real CUET Mathematics previous-year papers — every question solved, with the correct answer and a step-by-step explanation.

View solved CUET PYQ papers →

Ready to drill Mathematics?

Unlock all MCQs, chapter tests, mocks & PYQs for ₹199/year.

Get UniDrill Pro