JEE Main 2026 · 2 April · morning · Single correct · +4 / −1
Let y=y(x) be the solution curve of the differential equation
(1+sin x)dy/dx+(y+1)cos x=0, y(0)=0. If the curve y=y(x) passes through the point (α,-1/2),
then a value of α is:
- (a) π/6
- (b) π/4
- (c) π/3
- (d) π/2
Answer and solution
Answer (d) π/2
Solution
Maths sir · 5 steps
Separate y+1 from x, and the solution collapses to (y+1)(1+sin x) staying constant.
- Separate variables. Move the y terms to one side and the x terms to the other: dy/(y+1) = -(cos x)/(1+sin x) dx. On the right, the numerator is the derivative of the denominator.
- Integrate. This gives ln|y+1| = -ln|1+sin x| + C. Combining the logs, (y+1)(1+sin x) = k for some constant k.
- Use y(0) = 0. At x = 0, y = 0, so (0+1)(1+0) = k and k = 1.
(y+1)(1+sin x) = 1
- Put in the point. With y = -1/2, y + 1 = 1/2, so 1 + sin α = 2 and sin α = 1.
- So. α = π/2 is a value that works, which is option (d).
The idea to keep. When the coefficient of dy/dx differentiates into the other coefficient, the equation is the derivative of a product. That product stays constant, and the initial condition fixes the constant.
Answer from the NTA final answer key. Solution by PrepWiser.