Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=4\text{x }\text{cosec x},\text{ y}\Big(\frac{\pi}{2}\Big)=0$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=4\text{x }\text{cosec x}\ ...(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Where $\text{P}=\cot\text{x}$ and $\text{Q}=4\text{x cosec x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\cos\text{x dx}}$
$=\text{e}^{\log|\sin\text{x}|}$
$=\sin\text{x}$
Multiplying both sides of (1) by $\text{I.F.}=\sin\text{x},$ we get
$\sin\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}\Big)=\sin\text{x}(4\text{x cosec x})$
$\Rightarrow\sin\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}\Big)=4\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sin\text{x}=4\int\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=2\text{x}^2+\text{C}\ ...(2)$
Now,
$\text{y}\Big(\frac{\pi}{2}\Big)=0$
$\therefore\ 0\times\sin\Big(\frac{\pi}{2}\Big)=2\Big(\frac{\pi}{2}\Big)^2+\text{C}$
$\Rightarrow\text{C}=-\frac{\pi^2}{2}$
Putting the value of C in (2) we get
$\text{y}\sin\text{x}=2\text{x}^2-\frac{\pi^2}{2}$
Hence, $\text{y}\sin\text{x}=2\text{x}^2-\frac{\pi^2}{2}$ 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

Find $\frac{\text{dy}}{\text{dx}}$ in the following cases:
x5 + y5 = 5xy
Find the maximum and minimum values of $\text{y}=\tan \text{x}-2\text{x}$
Solve the following differential equation:
$(\text{x}+\text{y}+1)\frac{\text{dy}}{\text{dx}} = 1$
If $\text{A}=\begin{bmatrix}0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{bmatrix},$ find A-1 and show that $\text{A}^{-1}=\frac{1}{2}(\text{A}^2-3\text{I}).$
Compute the adjoint of the following matrices:

$\begin{bmatrix} 1 & 2 & 5 \\ 2 & 3 & 1 \\ -1 & 1 & 1 \end{bmatrix}$

Verify that (adjoint A)A = |A|I = A (adjoint A) for the above matrices.

$\text{Evaluate} \int\limits^{3}_{1} (e^{2} - 3x + x^{2} + 1)\text{dx as a limit of a sum.} $
If $\triangle=\begin{vmatrix}1&\text{x}&\text{x}^2\\1&\text{y}&\text{y}^2\\1&\text{z}&\text{z}^2\end{vmatrix},$ $\triangle_1=\begin{vmatrix}1&1&1\\\text{yz}&\text{zx}&\text{xy}\\\text{x}&\text{y}&\text{z}\end{vmatrix},$ then prove that $\triangle+\triangle_1=0$
Prove that the points having position vectors $\hat{\text{i}}+2\hat{\text{j}}+3\hat{\text{k}},\ 3\hat{\text{i}}+4\hat{\text{j}}+7\hat{\text{k}}$ and $-3\hat{\text{i}}-2\hat{\text{j}}-5\hat{\text{k}}$ are collinear.
Solve the differential equation $(x+y) d y+(x-y) d x=0$, given $y =1$ when $x =1$.
Find the shortest distance between the lines:
$\vec{\text{r}}=(\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}})+\lambda(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}})\ \text{and}\ $
$\vec{\text{r}}=2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}+\mu(2\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}})$