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. Also, a3−b3=(a−b)(a2+ab+b2).
Step 1 — Start from the left-hand side.
We begin with the LHS. We change tan and cot to sin and cos.
LHS=1−cotAtanA+1−tanAcotA
Step 2 — Simplify each fraction.
In the first fraction 1−cotA=sinAsinA−cosA; in the second 1−tanA=cosAcosA−sinA:
LHS=cosAsinA⋅sinA−cosAsinA+sinAcosA⋅cosA−sinAcosA=cosA(sinA−cosA)sin2A−sinA(sinA−cosA)cos2A
Step 3 — Add over a common denominator.
We wrote cosA−sinA as −(sinA−cosA), so the common denominator is sinAcosA(sinA−cosA):
LHS=sinAcosA(sinA−cosA)sin3A−cos3A
Step 4 — Factorise the difference of cubes.
We use a3−b3=(a−b)(a2+ab+b2), then cancel sinA−cosA:
LHS=sinAcosA(sinA−cosA)(sinA−cosA)(sin2A+sinAcosA+cos2A)=sinAcosA1+sinAcosA
Step 5 — Split the fraction.
We split it into two fractions:
LHS=sinAcosA1+1=secAcosecA+1
This is exactly the RHS.
Watch out: cosA−sinA is −(sinA−cosA); changing it this way makes the two denominators match, but it puts a minus sign in front of the second fraction.
Therefore, LHS = RHS, so 1−cotAtanA+1−tanAcotA=secAcosecA+1. Hence proved.