Chapter 4 Differential Equations Notes – 12th Class Math Federal Board

Chapter 4 Differential Equations notes thumbnail listing the exercises of the chapter, 12th class math Federal Board (FBISE)

Chapter 4, Differential Equations, from the 12th class Mathematics, Federal Board (FBISE) book. These notes cover Differential Equation, Order and Degree of Differential Equation, Concept of Solution of Differential Equation, Formation of Differential Equation, Solution of Differential Equation, Homogeneous First Order Differential Equations and Applications of Differential Equations. Learn the definitions and formula boxes, then try the solved examples and the exercises.

Tap a section to open or close it.
4.1 Differential Equation
Order of a differential equation

The order is the order of the highest derivative present. For $y''+3y=0$ it is two.

A differential equation relates an unknown function to one or more of its derivatives. In $\dfrac{dy}{dx}=3x^2$, the independent variable is $x$ and the dependent variable is $y$.

A function such as $y=x^3+5$ satisfies the equation because its derivative is $3x^2$.

A mathematical model uses such a relation to represent a changing quantity. With the downward direction positive and air resistance ignored, the velocity of a falling object satisfies $m\,\dfrac{dv}{dt}=mg$.

Common mistake / Note: Identify the independent variable before taking derivatives. A condition at a point is separate from the differential equation.
4.2 Order and Degree of Differential Equation

The order is the order of the highest derivative appearing in the equation. The degree, when defined, is the power of that highest derivative once the equation is polynomial in the derivatives.

Finding order and degree

First identify the highest derivative. In $(y'')^3-3y'=x$, it is $y''$, so the order is $2$. The exponent of $y''$ is $3$, so the degree is $3$.

When a radical contains a derivative, remove the radical algebraically where possible. Keep the sign restriction from the original equality. If a derivative appears inside a logarithm, as in $y'-\log(y')+3=0$, the equation is not a polynomial in $y'$, so its degree is not defined.

An ordinary differential equation has one independent variable. A partial differential equation involves partial derivatives with respect to more than one independent variable.

Linear ordinary differential equation
$$a_n(x)y^{(n)}+a_{n-1}(x)y^{(n-1)}+\cdots+a_1(x)y'+a_0(x)y=f(x)$$

Each term in $y$ or a derivative is of the first power, with no products between them. The coefficients depend only on $x$ or are constant.

The equation $y''+xy'=2$ is linear, while $yy''+1=0$ is nonlinear because $y$ multiplies its derivative.

Common mistake / Note: Degree uses the power of the highest derivative after writing the equation as a polynomial in the derivatives. The largest exponent elsewhere does not decide the degree.
4.3 Concept of Solution of Differential Equation
Testing a solution

Differentiate the proposed function as many times as needed and substitute those derivatives and the function into the equation.

A solution is a differentiable function on an interval that turns the equation into an identity. For $\dfrac{dy}{dx}=f(x)$ with continuous $f$, integration gives $y=F(x)+c$.

Where $F'=f$.

A general solution describes a family and ordinarily has as many independent arbitrary constants as the order. Assigning values to the constants gives a particular solution. The identically zero function, when it satisfies the equation, is called the trivial solution.

For $y'=-2x$ the general solution is $y=-x^2+c$.

Setting $c=3$ gives the particular solution $y=3-x^2$. Both differentiate to $-2x$.

Common mistake / Note: Check any conditions given with the equation as well as the equation itself.
4.4 Formation of Differential Equation
Removing arbitrary constants

Differentiate the given family until there are enough equations to eliminate its arbitrary constants. For $y=ax+b$, differentiating twice gives $y''=0$.

Differentiate a family and eliminate the arbitrary constants. Keep enough differentiated equations to eliminate them. For $y=a\cos x+b\sin x$, differentiating twice gives

$$y''=-a\cos x-b\sin x=-y$$

So the required equation is $y''+y=0$.

An explicit solution gives $y$ directly in terms of $x$. An implicit solution gives a relation $F(x,y)=0$. One implicit relation can describe two explicit branches.

Two branches of x squared plus y squared equals 4
$x$
$y$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$O$
$(0, 2)$
$(0, -2)$
  • $x^{2}+y^{2}=4$
The circle gives the branches $y=\sqrt{4-x^2}$ and $y=-\sqrt{4-x^2}$ on $-2<x<2$.

For a linear homogeneous equation, scalar multiples and sums of solutions are also solutions. For example, each of $\cos4x$ and $\sin4x$ satisfies $y''+16y=0$, because two derivatives multiply either function by $-16$.

Common mistake / Note: Eliminating constants can admit extra solutions. Substitute back or keep any additional relation needed to recover the original family.
4.5 Solution of Differential Equation
Separation of variables
$$\begin{aligned}\frac{dy}{dx}&=f(x)g(y)\\[7pt]&\text{So, }\frac{dy}{g(y)}=f(x)\,dx\\[7pt]&\text{So, }\int\frac{dy}{g(y)}=\int f(x)\,dx\end{aligned}$$

Use one arbitrary constant. If division removes possible constant solutions, put each zero of $g$ back into the original equation before discarding it.

For $y'=3y$ the nonzero solutions satisfy $\ln|y|=3x+c_1$.

So $y=ce^{3x}$. The same form includes the zero solution when $c=0$.

With $y(0)=5$, substitution gives $c=5$.

An initial value problem pairs the differential equation with a specified value such as $y(x_0)=y_0$.

Find the general solution, use this condition to find the constant, and check that the selected branch passes through $(x_0,y_0)$.

Common mistake / Note: In real logarithmic integrals use $\int \dfrac{du}{u}=\ln|u|+c$ on an interval with $u\ne0$.

Worked illustration. For $y'=x(y-2)$, the constant solution $y=2$ satisfies the original equation. For other solutions, divide by $y-2$ and integrate.

$$\ln|y-2|=\frac{x^2}{2}+C$$

The exponential family is $y=2+Ke^{\frac{x^2}{2}}$.

The initial condition $y(0)=2$ selects $K=0$, giving the constant solution.

4.6 Homogeneous First Order Differential Equations

A function $f$ is homogeneous of degree $n$ if $f(tx,ty)=t^n f(x,y)$ for $t>0$. For example, $x^2-3xy+y^2$ has degree $2$ because all terms gain a factor $t^2$.

The first-order equation $M(x,y)\,dx+N(x,y)\,dy=0$ is homogeneous if $M$ and $N$ are homogeneous functions of the same degree.

Reduction to separable form
$$\begin{aligned}y&=ux\\[7pt]u&=\frac{y}{x}\\[7pt]\frac{dy}{dx}&=u+x\frac{du}{dx}\end{aligned}$$

Put these expressions in the equation. Simplify, separate $u$ and $x$, integrate and substitute $u=\dfrac{y}{x}$ back. Where appropriate, use $x=vy$ instead.

If $y'=1+\dfrac{y}{x}$, then $u+xu'=1+u$.

So $du=\dfrac{dx}{x}$. We obtain $y=x(\ln|x|+c)$, and its derivative is

$$\ln|x|+c+1=1+\frac{y}{x}$$
Common mistake / Note: A constant value of $u$ can give a straight-line solution. Test any value removed by division in the original equation.
4.7 Applications of Differential Equations
Proportional growth and decay
$$\frac{dP}{dt}=kP$$
$$P(t)=P_0e^{kt}$$

Use $k>0$ for growth and $k<0$ for decay. If the amount halves in time $T$, then $e^{kT}=\dfrac{1}{2}$.

If a population doubles in three days, $e^{3k}=2$.

In six days, its factor is $e^{6k}=(e^{3k})^2=4$.

Newton's law of cooling or warming
$$\frac{dT}{dt}=k(T-T_0)$$
$$T(t)=T_0+(T(0)-T_0)e^{kt}$$

Here $T_0$ is the constant temperature of the surroundings (Example 17). For a cooling body $k$ comes out negative. A warm object cools and a cool object warms toward $T_0$.

Constant acceleration
$$\begin{aligned}\frac{dv}{dt}&=a\\[7pt]\frac{ds}{dt}&=v\\[7pt]v&=v_0+at\\[7pt]s&=s_0+v_0t+\frac12at^2\end{aligned}$$

Choose one positive direction for the entire solution. With upward positive, $a=-g$ near Earth's surface if air resistance is ignored.

Common mistake / Note: In a cooling or warming problem, apply the exponential law to the difference $T-T_0$ between the body and the surroundings. Add $T_0$ back at the end.

Exercise solutions of Chapter 4

Popular posts from this blog

Chapter 10 Numerical Methods MCQs and Short Questions – 12th Class Math Federal Board

Exercise 10.1 Solutions – 12th Class Math Federal Board (Root Finding by Iteration)

Exercise 10.2 Examples – 12th Class Math Federal Board (Trapezoidal and Simpson Rules)