Master differential equations with visual diagrams, order & degree, variable separable, homogeneous, linear DE methods, step-marked solutions, MCQs, A-R, and PYQs.
What is a differential equation? Order vs Degree?
An equation involving derivatives of the dependent variable with respect to the independent variable is called a differential equation.
An equation involving derivatives of the dependent variable (like $y$) with respect to the independent variable (like $x$) is called a differential equation.
Example: $\frac{dy}{dx} = e^x$, $\frac{d^2y}{dx^2} + y = 0$, $x\frac{dy}{dx} + y = 0$
Ordinary DE: Involves derivatives with respect to only one independent variable.
Partial DE: Involves derivatives with respect to more than one independent variable.
The order of a differential equation is the order of the highest order derivative appearing in it.
Examples:
The degree of a differential equation (when it is a polynomial in derivatives) is the highest power (positive integer) of the highest order derivative appearing in it.
Examples:
The solution which contains as many arbitrary constants as the order of the differential equation is called the general solution (or primitive).
The solution obtained from the general solution by giving particular values to the arbitrary constants is called a particular solution.
To form a DE from a given family of curves:
Example: $y = mx$ → $\frac{dy}{dx} = m \Rightarrow x\frac{dy}{dx} = y$ (eliminating $m$)
See differential equations in action
Three main methods for first-order, first-degree DEs
If $\frac{dy}{dx} = g(x) \cdot h(y)$, separate the variables:
Then integrate both sides:
A DE of the form $\frac{dy}{dx} = F(x, y)$ is homogeneous if $F(x, y)$ is a homogeneous function of degree zero.
Test: Replace $x \to \lambda x$, $y \to \lambda y$. If $F(\lambda x, \lambda y) = F(x, y)$, the DE is homogeneous.
Substitution: Let $y = vx$ (or $x = vy$ if easier). Then $\frac{dy}{dx} = v + x\frac{dv}{dx}$.
This reduces the DE to variable separable form in $v$ and $x$.
$\frac{dy}{dx} = g\left(\frac{y}{x}\right)$ — a function of $\frac{y}{x}$ only
A DE of the form:
where P and Q are functions of $x$ only (or constants).
Integrating Factor (I.F.):
Solution:
If $\frac{dx}{dy} + P_1 x = Q_1$ (P₁, Q₁ functions of $y$):
I.F. $= e^{\int P_1 dy}$ and $x \cdot (\text{I.F.}) = \int (Q_1 \cdot \text{I.F.}) dy + C$
Everything you need from Chapter 9
Speed techniques for board exams
"Highest derivative = Order, its power = Degree"
Decision tree:
"Every term must have same total degree"
"P for the y-coefficient after writing in standard form"
"Order = Number of arbitrary constants in general solution"
Look for multiplicative structure
Common integrals you'll need:
Watch out for these common mistakes:
For homogeneous DEs:
To find the particular solution:
Click "Show Answer" to reveal step-by-step solutions with marks
Q1. Find the order and degree of $\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 + y = 0$.
The highest order derivative present is $\frac{d^2y}{dx^2}$ (second derivative).
So the Order = 2.
The equation is a polynomial in derivatives (all powers are non-negative integers).
The power of the highest order derivative $\frac{d^2y}{dx^2}$ is $1$.
So the Degree = 1.
Q2. Solve the differential equation $\frac{dy}{dx} = \frac{1 + y^2}{1 + x^2}$.
Since $1 + y^2 \neq 0$, we can write:
$\frac{dy}{1 + y^2} = \frac{dx}{1 + x^2}$
$\int \frac{dy}{1 + y^2} = \int \frac{dx}{1 + x^2}$
$\tan^{-1}y = \tan^{-1}x + C$
$\tan^{-1}y = \tan^{-1}x + C$ is the general solution.
Q3. Find the general solution of $\frac{dy}{dx} - y = \cos x$.
The DE is of the form $\frac{dy}{dx} + Py = Q$ with $P = -1$, $Q = \cos x$.
I.F. $= e^{\int P \, dx} = e^{\int -1 \, dx} = e^{-x}$
$e^{-x}\frac{dy}{dx} - e^{-x}y = e^{-x}\cos x$
$\frac{d}{dx}(y \cdot e^{-x}) = e^{-x}\cos x$
$y \cdot e^{-x} = \int e^{-x}\cos x \, dx + C$
Using $\int e^{ax}\cos bx \, dx = \frac{e^{ax}(a\cos bx + b\sin bx)}{a^2 + b^2}$:
$y e^{-x} = \frac{e^{-x}(\sin x - \cos x)}{2} + C$
$y = \frac{\sin x - \cos x}{2} + Ce^{x}$
Select your answer and click "Check Answers"
Each question has an Assertion (A) and a Reason (R). Choose the correct option.
(A) Both A and R are true, and R is the correct explanation of A.
(B) Both A and R are true, but R is NOT the correct explanation of A.
(C) A is true, but R is false.
(D) A is false, but R is true.
Frequently asked questions in board exams
Q. Find the order and degree of $\left(\frac{d^2y}{dx^2}\right)^3 + \left(\frac{dy}{dx}\right)^2 + y = 0$.
Highest derivative = $\frac{d^2y}{dx^2}$ → Order = 2
Power of $\frac{d^2y}{dx^2}$ = 3 → Degree = 3
Q. Solve $\frac{dy}{dx} = \frac{x+1}{2-y}$, $(y \neq 2)$.
$(2-y)dy = (x+1)dx$
$\int(2-y)dy = \int(x+1)dx$
$2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C_1$
Multiply by 2: $4y - y^2 = x^2 + 2x + C$
Or: $x^2 + y^2 + 2x - 4y + C = 0$
Q. Show that the DE $(x-y)\frac{dy}{dx} = x + 2y$ is homogeneous and solve it.
$\frac{dy}{dx} = \frac{x+2y}{x-y}$. Replacing $x \to \lambda x$, $y \to \lambda y$ gives the same form → homogeneous.
$v + x\frac{dv}{dx} = \frac{1+2v}{1-v}$
$x\frac{dv}{dx} = \frac{1+2v}{1-v} - v = \frac{v^2+v+1}{1-v}$
$\frac{1-v}{v^2+v+1} dv = \frac{dx}{x}$
$\int \frac{1-v}{v^2+v+1} dv = \int \frac{dx}{x}$
Completing the square and integrating gives the general solution in terms of $\log$ and $\tan^{-1}$.
Q. Solve the linear DE $\frac{dy}{dx} - y = \cos x$.
P = $-1$, Q = $\cos x$
I.F. $= e^{\int -1 dx} = e^{-x}$
$\frac{d}{dx}(ye^{-x}) = e^{-x}\cos x$
$ye^{-x} = \frac{e^{-x}(\sin x - \cos x)}{2} + C$
Q. Solve $\frac{dy}{dx} = \frac{1+y^2}{1+x^2}$.
$\frac{dy}{1+y^2} = \frac{dx}{1+x^2}$
$\tan^{-1}y = \tan^{-1}x + C$
Q. Find the general solution of the DE $\frac{dy}{dx} + 2y = \sin x$.
P = 2, Q = $\sin x$
I.F. $= e^{\int 2 dx} = e^{2x}$
$ye^{2x} = \int e^{2x}\sin x\,dx + C$
$= \frac{e^{2x}(2\sin x - \cos x)}{5} + C$
Q. Verify that $y = e^{-3x}$ is a solution of $\frac{d^2y}{dx^2} + \frac{dy}{dx} - 6y = 0$.
$y = e^{-3x}$, $\frac{dy}{dx} = -3e^{-3x}$, $\frac{d^2y}{dx^2} = 9e^{-3x}$
LHS $= 9e^{-3x} + (-3e^{-3x}) - 6e^{-3x} = 9e^{-3x} - 9e^{-3x} = 0$ = RHS ✓
Q. Find the particular solution of $\frac{dy}{dx} = -4xy^2$, given that $y = 1$ when $x = 0$.
$\frac{dy}{y^2} = -4x\,dx$
$-\frac{1}{y} = -2x^2 + C$
$\frac{1}{y} = 2x^2 + C'$ (where $C' = -C$)
At $x = 0, y = 1$: $1 = 0 + C' \Rightarrow C' = 1$
$y = \frac{1}{2x^2+1}$