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

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+2\text{y}=\sin\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}=1$
and
$\text{Q}=\sin\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 I.F. = e2x, we get
$\text{e}^{2\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+2\text{y}\Big)=\text{e}^{2\text{x}}\sin\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}}\sin\text{x}$
Integrating both sides with respect to x, we get
$\text{ye}^{2\text{x}}=\int\text{e}^{2\text{x}}\sin\text{x dx + C}$
$\Rightarrow\ \text{ye}^{2\text{x}}=\frac{1}5\int[2\text{e}^{2\text{x}}(2\sin\text{x}-\cos\text{x}+\text{e}^{2\text{x}}(2\cos\text{x}+\sin\text{x})]$
Putting $\text{e}^{2\text{x}}(2\sin\text{x}-\cos\text{x})=\text{t}$
$\Rightarrow[2\text{e}^{2\text{x}}(2\sin\text{x}-\cos\text{x})+\text{e}^{2\text{x}}(2\cos\text{x}+\sin\text{x})]\text{dx}=\text{dt}$
$\therefore\ \text{ye}^{2\text{x}}=\frac{1}5\int\text{dt + C}$
$\Rightarrow\text{ye}^{2\text{x}}=\frac{\text{t}}5+\text{C}$
$\text{ye}^{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{Ce}^{-2\text{x}}$
Hence, $\text{y}=\frac{1}5(2\sin\text{x}-\cos\text{x})+\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

Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}=\cos\text{x}$
Find the co-ordinates of the point on the curve $\sqrt{\text{x}}+\sqrt{\text{y}}=4$ at which tangent is equally inclined to the axes.
Integrate the function: $\frac{1}{9 x^{2}+6 x+5}$
Evalute the following integrals:
$\int\frac{1}{1+\text{x}+\text{x}^2+\text{x}^3}\text{ dx}$
Find the equation of the plane passing through the intersection of the planes $\vec{\text{r}}\cdot(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}})=7,\vec{\text{r}}\cdot(2\hat{\text{i}}+5\hat{\text{j}}+3\hat{\text{k}})=9$ and the point (2, 1, 3).
Find the inverse of the matrix $\text{A}=\begin{bmatrix}\text{a} & \text{b} \\ \text{c} & \frac{1+\text{bc}}{\text{a}} \end{bmatrix}$ ans show that aA-1 = (a2 + bc + 1) I - aA.
Show that the plane vector equation is $\vec{\text{r}}\cdot(\hat{\text{i}}+2\hat{\text{j}}-\hat{\text{k}})=1$ and the line whose vector equation is $\vec{\text{r}}=(-\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}})+\lambda(2\hat{\text{i}}+\hat{\text{j}}+4\hat{\text{k}})$ are parallel. Also, find the distance between them.
Differentiate the following functions with respect to x:
$\sin^{-1}\Big\{\frac{\sqrt{1+\text{x}}+\sqrt{1-\text{x}}}{2}\Big\},0<\text{x}<1$
Evaluate the following intergrals:
$\int\text{e}^\text{ax}\cos\text{bx dx}$
A and B take turns in throwing two dice, the first to throw 10 being awarded the prize, show that if A has the first throw, their chance of winning are in the ratio 12 : 11.