Question
Solve the differential equation $\text{dy}=\cos\text{x}(2-\text{y}\text{cosesx})\text{dx}$ given that $\text{y}=2$ when $\text{x}=\frac{\pi}{2}.$

Answer

We have
$\text{dy}=\cos\text{x}(2-\text{y}\text{cosesx})\text{dx}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}=2\cos\text{x}-\text{y}\text{cosec}\text{x}.\cos\text{x}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=2\cos\text{x}$
This is a linear differential equation.
On comparinvg it with $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q},$ we get
$\text{P}=\cot\text{x},\text{Q}=2\cos\text{x}$
$\text{I.F.}=\text{e}^{\int\text{Pdx}}=\text{e}^{\int\cot\text{xdx}}$
$=\text{e}^{\log\sin\text{x}}=\sin\text{x}$
Thus, the general solution is,
$\text{y}.\sin\text{x}=\int2.\cos\text{x}.\sin\text{x}\text{dx}+\text{C}$
$\Rightarrow\text{y}.\sin\text{x}=\int\sin2\text{x}\text{dx}+\text{C}$
$\Rightarrow\text{y}.\sin\text{x}=-\frac{\cos2\text{x}}{2}+\text{C}$
Given that when $\text{x}=\frac{\pi}{2}$ and y = 2
$\Rightarrow2.\sin\frac{\pi}{2}=-\frac{\cos\pi}{2}+\text{C}$
$\Rightarrow2=\frac{1}{2}+\text{C}$
$\Rightarrow\text{C}=\frac{3}{2}$
On substituting the value of C in Eq. (i), we get
$\text{y}\sin\text{x}=-\frac{1}{2}\cos2\text{x}+\frac{3}{2}$

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

Show that the differential equation $y d x + x \log \left| \frac { y } { x } \right| d y - 2 x d y = 0$ is homogeneous and solve it.
Find the equation of the plane through the point $2\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}$ and passing throught the line of intersection of the planes $\vec{\text{r}}\cdot(\hat{\text{i}}+3\hat{\text{j}}-\hat{\text{k}})=0$ and $\vec{\text{r}}\cdot(\hat{\text{j}}+2\hat{\text{k}})=0.$ 
Find the inverse of each of the matrix:
$\begin{bmatrix}1&-1&2\\0&2&-3\\3&-2&4\end{bmatrix}$
Evaluate the following definite integrals:
$\int_{0}^\limits{\infty}\frac{1}{\text{a}^2+\text{b}^2\text{x}^2} \text{ dx}$
By using properties of determinants, show that: $\begin{vmatrix}a^2+1&ab&ac\\ab&b^2+1&bc\\ca&cb&c^2+1\end{vmatrix}=1+a^2+b^2+c^2$
Evaluate the following integrals:
$\int_{0}^\limits{\pi}\frac{\sin\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$
Evalute the following integrals:
$\int\frac{-\sin\text{x}+2\cos\text{x}}{2\sin\text{x}+\cos\text{x}}\text{dx}$
Differentiate $(\cos\text{x})^{\sin\text{x}}$ with respect to $(\sin\text{x})^{\cos\text{x}}$
If $x^x + y^x = 1,$ prove that $\frac{\text{dy}}{\text{dx}}=-\Big\{\frac{\text{x}^\text{x}(1+\log\text{x})+\text{y}^\text{x}\times\log\text{y}}{\text{x}\times\text{y}^{\text{x}-1}}\Big\}$
Find one-parameter families of solution curves of the following differential equation: (or solve the following differential equation)$(\text{x}\log\text{x})\frac{\text{dy}}{\text{dx}}+\text{y}=\log\text{x}$