Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
If $(2+\sin x) \frac{\mathrm{d} y}{\mathrm{~d} x}+(y+1) \cos x=0$ and $y(0)=1$, then $y\left(\frac{\pi}{2}\right)$ is
MathematicsDifferential EquationsMHT CETMHT CET 2023 (12 May Shift 2)
Options:
  • A $\frac{-2}{3}$
  • B $\frac{-1}{3}$
  • C $\frac{4}{3}$
  • D $\frac{1}{3}$
Solution:
1285 Upvotes Verified Answer
The correct answer is: $\frac{1}{3}$
$\begin{array}{ll} & (2+\sin x) \frac{\mathrm{d} y}{\mathrm{~d} x}+(y+1) \cos x=0 \\ \therefore \quad & \frac{1}{y+1} \mathrm{~d} y=\frac{-\cos x}{2+\sin x} \mathrm{~d} x \\ \therefore \quad & \text { Integrating both sides, we get } \\ & \log (y+1)=-\log (2+\sin x)+\mathrm{c} \ldots \text { (i) } \\ & \text { when } x=0, y=1 \\ & \Rightarrow \mathrm{c}=2 \log 2 \\ \therefore \quad & (\mathrm{i}) \Rightarrow \log (y+1)=-\log (2+\sin x)+\log 4 \\ & \Rightarrow \log (y+1)=\log \left(\frac{4}{2+\sin x}\right) \\ & \Rightarrow y+1=\frac{4}{2+\sin x} \\ & \quad \text { When } x=\frac{\pi}{2}, \text { (ii) } \Rightarrow y=\frac{4}{3}-1=\frac{1}{3}\end{array}$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.