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

Using the property of determinants and without expanding, prove that:
$\begin{vmatrix}b+c&q+r&y+z\\c+a&r+p&z+x\\a+b&p+q&x+y\end{vmatrix}=2\begin{vmatrix}a&p&x\\b&q&y\\c&r&z\end{vmatrix}$
A card from a pack of 52 cards is lost. From the remaining cards of the pack, two cards are drawn and are found to be both diamonds. Find the probability of the lost card being a diamond.
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
f(x) = (x - 1)(x - 2)(x - 3) on [0, 4]
Solve the following equation for x:
$\tan^{-1}\Big(\frac{\text{x}-2}{\text{x}-4}\Big)+\tan^{-1}\Big(\frac{\text{x}+2}{\text{x}+4}\Big)=\frac{\pi}{4}$
A small manufacturer has employed 5 skilled men and 10 semi-skilled men and makes an article in two qualities deluxe model and an ordinary model. The making of a deluxe model requires 2 hrs. work by a skilled man and 2 hrs. work by a semi-skilled man. The ordinary model requires 1 hr by a skilled man and 3 hrs. by a semi-skilled man. By union rules no man may work more than 8 hrs per day. The manufacturers clear profit on deluxe model is Rs. 15 and on an ordinary model is Rs. 10. How many of each type should be made in order to maximize his total daily profit.
Solve the differential equation $x\frac{\text{dy}}{\text{d}x} + \text{y} = x \cos x + \sin x,$ given that y = 1 when $x = \frac{\pi}{2}.$
$\text{Evaluate:} \int\limits_0^\frac{\pi}{2} (2\log \sin \text{x} - \log \sin 2\text{x}) \text{dx}$
Evaluate the following integrals:
$\int\limits^{8}_2\frac{\sqrt{10-\text{x}}}{\sqrt{\text{x}}+\sqrt{10-\text{x}}}\text{ dx}$
Find graphically, the maximum value of $\text{z = 2x + 5y},$ subject to constraints given below:
$2x + 4y \leq 8$
$3x + y \leq 6$
$x + y \leq 4$
$x\geq 0, y\geq 0$
Evaluate the following integrals as limit of sum:
$\int\limits^3_{2}\big(2\text{x}^2+1\big)\text{ dx}$