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

$\text{if} \overrightarrow{\text{r}} = x\hat{\text{i}} + y\hat{\text{j}} + z\hat{\text{k}}, \text{find} \overrightarrow(\text{r} \times \hat{\text{i}}). (\overrightarrow{\text{r}} \times \text{j}) + xy$
Find the equation of the plane passing through the line of intersection of the planes $2x - y = 0$ and $3z - y= 0$ and perpendicular to the plane $4x + 5y - 3z = 8$.
If $\text{A}^{-1}=\begin{bmatrix}3 & -1 & 1 \\ -15 & 5 & -5 \\ 5 & -2 & 2\end{bmatrix}$and$\text{And B}=\begin{bmatrix} 1 & 2 & -2 \\ -1 & 3 & 0 \\ 0 & -2 & 1 \end{bmatrix},$ find $(AB)^{-1}.$
Find the mean, variance and standard deviation of the number of tails in three tosses of a coin.
If $\text{A}=\begin{bmatrix}1&2&0\\-2&-1&-2\\0&-1&1\end{bmatrix}$, find $A^{-1}$, solve the system of linear equations $x - 2y = 10, 2x - y - z = 8, -2y + z = 7$
A die is thrown 6 times. If ‘getting an odd number’ is a success, what is the probability of
  1. 5 successes?
  2. at least 5 successes?
  3. at most 5 successes?
Show that the lines
$\vec{\text{r}}=3\hat{\text{i}}+2\hat{\text{j}}-4\hat{\text{k}}+\lambda\big(\hat{\text{i}}+2\hat{\text{j}}+2\hat{\text{k}}\big)$ and $\vec{\text{r}}=5\hat{\text{i}}-2\hat{\text{j}}+\mu\big(3\hat{\text{i}}+2\hat{\text{j}}+6\hat{\text{k}}\big)$ are intersecting. Hence, find their point of intersection.
Find the equation of tangents to the curve $y = x^{3} + 2x - 4,$ which are perpendicular to line $x + 14y + 3 = 0.$
Find the equations of the tangent and the normal to the following curves at the indicated points.
$y = x^4 - bx^3 + 13x^2 - 10x + 5$ at $(0, 5)$
Determine if $\text{f(x)}=\begin{cases}\text{x}^2\sin\frac{1}{\text{x}},&\text{ x}\neq0\\0,&\text{x}=0\end{cases}$ is a continuous function?