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

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=2\cos\text{x},\text{ y}\Big(\frac{\pi}{2}\Big)=0$
$\frac{\text{dy}}{\text{dx}}+\text{y}\cot\text{x}=2\cos\text{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}=2\cos\text{x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\cot\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)=2\sin\text{x }\cos\text{x}$
$\Rightarrow\sin\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}\cos\text{x}=\sin2\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sin\text{x}=\int\sin2\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=-\frac{\cos2\text{x}}{2}+\text{C}\ ...(2)$
Now,
$\text{y}\Big(\frac{\pi}{2}\Big)=0$
$\therefore\ 0\times\sin\frac{\pi}{2}=-\frac{\cos\pi}{2}+\text{C}$
$\Rightarrow\text{C}=-\frac{1}{2}$
Putting the value of C in (2), we get
$\text{y}\sin\text{x}=-\frac{\cos2\text{x}}{2}-\frac{1}{2}$
$\Rightarrow2\text{y}\sin\text{x}=-(1+\cos2\text{x})$
$\Rightarrow2\text{y}\sin\text{x}=-2\cos^2\text{x}$
$\Rightarrow\text{y}=-\cot\text{x}\cos\text{x}$
Hence, $\text{y}=-\cot\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

Show that the points $(2, 3, 4), (-1, -2, 1), (5, 8, 7)$ are collinear.
Determine whether the following pair of lines intersect or not:
$\vec{\text{r}}=\big(\hat{\text{i}}-\hat{\text{j}}\big)+\lambda\big(2\hat{\text{i}}+\hat{\text{k}}\big)$ and $\vec{\text{r}}=\big(2\hat{\text{i}}-\hat{\text{j}}\big)+\mu\big(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)$
A toy company manufactures two types of dolls, A and B. Market tests and available resources have indicated that the combined production level should not exceed 1200 dolls per week and the demand for dolls type B is at most half of that for dolls of types A. Further, the production level of dolls of type A can exceed three times the production of dolls of other type by at most 600 units. If the company makes profit of  Rs. 12 and Rs. 16 per doll respectively on dolls A and B, how many of each should be produced weekly in order to maximize the profit ?
If $\text{y}=\log\sqrt{\frac{1+\tan\text{x}}{1-\tan\text{x}}},$ prove that $\frac{\text{dy}}{\text{dx}}=\sec2\text{x}$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}} = \tan(\text{x}+\text{y})$
If A = {1, 2, 3}, B = {1, 4, 6, 9} and R is a relation from A to B defined by 'x is greater than y'. The range of R is:
  1. {1, 4, 6, 9}
  2. {4, 6, 9}
  3. {1}
  4. None of these.
Differentiate the following functions from first principles:
$\text{e}^{\sqrt{2\text{x}}}$
If $A$ is a square matrix, using mathematical induction prove that $(A^T)^n = (A^n)^T$ for all $n \in N.$
Evaluate the following integrals:
$\int\limits_{0}^{2}\text{x}\sqrt{\text{x}+2}\text{ dx}$
 Let $\text{F}(\alpha)=\begin{bmatrix}\cos\alpha & -\sin\alpha & 0 \\ \sin\alpha & \cos\alpha & 0 \\ 0 & 0 & 1\end{bmatrix}$$\text{and G }(\beta)=\begin{bmatrix} \cos\beta & 0 & \sin\beta \\ 0 & 1 & 0 \\ -\sin\beta & 0 & \cos\beta \end{bmatrix}$
Show that$\big[\text{F}(\alpha)\text{G}(\beta)\big]^{-1}=\text{G}(-\beta)\text{F}(-\alpha).$