If $\sin\left(\operatorname{cot^{-1}}(x + 1)\right) = \cos\left(\tan^{-1}x\right)$, then find the value of $x$.
Please solve this question by using $\cos\left(\dfrac\pi2 - \theta\right) = \sin\theta$ by changing $\cos\left(\tan^{-1}x\right) = \sin\left(\dfrac\pi2 - \tan^{-1}x\right)$ and then equate both LHS and RHS. If not then why? How does the contradiction below occur?
