Question
Question: How do you find the derivative of \(y = {\tan ^2}(3x)\) ?...
How do you find the derivative of y=tan2(3x) ?
Solution
This is a combination of three functions g2 , g=tan and 3x . So in this case we will use the chain rule of differentiation. Then we will differentiate the functions term by term. We may have to use the chain rule many times whenever there is a conjugate function.
Formula Used : Chain rule of differentiation: The derivative of f(g(x)) is f′(g(x)).g′(x) .
dzd(zn)=nzn−1.
dzd(tanz)=sec2z .
Complete step by step answer:
We have;
y=tan2(3x)
Let, f=g2
And g=tan
And h(x)=3x .
∴g(h(x))=tan(3x) .
Then we can write;
y=f(g(h(x)))
At first, we will consider g(h(x))=j(x) .
∴y=f(j(x))
Differentiating both sides w.r.t. x we will get;
dxdy=dxd(f(j(x))
Here we will apply the chain rule of differentiation and get;
⇒dxdy=dxdfdxdj
Another form is;
⇒dxdy=f′(j(x)).j′(x)
Now, we know that dzd(zn)=nzn−1 . By applying this we will get;
f′(j(x))=2tan(3x)
Now, similarly by applying the chain rule of differentiation on j(x) we will get;
j′(x)=g′(h(x))h′(x)
We know that dzd(tanz)=sec2z .
∴g′(h(x))=sec2(3x)
And h′(x)=dxd(3x) .
Differentiating we get;
⇒h′(x)=3
∴j′(x)=(sec2(3x))×3
Simplifying we get;
⇒j′(x)=3sec2(3x)
Put all this value together finally we get;
∴dxdy=2×3×tan(3x)×sec2(3x)
Simplifying this we get;
⇒dxdy=6×tan(3x)×sec2(3x) .
We know that tanθ=cosθsinθ
And secθ=cosθ1 .
Applying this we will get;
⇒dxdy=6cos3(3x)sin3x .
Differentiating y=tan2(3x) we get 6cos3(3x)sin3x .
Additional Information:
Differentiation of tanx w.r.t. x is sec2x deduction:
We know that;
tanx=cosxsinx
Now to differentiate tanx w.r.t. x we will use the formula dzd(vu)=v2dzdu⋅v−u⋅dzdv and get;
dxd(tanx)=cos2xcosx⋅cosx−sinx⋅(−sinx)
Simplifying we get;
⇒dxd(tanx)=cos2xcos2x+sin2x
As we know that sin2x+cos2x=1 we will get;
⇒dxd(tanx)=cos2x1
We know that secx=cosx1 .
∴dxd(tanx)=sec2x .
Note: This type of conjugate function will be easily solved by the chain rule of differentiation. But students must be careful about the differentiation of different functions and always mention w.r.t. what you are differentiating. Most of the time the variable is ignored by the students and then the error occurs.