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

Amit's mathematics teacher has given him three very long lists of problems with the instruction to submit not more than 100 of them (correctly solved) for credit. The problem in the first set are worth 5 points each, those in the second set are worth 4 points each, and those in the third set are worth 6 points each. Amit knows from experience that he requires on the average 3 minutes to solve a 5 point problem, 2 minutes to solve a 4 point problem, and 4 minutes to solve a 6 point problem. Because he has other subjects to worry about, he can not afford to devote more than $3\frac{1}{2}$ hours altogether to his mathematics assignment. Moreover, the first two sets of problems involve numerical calculations and he knows that he cannot stand more than $2\frac{1}{2}$ hours work on this type of problem. Under these circumstances, how many problems in each of these categories shall he do in order to get maximum possible credit for his efforts? Formulate this as a LPP.
If $\text{A}=\begin{bmatrix}2&-3&5\\ 3&2&-4\\ 1&1&-2\end{bmatrix}$, find $A^{-1}$ and hence solve the system of linear equations:
$2x - 3y + 5z = 11, 3x + 2y - 4z = -5, x + y + 2z = -3$
A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability of two successes.
If lines $\frac{x - 1}{2} = \frac{y + 1}{3} = \frac{z - 1}{4} \text{and} \frac{x - 3}{1} = \frac{y - k}{2} = \frac{z}{1}$ intersect, then find the value of k and hence find the equation of the plane containing these lines.
Prove that the line through A(0, –1, –1) and B(4, 5, 1) intersects the line through C(3, 9, 4) and D(–4, 4, 4).
Find the area enclosed by the parabola $y = 5x^2$ and $y = 2x^2 + 9$.
Evaluate the following intregals:
$\int\frac{\cos\text{x}}{(1-\sin\text{x})^3(2+\sin\text{x})}\ \text{dx}$
Find the shortest distance between the following two lines:
$\vec{\text{r}}=\text{(1 +}\lambda)\hat{\text{i}}+\text{(2 -}\lambda)\hat{\text{j}}+(\lambda+\text{1)}\hat{\text{k}};$

$\vec{\text{r}}=(2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}})+\mu(2\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}).$
Evaluate the following intregals:
$\int\frac{1}{(\sin\text{x}-2\cos\text{x})(2\sin\text{x}-\cos\text{x})}\ \text{dx}$
Show that $\text{f}(\text{x})=\text{x}^\frac{1}{3}$ is not differentible at x = 0.