Solving Linear Differential Equations of First Order
Solve the dif...
Question
Solve the differential equation: dydx+2xy=sinx
A
x2y=(2+x2)cosx+2xsinx+c.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
x2y=(2−x2)cosx+2xsinx+c.
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
x2y=(2−x2)cosx−2xsinx+c.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Bx2y=(2−x2)cosx+2xsinx+c. dydx+2xy=sinx ...(1) Here P=2x⇒∫Pdx=∫2xdx=2logx=logx2 ∴I.F.=elogx2=x2 Multiplying (1) by I.F. we get x2dydx+2xy=x2sinx Integrating both sides we get x2y=∫x2sinxdx+c=−x2cosx+∫2xcosxdx+c=−x2cosx+2xsinx−∫2sinxdx+c=−x2cosx+2xsinx+2cosx+c