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

Verify Rolle's theorem for the following function on the indicated intervals $f(x) = x(x^- 2)^2$​​​​​​​ on the interval $[0, 2]$
Find the distance between the parallel planes $2x - y + 3z − 4 = 0$ and $6x - 3y + 9z + 13 = 0.$
Find one-parameter families of solution curves of the following differential equation: (or solve the following differential equation)$\frac{\text{dy}}{\text{dx}}-\text{y}=\cos2\text{x}$
Maximize $Z = 9x + 3y$
Subject to
$2\text{x}+3\text{y}\leq13$
$3\text{x}+\text{y}\leq5$
$\text{x},\text{y}\geq0$
 A particle moves along the curve $y=x^2+2 x$. At what point(s) on the curve are the $x$ and $y$ coordinates of the particle changing at the same rate?
An amount of Rs. $10,000$ is put into three investments at the rate of $10,12$ and $15 \%$ per annum. The combined income is Rs. $1310$ and the combined income of first and second investment is Rs. $190$ short of the income from the third. Find the investment in each using matrix method.
$\text{A}=\begin{bmatrix}1&-2&0\\ 2&1&3\\ 0&-2&1\end{bmatrix}\text{and }\text{B}=\begin{bmatrix}7&2&-6\\ -2&1&-3\\ -4&2&5\end{bmatrix}$, find AB. Hence, solve the system of equations:
x - 2y = 10, 2x + y + 3z = 8 and -2y + z = 7
Evaluate the following integrals:$\int(\log\text{x})^2\cdot\text{x dx}$
Find the inverse of the following matrices by using elementry row transformation:$\begin{bmatrix}3 & 10 \\ 2 & 7 \end{bmatrix}$
Let $Z$ be the set of all integers and $Z_0$ be the set of all non-zero integers. Let a relation $R$ on $Z \times Z_0$ be defined as $(a, b)R(c, d) ⇔ ad = bc$ for all $(a, b), (c, d) \in Z \times Z_0,$ Prove that $R$ is an equivalence relation on $Z \times Z_0.$