Solution:
Concept: Every ratio can be written using only sinθ and cosθ: tanθ=cosθsinθ, cotθ=sinθcosθ, secθ=cosθ1 and cosecθ=sinθ1, so any expression can be turned into sin and cos. After that, the two numerators have the form (a−1)(a+1)=a2−1, with a=sinθ+cosθ.
To prove: (1+cotθ−cosecθ)(1+tanθ+secθ)=2
Method: We start from the left-hand side and change it, one step at a time, until it becomes the other side.
LHS=(1+cotθ−cosecθ)(1+tanθ+secθ)
Step 1 — Write every ratio using sin θ and cos θ.
We replace cot, cosec, tan and sec by their forms in sin and cos.
=(1+sinθcosθ−sinθ1)(1+cosθsinθ+cosθ1)
Step 2 — Make each bracket one fraction.
The first bracket has denominator sinθ and the second has denominator cosθ.
=sinθsinθ+cosθ−1×cosθcosθ+sinθ+1
Step 3 — Multiply and group.
We multiply the two fractions and keep sinθ+cosθ together as one quantity.
=sinθcosθ[(sinθ+cosθ)−1][(sinθ+cosθ)+1]
Step 4 — Use the difference of two squares.
The numerator has the form (a−1)(a+1), and this product equals a2−1.
=sinθcosθ(sinθ+cosθ)2−1
Step 5 — Expand the square.
We use (a+b)2=a2+2ab+b2 on (sinθ+cosθ)2.
=sinθcosθsin2θ+2sinθcosθ+cos2θ−1
Step 6 — Use sin²θ + cos²θ = 1.
The numerator contains sin2θ+cos2θ, which equals 1.
=sinθcosθ1+2sinθcosθ−1
Step 7 — Simplify the numerator.
The +1 and −1 cancel.
=sinθcosθ2sinθcosθ
Step 8 — Cancel sin θ cos θ.
The numerator is exactly twice the denominator, so the fraction equals 2, which is the RHS.
=2
Watch out: Keep sinθ+cosθ in a bracket in Step 3; multiplying out all nine terms works but is long and error-prone.
Therefore, LHS = RHS, so the identity is proved.