Derivative of
The derivative of is .
f(x) =
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
We differentiate with respect to x. The rule that applies is the chain rule.
- 2
Chain rule: differentiate the outer function, keep the inside, then multiply by the derivative of the inside. The inside is .
- 3
The outer function is tan(u); its derivative evaluated at g(x), times g'(x):
- 4
Simplify:
- 5
Differentiating once more gives the second derivative, which tells you about curvature:
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\tan\left(3 x\right)\right] = \frac{3}{\cos\left(3 x\right)^{2}} \]
\[ f(x) = \tan\left(3 x\right) \]
\[ g(x) = 3 x,\quad g'(x) = 3 \]
\[ f'(x) = \left[\frac{1}{\cos\left(u\right)^{2}}\right]_{u=g(x)} \cdot g'(x) \]
\[ f'(x) = \frac{3}{\cos\left(3 x\right)^{2}} \]
\[ f''(x) = \frac{-\left(3 2 \cos\left(3 x\right) -\left(3 \sin\left(3 x\right)\right)\right)}{\left(\cos\left(3 x\right)^{2}\right)^{2}} \]Values of f and f' for tan(3x)
| x | f(x) | f'(x) |
|---|---|---|
| -2 | 0.29100619 | 3.2540538 |
| -1 | 0.14254654 | 3.0609586 |
| 0.5 | 14.10142 | 599.55013 |
| 1 | -0.14254654 | 3.0609586 |
| 2 | -0.29100619 | 3.2540538 |
| 3 | -0.45231566 | 3.6137684 |
Questions
What is the derivative of tan(3x)?
The derivative of is .
What is the second derivative of tan(3x)?
-(3 * 2cos(3x) * -(3sin(3x))) / (cos(3x)^2)^2.
Which rule do you use for tan(3x)?
The chain rule.
What is the slope of tan(3x) at x = 1?
3.0609586.