Solution:
Key idea: For every real x, cot−1x=2π−tan−1x. Substituting this leaves an equation in tan−1x alone.
Step 1 — Substitute for cot−1x.
We replace cot−1x by 2π−tan−1x.
5tan−1x+3(2π−tan−1x)=2π
Step 2 — Collect the tan−1x terms.
We expand the bracket and move 23π to the right side.
2tan−1x=2π−23π
2tan−1x=2π
tan−1x=4π
Step 3 — Find x.
Taking the tangent of both sides gives x.
x=tan4π
x=1
As a check, 5⋅4π+3⋅4π is 2π.
Therefore, x=1.