The function is .
Apply derivative on each side with respect to .
Chain rule of derivative : .
Derivative of tangent function : .
Derivative of a logarithmic function : .
.