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

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}=\sin\text{x}\cos\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}=\cos\text{x}$
$\text{Q}=\sin\text{x}\cos\text{x}$
$\therefore$ I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\cos\text{xdx}}$
$=\text{e}^{\sin\text{x}}$
Multiplying both sides of (1) by $\text{e}^{\sin\text{x}}$ we get
$\text{e}^{\sin\text{x}}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}\Big)=\text{e}^{\sin\text{x}}\sin\text{x}\cos\text{x}$
$\Rightarrow\ \text{e}^{\sin\text{x}}\frac{\text{dy}}{\text{dx}}+\text{e}^{\sin\text{x}}\text{y}\cos\text{x}=\text{e}^{\sin\text{x}}\sin\text{x}\cos\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\text{e}^{\sin\text{x}}=\int\text{e}^{\sin\text{x}}\sin\text{x}\cos\text{x dx + C}$
$\Rightarrow\ \text{y}\text{e}^{\sin\text{x}}=\text{I + C}\ \dots(2)$
where
$\text{I}=\int\text{e}^{\sin\text{x}}\sin\text{x}\cos\text{x dx}$
Putting $\text{t}=\sin\text{x},$ we get
$\text{dt}=\cos\text{x dx}$
$\therefore\ \text{I}=\int\text{e}^{\text{t}}\text{t dt}$
$=\text{t}\int\text{e}^{\text{t}}\text{dt}-\int\Big[\frac{\text{d}}{\text{dt}}(\text{t})\int\text{e}^{\text{t}}\text{dt}\Big]\text{dt}$
$=\text{te}^{\text{t}}-\text{e}^{\text{t}}$
$=\text{e}^{\text{t}}(\text{t}-1)$
$=\text{e}^{\sin\text{x}}(\sin\text{x}-1)$
Putting the value of I in (2), we get
$\text{ye}^{\sin\text{x}}=\text{e}^{\sin\text{x}}(\sin\text{x}-1)+\text{C}$
$\Rightarrow\ \text{y}=\sin\text{x}-1+\text{Ce}^{-\sin\text{x}}$
Hence, $\text{y}=\sin\text{x}-1+\text{Ce}^{-\sin\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

Bag A contains 3 red and 5 black balls, while bag B contains 4 red and 4 black balls. Two balls are transferred at random from bag A to bag B and then a ball is drawn from bag B at random. If the ball drawn from bag B is found to be red find the probability that two red balls were transferred from A to B.
Solve the following differential equation:
$\text{dx + xdy}=\text{e}^{-\text{y}}\sec^2\text{y dy}$
From a lot of 15 bulbs which include 5 defective, a sample of 4 bulbs is drawn one by one with replacement. Find the probability distribution of number of defective bulbs. Hence, find the mean of the distribution.
Differentiate the following functions with respect to x:
$\log(3\text{x}+2)-\text{x}^2\log(2\text{x}-1)$
Find the equation of the curve which passes through the point (2, 2) and satisfies the differential equation $\text{y}-\text{x}\frac{\text{dy}}{\text{dx}}=\text{y}^{2}+\frac{\text{dy}}{\text{dx}}.$
Prove that $ \tan^{-1}\bigg[\frac{\sqrt{1 + \text{x}} - \sqrt{1 - \text{x}}}{\sqrt{1 + \text{x}} + \sqrt{1 - \text{x}}}\bigg] = \frac{\pi}{4} - \frac{1}{2}\cos^{-1}\text{x} , \frac{1}{\sqrt{2}}\leq\text{x}\leq1$
Solve the differential equation $\frac{\text{dy}}{\text{dx}}+2\text{xy}=\text{y}.$
A furniture trader deals in only two items – chairs and tables. He has ₹ 50,000 to invest and a space to store at most 35 items. A chair costs him ₹ 1000 and a table costs him ₹ 2000 The trader earns a profit of ₹ 150 and ₹ 250 on a chair and table, respectively. Formulate the above problem as an LPP to maximise the profit and solve it graphically.
If $\text{A} = \begin{bmatrix}2&-3&5\\3&2&-4\\1&1&-2\end{bmatrix},$ find A-1. Using A-1 solve the system of equations:
2x - 3y + 5z = 11
3x + 2y - 4z = -5
x + y - 2z = -3 
If $\vec{\text{a}} , \vec{\text{b}} , \vec{\text{c}}$ are mutually perpendicular vectors of equal magnitudes, show that the vector $\vec{\text{a}} + \vec{\text{b}} + \vec{\text{c}}$ is equally inclined to $\vec{\text{a}} , \vec{\text{b}}$ and $\vec{\text{c}}$ Also, find the angle which $\vec{\text{a}} + \vec{\text{b}} + \vec{\text{c}}$ makes with $\vec{\text{a}} \text{ or }\vec{\text{b}} \text{ or } \vec{\text{c}}.$