Answer — Step by step
Prove that tan²P − tan²Q = (sin²P − sin²Q)/(cos²P × cos²Q).
Condition
cosP and cosQ must be non-zero so that both tangents and the fraction are defined.
Step 1 — Write tangent in terms of sine and cosine
tan²P − tan²Q = sin²P/cos²P − sin²Q/cos²Q.
Step 2 — Take a common denominator
= [sin²P cos²Q − sin²Q cos²P]/[cos²P cos²Q].
Step 3 — Simplify the numerator
Use cos²Q = 1 − sin²Q and cos²P = 1 − sin²P.
Numerator = sin²P(1 − sin²Q) − sin²Q(1 − sin²P)
= sin²P − sin²P sin²Q − sin²Q + sin²Q sin²P.
The two product terms cancel, leaving sin²P − sin²Q.
Conclusion
tan²P − tan²Q = (sin²P − sin²Q)/(cos²P cos²Q). Hence proved.