TITLE: Evaluate $\lim_{x\to \infty} (x+5)\tan^{-1}(x+5)- (x+1)\tan^{-1}(x+1)$
QUESTION [7 upvotes]: $\lim_{x\to \infty} (x+5)\tan^{-1}(x+5)- (x+1)\tan^{-1}(x+1)$

What are the good/ clever methods to evaluate this limit? 
I tried taking $\tan^{-1} (x+5) = \theta$ to avoid inverse functions but its not helpful and makes it even more complicated. 
I also tried $\tan^{-1}a - \tan^{-1}b$ formula for the terms attached to x but that does not help to get rid of other terms multiplied by $1$ and $5$.
Edit: (Please address this in your answer) 
Can't we directly do this: 
$\lim_{x\to \infty} (x+5)\tan^{-1}(x+5)- (x+1)\tan^{-1}(x+1)$
$= (x+5)\dfrac{\pi}{2} - (x+1)\dfrac{\pi}{2}$
$ = \dfrac {5\pi - \pi}{2} = 2\pi$
I don't see anything wrong with it and it gives the right answer. 
Is this method correct? Can it be used in other questions too?

REPLY [3 votes]: The expression under limit can be written as $$x\{\tan^{-1}(x+5)-\tan^{-1}(x+1)\}+\{5\tan^{-1}(x+5)-\tan^{-1}(x+1) \}$$ As you have noted in your question the second term tends to $5\pi/2-\pi/2=2\pi$. The first term on the other hand can be written as $$x\tan^{-1}\frac{4}{1+(x+1)(x+5)}=x\tan^{-1}t\text{ (say)} $$ where $t\to 0$. Noting that $(1/t)\tan^{-1}t\to 1$ we have $$x\tan^{-1}t=xt\cdot\frac {\tan^{-1}t}{t}\to 0\cdot 1=0$$ as $xt=4x/(1+(x+1)(x+5))\to 0$. Thus the desired limit is equal to $2\pi$.

Your approach has a serious problem as you can't replace a part of the expression with its limit in general. See this answer for more details.
You can also look at it in this way. Suppose the question is modified to evaluate the limit of $$(x^2+5)\tan^{-1}(x+5)-(x^2+1)\tan^{-1}(x+1)$$ If we proceed as per your approach we again get the answer as $2\pi$. But the right answer here would be $2\pi+4$. Proceeding as I have explained above you will get $2\pi$ plus a term $x^2\tan^{-1}t$ and this will lead to $x^2t$ which tends to $4$.