Una soluzione é y = 0. Posto y =/= 0
y' - y tg x = - y^2 cos x
dividi per - y^2
y'/(-y^2) + 1/y * sin x/cos x = cos x
-1/y^2 * y' * 1/cos x + 1/y * sin x/cos^2(x) = 1
d/dx (1/y) * 1/ cos x + 1/y * d/dx (1/cos x) = 1
d/dx ( 1/(y cos x)) = 1
1/(y cos x) = x + C
y cos x = 1/(x + C)
y(x) = 1/[(x + C) cos x]