Solution:
Concept: Every ratio can be written with sine and cosine: tanA=cosAsinA, cotA=sinAcosA, secA=cosA1 and cosecA=sinA1. Changing everything to sin and cos, then using sin2A+cos2A=1, proves most identities.
Step 1 — Start from the left-hand side.
We begin with the LHS. It is the more complicated side, so we work on it and turn it into the RHS.
LHS=1−cosAsinA−cotA
Step 2 — Subtract over a common denominator.
We write cotA=sinAcosA; the common denominator is sinA(1−cosA):
LHS=sinA(1−cosA)sin2A−cosA(1−cosA)=sinA(1−cosA)sin2A+cos2A−cosA
Step 3 — Use sin²A + cos²A = 1 and cancel.
The numerator becomes 1−cosA, which cancels:
LHS=sinA(1−cosA)1−cosA=sinA1=cosecA
This is exactly the RHS.
Watch out: −cosA(1−cosA) is −cosA+cos2A; the second term is positive.
Therefore, LHS = RHS, so 1−cosAsinA−cotA=cosecA. Hence proved.