Find the derivative of .
Taking the tangent of both sides gives . Taking the implicit derivative gives
. Solving for
gives
. Using the trigonometric identity
gives
. Using the fact that
gives
. Note that the formula for the derivative + the chain rule could have also been used.