Solution:
Key idea: Write secθ−tanθ as one fraction, cosθ1−sinθ. Then use cos2θ=1−sin2θ, and factorise it as a difference of squares, (1−sinθ)(1+sinθ).
Step 1 — Write the denominator as one fraction.
We change secθ and tanθ into sine and cosine; both then have denominator cosθ, so they combine.
secθ−tanθ=cosθ1−cosθsinθ
=cosθ1−sinθ
Step 2 — Divide by this fraction.
Dividing by a fraction is the same as multiplying by its reciprocal.
LHS=cosθ×1−sinθcosθ
=1−sinθcos2θ
Step 3 — Factorise cos2θ.
We use cos2θ=1−sin2θ and then the difference of squares 1−b2=(1−b)(1+b).
cos2θ=1−sin2θ
=(1−sinθ)(1+sinθ)
Step 4 — Cancel the common factor.
The factor 1−sinθ is on top and below; it is not zero, because secθ−tanθ must be non-zero for the question to make sense.
LHS=1−sinθ(1−sinθ)(1+sinθ)
=1+sinθ
This is the right side.
Hence proved: secθ−tanθcosθ=1+sinθ.