Question
Solve the following differential equation: $\frac{\text{dy}}{\text{dx}}+\text{y}=\sin\text{x}$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\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$
$\text{Q}=\sin\text{x}$
$\therefore\ \text{I.F.}=\text{e}^{\int\text{Pdx}}=\text{e}^{\int\text{dx}}=\text{e}^{\text{x}}$
Multiplying both sides of $(1)$ by $e^x,$ we get
$\text{e}^\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\Big)=\text{e}^\text{x}\sin \text{x}$
$\Rightarrow\ \text{e}^\text{x}\frac{\text{dy}}{\text{dx}}+\text{e}^{\text{x}}\text{y}=\text{e}^\text{x}\sin\text{x}$
Integrating both sides with respect to $x,$ we get
$\text{y}\text{e}^{\text{x}}=\int\text{e}^{\text{x}}\sin\text{x dx + C}$
$\Rightarrow\ \text{y}\text{e}^{\text{x}}=\frac{\text{e}^{\text{x}}}{2}(\sin\text{x}-\cos{\text{x}})+\text{C}$
$\Rightarrow\ \text{y}=\text{Ce}^{-\text{x}}+\frac{1}{2}(\sin\text{x}-\cos{\text{x}})$
Hence, $\text{y}=\text{Ce}^{-\text{x}}+\frac{1}{2}(\sin\text{x}-\cos{\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

An experiment succeeds twice as often as it fails. Find the probability that in the next 6 trials there will be at least 4 successes.
A manufacturer has three machine I, II, III installed in his factory. Machines I and II are capable of being operated for at most 12 hours whereas machine III must be operated for atleast 5 hours a day. She produces only two items M and N each requiring the use of all the three machines.
The number of hours required for producing 1 unit each of M and N on the three machines are given in the following table:
Item
Number of hours required on machines
 
I
II
III
M
1
2
1
N
2
1
1.25
She makes a profit of Rs. 600 and Rs. 400 on items M and N respectively. How many of each item should she produce so as to maximise her profit assuming that she can sell all the items that she produced? What will be the maximum profit?
Evaluate the following integrals:
$\int\limits^{(\pi)^\frac{2}{3}}_{0}\sqrt{\text{x}}\cos^2\text{x}^{\frac{3}{2}}\text{ dx}$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=\cos\text{x}$
A factory makes tennis rackets and cricket bats. A tennis racket takes $1.5$ hours of machine time and $3$ hours of craftman's time in its making while a cricket bat takes $3$ hours of machine time and $1$ hour of craftman's time. In a day, the factory has the availability of not more than $42$ hours of machine time and $24$ hours of craftman's time. If the profit on a racket and on a bat is $Rs. 20$ and $Rs. 10$ respectively, find the number of tennis rackets and cricket bats that the factory must manufacture to earn the maximum profit. Make it as an $\text{LPP}$ and solve it graphically.
Prove the following results:
$2\sin^{-1}\frac{3}{5}-\tan^{-1}\frac{17}{31}=\frac{\pi}{4}$
Find the area enclosed by the curve $\text{x}=3\cos\text{t}, \text{y}=2\sin\text{t}.$
Find the vector equation of the plane passing through the points (1, 1, 1), (1, -1, 1) and (-7, -3, -5)
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.
Evaluate the following integrals:
$\int\cos\Big\{2\cot^{-1}\sqrt{\frac{1+\text{x}}{1-\text{x}}}\Big\}\text{dx}$