Consider $m = \tan x + \frac{\sin x + \cos x}{\sin x - \cos x}$ . Now determine $m$ so that expression has solution .

I used Wolfram to find range of $f(x) = \tan x + \frac{\sin x + \cos x}{\sin x - \cos x}$ but it was unable to find it!