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

Evaluate the following integrals:
$\int \frac{\text{x}+1}{(\text{x}-1)\sqrt{\text{x}+2}}\text{ dx}$
In a culture, the bacteria count is 100000. The number is increased by 10% in 2 hours. In how many hours will the count reach 200000, if the rate of growth of bacteria is proportional to the number present?
Find the equation of the perpendicular drawn from the point P(2, 4, -1) to the line $\frac{\text{x}+5}{1}=\frac{\text{y}+3}{4}=\frac{\text{z}-6}{-9}.$ Also, write down the coordinates of the foot of the perpendicular from P.
Find the inverse of the following matrices:$\begin{bmatrix}0 & 0 & -1 \\ 3 & 4 & 5 \\ -2 & -4 & -7 \end{bmatrix}$
The coordinates of the foot of the perpendicular drawn from the origin to a plane are (12, -4, 3). Find the equation of the plane.
Differentiate $\sin^{-1}\Big(4\text{x}\sqrt{1-4\text{x}^2}\Big)$ with respect to $\sqrt{1-4\text{x}^2},$ if:
$\text{x}\in\Big(-\frac{1}{2},-\frac{1}{2\sqrt{2}}\Big)$
Using integration, find the area of the region bounded by the triangle whose vertices are (–1, 2), (1, 5) and (3, 4).
At any point (x, y) of a curve, the slope of the tangent is twice the slope of the line segment joining the point of contact to the point (–4, –3). Find the equation of the curve given that it passes through (–2, 1).
Solve the following systems of linear equations by cramer's rule: $6x + y - 3z = 5,x + 3y - 2z = 5,2x + y + 4z = 8$
Evaluate the following integrals:
$\int(3\text{x}+1)\sqrt{4-3\text{x}-2\text{x}^2}\text{dx}$