Question
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{\text{x}}=\text{x}^3$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\frac{\text{y}}{\text{x}}=\text{x}^3\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=-\frac{1}{\text{x}}$
$\text{Q}=\text{x}^3$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}=\text{e}^{\int\frac{1}{\text{x}}\text{dx}}$
$\text{e}^{\log|\text{x}|}=\text{x}$
Multiplying both sides of (1) by x, we get
$\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\frac{1}{\text{x}}\text{y}\Big)=\text{x x}^3$
$\Rightarrow\ \text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}^4$
Integrating both sides with respect to x, we get
$\text{xy}=\int\text{x}^4\text{dx + C}$
$\Rightarrow\ \text{xy}=\frac{\text{x}^5}{5}+\text{C}$
$\Rightarrow\ 5\text{xy}=\text{x}^5+5\text{C}$
$\Rightarrow\ 5\text{xy}=\text{x}^5+\text{K}$ (where, K = 5C)
Hence, $5\text{xy}=\text{x}^5+\text{K}$ is the required solution.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free