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

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+2\text{y}=4\text{x}\ \dots(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
where
$\text{P}=2$
$\text{Q}=4\text{x}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int2\text{dx}}$
$=\text{e}^{2\text{x}}$
Multiplying both sides of (1) by $\text{e}^{2\text{x}},$ we get
$\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\text{e}^{2\text{x}}4\text{x}$
$\Rightarrow\ \text{e}^{2\text{x}}\frac{\text{dy}}{\text{dx}}+2\text{e}^{2\text{x}}\text{y}=\text{e}^{2\text{x}}4\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\text{e}^{2\text{x}}=4\int\text{x}\text{e}^{2\text{x}}\text{dx + C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=4\int\text{x}\text{e}^{2\text{x}}\text{dx + C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=4\text{x}\int\text{e}^{2\text{x}}\text{dx}-4\int\Big[\frac{\text{d}}{\text{dx}}(\text{x})\int\text{e}^{2\text{x}}\text{dx}\Big]\text{dx + C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=4\text{x}\frac{\text{e}^{2\text{x}}}2-4\times\frac{1}2\int\text{e}^{2\text{x}}\text{dx + C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=2\text{x}\ \text{e}^{2\text{x}}-4\times\frac{1}4\text{e}^{2\text{x}}+\text{C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=2\text{x}\ \text{e}^{2\text{x}}-\text{e}^{2\text{x}}+\text{C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=2\text{x}\ \text{e}^{2\text{x}}-\text{e}^{2\text{x}}+\text{C}$
$\Rightarrow\ \text{y}\text{e}^{2\text{x}}=(2\text{x}-1)\text{e}^{2\text{x}}+\text{C}$
$\Rightarrow\ \text{y}=(2\text{x}-1)\text{e}^{2\text{x}}+\text{C}\text{e}^{-2\text{x}}$
Hence, $\text{y}=(2\text{x}-1)\text{e}^{2\text{x}}+\text{C}\text{e}^{-2\text{x}}$ 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

Similar questions

Solve graphically :2x + y ≥ 2 and x – y ≤ 1
Evaluate the following integrals:$\int\limits^{\infty}_0\frac{\text{x}}{(1+\text{x})(1+\text{x}^2)}\text{ dx}$
Find the equation of the passing throught the point (1, 2, 1) and perpendicular to the joining the point (1, 4, 2) and (2, 3, 5). Find also the perpendicular distance of the origin from this plane.
Evaluate the following integrals:
$\int\text{x}\cos^3\text{x dx}$
Solve the following system of equations by matrix method:
$3x + 4y + 7z = 14$
$2x - y + 3z = 4$
$x + 2y - 3z = 0$
If $\text{x}=\text{a}\sin\text{t}\ \text{and}\ \text{y}=\text{a}(\cos\text{t}+\log\tan\frac{\text{t}}{2}),$ find $\frac{\text{d}^2\text{y}}{\text{dx}^2}$
If a parallelogram is constructed on the vectors $\bar{a}=3 \bar{p}-\bar{q}, \bar{b}=\bar{p}+3 \bar{q}$ and

$|\bar{p}|=|\bar{q}|=2$ and angle between $\bar{p}$ and $\bar{q}$ is $\frac{\pi}{3}$ show that the ratio of the lengths of the

sides is $\sqrt{7}: \sqrt{13}$

Anil wants to invest at most Rs. 12000 in Saving Certificates and National Saving Bonds. According to rules, he has to invest at least Rs. 2000 in Saving Certificates and at least Rs. 4000 in National Saving Bonds. If the rate of interest on saving certificate is 8% per annum and the rate of interest on National Saving Bond is 10% per annum, how much money should he invest to earn maximum yearly income? Find also his maximum yearly income.
Let $\text{f}:\text{R}-\Big\{-\frac{4}{3}\Big\}\rightarrow\text{R}$ be a function defined as $\text{f(x)}=\frac{4\text{x}}{3\text{x}+4}.$ Show that $\text{f}:\text{R}-\Big\{-\frac{4}{3}\Big\}\rightarrow\text{Range (f)}$ is one-one and onto. Hence find $f^{-1}$.
Differentiate $\tan^{-1}\Big(\frac{\sqrt{1+\text{x}^2}-1}{\text{x}}\Big)$ with respect to $\sin^{-1}\Big(\frac{2\text{x}}{1+\text{x}^2}\Big),$ if $-1<\text{x}<1,\text{x}\neq0.$