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=(tanA+cosA1)2+(tanA−cosA1)2
Step 2 — Expand the squares.
Writing cosA1 as secA, the two squares are (a+b)2 and (a−b)2, and their middle terms cancel:
LHS=(tanA+secA)2+(tanA−secA)2=2tan2A+2sec2A
Step 3 — Change to sin and cos.
We use tan2A=cos2Asin2A and sec2A=cos2A1:
LHS=2(cos2Asin2A+cos2A1)=2(cos2A1+sin2A)
Step 4 — Use cos²A = 1 − sin²A.
The RHS has 1−sin2A below:
LHS=2(1−sin2A1+sin2A)
This is exactly the RHS.
Watch out: Keep the brackets when you expand: (a−b)2=a2−2ab+b2, and the middle term changes sign in (a+b)2.
Therefore, LHS = RHS, so (tanA+cosA1)2+(tanA−cosA1)2=2(1−sin2A1+sin2A). Hence proved.