For all real numbers x in the domain of tanx, the identity tanx=secxsinx holds. Let q(x)=tanx.
(a) Verify the identity tanx=secxsinx algebraically.
(b) Using the form q(x)=secxsinx, compute q′(x).
(c) Simplify the expression found in part (b) to show that q′(x)=sec2x.
(d) Briefly compare this result with the derivative obtained when q(x) is written as a ratio of sinx and cosx, commenting on the consistency of the two approaches.