MCQIndia.comCBSE
CBSE
Class 12 · Mathematics · Part 2

Chapter 9: Differential Equations

Revision notes, worked problems, a question bank, assertion and reason questions and answers to the NCERT exercises. Tap a group to open it; opening one closes the others.

9.1 – 9.2Differential equations, order and degreeWhat the words mean

What is a differential equation?

An equation that contains the derivatives of an unknown function (the dependent variable) with respect to one or more independent variables. We study equations with one independent variable, called ordinary differential equations.

  • dy/dx = 3x² is a differential equation. Its solution is a function y = φ(x).
  • d²y/dx² + y = 0 involves a second derivative.
  • Unlike x² + 1 = 0, whose solutions are numbers, the solution of a differential equation is a function.

Order

The order is the order of the highest order derivative present.

EquationHighest derivativeOrder
dy/dx − cos x = 0dy/dx1
xy d²y/dx² + x(dy/dx)² − y dy/dx = 0d²y/dx²2
y‴ + y² + e^(y′) = 0y‴3

Degree

The degree is defined only when the equation is a polynomial in its derivatives. It is the power of the highest order derivative, after the equation is free of radicals and fractions in the derivatives.

  • (d²y/dx²)² + dy/dx = 0: order 2, degree 2.
  • d²y/dx² + (dy/dx)⁴ = 0: order 2, degree 1 (only the power of the highest derivative counts).
  • dy/dx + sin(dy/dx) = 0 and y‴ + y² + e^(y′) = 0: not polynomial in the derivatives, so the degree is not defined.
Find the highestderivative presentORDER =the order of that derivativeIs it a polynomial inall its derivatives?yesnoDEGREE =power of the highest derivativeDEGREEis not defined
Order comes from the highest derivative. Degree needs a polynomial equation in the derivatives.

Functions of y or x alone, such as sin y or eˣ, do not affect the degree. Functions of a derivative, such as sin(y′), do.

9.3General and particular solutionsArbitrary constants

Solutions

A function y = φ(x) is a solution if the equation becomes an identity when φ and its derivatives are substituted. Its graph is a solution curve.

  • The general solution of an nth order equation has n independent arbitrary constants. It represents a family of curves.
  • A particular solution has no arbitrary constants. The constants are fixed using given conditions such as y = 1 when x = 0.

Verifying a solution

Differentiate the given function as many times as needed, substitute in the equation and check that the left side equals the right side.

  • Example: y = Cx² and x dy/dx = 2y. Then dy/dx = 2Cx and x dy/dx = 2Cx² = 2y. ✓
  • For a relation such as xy = log y + C, differentiate implicitly.

Forming a differential equation

Given a family with n arbitrary constants, differentiate n times and eliminate the constants.

  • y = Cx²: dy/dx = 2Cx. Eliminating C using C = y/x² gives x dy/dx = 2y. (1 constant, order 1.)
  • y = a cos x + b sin x: y″ = −y, so y″ + y = 0. (2 constants, order 2.)
xy(1, 2)y = 2x²x dy/dx = 2yGeneral solution: y = Cx²one curve for each C (dashed)Particular: through (1, 2)C = 2, so y = 2x²
The general solution is a whole family of curves. A particular solution is the one member through a given point.
9.4.1Variables separabledy/dx = f(x) g(y)

The method

  • Write the equation as dy/g(y) = f(x) dx, with all y terms on one side and all x terms on the other.
  • Integrate both sides and add one constant of integration C.
  • Use any given condition to find C.
∫ dy/g(y) = ∫ f(x) dx + C

Example

Solve dy/dx = −x/y.

  • y dy = −x dx.
  • y²/2 = −x²/2 + C₁, so x² + y² = C.
dy/dx = −x/yshort marks show the slope at each pointsolution curves: x² + y² = Ceach curve follows the marks
A differential equation gives the slope at every point. Its solution curves are the curves that follow those slopes.

Useful forms

  • dy/dx = f(x): y = ∫f(x) dx + C.
  • dy/dx = g(y): ∫dy/g(y) = x + C.
  • Reduce products: eˣ⁺ʸ = eˣ eʸ. Use partial fractions when the denominator factors.
9.4.2Homogeneous equationsdy/dx = F(y/x)

What makes it homogeneous

F(x, y) is homogeneous of degree n if F(λx, λy) = λⁿF(x, y). The equation dy/dx = F(x, y) is homogeneous if F is homogeneous of degree 0, that is F can be written as a function of y/x. For M dx + N dy = 0, M and N must be homogeneous of the same degree.

  • (x² + y²) dx − xy dy = 0: both coefficients have degree 2, so it is homogeneous.
  • (x + y + 1) dx − x dy = 0: the constant term breaks it.
  • xy dx − (x³ + y³) dy = 0: degrees 2 and 3, so it is not homogeneous.

The substitution

  • Put y = vx, so dy/dx = v + x dv/dx.
  • The equation becomes x dv/dx = F(v) − v, which is separable: dv/(F(v) − v) = dx/x.
  • Integrate, then replace v by y/x.
  • If the equation has the form dx/dy = h(x/y), put x = vy instead.
Homogeneousdy/dx = F(y/x)Put y = vxdy/dx = v + x dv/dxSeparatedv/(F(v) − v) = dx/xIntegratethen put v = y/x
A homogeneous equation becomes variables separable once y is replaced by vx.

Example

Solve (x² − y²) dx + 2xy dy = 0.

  • dy/dx = −(x² − y²)/(2xy). Put y = vx: x dv/dx = −(1 + v²)/(2v).
  • 2v dv/(1 + v²) = −dx/x, so log(1 + v²) = −log|x| + log C.
  • x(1 + v²) = C, that is x² + y² = Cx.
9.4.3Linear equationsdy/dx + Py = Q

Standard forms

dy/dx + Py = Q (P, Q functions of x only)dx/dy + P₁x = Q₁ (P₁, Q₁ functions of y only)
  • Linear means y and dy/dx appear only to the first power and are not multiplied together.
  • Divide by the coefficient of dy/dx first to reach the standard form.

The integrating factor method

I.F. = e^(∫P dx)y · I.F. = ∫ Q · I.F. dx + C
  • Multiplying by I.F. makes the left side d/dx(y · I.F.).
  • Constant of integration in ∫P dx is not needed: any antiderivative will do.
  • Useful: e^(log f) = f, so e^(∫dx/x) = x and e^(∫tan x dx) = sec x.
Standard formdy/dx + Py = QIntegrating factorI.F. = e^(∫P dx)Multiply throughd/dx(y · I.F.) = Q · I.F.Integratey · I.F. = ∫Q · I.F. dx + CFor dx/dy + P₁x = Q₁, swap the roles of x and y.
The integrating factor turns the left side into the derivative of a product.

Example

Solve dy/dx + y/x = x² (x > 0).

  • P = 1/x, so I.F. = e^(log x) = x.
  • xy = ∫x³ dx = x⁴/4 + C, so y = x³/4 + C/x.
RefQuick reference and common slipsOne page to revise from

Quick reference

TypeTestMethod
Variables separabledy/dx = f(x)g(y)dy/g(y) = f(x) dx, integrate
Homogeneousdy/dx = F(y/x)y = vx (or x = vy), then separate
Linear in ydy/dx + Py = QI.F. = e^(∫P dx)
Linear in xdx/dy + P₁x = Q₁I.F. = e^(∫P₁ dy)
Order, degreehighest derivative; its powerdegree needs a polynomial equation

Common slips

  • Giving the degree as the power of the equation overall instead of the power of the highest derivative.
  • Forgetting that sin(y′), e^(y′) or log(y′) make the degree undefined.
  • Losing the constant C, or putting it on both sides.
  • Using y = vx for an equation of the form dx/dy = h(x/y) (use x = vy).
  • Not dividing by the coefficient of dy/dx before reading off P.
  • Writing I.F. as ∫P dx instead of e^(∫P dx).