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=(cosA+sinA)2+(cosA−sinA)2
Step 2 — Expand the squares.
We expand both squares with the rules (a+b)2=a2+2ab+b2 and (a−b)2=a2−2ab+b2, taking cosA as a and sinA as b:
LHS=(cos2A+2cosAsinA+sin2A)+(cos2A−2cosAsinA+sin2A)
Step 3 — Collect like terms.
The terms +2cosAsinA and −2cosAsinA cancel:
LHS=2cos2A+2sin2A=2(sin2A+cos2A)
Step 4 — Use sin²A + cos²A = 1.
The bracket equals 1:
LHS=2×1=2
This is 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 (cosA+sinA)2+(cosA−sinA)2=2. Hence proved.