Solution:
Key idea: Multiply the numerator and the denominator by 1+cosA. The denominator becomes 1−cos2A; this equals sin2A, so the whole fraction becomes a perfect square.
Step 1 — Multiply above and below by 1+cosA.
Multiplying the top and bottom of a fraction by the same non-zero quantity does not change its value; we choose 1+cosA so that the denominator becomes a difference of squares.
LHS=(1−cosA)(1+cosA)(1+cosA)(1+cosA)
=1−cos2A(1+cosA)2
Step 2 — Replace the denominator.
We use 1−cos2A=sin2A.
LHS=sin2A(1+cosA)2
Step 3 — Write it as one square.
A quotient of two squares is the square of the quotient.
LHS=(sinA1+cosA)2
Step 4 — Split the fraction inside the bracket.
We divide each term of 1+cosA by sinA and name the two ratios.
LHS=(sinA1+sinAcosA)2
=(cosecA+cotA)2
This is the right side.
Hence proved: 1−cosA1+cosA=(cosecA+cotA)2.