Class 12 PCM . Mathematics . Mathematics Part II . Differential Equations

Chapter 9: DIFFERENTIAL EQUATIONS

Ch 9

Mathematics

Class 12 PCM

Basics of Differential Equations

A differential equation is an equation involving derivatives of a function with respect to one or more independent variables. The derivative of the function is denoted by dydx\frac{dy}{dx}.

Order of a differential equation is the order of the highest derivative present in the equation.

Degree of a differential equation is the power of the highest order derivative after removing radicals and fractions.

Notation for derivatives:

  • dydx=y′\frac{dy}{dx} = y'
  • d2ydx2=y′′\frac{d^2y}{dx^2} = y''
  • d3ydx3=y′′′\frac{d^3y}{dx^3} = y'''
  • For higher order derivatives, y(n)=dnydxny^{(n)} = \frac{d^n y}{dx^n}

Order and degree are always positive integers.

Example 1

Find the order and degree of the differential equation y(3)+y2+ey′=0y^{(3)} + y^2 + e^{y'} = 0.

Solution: The highest order derivative is y(3)y^{(3)}, so the order is 3. The equation is not a polynomial in derivatives due to the exponential term ey′e^{y'}, so the degree is not defined.

Practice Set

  • Find the order and degree of d2ydx2+3y′+y=0\frac{d^2y}{dx^2} + 3y' + y = 0.
  • Determine the order and degree of (y′′)2+y=5(y'')^2 + y = 5.
  • Find the order and degree of y′′+y=0\sqrt{y''} + y = 0.

Answer Key

  • Order = 2, Degree = 1
  • Order = 2, Degree = 2
  • Order = 2, Degree not defined (due to square root)

Quick Reference

TermDefinition
OrderHighest order derivative in the equation
DegreePower of highest order derivative after simplification

Glossary

  • Derivative: Rate of change of a function.
  • Order: Highest derivative order in the equation.
  • Degree: Power of the highest order derivative.

Variable Separable Methods

General Solution: Solution containing arbitrary constants equal to the order of the differential equation.

Particular Solution: Solution obtained by assigning specific values to arbitrary constants in the general solution.

A differential equation is separable if it can be written as f(x)dx=g(y)dyf(x) dx = g(y) dy. The solution is obtained by integrating both sides:

∫f(x)dx=∫g(y)dy+k\int f(x) dx = \int g(y) dy + k

where kk is the constant of integration.

Example 2

Find the general solution of dydx=x\frac{dy}{dx} = x.

Solution:

Separate variables:

dy=xdxdy = x dx

Integrate both sides:

∫dy=∫xdx\int dy = \int x dx

y=x22+cy = \frac{x^2}{2} + c

Practice Set

  • Solve dydx=3x2\frac{dy}{dx} = 3x^2.
  • Solve dydx=yx\frac{dy}{dx} = \frac{y}{x}.
  • Solve dydx=x2y2\frac{dy}{dx} = \frac{x^2}{y^2}.

Answer Key

  • y=x3+cy = x^3 + c
  • Separate variables: dyy=dxx\frac{dy}{y} = \frac{dx}{x}, integrate to get ln⁡∣y∣=ln⁡∣x∣+c\ln|y| = \ln|x| + c, so y=kxy = kx.
  • Separate variables: y2dy=x2dxy^2 dy = x^2 dx, integrate to get y33=x33+c\frac{y^3}{3} = \frac{x^3}{3} + c, so y3=x3+ky^3 = x^3 + k.

Quick Reference

StepAction
1Rewrite as f(x)dx=g(y)dyf(x) dx = g(y) dy
2Integrate both sides
3Add constant of integration

Glossary

  • General Solution: Solution with arbitrary constants.
  • Particular Solution: Solution with constants assigned specific values.
  • Separable Equation: Equation that can be written as product of functions of x and y separately.

Linear Differential Equations

A first order linear differential equation in yy is of the form:

dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x)

where P(x)P(x) and Q(x)Q(x) are functions of xx only.

Solution method:

  1. Find the integrating factor (I.F.):
  2. I.F.=e∫P(x)dxI.F. = e^{\int P(x) dx}

  3. Multiply the entire differential equation by the I.F.:
  4. I.F.⋅dydx+I.F.⋅P(x)y=I.F.⋅Q(x)I.F. \cdot \frac{dy}{dx} + I.F. \cdot P(x) y = I.F. \cdot Q(x)

  5. Left side becomes derivative of y⋅I.F.y \cdot I.F.:
  6. ddx(y⋅I.F.)=I.F.⋅Q(x)\frac{d}{dx} \left( y \cdot I.F. \right) = I.F. \cdot Q(x)

  7. Integrate both sides:
  8. y⋅I.F.=∫I.F.⋅Q(x)dx+cy \cdot I.F. = \int I.F. \cdot Q(x) dx + c

  9. Finally, solve for yy:
  10. y=1I.F.(∫I.F.⋅Q(x)dx+c)y = \frac{1}{I.F.} \left( \int I.F. \cdot Q(x) dx + c \right)

Similarly, a linear differential equation in xx is of the form:

dxdy+P(y)x=Q(y)\frac{dx}{dy} + P(y) x = Q(y)

and solved by analogous steps using integrating factor e∫P(y)dye^{\int P(y) dy}.

Example 3

Solve dydx+y=x\frac{dy}{dx} + y = x.

Solution:

Given P(x)=1P(x) = 1, Q(x)=xQ(x) = x.

Integrating factor:

I.F.=e∫1dx=exI.F. = e^{\int 1 dx} = e^x

Multiply both sides by exe^x:

exdydx+exy=xexe^x \frac{dy}{dx} + e^x y = x e^x

Left side is derivative of yexy e^x:

ddx(yex)=xex\frac{d}{dx} (y e^x) = x e^x

Integrate both sides:

yex=∫xexdx+cy e^x = \int x e^x dx + c

Use integration by parts for ∫xexdx\int x e^x dx:

Let u=xu = x, dv=exdxdv = e^x dx, then du=dxdu = dx, v=exv = e^x.

∫xexdx=xex−∫exdx=xex−ex+c1\int x e^x dx = x e^x - \int e^x dx = x e^x - e^x + c_1

Therefore,

yex=xex−ex+cy e^x = x e^x - e^x + c

Divide both sides by exe^x:

y=x−1+ce−xy = x - 1 + c e^{-x}

Practice Set

  • Solve dydx+2y=e−x\frac{dy}{dx} + 2y = e^{-x}.
  • Solve dydx−y=x\frac{dy}{dx} - y = x.
  • Solve dxdy+3x=y2\frac{dx}{dy} + 3x = y^2.

Answer Key

  • Integrating factor e2xe^{2x}, solution y=e−2x∫exdx+ce−2x=13e−x+ce−2xy = e^{-2x} \int e^{x} dx + c e^{-2x} = \frac{1}{3} e^{-x} + c e^{-2x}.
  • Integrating factor e−xe^{-x}, solution y=ex∫xe−xdx+cex=−x−1+cexy = e^{x} \int x e^{-x} dx + c e^{x} = -x -1 + c e^{x}.
  • Integrating factor e3ye^{3y}, solution xe3y=∫y2e3ydy+cx e^{3y} = \int y^2 e^{3y} dy + c (integration by parts required).

Quick Reference

StepAction
1Write in standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x)
2Calculate integrating factor e∫P(x)dxe^{\int P(x) dx}
3Multiply equation by integrating factor
4Integrate both sides
5Solve for yy

Glossary

  • Integrating Factor: Function used to simplify linear differential equations.
  • Linear Differential Equation: Equation linear in the dependent variable and its derivatives.

Homogeneous Differential Equations

A first order differential equation is homogeneous if it can be written as:

dydx=f(x,y)\frac{dy}{dx} = f(x,y)

where f(kx,ky)=knf(x,y)f(kx, ky) = k^n f(x,y) for some degree nn.

Method of solution:

Substitute y=vxy = v x (where vv is a function of xx) so that:

dydx=v+xdvdx\frac{dy}{dx} = v + x \frac{dv}{dx}

Rewrite the differential equation in terms of vv and xx, then separate variables and integrate.

Example 4

Solve y′=x+yxy' = \frac{x + y}{x}.

Solution:

Rewrite:

dydx=1+yx\frac{dy}{dx} = 1 + \frac{y}{x}

Substitute y=vxy = v x, so dydx=v+xdvdx\frac{dy}{dx} = v + x \frac{dv}{dx}.

Substitute into equation:

v+xdvdx=1+vv + x \frac{dv}{dx} = 1 + v

Rearranged:

xdvdx=1x \frac{dv}{dx} = 1

Separate variables:

dvdx=1x  ⟹  dv=dxx\frac{dv}{dx} = \frac{1}{x} \implies dv = \frac{dx}{x}

Integrate both sides:

∫dv=∫dxx  ⟹  v=ln⁡∣x∣+c\int dv = \int \frac{dx}{x} \implies v = \ln |x| + c

Recall v=yxv = \frac{y}{x}, so:

yx=ln⁡∣x∣+c  ⟹  y=xln⁡∣x∣+cx\frac{y}{x} = \ln |x| + c \implies y = x \ln |x| + c x

Practice Set

  • Solve dydx=yx+xy\frac{dy}{dx} = \frac{y}{x} + \frac{x}{y}.
  • Solve dydx=x2+y2xy\frac{dy}{dx} = \frac{x^2 + y^2}{x y}.
  • Solve dxdy=x+yy\frac{dx}{dy} = \frac{x + y}{y}.

Answer Key

  • Substitute y=vxy = v x, solve to get y=cxy = c x.
  • Rewrite and substitute, integrate to find implicit solution involving logarithms.
  • Substitute x=vyx = v y, solve for vv and integrate accordingly.

Quick Reference

StepAction
1Check if f(kx,ky)=knf(x,y)f(kx, ky) = k^n f(x,y)
2Substitute y=vxy = v x or x=vyx = v y
3Rewrite dydx\frac{dy}{dx} or dxdy\frac{dx}{dy} in terms of vv and xx or yy
4Separate variables and integrate

Glossary

  • Homogeneous Function: Function satisfying f(kx,ky)=knf(x,y)f(kx, ky) = k^n f(x,y).
  • Substitution: Replacing variables to simplify the equation.

Mathematics — ALL CHAPTERS

1

Relations And Functions

View

2

Inverse Trigonometric Functions

View

3

Matrices

View

4

DETERMINANTS 

View

5

Continuity And Differentiability

View

6

Application Of Derivatives

View

7

Integrals

View

8

APPLICATION OF INTEGRALS

View

9

DIFFERENTIAL EQUATIONS

View

10

VECTOR ALGEBRA

View

11

Three Dimensional Geometry

View

12

Linear Programming

View

13

Probability

View

14

Proofs In Mathematics

View

15

Mathematical Modelling

View
Differential Equations Notes – Class 12 Mathematics | Prepzy