Solution:
Concept: If a and a1 are reciprocals, then (a±a1)2=a2±2+a21, because the middle term 2×a×a1 is 2. Since sinA×cosecA=1 and tanA×cotA=1, these pairs behave exactly like a and a1.
Given: tanA+cotA=5.
Step 1 — Square both sides.
Squaring tanA+cotA=5 gives three terms.
tan2A+2tanAcotA+cot2A=25
Step 2 — Use the product.
Since tanA×cotA=1, the middle term is 2.
tan2A+2+cot2A=25
Step 3 — Take 2 from both sides.
We subtract 2 from each side.
tan2A+cot2A=23
Watch out: Squaring a sum gives a middle term; (a+b)2 is not a2+b2.
Therefore, tan2A+cot2A=23.