Solveeit Logo

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=tanxy = \tan x ?

Explanation

Solution

In the given problem, we are required to differentiate y=tanxy = \tan x with respect to x. Since, y=tanxy = \tan x 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=tanxy = \tan x 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=sinxcosx\tan x = \dfrac{{\sin x}}{{\cos x}}
So, Derivative of y=sinxcosxy = \dfrac{{\sin x}}{{\cos x}} with respect to xxcan be calculated as ddx(sinxcosx)\dfrac{d}{{dx}}\left( {\dfrac{{\sin x}}{{\cos x}}} \right) .
Now, dydx=ddx(sinxcosx)\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\dfrac{{\sin x}}{{\cos x}}} \right) .
Now, using the quotient rule of differentiation, we know that ddx(f(x)g(x))=g(x)×ddx(f(x))f(x)×ddx(g(x))[g(x)]2\dfrac{d}{{dx}}\left( {\dfrac{{f(x)}}{{g(x)}}} \right) = \dfrac{{g(x) \times \dfrac{d}{{dx}}\left( {f(x)} \right) - f(x) \times \dfrac{d}{{dx}}\left( {g(x)} \right)}}{{{{\left[ {g(x)} \right]}^2}}}
So, Applying quotient rule to ddx(sinxcosx)\dfrac{d}{{dx}}\left( {\dfrac{{\sin x}}{{\cos x}}} \right), we get,
dydx=cosx×ddx(sinx)sinx×ddx(cosx)[cosx]2\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{\cos x \times \dfrac{d}{{dx}}\left( {\sin x} \right) - \sin x \times \dfrac{d}{{dx}}\left( {\cos x} \right)}}{{{{\left[ {\cos x} \right]}^2}}}
Substituting the derivative of sinx\sin x as cosx\cos x and derivative of cosx\cos x as sinx - \sin x, we get,
dydx=cosx×cosxsinx×(sinx)[cosx]2\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{\cos x \times \cos x - \sin x \times \left( { - \sin x} \right)}}{{{{\left[ {\cos x} \right]}^2}}}
dydx=cos2x+sin2x[cosx]2\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{{{\cos }^2}x + {{\sin }^2}x}}{{{{\left[ {\cos x} \right]}^2}}}
Now, we know that cos2x+sin2x=1{\cos ^2}x + {\sin ^2}x = 1. So, we get,
dydx=1cos2x\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{1}{{{{\cos }^2}x}}
dydx=sec2x\Rightarrow \dfrac{{dy}}{{dx}} = {\sec ^2}x
So, the derivative of the function y=tanxy = \tan x is sec2x{\sec ^2}x.

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.