I am really struggling to solve the differential equation: $y' + \sec(x)y = \tan(x)$. If someone could point me in the right direction or give me a step by step plan it would be much appreciated!
So far I have tried taking the common factor to be $\exp(\int(\sec(x))$ (which simplifies to $\tan(x)+\sec(x)+c$ if I am not mistaken) however I end up with an equation which is beyond my integration abilities because it has both $X$ and $Y$ in it. I'm not sure if it is a case of trig identities or imaginary numbers which are letting me down.
Thanks in advance!!