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

In a binomial distribution the sum and product of the mean and the variance are $\frac{25}{3}$ and $\frac{50}{3}$ respectively. Find the distribution.
Evaluate the following integrals:$\int\frac{(3\sin\text{x}-2)\cos\text{x}}{5-\cos^2\text{x}-4\sin\text{x}}\text{ dx}$
If $y^x + x^y + x^x = a^b$, find $\frac{\text{dy}}{\text{dx}}$
By computing the shortest distance determine whether the following pairs of lines intersect or not:3
$\frac{\text{x}-5}{4}=\frac{\text{y}-7}{-5}=\frac{\text{z}+3}{-5}$ and $\frac{\text{x}-8}{7}=\frac{\text{y}-7}{1}=\frac{\text{z}-5}{3}$
If $\text{y}=\tan^{-1}\Big(\frac{1-\text{x}}{1+\text{x}}\Big),$, find $\frac{\text{dy}}{\text{dx}}.$
Evaluate the following integrals:
$\int\limits^{\text{a}}_{-\text{a}}\log\Big(\frac{\text{a}-\sin\theta}{\text{a}+\sin\theta}\Big)\text{d}\theta$
Find the area of the region included between $y^2 = 9x$ and $y = x$.
A company manufactures three kinds of calculators: A, B and C in its two factories I and II. The company has got an order for manufacturing at least 6400 calculators of kind A, 4000 of kind B and 4800 of kind C. The daily output of factory I is of 50 calculators of kind A, 50 calculators of kind B, and 30 calculators of kind C. The daily output of factory II is of 40 calculators of kind A, 20 of kind B and 40 of kind C. The cost per day to run factory I is 12,000 and of factory II is 15,000. How many days do the two factories have to be in operation to produce the order with the minimum cost? Formulate this problem as an LPP and solve it graphically.
Show that the vectors
$\vec{\text{a}}=\frac{1}{7}(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}),\vec{\text{b}}=\frac{1}{7}(3\hat{\text{i}}-6\hat{\text{j}}+2\hat{\text{k}}),\vec{\text{c}}=\frac{1}{7}(6\hat{\text{i}}+2\hat{\text{j}}-3\hat{\text{k}})$ are mutually perpendicular unit vectors.
Evaluate the following intregals:
$\int\frac{1}{\text{x}\log\text{x}(2+\log\text{x})}\text{ dx}$