Consider the following statements
Assertion (A): For \(x \in \mathbb{R} - \{1\}\), \(\frac{d}{dx}\left(\tan^{-1}\left(\frac{1+x}{1-x}\right)\right) = \frac{d}{dx}(\tan^{-1}x)\)
Reason (R): For \(x<1\), \(\tan^{-1}\left(\frac{1+x}{1-x}\right) = \frac{\pi}{4} + \tan^{-1}x\),
for \(x>1\), \(\tan^{-1}\left(\frac{1+x}{1-x}\right) = -\frac{3\pi}{4} + \tan^{-1}x\)
The correct answer is