this is a silly question but here I go.
I was solving a question that required evaluating the derivative of an equation, which would result in finding a local min and a local max. The two points are in Quadrant 2 and 3,respectively.
The original equation is $\frac{\cos(2x+3)}{2e^x}$.
It came down to $\tan(2x+3) = -1/2$. After this, $\arctan(-1/2) = -0.463647..$. This lies in Q4, but I was wondering if I could use its complimentary angle (i.e., $2π - 0.463657$). The answer would be same, since $\tan(2π - \theta) = - \tan(\theta)$.
However, both yields different $x$ values and thus different answers.
I would be appreciated if you could explain the problem in my reasoning to me.