Solveeit Logo

Question

Question: How do you differentiate \(f\left( x \right) = \tan \left( {5x} \right)\)?...

How do you differentiate f(x)=tan(5x)f\left( x \right) = \tan \left( {5x} \right)?

Explanation

Solution

We can use chain rule to differentiate f(x)=tan(5x)f\left( x \right) = \tan \left( {5x} \right). For this, first find the differentiation of 5x5x with respect to xx. Then, find the differentiation of tan(5x)\tan \left( {5x} \right) with respect to 5x5x. Multiply these and use chain rule to get the required derivative.

Formula used:
Chain Rule:
Chain rule is applied when the given function is the function of function i.e.,
if y is a function of x, then dydx=dydu×dudx\dfrac{{dy}}{{dx}} = \dfrac{{dy}}{{du}} \times \dfrac{{du}}{{dx}} or dydx=dydu×dudv×dvdx\dfrac{{dy}}{{dx}} = \dfrac{{dy}}{{du}} \times \dfrac{{du}}{{dv}} \times \dfrac{{dv}}{{dx}}.
The differentiation of the product of a constant and a function = the constant ×\times differentiation of the function.
i.e., ddx(kf(x))=kddx(f(x))\dfrac{d}{{dx}}\left( {kf\left( x \right)} \right) = k\dfrac{d}{{dx}}\left( {f\left( x \right)} \right), where kk is a constant.
The differentiation of tangent function is square of secant function.
i.e., ddx(tanx)=sec2x\dfrac{d}{{dx}}\left( {\tan x} \right) = {\sec ^2}x

Complete step by step answer:
We have to find the derivative of f(x)=tan(5x)f\left( x \right) = \tan \left( {5x} \right).
Here, f(x)=tang(x)f\left( x \right) = \tan g\left( x \right), where g(x)=5xg\left( x \right) = 5x.
We have to find the differentiation of ff with respect to xx.
It can be done using Chain Rule.
dfdx=dfdg×dgdx\dfrac{{df}}{{dx}} = \dfrac{{df}}{{dg}} \times \dfrac{{dg}}{{dx}}…(1)
i.e., Differentiation of ff with respect to xx is equal to product of differentiation of ff with respect to gg, and differentiation of gg with respect to xx.
We will first find the differentiation of gg with respect to xx.
Here, g(x)=5xg\left( x \right) = 5x
Differentiating gg with respect to xx.
dgdx=ddx(5x)\dfrac{{dg}}{{dx}} = \dfrac{d}{{dx}}\left( {5x} \right)
Now, using the property that the differentiation of the product of a constant and a function = the constant ×\times differentiation of the function.
i.e., ddx(kf(x))=kddx(f(x))\dfrac{d}{{dx}}\left( {kf\left( x \right)} \right) = k\dfrac{d}{{dx}}\left( {f\left( x \right)} \right), where kk is a constant.
So, in above differentiation, constant 55 can be taken outside the differentiation.
dgdx=5ddx(x)\Rightarrow \dfrac{{dg}}{{dx}} = 5\dfrac{d}{{dx}}\left( x \right)
Now, using the differentiation formula dxndx=nxn1,n1\dfrac{{d{x^n}}}{{dx}} = n{x^{n - 1}},n \ne - 1 in above differentiation, we get
dgdx=5\Rightarrow \dfrac{{dg}}{{dx}} = 5…(2)
Now, we will find the differentiation offf with respect to gg.
Here, f(x)=tang(x)f\left( x \right) = \tan g\left( x \right)
Differentiatingff with respect to gg.
dfdg=ddx(tang(x))\dfrac{{df}}{{dg}} = \dfrac{d}{{dx}}\left( {\tan g\left( x \right)} \right)
Now, using the differentiation formula ddx(tanx)=sec2x\dfrac{d}{{dx}}\left( {\tan x} \right) = {\sec ^2}x in above differentiation, we get
dfdg=sec2g(x)\Rightarrow \dfrac{{df}}{{dg}} = {\sec ^2}g\left( x \right)…(2)
Put the value of g(x)g\left( x \right) in the above equation.
Since, g(x)=5xg\left( x \right) = 5x.
So, dfdg=sec2(5x)\dfrac{{df}}{{dg}} = {\sec ^2}\left( {5x} \right)…(3)
Put the value of dfdg,dgdx\dfrac{{df}}{{dg}},\dfrac{{dg}}{{dx}} from equation (2) and (3) in equation (1).
dfdx=sec2(5x)×5\dfrac{{df}}{{dx}} = {\sec ^2}\left( {5x} \right) \times 5
Multiplying the terms, we get
dfdx=5sec2(5x)\Rightarrow \dfrac{{df}}{{dx}} = 5{\sec ^2}\left( {5x} \right)

Therefore, the derivative of f(x)=tan(5x)f\left( x \right) = \tan \left( {5x} \right) is f(x)=5sec2(5x)f'\left( x \right) = 5{\sec ^2}\left( {5x} \right).

Note: Chain rule, in calculus, basic method for differentiating a composite function. If f(x)f\left( x \right) and g(x)g\left( x \right) are two functions, the function f(g(x))f\left( {g\left( x \right)} \right) is calculated for a value of xx by first evaluating g(x)g\left( x \right) and then evaluating the function ff at this value of g(x)g\left( x \right), thus “chaining” the results together.