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

Of all the closed right circular cylindrical cans of volume $128\ \pi\ cm^3$ , find the dimensions of the can which has minimum surface area.
If A and B are independent events such that P(A) = p, P(B) = 2p and P(Exactly one of A and B occurs) $=\frac{5}{9},$ then find the value or p.
If the radius of a sphere is measured as 9cm with an error of 0.03m, find the approximate error in calculating its surface area.
$\int\frac{\text{x}}{\sqrt{\text{x}+\text{a}}-\sqrt{\text{x}+\text{b}}}\text{dx}$
Of all the closed cylindrical cans (right circular), which enclose a given volume of $100cm^3,$ which has the minimum surface area ?
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}-\text{x}\text{e}^\text{x}-\frac{5}{2}+\cos^2\text{x}$
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(3\hat{\text{i}}+5\hat{\text{j}}+7\hat{\text{k}}\big)+\lambda\big(\hat{\text{i}}-2\hat{\text{j}}+7\hat{\text{k}}\big)$ and $\vec{\text{r}}=-\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}+\mu\big(7\hat{\text{i}}-6\hat{\text{j}}+\hat{\text{k}}\big)$
Evaluate the following integrals:
$\int_{0}^\limits{1}\text{x}\tan^{-1}\text{x}\text{ dx} $
Two schools $A$ and $B$ want to award their selected students on the values of sincerity, truthfulness and helpfulness. The school A wants to award $₹ x$ each, $₹ y$ each and $₹ z$ each for the three respective values to $3, 2$ and $1$ students respectively with a total award money of $₹ 1,600$. School $B$ wants to spend $₹ 2,300$ to award its $4, 1$ and 3 students on the respective values (by giving the same award money to the three values as before). If the total amount of award for one prize on each value is $₹ 900$, using matrices, find the award money for each value. Apart from these three values, suggest one more value which should be considered for award.
Find the approximate value of $log_{10}\ \  1005,$ given that $log_{10}\ \  e = 0.4343.$