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

Two cards are drawn simultaneosly from a well shuffled deck of 52 cards. Find the probability distribution of the number of the successes, when getting a spade is considered a success.
By using properties of determinants, show that:
$\begin{vmatrix}x&x^2&yz\\y&y^2&zx\\z&z^2&xy\end{vmatrix}=(x-y)(y-z)(z-x)(xy+yz+zx)$
Find the distance between the planes $\vec{\text{r}}\cdot(\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}})+7=0$ and $\vec{\text{r}}\cdot(2\hat{\text{i}}+4\hat{\text{j}}+6\hat{\text{k}})+7=0$
A dealer in rural area wishes to purchase a number of sewing machines. He has only ₹ 5,760 to invest and has space for at most 20 items for storage. An electronic sewing machine costs him  360 and a manually operated sewing machine ₹ 240. He can sell the sewing machine at a profit of ₹ 22 and a manually operated sewing machine at a profit of ₹ 18. Assuming that he can sell all the items that he can buy, how should he invest his money in order to maximize his profit? Make it as an LPP and solve it graphically.
A card from a pack of 52 playing cards is lost. From the remaining cards of the pack three cards are drawn at random (without replacement) and are found to be all spades. Find the probability of the lost card being a spade.
Find the area under the given curves and given lines:
  1. y = x2, x = 1, x = 2 and x-axis
  2. y = x4, x = 1, x = 5 and x-axis.
Find a point on the curve y = x2 + x, where the tangent is parallel to the chord joining (0, 0) and (1, 2).
A factory uses three different resources for the manufacture of two different products, 20 units of the resources A, 12 units of B and 16 units of C being available. 1 unit of the first product requires 2, 2 and 4 units of the respective resources and 1 unit of the second product requires 4, 2 and 0 units of respective resources. It is known that the first product gives a profit of 2 monetary units per unit and the second 3. Formulate the linear programming problem. How many units of each product should be manufactured for maximizing the profit? Solve it graphically.
Find the maximum and the minimum values, if any, without using derivaives of the following functions:

f(x) = 16x2 - 16x + 28 on R.

If the value of c prescribed bye Lagrange's mean value theorem for the function
$\text{f}(\text{x})=\sqrt{\text{x}^2-4}$ defined on [2, 3].