Solution:
Concept: The three Pythagorean identities hold for every angle A where the ratios exist: sin2A+cos2A=1, 1+tan2A=sec2A and 1+cot2A=cosec2A. Each can be rearranged, for example sec2A−tan2A=1 or 1−sin2A=cos2A.
Step 1 — Start from the left-hand side.
We begin with the LHS. We expand both squares.
LHS=(1+tanA⋅tanB)2+(tanA−tanB)2
Step 2 — Expand the squares.
We use (a+b)2 and (a−b)2; the middle terms ±2tanAtanB cancel:
LHS=1+2tanAtanB+tan2Atan2B+tan2A−2tanAtanB+tan2B=1+tan2A+tan2B+tan2Atan2B
Step 3 — Factorise in pairs.
We take 1+tan2A out of the first two terms and out of the last two:
LHS=(1+tan2A)+tan2B(1+tan2A)=(1+tan2A)(1+tan2B)
Step 4 — Use 1 + tan² = sec².
Each bracket is a Pythagorean identity:
LHS=sec2Asec2B
This is exactly the RHS.
Watch out: Use 1+tan2A=sec2A for each angle separately.
Therefore, LHS = RHS, so (1+tanA⋅tanB)2+(tanA−tanB)2=sec2Asec2B. Hence proved.