To prove the identity 1+cosθsinθ=sinθ1−cosθ, a student multiplies the numerator and denominator of the left-hand side by (1−cosθ) and gets 1−cos2θsinθ(1−cosθ). Which of the following next steps will lead directly to the right-hand side?
a) Factor the denominator as (1−cosθ)(1+cosθ) and cancel the common (1−cosθ) term
b) Replace 1−cos2θ with tan2θ and cancel factors
c) Replace 1−cos2θ with sin2θ and cancel one sinθ
d) Replace 1−cos2θ with sin2θ and rewrite the numerator as (1−cosθ)2