Question
Find the general solution of $\frac{d y}{d x}+2 y=\sin x$

Answer

It is given that $\frac{d y}{d x}+2 y=\sin x$
This is equation in the form of $\frac{d y}{d x}+p y=Q$ (where, p = 2 and Q = sin x)
Now, I.F = $e^{\int p d x}=e^{\int 2 d x}=e^{2 x}$
Thus, the solution of the given differential equation is given by the relation:
$\mathrm{y}(\mathrm{I}. \mathrm{F} .)=\int(\mathrm{Q} \times \mathrm{I.F.}) \mathrm{d} \mathrm{x}+\mathrm{C}$
$\Rightarrow \mathrm{ye}^{2 \mathrm{x}}=\int \sin \mathrm{x} \cdot \mathrm{e}^{2 \mathrm{x}} \mathrm{d} \mathrm{x}+\mathrm{C}$ .....(i)
Let $I=\int \sin x \cdot e^{2 x} d x$
$\Rightarrow \mathrm{I}=\sin \mathrm{x} \int \mathrm{e}^{2 \mathrm{x}} \mathrm{d} \mathrm{x}-\int\left(\frac{\mathrm{d}}{\mathrm{dx}}(\sin \mathrm{x}) \cdot \int \mathrm{e}^{ 2x }\mathrm{d} \mathrm{x}\right) \mathrm{d} \mathrm{x}$
= $\sin x \cdot \frac{e^{2 x}}{2}-\int\left(\cos x \cdot \frac{e^{2 x}}{2}\right) d x$
= $\frac{\mathrm{e}^{2 \mathrm{x}} \sin \mathrm{x}}{2}-\frac{1}{2}\left[\cos \mathrm{x} \int \mathrm{e}^{2 \mathrm{x}}-\int\left(\frac{\mathrm{d}}{\mathrm{d} \mathrm{x}}(\cos \mathrm{x}) \cdot \int \mathrm{e}^{2 \mathrm{x}} \mathrm{d} \mathrm{x}\right) \mathrm{d} \mathrm{x}\right]$
= $\frac{\mathrm{e}^{2 \mathrm{x}} \sin \mathrm{x}}{2}-\frac{1}{2}\left[\cos \mathrm{x} \frac{\mathrm{e}^{2 \mathrm{x}}}{2}-\int\left[(-\sin \mathrm{x}) \cdot \frac{\mathrm{e}^{2 \mathrm{x}}}{2}\right] \mathrm{d} \mathrm{x}\right]$
= $\frac{\mathrm{e}^{2 \mathrm{x}} \sin \mathrm{x}}{2}-\frac{\mathrm{e}^{2 \mathrm{x}} \cos \mathrm{x}}{4}-\frac{1}{4} \int\left(\sin \mathrm{x} \cdot \mathrm{e}^{2 \mathrm{x}}\right) \mathrm{d} \mathrm{x}$
= $\frac{e^{2 x}}{4}(2 \sin x-\cos x)-\frac{1}{4} I$
$\Rightarrow \frac{5}{4} \mathrm{I}=\frac{\mathrm{e}^{2 \mathrm{x}}}{4}(2 \sin \mathrm{x}-\cos \mathrm{x})$
$\Rightarrow \mathrm{I}=\frac{\mathrm{e}^{2 \mathrm{x}}}{5}(2 \sin \mathrm{x}-\cos \mathrm{x})$
Now, putting the value of I in (i), we get,
$\Rightarrow \mathrm{ye}^{2 \mathrm{x}}=\frac{\mathrm{e}^{2 \mathrm{x}}}{5}(2 \sin \mathrm{x}-\cos \mathrm{x})+\mathrm{C}$
$\Rightarrow \mathrm{y}=\frac{1}{5}(2 \sin \mathrm{x}-\cos \mathrm{x})+\mathrm{Ce}^{-2 \mathrm{x}}$
Therefore, the required general solution of the given differential equation is
$y=\frac{1}{5}(2 \sin x-\cos x)+C e^{-2 x}$

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

Maximize $Z = -x_1 + 2x_2$
Subject to
$-\text{x}_1+3\text{x}_2\leq10$
$\text{x}_1+\text{x}_2\leq6$
$\text{x}_1+\text{x}_2\leq2$
$\text{x}_1,\text{x}_2\geq0$
Find the particular solution of the differential equation$\text{e}^{x}\sqrt{1 - \text{y}^{2}} \text{ dx} + \frac{\text{y}}{\text{x}}\text{dy } = 0 $ given that y= 1 when x=0.
A pair of dice is thrown. Let E be the event that the sum is greater than or equal to 10 and F be the event "5 appears on the first-die". Find $\text{P}\Big(\frac{\text{E}}{\text{F}}\Big)$. If F is the event "5 appears on at least one die", find $\text{P}\Big(\frac{\text{E}}{\text{F}}\Big)$.
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}2&3&7\\13&17&5\\15&20&12 \end{vmatrix}$
Prove that the area common to tha two parabola $y = 2x^2$ and $y = x^2 + 4$ is $323$ sq. units.
Find the second order derivatives of the following functions:
$\text{y}=\tan^{-1}\text{x}$
If the sum of the lengths of the hypotenuse and a side of a right angled triangle is given, show that the area of the triangle is maximum when the angle between them is $\frac{\pi}{3}.$
Form the differential equation of the family of circle in the secound qudrant and touching the coordinate axes.
A window is in the form of a rectangle surmounted by a semi-circle. If the total perimeter of the window is 30 m, find the dimensions of the window so that maximum light is admitted.
Using differentials, find the approximate values of the following:
$\Big(\frac{17}{81}\Big)^{\frac{1}{4}}$