$\cot^{-1}x = \tan^{-1}\dfrac{1}{x}$, $\forall$ $x\in R -$ {$0$}
Say I need to check if its true or not.
METHOD 1
Putting $\cot^{-1}x = \pi/2- \tan^{-1}x$
$$\Rightarrow \pi/2- \tan^{-1}x = \tan^{-1}\dfrac{1}{x}$$
$$\Rightarrow\pi/2 = \tan^{-1}\dfrac{1}{x}+ \tan^{-1}x$$
Using identity $\tan^{-1}x+\tan^{-1}y= \tan^{-1}\dfrac{x+y}{1-xy}$, we get
$$\Rightarrow\pi/2 = \tan^{-1}\dfrac{\dfrac{1}{x}+x}{1-1}$$
$$\Rightarrow\pi/2 = \tan^{-1}\infty$$
So we can say that the statement is true.
METHOD 2
Let $\cot^{-1}x=\theta$, where $\theta$ is an angle of a triangle. So $\cot\theta =x$.
But $\cot \theta = \dfrac{1}{\tan \theta}$
So $\dfrac{1}{\tan \theta}=x$
$\Rightarrow \tan \theta = \dfrac{1}{x}$
$\Rightarrow \tan^{-1}\dfrac{1}{x} = \theta $
$\Rightarrow \tan^{-1}\dfrac{1}{x} = \cot^{-1}x$
So the statement is true.
But the true solution is in this question through which we can clearly say that the above statement is false. I know I might have made every possible mistake in these two methods. I just want to know what are my mistakes and wrong assumptions.