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

If the lines $\frac{\text{x}-1}{-3}=\frac{\text{y}-2}{-2\text{k}}=\frac{\text{z}-3}{2}$ and $\frac{\text{x}-1}{\text{k}}=\frac{\text{y}-2}{1}=\frac{\text{z}-3}{5}$ are perpendicular, find the value of $k$ and, hence find the equation of the plane containing these lines.
$\overrightarrow{A B}=3 \hat{i}-\hat{j}+\hat{k}$ and $\overrightarrow{C D}=-3 \hat{i}+2 \hat{j}+4 \hat{k}$ are two vectors. The position vectors of the points $A$ and $C$ are $6 \hat{i}+7 \hat{j}+4 \hat{k}$ and $-9 \hat{j}+2 \hat{k}$, respectively. Find the position vector of a point $P$ on the line $AB$ and a point $Q$ on the line $CD$ such that $\overrightarrow{P Q}$ is perpendicular to $\overrightarrow{A B}$ and $\overrightarrow{C D}$ both.
If $(\sin\text{x})^{\text{y}}=\text{x}+\text{y},$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{1-(\text{x}+\text{y})\text{y}\cot\text{x}}{(\text{x}+\text{y})\log\sin\text{x}-1}$
Show that aii curve for which the slope at any point (x, y) on its is  $\frac{\text{x}^{2}+\text{y}^{2}}{\text{2xy}}$ are rectangular hyperbola.
A rectangular sheet of tin $45\ cm$ by $24\ cm$ is to be made into a box without top, in cutting off squares from each corners and folding up the flaps. What should be the side of the square to be cut off so that the volume of the box is maximum possible $?$
Solve the matrix equations:
$\begin{bmatrix}2\text{x}&3\end{bmatrix}\begin{bmatrix}1&2\\-3&0\end{bmatrix}\begin{bmatrix}\text{x}\\8\end{bmatrix}=0$
Three cards are cdrawn successively with replacement from a well shffled deck of 52 cards. A random variable X denotes the number of hearts in the three cards drawn. Determine the probability distribution of X.
Show that if a matrix A is invertible, then A is non-singular.
find the area of the region $\{(x, y) : y^2 < 8x, x^2 + y^2 < 9\}.$
verify that $\text{y}^2=4\text{a}(\text{x}+\text{a})$ is a solution of the differential equation $\Big\{1-\Big(\frac{\text{dy}}{\text{dx}}\Big)^2\Big\}=2\text{x}\frac{\text{dy}}{\text{dx}}.$