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

Exercise 4.2 (Separation of Variables and Initial Conditions) of Chapter 4: Differential Equations, 12th class Mathematics, Federal Board (FBISE). All 15 questions are worked step by step, with the final answers highlighted.
Worked textbook questions
Solve the differential equations by separating the variables.
Question 1$\dfrac{dy}{dx}=-\dfrac1{e^{3x}}$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
Write the reciprocal as $e^{-3x}$ and separate.
Question 2$x\dfrac{dy}{dx}=4y$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
Separate the variables for $x\ne0$ and $y\ne0$.
Exponentiate and absorb the sign into $c$. The solution $y=0$, lost on dividing by $y$, is the case $c=0$.
Question 3$\dfrac{dy}{dx}=\dfrac{y^3}{x^2}$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
$y=0$ is also a solution (it is lost when we divide by $y^3$). For $y\ne0$ and $x\ne0$, separate the variables.
Multiply by $-2$ and put $c=-2C$.
Question 4$\dfrac{dy}{dx}=e^{2x+3y}$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
Write $e^{2x+3y}=e^{2x}e^{3y}$ and separate.
Multiply by $-3$ and collect the two exponential terms.
Question 5$\dfrac{dy}{dx}=\dfrac{x^2y^2}{1+x}$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
$y=0$ is also a solution (it is lost when we divide by $y^2$). For $y\ne0$, separate and divide $x^2$ by $1+x$.
Integrate each term.
Question 6$2y(x+1)dy=x\,dx$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
Divide by $1+x$ and integrate.
Question 7$\dfrac{dy}{dx}+y^2\sin x=0$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
$y=0$ is also a solution (it is lost when we divide by $y^2$). For $y\ne0$, move $y^2\sin x$ to the right and separate.
Multiply by $-1$ and write $c=-C$.
Question 8$(\sin x+\cos x)dx=\cot y\cos x\,dy$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides.
Sol:
Divide by $\cos x$ and integrate.
Combine the logarithms to get $\ln|\cos x\sin y|=x-C$. Exponentiate and absorb the sign into $c$.
Question 9Solve the initial value problem. $\dfrac{dy}{dx}=\cos x$ ; $y(0)=1$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Separate and integrate.
Substitute $x=0,\ y=1$.
Question 10Solve the initial value problem. $2\dfrac{dy}{dx}=4xe^{-x}$ ; $y(0)=2$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Divide by $2$ and integrate. Use parts with $u=x$ and $dv=e^{-x}\,dx$, so $du=dx$ and $v=-e^{-x}$.
Substitute $x=0,\ y=2$.
Question 11Solve the initial value problem. $\dfrac{dy}{dx}+\left(\dfrac{1+x}{x}\right)y=0$ ; $y(1)=1$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Separate the variables. Near $x=1,\ y=1$ both $x$ and $y$ are positive, so no absolute values are needed.
Substitute $x=1,\ y=1$.
Put $c=1$ back in $\ln(xy)=-x+c$.
Question 12Solve the initial value problem. $\dfrac{dy}{dx}+y\tan2x=0$ ; $y(0)=2$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Separate and write the tangent using sine and cosine.
Near $x=0$ we have $\cos 2x>0$ and $y>0$, so take antilog of both sides.
Substitute $x=0,\ y=2$.
Question 13Solve the initial value problem. $\dfrac{dy}{dx}=y^2+4$ ; $y(0)=-2$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Separate and use the inverse tangent integral.
Substitute $x=0,\ y=-2$.
Put $c=-\frac\pi8$ back into the integrated equation.
Question 14Solve the initial value problem. $(1-x)dy+y^{-1}dx=0$ ; $y(0)=2$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Multiply by $y$ and separate for $y\ne0$ and $x\ne1$.
Substitute $x=0,\ y=2$.
Put $c=2$ back in the integrated equation.
Question 15Solve the initial value problem. $2(y-1)dy=(3x^2+4x+2)dx$ ; $y(0)=-1$
Move all $y$ terms to the $dy$ side and all $x$ terms to the $dx$ side. Integrate both sides. Substitute the initial values into the integrated relation.
Sol:
Expand the left factor and integrate each term.
Substitute $x=0,\ y=-1$.
Put $c=3$ back in the integrated equation.
Quick check: MCQs on Exercise 4.2
- What equation results from separating $y'=x(y+4)$ where $y\ne-4$?
(a) $(y+4)dy=x\,dx$ · (b) $\dfrac{dy}{y+4}=x\,dx$ · (c) $dy=\dfrac{(y+4)dx}{x}$ · (d) $x\,dy=(y+4)dx$Show answer
Answer: (b) $\dfrac{dy}{y+4}=x\,dx$. Divide by $y+4$ and multiply by $dx$. - Integrate $\dfrac{dy}{dx}=6x^2$.
(a) $y=6x^3+c$ · (b) $y=12x+c$ · (c) $y=2x^3+c$ · (d) $y=3x^2+c$Show answer
Answer: (c) $y=2x^3+c$. $\int 6x^2\,dx=\dfrac{6x^3}{3}+c$. - Which constant function also solves $y'=x(y-3)^2$?
(a) $y=0$ · (b) $y=-3$ · (c) $y=9$ · (d) $y=3$Show answer
Answer: (d) $y=3$. $y=3$ makes both the derivative and the right side zero. - If $y=2x^2+c$ and $y(2)=11$, what is $c$?
(a) $3$ · (b) $7$ · (c) $8$ · (d) $11$Show answer
Answer: (a) $3$. $11=2(2)^2+c=8+c$.