1

Is it true that $$ \tan^{-1}\left(\frac{x}{y}\right)+\tan^{-1}\left(\frac{y}{x}\right)=\text{sgn}(xy)\frac{\pi}{2} $$ for $x,y\in\mathbb{R}\backslash \{0\}$? If so, I do I show it? Any hint would be useful.

sam wolfe
  • 3,335

1 Answers1

2

From the post you linked, we know that $$\arctan(t)+\arctan\left(\frac{1}{t}\right)=\frac{\pi}{2}\text{sgn}(t),\quad\forall t\in\mathbb{R}\setminus \{0\}$$ Substituting $t=\frac{x}{y}$ with $y\neq 0$, we get that $$\arctan\left(\frac{x}{y}\right)+\arctan\left(\frac{y}{x}\right)=\frac{\pi}{2}\text{sgn}\left(\frac{x}{y}\right),\quad\forall x,y\in\mathbb{R}\setminus \{0\}$$ Since $\text{sgn}\left(\frac{x}{y}\right)=\text{sgn}\left(xy\right)$, $$\arctan\left(\frac{x}{y}\right)+\arctan\left(\frac{y}{x}\right)=\frac{\pi}{2}\text{sgn}\left(xy\right),\quad\forall x,y\in\mathbb{R}\setminus \{0\}$$

Davide
  • 520