Let be the solution of the differential equation , . If , then is equal to
- A.
- B.
- C.
- D.
Show answer and solution
Correct option: C
Solution
The ODE is sin x · dy/dx + y cos x = 4x, which rewrites as d/dx(y sin x) = 4x.
Integrating: y sin x = 2x² + C.
Apply y(π/2) = 0: 0 · 1 = 2(π/2)² + C → C = -π²/2.
So y sin x = 2x² - π²/2.
At x = π/6: sin(π/6) = 1/2, so y(π/6) · (1/2) = 2(π/6)² - π²/2 = 2π²/36 - π²/2 = π²/18 - 9π²/18 = -8π²/18 = -4π²/9.
Therefore y(π/6) = -8π²/9.
Integrating: y sin x = 2x² + C.
Apply y(π/2) = 0: 0 · 1 = 2(π/2)² + C → C = -π²/2.
So y sin x = 2x² - π²/2.
At x = π/6: sin(π/6) = 1/2, so y(π/6) · (1/2) = 2(π/6)² - π²/2 = 2π²/36 - π²/2 = π²/18 - 9π²/18 = -8π²/18 = -4π²/9.
Therefore y(π/6) = -8π²/9.
[JEE Main 2018]