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=(sinθ+cosθ)(tanθ+cotθ)
Step 2 — Simplify tan θ + cot θ.
Over the common denominator sinθcosθ, the numerator is sin2θ+cos2θ=1:
LHS=(sinθ+cosθ)×sinθcosθ1
Step 3 — Split the fraction.
We split it into two fractions and cancel:
LHS=sinθcosθsinθ+sinθcosθcosθ=cosθ1+sinθ1=secθ+cosecθ
This is exactly the RHS.
Watch out: sinθcosθsinθ is cosθ1 (sec θ), not sinθ1.
Therefore, LHS = RHS, so (sinθ+cosθ)(tanθ+cotθ)=secθ+cosecθ. Hence proved.