Question
For each of the differential equations given in find the general solution:
$\frac{\text{dy}}{\text{dx}}+2\text{y}=\sin\text{x}$

Answer

The given differential equation is $\frac{\text{dy}}{\text{dx}}+2\text{y}=\sin\text{x}.$

This is in the form of $\frac{\text{dy}}{\text{dx}}+\text{py}=\text{Q}$ (where p = 2 and Q = sin x).

$\text{Now, I.F}=\text{e}^{\int\text{pdx}}=\text{e}^{\int2\text{dx}}=\text{e}^{2\text{x}}.$

The solution of the given differential equation is given by the relation,

$\text{y}(\text{I.F})=\int(\text{Q}\times\text{I.F})\text{dx}+\text{C}$

$\Rightarrow\ \text{ye}^{2\text{x}}=\int\sin\text{x}\cdot\text{e}^{2\text{x}}\text{dx}+\text{C}\ \ ....{(1)}$

$\text{Let}\ I=\int\sin\text{x}\cdot\text{e}^{2\text{x}}.$

$\Rightarrow\ I=\sin\text{x}\cdot\int\text{e}^{2\text{x}}\text{dx}-\int\bigg(\frac{\text{d}}{\text{dx}}(\sin\text{x})\cdot\int\text{e}^{2\text{x}}\text{dx}\bigg)\text{dx}$

$\Rightarrow\ I=\sin\text{x}\cdot\frac{\text{e}^{2\text{x}}}{2}-\int\bigg(\cos\text{x}\cdot\frac{\text{e}^{2\text{x}}}{2}\bigg)\text{dx}$

$\Rightarrow\ I=\frac{\text{e}^{2\text{x}}\sin\text{x}}{2}-\frac{1}{2}\bigg[\cos\text{x}\cdot\int\text{e}^{2\text{x}}-\int\bigg(\frac{\text{d}}{\text{dx}}(\cos\text{x})\cdot\int\text{e}^{2\text{x}}\text{dx}\bigg)\text{dx}\bigg]$

$\Rightarrow\ I=\frac{\text{e}^{2\text{x}}\sin\text{x}}{2}-\frac{1}{2}\bigg[\cos\text{x}\cdot\frac{\text{e}^{2\text{x}}}{2}-\int\bigg[(-\sin\text{x})\cdot\frac{\text{e}^{2\text{x}}}{2}\bigg]\text{dx}\bigg]$

$\Rightarrow\ I=\frac{\text{e}^{2\text{x}}\sin\text{x}}{2}-\frac{\text{e}^{2\text{x}}\cos\text{x}}{4}-\frac{1}{4}\int\big(\sin\text{x}.\text{e}^{2\text{x}}\big)\text{dx}$

$\Rightarrow\ I=\frac{\text{e}^{2\text{x}}}{4}(2\sin\text{x}-\cos\text{x})-\frac{1}{4}I$

$\Rightarrow\ \frac{5}{4}I=\frac{\text{e}^{2\text{x}}}{4}(2\sin\text{x}-\cos\text{x})$

$\Rightarrow\ I=\frac{\text{e}^{2\text{x}}}{5}(2\sin\text{x}-\cos\text{x})$

Therefore, equation (1) becomes:

$\text{y}^{2\text{x}}=\frac{\text{e}^{2\text{x}}}{5}(2\sin\text{x}-\cos\text{x})+\text{C}$

$\Rightarrow\ \text{y}=\frac{1}{5}(2\sin\text{x}-\cos\text{x})+\text{C}\text{e}^{-2\text{x}}$

This is the required general solution of the given differential equation.

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 shortest distance between the lines
$\vec{\text{r}}=\big(\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}\big)+\lambda\big(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big)$ and, $\vec{\text{r}}=2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}+\mu\big(2\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}\big)$
Find the area of the bounded by the curve xy - 3x - 2y = 0, x-axis and the lins x = 3, x = 4.
Find the angle between the lines whose direction cosines are given by the equations:
2l + 2m - n = 0, mn + ln + lm = 0
Find the values of a so that the function
$\text{f}\text{(x)}=\begin{cases}\text{ax}+5, &\text{if}\text{ x}\leq2\\\text{x}-1, &\text{if}\text{ x}>2\end{cases}$ is continuous at x = 2.
Let X be a discrete random variable whose probability distribution is defined as follows:
$\text{P}(\text{X}=\text{x})=\begin{cases}\text{k}(\text{x}+1) & \text{for}\text{ x}= 1,2,3,4\\2\text{kx} & \text{for}\text{ x } =5,6,7\\0&\text{otherwise} \end{cases}$
where k is a constant. Calculate:
  1. The value of A if E(X) = 2.94
  2. Variance of X.
  3. Standard deviation of X.
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{\text{a}+\text{b}\tan\text{x}}{\text{b}-\text{a}\tan\text{x}}\Big)$
If $\text{A}=\begin{pmatrix}2&3&1\\1&2&2\\-3&1&-1\end{pmatrix}$, find A-1 and hence solve the system of equations 2x + y - 3z =13, 3x + 2y + z = 4, x + 2y - z = 8.
$\int\frac{\text{x}-1}{\sqrt{\text{x}+4}}\ \text{dx}$
Find the angle between the pairs of lines with direction ratios proportional to
5, -12, 13 and -3, 4, 5
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{4}}_{-\frac{\pi}{4}}\sin^2\text{x dx}$