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

Evaluate the following integrals:
$\int\limits^{\pi}_2\log(1-\cos\text{x})\text{dx}$
Find the point on the curve $y = 3x^2 + 4$ at which the tangent is perpendicular to the line whose slop is $-\frac{1}{6}$
Solve the following differential equation:
$(\text{x}^2-2\text{xy})\text{dy}+(\text{x}^2-3\text{xy}+2\text{y}^2)\text{dx}=0$
An automobile company uses three types of steel $S_1, S_2$ and $S_3$ for producing three types of cars $C_1, C_2$ and $C_3.$ Steel requirements (in tons) for each type of cars are given below:
Steel
Cars
 
$C_1$
$C_2$
$C_3$
$S_1$
$2$
$3$
$4$
$S_2$
$1$
$1$
$2$
$S_3$
$3$
$2$
$1$
Using Cramer's rule, find the number of cars of each type which can be produced using $29, 13$ and $16$ tons of steel of three types respectively.
Solve the following systems of homogeneous linear equations by matrix method:
2x - y + z = 0
3x + 2y - z = 0
x + 4y + 3z = 0
If A and B are two events such that $\text{P}(\text{A})=\frac{1}{3},\text{P(B)}=\frac{1}{5}$ and $\text{P}(\text{A}\cup\text{B})=\frac{11}{30}$ find $\text{P}\Big(\frac{\text{A}}{\text{B}}\Big)$ and $\text{P}\Big(\frac{\text{B}}{\text{A}}\Big).$
Evaluvate the following intregals:
$\int\frac{1}{\text{p}+\text{q}\tan\text{x}}\ \text{dx}$
$\text{Let } \vec{\text a} = \hat{\text{i}} + \hat{\text{j}} + \hat{\text{k}}, \vec{\text{b}} = \hat{\text{i}} \text{ and } \vec{\text{c}} = \text{c}_{1} \hat{\text{i}} + \text{c}_{2} \hat{\text{j}} + \text{c}_{3} \hat{\text{k}}, \text{then}$
  1. Let $c_1 = 1$ and $c_2 = 2$, find $c_3$ which makes $\vec{\text{a}}, \vec{\text{b}} \text{ and }\vec{\text{c}} \text{ coplanar.}$
  2. If $c_2 = –1$ and $c_3 = 1$, show that no value of $c_1$ can make $\vec{\text{a}}, \vec{\text{b}} \text{ and } \vec{\text{c}} \text{ coplanar}.$
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$
Evaluate the following integrals:
$\int\text{cosec}^43\text{x}\text{ dx}$