Question
Question: How do you use the quotient rule to find the derivative of \(y = \tan x\) ?...
How do you use the quotient rule to find the derivative of y=tanx ?
Solution
In the given problem, we are required to differentiate y=tanx with respect to x. Since, y=tanx can be represented as a rational function, so we will have to apply a quotient rule of differentiation in the process of differentiating rational functions involving the trigonometric functions. Also derivatives of basic algebraic and trigonometric functions must be remembered thoroughly.
Complete step by step answer:
To find the derivative of y=tanx with respect to x using the quotient rule of differentiation, we have to first represent the expression as a rational function.
We know that tangent is the ratio of sine and cosine. So, tanx=cosxsinx
So, Derivative of y=cosxsinx with respect to xcan be calculated as dxd(cosxsinx) .
Now, dxdy=dxd(cosxsinx) .
Now, using the quotient rule of differentiation, we know that dxd(g(x)f(x))=[g(x)]2g(x)×dxd(f(x))−f(x)×dxd(g(x))
So, Applying quotient rule to dxd(cosxsinx), we get,
⇒dxdy=[cosx]2cosx×dxd(sinx)−sinx×dxd(cosx)
Substituting the derivative of sinx as cosx and derivative of cosx as −sinx, we get,
⇒dxdy=[cosx]2cosx×cosx−sinx×(−sinx)
⇒dxdy=[cosx]2cos2x+sin2x
Now, we know that cos2x+sin2x=1. So, we get,
⇒dxdy=cos2x1
⇒dxdy=sec2x
So, the derivative of the function y=tanx is sec2x.
Note: The given problem may also be solved using the first principle of differentiation. The derivatives of basic trigonometric and algebraic functions must be learned by heart in order to find derivatives of complex composite functions using product rule and chain rule of differentiation.