Back to ShikshaPal ExplainerClass 12 / Math
ShikshaPal
Class 12 · Math

Differential Equations

A differential equation is an equation involving derivatives—it relates a function to its rates of change.

Feynman Lens

Start with the simplest version: this lesson is about Differential Equations. If you can explain the core idea to a friend using everyday language, examples, and one clear reason why it matters, you have moved from memorising to understanding.

A differential equation is an equation involving derivatives—it relates a function to its rates of change. Many real-world phenomena are naturally described by differential equations: how populations grow, how diseases spread, how radioactive substances decay, how electrical circuits respond to voltage changes. Rather than knowing the function directly, we know how it changes, and we must reverse-engineer the original function. This chapter introduces methods to solve differential equations, bridging the derivatives of chapter-06-application-of-derivatives and the integration of chapter-07-integrals.

Understanding Differential Equations

A differential equation involves a function and its derivatives. The order of a differential equation is the highest derivative present.

Examples:

A solution to a differential equation is a function y = f(x) that satisfies the equation when substituted.

General vs. particular solutions:

Example: For dy/dx = 2x,

Building from Earlier Chapters

chapter-05-continuity-and-differentiability introduced derivatives. chapter-07-integrals showed that integration recovers functions from derivatives. Now we systematically solve equations involving derivatives: given dy/dx in terms of x and y, find y.

Separable Differential Equations

A differential equation dy/dx = f(x, y) is separable if it can be written:

dy/dx = g(x) · h(y)

Solution method: Separate variables and integrate:

(1/h(y)) dy = g(x) dx
∫(1/h(y)) dy = ∫g(x) dx
F(y) = G(x) + C

Example: dy/dx = y

Example: dy/dx = (x/y)

Applications of Separable Equations

Exponential Growth and Decay

Many phenomena follow dy/dx = ky, where k is a constant:

Solution: y = Ae^(kx) or y = y₀e^(kt) (with initial condition y(0) = y₀)

Example: A radioactive substance decays with dy/dt = -0.1y, where y is mass and t is time in years. If y(0) = 100 grams:

Newton's Law of Cooling

An object cools toward ambient temperature according to:

dT/dt = k(T - Tₐ)

where T is object temperature, Tₐ is ambient temperature, and k < 0.

Solution: T - Tₐ = Ae^(kt), so T = Tₐ + Ae^(kt)

With initial condition T(0) = T₀: A = T₀ - Tₐ

Linear Differential Equations

A first-order linear differential equation has the form:

dy/dx + P(x)y = Q(x)

Solution method: Use an integrating factor μ(x) = e^(∫P(x)dx). Multiply both sides by μ(x):

μ(x)dy/dx + μ(x)P(x)y = μ(x)Q(x)
d/dx[μ(x)y] = μ(x)Q(x)

Integrate both sides and solve for y.

Example: dy/dx - 2y = e^(3x)

Second-Order Linear Equations (brief introduction)

For equations like d²y/dx² + a(dy/dx) + by = f(x), solutions combine:

  1. Complementary solution (homogeneous part): yc satisfying d²y/dx² + a(dy/dx) + by = 0
  2. Particular solution (non-homogeneous part): yp

General solution: y = yc + yp

Connections to Other Topics

Socratic Questions

  1. Explain why the general solution to a differential equation contains arbitrary constants. How do initial conditions pin down these constants to give a unique particular solution?
  1. For the differential equation dy/dx = y, separate variables to get (1/y) dy = dx. Why is this valid as long as y ≠ 0? What happens if y = 0; is it a solution to the original equation?
  1. Two populations follow dy/dt = ky and dz/dt = 3ky with the same k. If both start with the same initial value, how will the second population differ from the first? What does the factor of 3 on the right side change?
  1. In separable equations like dy/dx = f(x)·g(y), why is separation of variables valid? That is, why can we rearrange to get (1/g(y)) dy = f(x) dx without loss of information?
  1. For Newton's Law of Cooling, dT/dt = k(T - Tₐ), explain why the temperature difference (T - Tₐ) decays exponentially, not the absolute temperature T. How does this make intuitive sense?

Term / Concept
Differential Equation
tap to flip
An equation involving an unknown function and its derivatives, e.g., dy/dx = f(x, y).
Term / Concept
Order of a DE
tap to flip
The order is the highest derivative present (e.g., d²y/dx² → order 2).
Term / Concept
Degree of a DE
tap to flip
The power of the highest-order derivative when the equation is polynomial in derivatives (and free of radicals/fractions of derivatives).
Term / Concept
General vs Particular Solution
tap to flip
General solution contains arbitrary constants; a particular solution is determined by an initial condition.
Term / Concept
Variables Separable
tap to flip
If dy/dx = f(x)·g(y), then ∫dy/g(y) = ∫f(x) dx + C.
Term / Concept
Homogeneous DE
tap to flip
dy/dx = F(y/x). Substitute y = vx so dy/dx = v + x·dv/dx and the equation becomes separable in v and x.
Term / Concept
Linear DE (first order)
tap to flip
dy/dx + P(x)y = Q(x). Integrating factor μ = e^(∫P dx); then d/dx(μy) = μQ.
Term / Concept
Integrating Factor
tap to flip
μ(x) = e^(∫P(x) dx) for dy/dx + P(x)y = Q(x). Multiplying turns the left side into d/dx[μ(x) y].
Term / Concept
Exponential Growth/Decay
tap to flip
dy/dt = ky has solution y = y₀ e^(kt). k > 0 grows; k < 0 decays.
Term / Concept
Newton's Law of Cooling
tap to flip
dT/dt = k(T − Tₐ) ⇒ T = Tₐ + (T₀ − Tₐ)e^(kt), with k < 0 for cooling.
The order of the differential equation d²y/dx² + 3(dy/dx)⁵ + y = 0 is
  • A 5
  • B 1
  • C 2
  • D 3
Solve dy/dx = y with y(0) = 1.
  • A y = e^x
  • B y = x
  • C y = e^(−x)
  • D y = ln x
For dy/dx + (1/x) y = x, the integrating factor is
  • A e^x
  • B 1/x
  • C ln x
  • D x
The general solution of dy/dx = x/y is
  • A y = x + C
  • B y² − x² = C
  • C y² + x² = C
  • D y = x²/2 + C
A radioactive sample obeys dN/dt = −0.1 N with N(0) = 100. The mass after 10 years is
  • A 100 e^(−1)
  • B 100 e^(−10)
  • C 100/10
  • D 100 (1 − 0.1·10)