Chapter 4 Differential Equations Notes – 12th Class Math New Book

By Ehsan Ahmed · updated
Chapter 4 Differential Equations notes thumbnail listing the exercises of the chapter, 12th class math new book

Complete notes of Chapter 4: Differential Equations from the 12th class Mathematics new book (Punjab, PECTAA 2026-27). Every section of the chapter is explained with definitions, formulas and solved examples, followed by links to the step-by-step solutions of each exercise.

Tap a section to open or close it.
4.1 Differential equation: definition, order and degree

A differential equation is an equation that has at least one derivative of a dependent variable with respect to an independent variable. This chapter uses ordinary differential equations only.

The order is the order of the highest derivative in the equation. An equation of order 1 is a first-order differential equation.

If the equation is a polynomial in its derivatives, the degree is the greatest exponent of the highest-order derivative. Otherwise the degree is undefined. An equation of degree 1 is a first-degree differential equation.

Read the degree from the equation as it is written. For example, $\sqrt{\dfrac{dy}{dx}}=\dfrac{d^2y}{dx^2}$ has no degree. Squaring gives $\dfrac{dy}{dx}=\left(\dfrac{d^2y}{dx^2}\right)^2$, which has degree 2, but the degree of the first equation is still undefined.

$$\left(\frac{d^2y}{dx^2}\right)^3+\frac{dy}{dx}=0$$
$$\text{order }2,\text{ degree }3$$
$$\frac{d^2y}{dx^2}+1=\cos\left(\frac{d^3y}{dx^3}\right)$$
$$\text{order }3,\text{ degree undefined}$$
4.2 Construction of first-order differential equations from practical situations

Many real quantities change at a rate that depends on the quantity itself or on time. Write this rule as an equation with a derivative. The four models of the book are given below.

To build a model: name the quantity and the time, write the rate as a derivative, change "is proportional to" into "equals a constant times", and choose the sign from the situation.

$$u\propto v\ \Longrightarrow\ u=kv$$
4.2.1 Population growth/decay

Let $P$ be the population at time $t$. Its rate of change is proportional to the population itself.

If $k>0$, the population increases (growth). If $k<0$, it decreases (decay). If $k=0$, it stays constant.

Radioactive decay and money with compound interest follow the same rule.

$$\frac{dP}{dt}\propto P$$
$$\frac{dP}{dt}=kP$$
4.2.2 Temperature problem (cooling/heating law)

Let $T$ be the temperature of a body at time $t$, and $T_S$ the constant temperature of its surroundings. The rate of change of $T$ is proportional to the difference of the two temperatures.

If $T<T_S$, the body warms up and $\dfrac{dT}{dt}$ is positive. If $T>T_S$, the body cools down and $\dfrac{dT}{dt}$ is negative.

$$\frac{dT}{dt}\propto(T_S-T)$$
$$\frac{dT}{dt}=k(T_S-T),\quad k>0$$
$$\text{or}\quad\frac{dT}{dt}=-k(T-T_S)$$
4.2.3 Inflation/deflation problem in economics

Inflation means that prices increase with time. Deflation means that they decrease.

Let $P$ be the price at time $t$. Its rate of change is proportional to the current price. Here $k>0$ for inflation and $k<0$ for deflation.

$$\frac{dP}{dt}=kP$$
4.2.4 Flow of electricity in series circuits

Kirchhoff’s voltage law: the sum of the voltages across the parts of a series circuit equals the voltage of the source, $V_S$.

RC circuit (charging a capacitor): a resistor of $R$ ohms and a capacitor of $C$ farads are in series with a source. The charge is $q$ and the current is $I=\dfrac{dq}{dt}$. Put $V_R=IR$ and $V_C=\dfrac qC$ in $V_S=V_R+V_C$.

RL circuit (growth of current): a resistor of $R$ ohms and an inductor of $L$ henries are in series with a source. Put $V_R=RI$ and $V_L=L\dfrac{dI}{dt}$ in $V_S=V_L+V_R$.

$$V_S=R\frac{dq}{dt}+\frac qC$$
$$RC\frac{dq}{dt}=CV_S-q\quad\text{(RC)}$$
$$V_S=L\frac{dI}{dt}+RI$$
$$L\frac{dI}{dt}=V_S-RI\quad\text{(RL)}$$
RC circuit: a resistor and a capacitor in series with a source
RC circuit: the resistor $R$ and the capacitor $C$ are in series with the source $V_S$.
RL circuit: a resistor and an inductor in series with a source
RL circuit: the resistor $R$ and the inductor $L$ are in series with the source $V_S$.
4.3 Solution of first-order and first-degree differential equations

The general form is $\dfrac{dy}{dx}=f(x,y)$. It can also be written with differentials.

A solution is a relation between $x$ and $y$, free from the derivative, that satisfies the equation. To check a relation, differentiate it and substitute in the equation.

The general solution has an arbitrary constant $c$ and gives a family of curves. A particular solution has no arbitrary constant. It comes from giving $c$ a value.

Some equations also have singular solutions, which are not members of the family. They are not studied at this level.

A condition $y=y_0$ at $x=x_0$ is an initial value condition. A differential equation together with such a condition is an initial value problem (IVP).

$$M(x,y)\,dx+N(x,y)\,dy=0$$
$$y(x_0)=y_0$$
4.4 Finding general and particular solutions of first-order differential equations

Two types are solved in this chapter: separable equations and homogeneous equations.

The constant of integration may be written as $\ln c$ or $\ln|c|$ when logarithms appear, because $\ln c$ (with $c>0$) is still any real number.

The natural logarithm is defined only for positive numbers, so write the absolute value in its integral.

$$\int\frac{du}u=\ln|u|+c$$
4.4.1 Separable differential equation

An equation is separable if the right side is a function of $x$ times a function of $y$. Take all $y$ terms with $dy$ to one side and all $x$ terms with $dx$ to the other side. Then integrate both sides. If a condition is given, use it to find the constant.

$$\frac{dy}{dx}=g(x)h(y)$$
$$\int\frac1{h(y)}\,dy=\int g(x)\,dx,\quad h(y)\ne0$$
4.4.2 Homogeneous differential equation

An equation is homogeneous if the right side is a function of the ratio $\dfrac yx$ only.

Same degree test: the sum of the exponents of $x$ and $y$ is the same in every term of the numerator and the denominator (polynomials).

Variable substitution test: $f(tx,ty)=f(x,y)$ for every non-zero real number $t$.

To solve it, put $y=vx$. The equation becomes separable in $x$ and $v$. After integrating, put back $v=\dfrac yx$.

$$\frac{dy}{dx}=F\left(\frac yx\right)$$
$$y=vx,\quad\frac{dy}{dx}=v+x\frac{dv}{dx}$$
$$\int\frac1{F(v)-v}\,dv=\int\frac1x\,dx$$
4.5 Applications of first order differential equations in real-life problems

Choose the model, separate the variables and integrate. Use the value at $t=0$ to find the constant of integration, and a second value to find $k$.

Half-life is the time in which a radioactive substance reduces to half of its initial amount.

Motion in a straight line: $a=\dfrac{dv}{dt}$ and $v=\dfrac{ds}{dt}$. Integrate $a$ to get $v$, and integrate $v$ to get $s$.

$$\frac{dP}{dt}=kP\ \Longrightarrow\ P=P_0e^{kt}$$
$$\frac{dM}{dt}=-kM\ \Longrightarrow\ M=M_0e^{-kt}$$
$$\frac{dT}{dt}=-k(T-T_S)$$
$$\Longrightarrow\ T=T_S+ce^{-kt}$$

Exercise solutions of Chapter 4

Popular posts from this blog

Chapter 6 Conic Section Notes – 12th Class Math New Book

Exercise 3.3 Solutions – 12th Class Math New Book (Integration by Parts)

Chapter 11 MCQs and Short Questions – 12th Class Math New Book