Question
Question: How do you differentiate \(f\left( x \right) = \tan \left( {5x} \right)\)?...
How do you differentiate f(x)=tan(5x)?
Solution
We can use chain rule to differentiate f(x)=tan(5x). For this, first find the differentiation of 5x with respect to x. Then, find the differentiation of tan(5x) with respect to 5x. 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 dxdy=dudy×dxdu or dxdy=dudy×dvdu×dxdv.
The differentiation of the product of a constant and a function = the constant × differentiation of the function.
i.e., dxd(kf(x))=kdxd(f(x)), where k is a constant.
The differentiation of tangent function is square of secant function.
i.e., dxd(tanx)=sec2x
Complete step by step answer:
We have to find the derivative of f(x)=tan(5x).
Here, f(x)=tang(x), where g(x)=5x.
We have to find the differentiation of f with respect to x.
It can be done using Chain Rule.
dxdf=dgdf×dxdg…(1)
i.e., Differentiation of f with respect to x is equal to product of differentiation of f with respect to g, and differentiation of g with respect to x.
We will first find the differentiation of g with respect to x.
Here, g(x)=5x
Differentiating g with respect to x.
dxdg=dxd(5x)
Now, using the property that the differentiation of the product of a constant and a function = the constant × differentiation of the function.
i.e., dxd(kf(x))=kdxd(f(x)), where k is a constant.
So, in above differentiation, constant 5 can be taken outside the differentiation.
⇒dxdg=5dxd(x)
Now, using the differentiation formula dxdxn=nxn−1,n=−1 in above differentiation, we get
⇒dxdg=5…(2)
Now, we will find the differentiation off with respect to g.
Here, f(x)=tang(x)
Differentiatingf with respect to g.
dgdf=dxd(tang(x))
Now, using the differentiation formula dxd(tanx)=sec2x in above differentiation, we get
⇒dgdf=sec2g(x)…(2)
Put the value of g(x) in the above equation.
Since, g(x)=5x.
So, dgdf=sec2(5x)…(3)
Put the value of dgdf,dxdg from equation (2) and (3) in equation (1).
dxdf=sec2(5x)×5
Multiplying the terms, we get
⇒dxdf=5sec2(5x)
Therefore, the derivative of f(x)=tan(5x) is f′(x)=5sec2(5x).
Note: Chain rule, in calculus, basic method for differentiating a composite function. If f(x) and g(x) are two functions, the function f(g(x)) is calculated for a value of x by first evaluating g(x) and then evaluating the function f at this value of g(x), thus “chaining” the results together.