Exercise 4.3 Solutions – 12th Class Math Federal Board (Homogeneous First Order Differential Equations)

Exercise 4.3 solutions thumbnail for 12th class math Federal Board chapter 4 (Differential Equations) showing the key formulas of the exercise

Exercise 4.3 (Homogeneous First Order Differential Equations) 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

Check whether the functions are homogeneous or not. If homogeneous then find degree.

Tap a question to open or close it.
Question 1$f(x,y)=6xy^3-x^2y^2$
Formula used

For $t>0$, replace $x,y$ by $tx,ty$. A homogeneous function of degree $n$ satisfies $f(tx,ty)=t^n f(x,y)$.

Sol:

Replace $x,y$ by $tx,ty$.

$$\begin{aligned}f(tx,ty)&=6(tx)(ty)^3-(tx)^2(ty)^2\\[7pt]&=6t^4xy^3-t^4x^2y^2\\[7pt]&=t^4(6xy^3-x^2y^2)=t^4f(x,y)\end{aligned}$$
Answer Homogeneous of degree $4$.
Question 2$f(x,y)=x^2-y$
Formula used

For $t>0$, replace $x,y$ by $tx,ty$. A homogeneous function of degree $n$ satisfies $f(tx,ty)=t^n f(x,y)$.

Sol:

Replace $x,y$ by $tx,ty$.

$$f(tx,ty)=(tx)^2-ty=t^2x^2-ty$$

The two terms scale by different powers of $t$.

Answer The function is not homogeneous.
Question 3$f(x,y)=\dfrac{2y^3}{x^2y}-7$
Formula used

For $t>0$, replace $x,y$ by $tx,ty$. A homogeneous function of degree $n$ satisfies $f(tx,ty)=t^n f(x,y)$.

Sol:

For $t>0$ and $xy\ne0$, substitute $tx,ty$ and cancel $t^3$.

$$\begin{aligned}f(tx,ty)&=\frac{2(ty)^3}{(tx)^2(ty)}-7\\[7pt]&=\frac{2t^3y^3}{t^3x^2y}-7\\[7pt]&=\frac{2y^3}{x^2y}-7=f(x,y)\end{aligned}$$
Answer Homogeneous of degree $0$.
Question 4Solve the homogeneous differential equation. $(x-y)dx+xdy=0$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Rearrange for $y'$ and put $y=ux$, so $y'=u+xu'$.

$$\begin{aligned}y'&=\frac{y-x}{x}\\[7pt]u+xu'&=\frac{ux-x}{x}=u-1\\[7pt]xu'&=-1\end{aligned}$$

Integrate on $x\ne0$.

$$\begin{aligned}\int du&=-\int\frac{dx}{x}\\[7pt]u&=-\ln|x|+c\end{aligned}$$

Replace $u$ with $\frac yx$.

Answer $\ln|x|+\frac yx=c$ for $x\ne0$.
Question 5Solve the homogeneous differential equation. $y\,dx-(y-x)dy=0$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Write $(y-x)y'=y$. Put $y=ux$ and $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{ux}{ux-x}=\frac{u}{u-1}\\[7pt]xu'&=\frac{2u-u^2}{u-1}\end{aligned}$$

The constant ratios $u=0$ and $u=2$ solve the original equation. For other ratios, separate.

$$\begin{aligned}\int\frac{u-1}{u^2-2u}\,du&=-\int\frac{dx}{x}\\[7pt]\frac12\ln|u^2-2u|&=-\ln|x|+C\end{aligned}$$

Double the logarithm equation, exponentiate and absorb the sign into $c$.

$$x^2(u^2-2u)=c$$

Substitute $u=\frac yx$. The constant-ratio cases correspond to $c=0$.

Answer $y(y-2x)=c$.
Question 6Solve the homogeneous differential equation. $\dfrac{dy}{dx}=\dfrac{y-x}{x+y}$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Put $y=ux$, so $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{ux-x}{x+ux}=\frac{u-1}{1+u}\\[7pt]xu'&=\frac{u-1-u(1+u)}{1+u}\\[7pt]&=-\frac{1+u^2}{1+u}\end{aligned}$$

Separate and split the integral.

$$\begin{aligned}\int\frac{1+u}{1+u^2}\,du&=-\int\frac{dx}{x}\\[7pt]\int\frac{du}{1+u^2}+\int\frac{u\,du}{1+u^2}&=-\int\frac{dx}{x}\\[7pt]\tan^{-1}u+\frac12\ln(1+u^2)&=-\ln|x|+c\end{aligned}$$

Substitute $u=\frac yx$ and combine the logarithms.

Answer $\tan^{-1}(\frac yx)+\frac12\ln(x^2+y^2)=c$ for $x\ne0$ and $x+y\ne0$.
Question 7Solve the homogeneous differential equation. $\dfrac{dy}{dx}=\dfrac{y^2+yx}{x^2}$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Put $y=ux$ and $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{u^2x^2+ux^2}{x^2}=u^2+u\\[7pt]xu'&=u^2\end{aligned}$$

The ratio $u=0$ gives the solution $y=0$. For $u\ne0$, separate.

$$\begin{aligned}\int u^{-2}\,du&=\int\frac{dx}{x}\\[7pt]-\frac1u&=\ln|x|+C\end{aligned}$$

Replace $u$ with $\frac yx$ and collect the terms.

Answer $\dfrac{x}{y}+\ln|x|=c$
Also $y=0$ is a solution.
Question 8Solve the homogeneous differential equation. $\dfrac{dy}{dx}=\dfrac{y}{x+\sqrt{xy}}$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Take $x>0$ and $y>0$, so $\sqrt{xy}=\sqrt{x^2u}=x\sqrt u$. Put $y=ux$, so $y'=u+xu'$. (The line $y=0$ is also a solution.)

$$\begin{aligned}u+xu'&=\frac{ux}{x+x\sqrt u}\\[7pt]&=\frac{u}{1+\sqrt u}\\[7pt]xu'&=\frac{u}{1+\sqrt u}-u\\[7pt]&=-\frac{u^{\frac32}}{1+\sqrt u}\end{aligned}$$

Separate and split the integral.

$$\begin{aligned}\int\frac{1+\sqrt u}{u^{\frac32}}\,du&=-\int\frac{dx}{x}\\[7pt]\int\left(u^{-\frac32}+u^{-1}\right)du&=-\int\frac{dx}{x}\\[7pt]-\frac{2}{\sqrt u}+\ln u&=-\ln x+c\end{aligned}$$

Substitute $u=\frac yx$ and use $\ln\frac yx+\ln x=\ln y$.

$$\begin{aligned}-2\sqrt{\frac xy}+\ln\frac yx+\ln x&=c\\[7pt]\ln y-2\sqrt{\frac xy}&=c\end{aligned}$$
Answer $\ln y-2\sqrt{\dfrac{x}{y}}=c$
Also $y=0$ is a solution.
Question 9Solve the homogeneous differential equation. $\dfrac{dy}{dx}=\dfrac{3x^3+y^3}{xy^2}$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Put $y=ux$, so $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{3x^3+u^3x^3}{u^2x^3}\\[7pt]&=\frac{3}{u^2}+u\\[7pt]xu'&=\frac{3}{u^2}\end{aligned}$$

Separate and integrate.

$$\begin{aligned}\int u^2\,du&=3\int\frac{dx}{x}\\[7pt]\frac{u^3}{3}&=3\ln|x|+C\end{aligned}$$

Multiply by $3$ and put $u=\frac yx$.

Answer $\left(\dfrac{y}{x}\right)^3=9\ln|x|+c$.
Question 10Solve the homogeneous differential equation. $\dfrac{dy}{dx}=\dfrac{x+3y}{3x+y}$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Put $y=ux$, so $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{x+3ux}{3x+ux}=\frac{1+3u}{3+u}\\[7pt]xu'&=\frac{1+3u-u(3+u)}{3+u}\\[7pt]&=\frac{1-u^2}{3+u}\end{aligned}$$

The ratios $u=1$ and $u=-1$ give straight-line solutions. For the other ratios, separate.

$$\int\frac{3+u}{(1+u)(1-u)}\,du=\int\frac{dx}{x}$$

For partial fractions, write

$$3+u=A(1-u)+B(1+u).$$

With $u=-1$, we get $2=2A$, so $A=1$. With $u=1$, we get $4=2B$, so $B=2$.

$$\begin{aligned}\int\left(\frac{1}{1+u}+\frac{2}{1-u}\right)du&=\int\frac{dx}{x}\\[7pt]\ln|1+u|-2\ln|1-u|&=\ln|x|+C\end{aligned}$$

Exponentiate, absorb the sign into $c$ and substitute $u=\frac yx$.

$$\begin{aligned}\frac{1+u}{(1-u)^2}&=cx\\[7pt]\frac{x(x+y)}{(x-y)^2}&=cx\end{aligned}$$

The line $y=-x$ is included when $c=0$.

Answer $x+y=c(x-y)^2$
Also the line $y=x$ is a solution.
Question 11Solve the homogeneous differential equation. $\left[y+x\cot\left(\dfrac yx\right)\right]dx-xdy=0$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$.

Sol:

Rearrange to $y'=\frac yx+\cot(\frac yx)$. Put $y=ux$ and $y'=u+xu'$.

$$\begin{aligned}u+xu'&=u+\cot u\\[7pt]xu'&=\cot u\end{aligned}$$

The constant ratios with $\cos u=0$ give $c=0$ in the final relation. For other ratios, integrate.

$$\begin{aligned}\int\tan u\,du&=\int\frac{dx}{x}\\[7pt]-\ln|\cos u|&=\ln|x|+C\end{aligned}$$

Combine the logarithms, exponentiate and put $u=\frac yx$.

Answer $x\cos(\dfrac{y}{x})=c$ for $x\ne0$ and $\sin(\dfrac{y}{x})\ne0$.
Question 12Solve the initial value problem. $xy^2\dfrac{dy}{dx}=y^3-x^3$ ; $y(1)=2$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$. Use the initial condition to determine the constant.

Sol:

Divide by $xy^2$ and substitute $y=ux$ and $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{u^3x^3-x^3}{u^2x^3}=\frac{u^3-1}{u^2}\\[7pt]xu'&=-\frac1{u^2}\end{aligned}$$

Separate and integrate on the interval through $x=1$.

$$\begin{aligned}\int u^2\,du&=-\int\frac{dx}{x}\\[7pt]\frac{u^3}{3}+\ln x&=c\end{aligned}$$

Substitute $u=\frac yx$, then use $x=1,\ y=2$.

$$\begin{aligned}\frac{y^3}{3x^3}+\ln x&=c\\[7pt]\frac{2^3}{3(1)^3}+\ln 1&=c\\[7pt]c&=\frac83\end{aligned}$$

Substitute $c=\frac83$ and multiply by $3$.

Answer $\frac{y^3}{x^3}+3\ln x=8$ on the interval $0<x<e^{\frac83}$ through the initial point.
Question 13Solve the initial value problem. $(x^2+2y^2)dx=xy\,dy$ ; $y(1)=1$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$. Use the initial condition to determine the constant.

Sol:

Divide by $xy$ and put $y=ux$ and $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{x^2+2u^2x^2}{ux^2}=\frac{1+2u^2}{u}\\[7pt]xu'&=\frac{1+u^2}{u}\end{aligned}$$

Separate and integrate on the interval through $x=1$.

$$\begin{aligned}\int\frac{u\,du}{1+u^2}&=\int\frac{dx}{x}\\[7pt]\frac12\ln(1+u^2)&=\ln x+C\end{aligned}$$

Exponentiate and put $c=e^C$. Then replace $u$ with $\frac yx$.

$$\begin{aligned}\sqrt{1+u^2}&=cx\\[7pt]\sqrt{x^2+y^2}&=cx^2\end{aligned}$$

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

$$\begin{aligned}\sqrt{1^2+1^2}&=c(1)^2\\[7pt]c&=\sqrt2\end{aligned}$$

Substitute $c=\sqrt2$ in $\sqrt{x^2+y^2}=cx^2$.

Answer $\sqrt{x^2+y^2}=\sqrt2\,x^2$.
Question 14Solve the initial value problem. $2x^2\dfrac{dy}{dx}=3xy+y^2$ ; $y(1)=-2$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$. Use the initial condition to determine the constant.

Sol:

Divide by $2x^2$ and put $y=ux$ and $y'=u+xu'$.

$$\begin{aligned}u+xu'&=\frac{3ux^2+u^2x^2}{2x^2}=\frac{3u+u^2}{2}\\[7pt]xu'&=\frac{u(1+u)}{2}\end{aligned}$$

The initial ratio $u=-2$ allows division by $u(1+u)$. Separate.

$$\int\frac{du}{u(1+u)}=\frac12\int\frac{dx}{x}$$

For partial fractions, write $1=A(1+u)+Bu$. At $u=0$, $A=1$. At $u=-1$, $B=-1$.

$$\begin{aligned}\int\frac{du}{u}-\int\frac{du}{1+u}&=\frac12\int\frac{dx}{x}\\[7pt]\ln|u|-\ln|1+u|&=\frac12\ln x+C\end{aligned}$$

Exponentiate, using a signed constant $c$. Replace $u$ by $\frac yx$.

$$\begin{aligned}\frac{u}{1+u}&=c\sqrt x\\[7pt]\frac{y}{x+y}&=c\sqrt x\end{aligned}$$

Substitute $x=1,\ y=-2$.

$$\begin{aligned}\frac{-2}{1-2}&=c\sqrt1\\[7pt]c&=2\end{aligned}$$

Substitute $c=2$ in $\frac{y}{x+y}=c\sqrt x$.

Answer $\frac{y}{x+y}=2\sqrt x$ on the interval $x>\frac14$ through the initial point.
Question 15Solve the initial value problem. $\left(x+ye^{\frac{y}{x}}\right)dx-xe^{\frac{y}{x}}dy=0$ ; $y(1)=0$
Formula used

Put $y=ux$ for $x\ne0$ and use $y'=u+xu'$. Separate and integrate, then replace $u$ with $\dfrac{y}{x}$. Use the initial condition to determine the constant.

Sol:

Rearrange for $y'$ and put $y=ux$, so $y'=u+xu'$.

$$\begin{aligned}y'&=\frac{x+ye^{\frac yx}}{xe^{\frac yx}}\\[7pt]u+xu'&=\frac{x+uxe^u}{xe^u}=e^{-u}+u\\[7pt]xu'&=e^{-u}\end{aligned}$$

Separate and integrate on the interval through $x=1$.

$$\begin{aligned}\int e^u\,du&=\int\frac{dx}{x}\\[7pt]e^u&=\ln x+c\end{aligned}$$

Substitute $x=1,\ y=0$, so $u=0$.

$$\begin{aligned}e^{\frac01}&=\ln1+c\\[7pt]c&=1\end{aligned}$$

Substitute $c=1$ and replace $u$ with $\frac yx$.

Answer $e^{\frac yx}=\ln x+1$ for $x>e^{-1}$.

Quick check: MCQs on Exercise 4.3

  1. How does $f(tx,ty)$ relate to $f(x,y)$ for degree $4$?
    (a) $f(tx,ty)=4t f(x,y)$ · (b) $f(tx,ty)=4f(x,y)$ · (c) $f(tx,ty)=t^4f(x,y)$ · (d) $f(tx,ty)=t f(x,y)^4$
    Show answer
    Answer: (c) $f(tx,ty)=t^4f(x,y)$. The scale factor in the definition is $t^n$ with $n=4$.
  2. What is the homogeneous degree of $x^2y^3$?
    (a) $6$ · (b) $3$ · (c) $2$ · (d) $5$
    Show answer
    Answer: (d) $5$. The exponents add, so the scale factor is $t^{2+3}$.
  3. With $y=ux$, what is $\dfrac{dy}{dx}$?
    (a) $u+xu'$ · (b) $xu'$ · (c) $u$ · (d) $x+uu'$
    Show answer
    Answer: (a) $u+xu'$. The product rule gives $u(1)+xu'$.
  4. Which function of $x,y$ is homogeneous of degree zero?
    (a) $x+y$ · (b) $\dfrac{x+y}{x-y}$ · (c) $\dfrac{x+y}{x^2}$ · (d) $x^2-y^2$
    Show answer
    Answer: (b) $\dfrac{x+y}{x-y}$. The numerator and denominator each gain one factor of $t$, so the quotient is unchanged.

Take the Exercise 4.3 quiz (9 MCQs)

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)