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(2\text{x}-5)\sqrt{\text{x}^2-4\text{x}+3}\text{dx}$
A box manufacturer makes large and small boxes from a large piece of cardboard. The large boxes require $4$ sq. metre per box while the small boxes require $3 sq.$ metre per box. The manufacturer is required to make at least three large boxes and at least twice as many small boxes as large boxes. If $60 sq.$ metre of cardboard is in stock, and if the profits on the large and small boxes are $Rs. 3$ and $Rs. 2$ per box, how many of each should be made in order to maximize the total profit?
Find the equation of the containing the line $\frac{\text{x}+1}{-3}=\frac{\text{y}-3}{2}=\frac{\text{z}+2}{1}$ and the point $(0, 7, -7)$ and show that the line $\frac{\text{x}}{1}=\frac{\text{y}-7}{-3}=\frac{\text{z}+7}{2}$ also lies in the same plane.
Show that the differential equation of $\left\{x \cos \left(\frac{y}{x}\right)+y \sin \left(\frac{y}{x}\right)\right\} y d x=\left\{y \sin \left(\frac{y}{x}\right)-x \cos \left(\frac{y}{x}\right)\right\} x d y$ is homogeneous and solve it.
Prove that the line $\vec{\text{r}}=\big(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)+\lambda\big(3\hat{\text{i}}-\hat{\text{j}}\big)$ and $\vec{\text{r}}=\big(4\hat{\text{i}}-\hat{\text{k}}\big)+\mu\big(2\hat{\text{i}}+3\hat{\text{k}}\big)$ intersect and find their point of intersection.
If $\text{y}=\text{x}\sin(\text{a}+\text{y}),$ prove that $\frac{\text{dx}}{\text{dx}}=\frac{\sin^2(\text{a}+\text{y})}{\sin(\text{a}+\text{y})-\text{y}\cos(\text{a}+\text{y})}$
Find the coordinates of the point where the line through the points A(3, 4, 1) and B(5, 1, 6) crosses the XZ plane. Also find the angle which this line makes with the XZ plane.
Evaluate the following definite integrals:
$\int\limits_{0}^{\frac{\pi}{2}}\cos^3\text{x}\text{ dx}$
If $\text{A}=\begin{bmatrix}1&0\\0&1\end{bmatrix},\text{B}\begin{bmatrix}1&0\\0&-1\end{bmatrix}$ and $\text{C}=\begin{bmatrix}0&1\\1&0\end{bmatrix},$ then show that $A^2 = B^2 = C^2 = l_2.$
If $x^2+y^2=t-\frac{1}{t}$ and $x^4+y^4=t^2+\frac{1}{t^2}$ Prove that $x \frac{d y}{d x}+y=0$.