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

Answer

We have, $\frac{\text{dy}}{\text{dx}}+2\text{y}=\text{xe}^{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}=\text{xe}^{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 $e^{2x}$, we get
$\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\text{e}^{2\text{x}}\times\text{xe}^{4\text{x}}$$\Rightarrow\ \text{e}^{2\text{x}}\frac{\text{dy}}{\text{dx}}+2\text{e}^{2\text{x}}\text{y}=\text{xe}^{6\text{x}}$
Integrating both sides with respect to x, we get
$\text{e}^{2\text{x}}\text{y}=\int\text{e}^{6\text{x}}\text{xdx + C}$ $\Rightarrow\ \text{e}^{2\text{x}}\text{y}=\text{x}\int\text{e}^{6\text{x}}\text{dx}-\int\Big[\frac{\text{d}}{\text{dx}}(\text{x})\int\text{e}^{6\text{x}}\text{dx}\Big]\text{dx + C}$$\Rightarrow\ \text{e}^{2\text{x}}\text{y}=\frac{\text{x}\text{e}^{6\text{x}}}{6}-\frac{\text{e}^{6\text{x}}}{36}+\text{C}$
$\Rightarrow\ \text{y}=\frac{\text{xe}^{4\text{x}}}{6}-\frac{\text{e}^{4\text{x}}}{36}+\text{Ce}^{-2\text{x}}$ Hence, $\text{y}=\frac{\text{xe}^{4\text{x}}}{6}-\frac{\text{e}^{4\text{x}}}{36}+\text{Ce}^{-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

Find the angle between the pairs of lines with direction ratios proportional toa, b, c and b - c, c - a, a - b.
Two cards are selected at random from a box which contains five cards numbered 1, 1, 2, 2, and 3. Let X denote the sum and Y the maximum of the two numbers drawn. Find the probability distribution, mean and variance of X and Y.
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_0\big(2\log\cos\text{x}-\log\sin2\text{x}\big)\text{dx}$
In a hospital, there are 20 kidney dialysis machines and that the chance of any one of them to be out of service during a day is 0.02. Determine the probability that exactly 3 machines will be out of service on the same day.
If $\text{A}=\begin{vmatrix}2&2&-4\\-4&2&-4\\2&-1 &5\end{vmatrix}\text{ and B}=\begin{vmatrix}1&-1&0\\2&3&4\\0&1&2\end{vmatrix},$ then find BA and use this to solve the system of equations y + 2z = 7, x - y = 3 and 2x + 3y + 4z = 17.
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).
If $f(x) = x^2 - 2x$, find f(A), where $\text{A}=\begin{bmatrix}0&1&2\\4&5&0\\0&2&3\end{bmatrix}$
Evaluate the following intregals:
$\int\frac{1}{5-4\sin\text{x}}\ \text{dx}$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{y}}{\text{x}}\{\log\text{y}-\log\text{x}+1\}$
Determine whether the following pair of lines intersect or not:
$\frac{\text{x}-5}{4}=\frac{\text{y}-7}{4}=\frac{\text{z}+3}{-5}$ and $\frac{\text{x}-8}{7}=\frac{\text{y}-4}{1}=\frac{3-5}{3}$