Solution:
Key idea: We combine the last two terms with tan−1a−tan−1b=tan−11+aba−b (valid when ab>−1), and find 4tan−151 by doubling twice with 2tan−1x=tan−11−x22x for ∣x∣<1.
Step 1 — Find 2tan−151.
Since 51<1, the double-angle formula applies.
2tan−151=tan−1252452
2tan−151=tan−1125
Step 2 — Find 4tan−151.
Since 125<1, we double again.
4tan−151=tan−11441191210
4tan−151=tan−1119120
Step 3 — Combine the last two terms.
The last two terms, −tan−1701+tan−1991, are the negative of tan−1701−tan−1991. The product 701⋅991 is positive, so the subtraction formula applies; the common denominator is 6930.
tan−1701−tan−1991=tan−169306931693029
tan−1701−tan−1991=tan−1693129
Since 6931=29×239, the fraction cancels.
tan−1701−tan−1991=tan−12391
Step 4 — Put the pieces together.
The left side is now tan−1119120−tan−12391. Both numbers are positive, so we subtract with the formula.
LHS=tan−1119×239+120120×239−119
LHS=tan−12856128561
LHS=tan−11
LHS=4π
Therefore, 4tan−151−tan−1701+tan−1991=4π, as required.