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 add the two fractions.
LHS=sinA−cosAsinA+cosA+sinA+cosAsinA−cosA
Step 2 — Add over a common denominator.
The common denominator is (sinA−cosA)(sinA+cosA)=sin2A−cos2A:
LHS=sin2A−cos2A(sinA+cosA)2+(sinA−cosA)2
Step 3 — Expand the numerator.
The two squares add to 2sin2A+2cos2A, because the middle terms cancel. Then sin2A+cos2A is 1:
LHS=sin2A−cos2A2(sin2A+cos2A)=sin2A−cos2A2
Step 4 — Write cos²A with sin A.
We use cos2A=1−sin2A in the denominator:
LHS=sin2A−(1−sin2A)2=2sin2A−12
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 sinA−cosAsinA+cosA+sinA+cosAsinA−cosA=2sin2A−12. Hence proved.