Latest
  • Admissions openClass 11 Science, 2027‑28: JEE, NEET and MHT‑CET with junior college and hostel under one roofApply now
  • IMGSAT 2027Free scholarship and admission test for Class 10 students, every Saturday and Sunday at our Nashik campusRegister
  • Free Foundation 2026‑27Evening classes for Class 10 in Physics, Chemistry, Maths and Biology, taught by our IITian and doctor facultyJoin free

+91 70303 00666

Maths · Class 12 · Chapter 9

Differential Equations

A differential equation relates an unknown function to its derivatives, and solving it means finding that function. In Class 12 you meet three types of first order equations, each with its own method. Identify the type correctly and the rest is integration you already know.

In this chapter: order and degree of a differential equation, general and particular solutions, forming a differential equation from a family of curves, and solving equations with variables separable, homogeneous equations and linear equations.

Order and degree

The order is the order of the highest derivative present. The degree is the power of that highest order derivative, and it is defined only when the equation is a polynomial in all the derivatives y′, y″, y‴, and so on.

EquationOrderDegree
dy/dx = cos x11
(d²y/dx²)³ + (dy/dx)² + sin y = 023
y‴ + 2y″ + y′ = 031
y″ + sin(y′) = 02Not defined

In the second example, sin y does not affect the degree, because the polynomial condition applies to the derivatives, not to y itself. In the last one, sin(y′) is not a polynomial in y′, so the degree is not defined. Order and degree (when defined) are always positive integers.

General and particular solutions

A general solution contains arbitrary constants, and their number equals the order of the equation. A particular solution is obtained by giving the constants definite values, usually from an initial condition such as y(0) = 1. For example, y = A cos x + B sin x is the general solution of y″ + y = 0 (order 2, two constants), and y = cos x is the particular solution with y(0) = 1, y′(0) = 0.

Solution curves of dy/dx = minus x over ywww.iitmedicoguide.comxy5−5(3, 4)dy/dx = −x/yGeneral solution:x² + y² = C(one circle for each C)Particular solutionthrough (3, 4):x² + y² = 25slope at (3, 4) = −3/4www.iitmedicoguide.com
The general solution of dy/dx = −x/y is a family of circles. The condition "passes through (3, 4)" fixes C = 25 and picks out one circle, the particular solution.

Forming a differential equation

This topic was removed from the rationalised NCERT book, but it is still in the MHT‑CET and JEE Advanced syllabus. To form the differential equation of a family of curves with n arbitrary constants, differentiate n times and eliminate the constants. The result has order n. For the circles x² + y² = r² (one constant r), differentiating gives 2x + 2y y′ = 0, so the equation is x + y (dy/dx) = 0. For y = A cos x + B sin x (two constants), y″ = −y, so the equation is y″ + y = 0.

Variables separable

If the equation can be written as dy/dx = f(x) g(y), separate it as dy/g(y) = f(x) dx (for g(y) ≠ 0) and integrate both sides. Add a single constant on one side.

Worked example: Solve dy/dx = −x/y given that y = 4 when x = 3.
Solution: y dy = −x dx. Integrating, y²/2 = −x²/2 + c, that is, x² + y² = C. Using (3, 4): C = 9 + 16 = 25. The particular solution is x² + y² = 25, the highlighted circle in the figure.
Worked example: Solve dy/dx = ex + y.
Solution: Write ex + y = ex ey, so e−y dy = ex dx. Integrating, −e−y = ex + c, which can be written ex + e−y = C. Answers in MCQs are often in this rearranged form, so be ready to move the constant around.

Homogeneous differential equations

A function F(x, y) is homogeneous of degree n if F(λx, λy) = λn F(x, y). The equation dy/dx = F(x, y) is homogeneous if F is homogeneous of degree zero, which means F can be written as a function of y/x alone. For example, (x² + y²)/(2xy) is homogeneous of degree zero.

Method: put y = vx, so dy/dx = v + x (dv/dx). The equation becomes separable in v and x. Solve, then replace v by y/x. (If the equation is in the form dx/dy = G(x, y), put x = vy instead.)

Worked example: Solve dy/dx = (x² + y²)/(2xy).
Solution: Put y = vx: v + x dv/dx = (1 + v²)/(2v). So x dv/dx = (1 + v² − 2v²)/(2v) = (1 − v²)/(2v). Separating, 2v dv/(1 − v²) = dx/x. Integrating, −log|1 − v²| = log|x| + c, which gives x(1 − v²) = C. Replacing v = y/x: x² − y² = Cx. Check by differentiating: 2x − 2yy′ = C = (x² − y²)/x, which rearranges to y′ = (x² + y²)/(2xy).

Linear differential equations

A first order linear equation has the form

dy/dx + P y = Q, P and Q functions of x (or constants)Integrating factor: I.F. = e∫P dxSolution: y × (I.F.) = ∫ Q × (I.F.) dx + C

If the equation is linear in x instead, dx/dy + P1 x = Q1 with P1, Q1 functions of y, the I.F. is e∫P1 dy and the solution is x × (I.F.) = ∫ Q1 × (I.F.) dy + C. Always bring the equation to standard form (coefficient of dy/dx equal to 1) before reading off P.

Worked example: Solve x dy/dx + y = x³, x > 0.
Solution: Divide by x: dy/dx + (1/x) y = x². So P = 1/x, Q = x², and I.F. = e∫dx/x = elog x = x. Then y · x = ∫ x² · x dx = x⁴/4 + C, so y = x³/4 + C/x. Check: y′ + y/x = (3x²/4 − C/x²) + (x²/4 + C/x²) = x².

Useful integrating factors to recognise: P = tan x gives I.F. = sec x; P = cot x gives sin x; P = 2x gives ex²; P = −1 gives e−x.

Which method?

You seeTypeDo this
dy/dx = f(x) g(y)Variables separableSeparate and integrate
dy/dx = F(y/x), every term of the same total degreeHomogeneousPut y = vx
dy/dx + Py = Q, y and dy/dx only to the first powerLinearMultiply by e∫P dx

Some equations fit more than one type; any correct method gives an equivalent answer.

Common mistakes: (1) Stating the degree of an equation that is not a polynomial in its derivatives. (2) Forgetting the constant of integration, or adding constants on both sides and not combining them. (3) Reading P from an equation that is not in standard form, for example taking P = 1 in x dy/dx + y = x³. (4) Writing elog x as log x instead of x. (5) After y = vx, forgetting to substitute back v = y/x in the final answer.

JEE and MHT‑CET focus

  • Order and degree, including equations where the degree is not defined or needs rationalising first.
  • Forming the differential equation of a given family of curves, and the number of arbitrary constants.
  • Variables separable equations with initial conditions.
  • Homogeneous equations by y = vx, and recognising them after simplification.
  • Linear equations in y or in x, with standard integrating factors, and word problems on growth and decay (dy/dt = ky gives y = y0ekt).

Practice questions

The order and degree of (d²y/dx²)³ + (dy/dx)² + sin y = 0 are:

  1. 2, 2
  2. 2, 3
  3. 3, 2
  4. 2, not defined
Show answer
B. Highest derivative is second order, raised to the power 3; sin y does not involve a derivative.

The degree of y″ + sin(y′) = 0 is:

  1. 1
  2. 2
  3. 0
  4. Not defined
Show answer
D. The equation is not a polynomial in y′.

The number of arbitrary constants in the general solution of a differential equation of order 4 is:

  1. 0
  2. 2
  3. 3
  4. 4
Show answer
D. It equals the order.

The integrating factor of dy/dx + y tan x = sec x is:

  1. cos x
  2. sec x
  3. etan x
  4. log sec x
Show answer
B. e∫tan x dx = elog sec x = sec x.

The general solution of dy/dx = ex + y is:

  1. ex + ey = C
  2. ex + e−y = C
  3. e−x + ey = C
  4. e−x + e−y = C
Show answer
B. e−y dy = ex dx gives −e−y = ex + c.

The differential equation of the family y = A cos x + B sin x is:

  1. y″ − y = 0
  2. y″ + y = 0
  3. y′ + y = 0
  4. y″ + y′ = 0
Show answer
B. Differentiating twice gives y″ = −A cos x − B sin x = −y.

The solution of dy/dx = y with y(0) = 2 is:

  1. y = e2x
  2. y = 2ex
  3. y = ex + 1
  4. y = 2 + x
Show answer
B. dy/y = dx gives y = Cex; y(0) = 2 gives C = 2.

To solve a homogeneous equation dy/dx = F(x, y), the standard substitution is:

  1. y = x + v
  2. y = vx
  3. y = v/x
  4. xy = v
Show answer
B. Then dy/dx = v + x dv/dx and the variables separate.
Call WhatsApp Apply
Chat with us on WhatsApp