If $\left|\lim_{x\to\frac\pi2^-}(1+\tan x)\big\{(1+\tan x)\ln\left(\dfrac{1+\tan x}{2+\tan x}\right)+1\big\}\right|$ is $L$, find the value of $4L$.
To work out the approach, I wrote it informally as $(1+\tan x)(P+1)$
I see that $P$ is $\infty\times0$. So, I wrote it as $\frac00$ form and then applied L'Hopital rule. And got $P=-1$
So, the overall expression is also $\infty\times0$. So, I wrote it as $\frac00$ form and applied L'Hopital. But after first derivative, I again obtained $\frac00$ form. So, I reapplied L'Hopital. But things got quite complicated. So, I abandoned it.
Maybe my approach is wrong. Can you suggest a way? Thanks.