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. = e^{2x},$ 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

Evaluate the following integrals:$\int(\log\text{x})^2\cdot\text{x dx}$
Evaluate the following intregals:
$\int\frac{2\text{x}^2+1}{\text{x}^2(\text{x}^2+4)}\ \text{dx}$
Prove that:
$\cos^{-1}\frac{12}{13}=\sin^{-1}\frac{3}{5}=\sin^{-1}\frac{3}{5}=\sin^{-1}\frac{56}{65}$
Find the general solution of the differential equation $\text{x}\frac{\text{dy}}{\text{dx}}+2{\text{y}}=\text{x}^2$
A box contains 100 tickets, each bearing one of the numbers from 1 to 100. If 5 tickets are drawn successively with replacement from the box, find the probability that all the tickets bear numbers divisible by 10.
For the following probability distribution determine standard deviation of the
random variable $X.$
$X$ $2$ $3$ $4$
$P(X)$ $0.2$ $0.5$ $0.3$
Solve the following initial value problems $\tan\text{x}\Big(\frac{\text{dy}}{\text{dx}}\Big)=2\text{x}\tan\text{x}+\text{x}^2-\text{y},\tan\text{x}\neq0$ given that y = 0 when $\text{x}=\frac{\pi}{2}$
If the marginal cost of maufacturing a certain item is given by $\text{C}(\text{x})=\frac{\text{dC}}{\text{dx}}=2+0.15\text{x}$. Find the total cost function C(x), given that C(0) = 100.
ABCD is aparallelogram. the position vectora of the points A, B and C are respectively, $4\hat{\text{i}}+5\hat{\text{j}}-10\hat{\text{k}},2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}.$ Find the vector equation of the line BD. Also, reduce it to cartesian form.
The slope of the tangent at a point P(x, y) on a curve is $\frac{-\text{x}}{\text{y}}$. If the curve passs es through the point (3, -4). Find the equation of the curve.