4. Solution
\( dy + \tan x y dx = 2 \sin x \cos x dx \)
Integrate factor \( I(x) = e^{\int \tan x dx} = e^{-\ln \cos x} = \cos^{-1} x \)
\( d(\cos^{-1} x y) = 2 \sin x dx \)
\( \cos^{-1} x y = -2 \cos x + c_1 \)
4. Solution
Integrate factor \( I(x) = e^{\int \tan x dx} = e^{-\ln \cos x} = \cos^{-1} x \)