Question
Question: How do you differentiate the given function \({{\tan }^{2}}\left( 3x \right)\)?...
How do you differentiate the given function tan2(3x)?
Solution
We start solving the problem by assuming tan(3x)=z and then differentiating both sides of the given function with respect to x. We then recall the chain rule of differentiation as dxd(g(f))=dfd(g)×dxdf to proceed through the problem. We then make use of the fact that dxd(xn)=nxn−1 to proceed through the problem. We then assuming 3x=w and then make use of chain rule of differentiation as dxd(g(f))=dfd(g)×dxdf to proceed through the problem. We then make use of the fact that dxd(tanx)=sec2x to proceed through the problem. We then make use of the facts that dxd(ax)=a to get the required answer for the derivative of the function.
Complete step by step answer:
According to the problem, we are asked to find the derivative of the function tan2(3x).
Let us assume y=tan2(3x) ---(1).
Let us assume tan(3x)=z. Let us substitute this in equation (1).
⇒y=z2 ---(2).
Let us differentiate both sides of the equation (2) with respect to x.
⇒dxdy=dxd(z2) ---(3).
From chain rule of differentiation, we know that dxd(g(f))=dfd(g)×dxdf. Let us substitute this result in equation (3).
⇒dxdy=dzd(z2)×dxdz ---(4).
We know that dxd(xn)=nxn−1. Let us use this result in equation (4).
⇒dxdy=2zdxdz ---(5).
Now, let us substitute z=tan(3x) in equation (5).
⇒dxdy=2tan(3x)×dxd(tan(3x)) ---(6).
Let us assume 3x=w. Let us substitute this in equation (6).
⇒dxdy=2tan(3x)×dxd(tanw) ---(7).
From chain rule of differentiation, we know that dxd(g(f))=dfd(g)×dxdf. Let us substitute this result in equation (7).
⇒dxdy=2tan(3x)×dwd(tanw)×dxdw ---(8).
We know that dxd(tanx)=sec2x. Let us use this result in equation (8).
⇒dxdy=2tan(3x)×sec2w×dxdw ---(9).
Now, let us substitute w=3x in equation (9).
⇒dxdy=2tan(3x)×sec2(3x)×dxd(3x) ---(10).
We know that dxd(ax)=a. Let us use this result in equation (11).
⇒dxdy=2tan(3x)×sec2(3x)×3.
⇒dxdy=6tan(3x)sec2(3x).
∴ We have found the derivative of the function tan2(3x) as 6tan(3x)sec2(3x).
Note:
We should perform each step carefully in order to avoid confusion and calculation mistakes. Whenever we get this type of problem, we try to make use of chain rules to get a solution to the given problem. We should not forget to different 3x after performing equation (5) which is the common mistake done by students. Similarly, we can expect problems to find the derivative of the function y=log(sec(5x)).