Exercise 4.2 Examples – 12th Class Math Federal Board (Separation of Variables and Initial Conditions)

Exercise 4.2 solved examples thumbnail for 12th class math Federal Board chapter 4 (Differential Equations)

All textbook examples for Exercise 4.2 (Separation of Variables and Initial Conditions) of Chapter 4: Differential Equations, 12th class Mathematics, Federal Board (FBISE). All 5 examples are worked step by step, with the final answers highlighted.

Worked textbook examples

Tap an example to open or close it.
Example 8Solve $\dfrac{dy}{dx}=\dfrac{x^2}{y}$.

Solution:

Multiply by $y\,dx$ and integrate.

$$\begin{aligned}y\,dy&=x^2\,dx\\[7pt]\int y\,dy&=\int x^2\,dx\\[7pt]\frac{y^2}{2}&=\frac{x^3}{3}+C\end{aligned}$$

Multiply by $6$ and write $c=6C$.

Answer $3y^2=2x^3+c$.
Common mistake / Note: The book prints $3y^2=2x^2+c$ in its last two lines. Since $\int x^2\,dx=\dfrac{x^3}{3}$, the correct answer is $3y^2=2x^3+c$.
Example 9Solve $(1+x)dy-y\,dx=0$.

Solution:

The zero solution corresponds to $c=0$. On intervals with $x\ne-1$ and $y\ne0$, separate the variables.

$$\begin{aligned}(1+x)\,dy&=y\,dx\\[7pt]\frac{dy}{y}&=\frac{dx}{1+x}\\[7pt]\int\frac{dy}{y}&=\int\frac{dx}{1+x}\\[7pt]\ln|y|&=\ln|1+x|+C\end{aligned}$$

Exponentiate and absorb the sign into $c$.

Answer $y=c(x+1)$.
Example 10Solve $\dfrac{dy}{dx}=\dfrac1{x\tan y}$.

Solution:

Separate the variables and integrate.

$$\begin{aligned}\tan y\,dy&=\frac{dx}{x}\\[7pt]\int\frac{\sin y}{\cos y}\,dy&=\int\frac{dx}{x}\\[7pt]-\ln|\cos y|&=\ln|x|+c\end{aligned}$$

Combine the logarithms to get $\ln|x\cos y|=-c$. Exponentiate and absorb the sign into $C$.

Answer $x\cos y=C$.
Example 11Solve the initial value problem $\dfrac{dy}{dx}=-\dfrac{x}{y};\ y(1)=3$.

Solution:

Separate and integrate.

$$\begin{aligned}y\,dy&=-x\,dx\\[7pt]\int y\,dy&=-\int x\,dx\\[7pt]\frac{y^2}{2}&=-\frac{x^2}{2}+C\end{aligned}$$

Multiply by $2$ and write the relation as $x^2+y^2=c$.

Substitute $x=1,\ y=3$.

$$\begin{aligned}1^2+3^2=c\\[7pt]c=10\end{aligned}$$
Answer $x^2+y^2=10$.
This is a circle with centre $(0,0)$ and radius $\sqrt{10}$; the part through $(1,3)$ is the upper half.
Example 12Solve $\dfrac{dy}{dx}=2x$ such that $y(2)=4$.

Solution:

Separate and integrate.

$$\begin{aligned}dy&=2x\,dx\\[7pt]\int dy&=2\int x\,dx\\[7pt]y&=x^2+c\end{aligned}$$

Substitute $x=2,\ y=4$.

$$\begin{aligned}4=2^2+c\\[7pt]c=0\end{aligned}$$
Answer $y=x^2$.

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)