The Derivative of tan(3x)

The derivative of tan3x is 3sec^2(3x)

The derivative of tan(3x) is 3sec2(3x)


How to calculate the derivative of tan(3x)

The chain rule is useful for finding the derivative of a function which could have been differentiated had it been in x, but it is in the form of another expression which could also be differentiated if it stood on its own.

In this case:

  • We know how to differentiate tan(x) (the answer is sec2(x))
  • We know how to differentiate 3x (the answer is 3)

This means the chain rule will allow us to differentiate the expression tan(3x).

Using the chain rule to find the derivative of tan(3x)

To perform the differentiation tan(3x), the chain rule says we must differentiate the expression as if it were just in terms of x as long as we then multiply that result by the derivative of what the expression is actually in terms of (in this case the derivative of 3x).

Let’s call the function in the argument of tan, g(x), which means the function is in the form of tan(x), except it does not have x as the angle, instead it has another function of x (3x) as the angle

If:

g(x) = 3x

It follows that:

tan(3x) = tan(g(x))

So if the function f(x) = tan(x) and the function g(x) = 3x, then the function tan(3x) can be written as a composite function.

f(x) = tan(x)

f(g(x)) = tan(g(x)) (but g(x) = 3x))

f(g(x)) = tan(3x)

Let’s define this composite function as F(x):

F(x) = f(g(x)) = tan(3x)

We can find the derivative of tan(3x) (F'(x)) by making use of the chain rule.


The Chain Rule:
For two differentiable functions f(x) and g(x)


If F(x) = f(g(x))


Then the derivative of F(x) is F'(x) = f’(g(x)).g’(x)


Now we can just plug f(x) and g(x) into the chain rule. But before we do that, just a quick recap on the derivative of the tan function.

The derivative of tan(x) with respect to x is sec2(x)
The derivative of tan(z) with respect to z is sec2(z)

In a similar way, the derivative of tan(3x) with respect to 3x is sec2(3x).

We will use this fact as part of the chain rule to find the derivative of tan(3x) with respect to x.

How to find the derivative of tan(3x) using the Chain Rule:

F'(x)= f'(g(x)).g'(x)Chain Rule Definition
= f'(g(x))(3)g(x) = 3x ⇒ g'(x) = 3
= (sec2(3x)).(3)f(g(x)) = tan(3x) f'(g(x)) = sec2(3x)
= 3sec2(3x)

Using the chain rule, the derivative of tan(3x) is 3sec2(3x)


Finally, just a note on syntax and notation: tan(3x) is sometimes written in the forms below (with the derivative as per the calculation above). Just be aware that not all of the forms below are mathematically correct.

tan3x► Derivative of tan3x = 3sec2(3x)
tan 3 x► Derivative of tan 3 x = 3sec2(3x)
tan 3x► Derivative of tan 3x = 3sec2(3x)
tan (3x)► Derivative of tan (3x) = 3sec2(3x)

The Second Derivative Of tan(3x)

To calculate the second derivative of a function, you just differentiate the first derivative.

From above, we found that the first derivative of tan(3x) = 3sec2(3x). So to find the second derivative of tan(3x), we just need to differentiate 3sec2(3x).

We can use the chain rule to find the derivative of 3sec2(3x) (bearing in mind that the derivative of sec^2(x) is 2sec2(x)tan(x)) and it gives us a result of 18sec2(3x)tan(3x)

The second derivative of tan(2x) is 18sec2(3x)tan(3x)