How to prove that $$ \tan^{-1}(x)+\tan^{-1}(\dfrac{1}{x})=\pi/2? $$
I have tried to use $$ \tan^{-1}(x)+\cot^{-1}(x)=\pi/2. $$ But I do not know how to go further.
How to prove that $$ \tan^{-1}(x)+\tan^{-1}(\dfrac{1}{x})=\pi/2? $$
I have tried to use $$ \tan^{-1}(x)+\cot^{-1}(x)=\pi/2. $$ But I do not know how to go further.
Hint: compute the derivative of $f:(0,+\infty)\longrightarrow\mathbb{R},\quad x\mapsto \tan^{-1}(x) + \tan^{-1}\left(\frac{1}{x}\right)$.
Another way (assuming $x>0$):
$$\begin{align*} \arctan x+\arctan\frac1x&= \int_0^x\frac{dt}{1+t^2}+\int_0^{1/x}\frac{dt}{1+t^2}= \int_0^x\frac{dt}{1+t^2}+\int_{x}^{\infty}\frac{dt}{1+t^2}\\ &=\int_0^\infty\frac{dt}{1+t^2}= \lim_{t\to\infty}\arctan(t)-\arctan(0)= \frac\pi2. \end{align*}$$
We have used the change of variable $x\mapsto 1/x$ in the second integral.
I think first equality should be $\;\;\cfrac\pi2\cdot\text{sign}(x)\;$
Presumably $x > 0$; otherwise this is false.
Hint: Write $x = \tan\theta$, with $0 < \theta < \pi/2$. Then you can rewrite the equation as $$\tan^{-1}(1/\tan\theta) = \pi/2 - \theta$$ which (since both sides are between $-\pi/2$ and $\pi/2$) is equivalent to $$1/\tan\theta = \tan(\pi/2 - \theta).$$ How can you show this?
Start with a right-angled triangle $ABC$, as shown below.
Looking at the angle $\angle BAC$ we have $\tan \theta = \frac{x}{1}$.
Looking at the angle $\angle ACB$ we have $\tan(\frac{1}{2}\pi-\theta)=\frac{1}{x}$.
Hence $\theta = \arctan x$ and $\frac{1}{2}\pi-\theta=\arctan \frac{1}{x}$, and so $$\arctan x + \arctan \tfrac{1}{x} = \tfrac{1}{2}\pi$$