Given the ODE: f(x)sin2x+sinx−(1+cos2x)f′(x)=0 with f(0)=0.
Rearrange the equation.
(1+cos2x)f′(x)−sin2x⋅f(x)=sinx
Recognize the exact derivative.
Note that dxd[cos2x]=−2sinxcosx=−sin2x. Therefore:
dxd[(1+cos2x)f(x)]=(1+cos2x)f′(x)+(−sin2x)f(x)
This is exactly the left-hand side! So the equation becomes:
dxd[(1+cos2x)f(x)]=sinx
Integrate both sides.
(1+cos2x)f(x)=∫sinxdx=−cosx+C
Apply the initial condition f(0)=0.
(1+cos20)⋅0=−cos0+C
0=−1+C⟹C=1
So the solution is:
(1+cos2x)f(x)=1−cosx
Find f(π/2).
(1+cos2(π/2))⋅f(π/2)=1−cos(π/2)
(1+0)⋅f(π/2)=1−0
f(π/2)=1
The correct answer is Option (1): 1.