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

Differentiate $\sin^{-1}\Big(4\text{x}\sqrt{1-4\text{x}^2}\Big)$ with respect to $\sqrt{1-4\text{x}^2},$ if:
$\text{x}\in\Big(-\frac{1}{2\sqrt{2}},\frac{1}{\sqrt{2\sqrt{2}}}\Big)$
Evaluvate the following intregals:
$\int\frac{\text{x}^2+\text{x}-1}{\text{x}^2+\text{x}-6}\ \text{dx}$
Solve the following differential equations:$\frac{\text{dy}}{\text{dx}}=\frac{\text{e}^{\text{x}}(\sin^2\text{x}+\sin2\text{x})}{\text{y}(2\log\text{y}+1)}$
If $\text{x}=\frac{\sin^3\text{t}}{\sqrt{\cos^2\text{t}}},\text{y}=\frac{\cos^3\text{t}}{\sqrt{\cos2\text{t}}},$ find $\frac{\text{dy}}{\text{dx}}$
Find the angle between the follwing pairs of lines:$\vec{\text{r}}=\big(4\hat{\text{i}}-\hat{\text{j}}\big)+\lambda\big(\hat{\text{i}}+2\hat{\text{j}}-2\hat{\text{k}}\big)$ and $\vec{\text{r}}=\hat{\text{i}}-\hat{\text{j}}+2\hat{\text{k}}-\mu\big(2\hat{\text{i}}+4\hat{\text{j}}-4\hat{\text{k}}\big)$
AB is a diameter of a circle and C is any point on the circle. Show that the area of $\triangle\text{ABC}$ is maximum, when it is isosceles.
Find the particular solution of the differential equation $(1 + y^2) + (x – \text{e}^{\tan^{-1}}$y)$\frac{\text{dy}}{\text{dx}}=0$ given that $y = 0$ when $x=1.$
Discuss the continuity and differentiability of,$\text{f(x)}=\begin{cases}(\text{x}-\text{c})\cos\Big(\frac{1}{\text{x}-\text{c}}\Big), & \text{x}\neq 0\\0, & \text{x}= 0\end{cases}$
Solve the following determinant equations:
$\begin{vmatrix}15-2\text{x}&11-3\text{x}&7-\text{x}\\11&17&14\\10&16&13\end{vmatrix}=0$
Evaluate the following integrals:
$\int\frac{\cot\text{x}}{\sqrt{\sin\text{x}}}\text{dx}$