+2y‌tan‌x=sin‌x This differential equation is of the form ‌
dy
dx
+Py=Q where P and Q is function of x. which is a linear differential equation. Here, P=2‌tan‌x and Q=sin‌x The integrating factor of linear differential equation is e∫Pdx. Here, e∫2‌tan‌x‌d‌x=e∫‌
2‌sin‌x
cos‌x
dx=e−2‌log(cos‌x)=sec2x Now, ‌
dy
dx
+2y‌tan‌x=sin‌x On multiplying sec2× both the sides, sec2x‌