Solution:
Key idea: In a triangle A+B+C=π, so each pair of angles is π minus the third. Tangent has period π, and tan(π−x)=−tanx, tan(−x)=−tanx. We assume no angle is a right angle, so every tangent is defined.
Step 1 — Rewrite each angle in the numerator.
Since A+B+C=π, each pair equals π minus the remaining angle.
B+C=π−A
C+A=π−B
A+B=π−C
Step 2 — Simplify the numerator.
We use tan(π−x)=−tanx for each term.
tan(B+C)=tan(π−A)
=−tanA
tan(C+A)=tan(π−B)
=−tanB
tan(A+B)=tan(π−C)
=−tanC
Adding the three terms:
Numerator =−(tanA+tanB+tanC)
Step 3 — Simplify the denominator.
Since tangent has period π, we can remove 2π and 3π from the angles, and then use tan(−x)=−tanx.
tan(π−A)=−tanA
tan(2π−B)=tan(−B)
=−tanB
tan(3π−C)=tan(−C)
=−tanC
Adding the three terms:
Denominator =−(tanA+tanB+tanC)
Step 4 — Divide.
The numerator and denominator are the same non-zero expression, so their ratio is 1.
−(tanA+tanB+tanC)−(tanA+tanB+tanC)=1
Note: The sum tanA+tanB+tanC is not zero: in a triangle it equals tanAtanBtanC, and none of the tangents is zero.
Therefore, the given expression equals 1, as required.