The graph of the function y=f(x) passing through the point (0, 1) and satisfying the differential equation dydx+ycosx=cosx is such that:
A
it is a constant function
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
it is periodic
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
it is neither an even nor an odd function
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
it is continuous & differentiable for all x
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct options are A it is periodic B it is a constant function D it is continuous & differentiable for all x dydx+ycosx=cosx⇒dydx=cosx(1−y)⇒dydx(1−y)=cosx⇒∫dydx(1−y)dx=∫cosxdx⇒−log(1−y)=sinx+c⇒y=−cesinx+1 As it passes through (0,1) 1=−c+1⇒c=0 Gives y=1