Solution:
Key idea: For a quadratic ax2+bx+c=0, the sum of the roots is −ab. Also sec2θ−tan2θ=1, so secθ−tanθ is the reciprocal of secθ+tanθ.
Step 1 — Write the sum of the roots.
The roots are secθ and tanθ, so their sum is −ab.
secθ+tanθ=−ab
Step 2 — Use the identity.
We multiply and divide secθ−tanθ by secθ+tanθ, and the numerator becomes sec2θ−tan2θ=1.
secθ−tanθ=secθ+tanθsec2θ−tan2θ
=secθ+tanθ1
Step 3 — Substitute the sum of the roots.
We put in the value from Step 1 and invert the fraction.
secθ−tanθ=−b/a1
=−ba
Here b=0, because the sum of the roots multiplied by secθ−tanθ is 1.
Therefore, secθ−tanθ=−ba, as required.