Step 1 — add the two fractions over a common denominator.
LHS=(cosecA−1)(cosecA+1)cosecA(cosecA+1)+cosecA(cosecA−1)
Step 2 — simplify the numerator.
=cosecA[(cosecA+1)+(cosecA−1)]
=cosecA×2cosecA=2cosec2A
Step 3 — simplify the denominator as a difference of two squares.
(cosecA−1)(cosecA+1)=cosec2A−1=cot2A
using 1+cot2A=cosec2A.
Step 4 — divide, writing both in terms of sinA and cosA.
cot2A2cosec2A=sin2Acos2A2⋅sin2A1=sin2A2×cos2Asin2A
=cos2A2=2sec2A=RHS■
Check with A=30∘, where cosecA=2:
2−12+2+12=2+32=38
2sec230∘=2×34=38✓