WordGPT

Derivative of tan⁡(2x)\tan\left(2 x\right)

The derivative of tan⁡(2x)\tan\left(2 x\right) is 2cos⁡(2x)2\frac{2}{\cos\left(2 x\right)^{2}}.

f(x) =
ddx[tan⁡(2x)]=2cos⁡(2x)2\frac{d}{dx}\left[\tan\left(2 x\right)\right] = \frac{2}{\cos\left(2 x\right)^{2}}

Type any function of x; the derivative is computed symbolically in your browser.

Graph of f(x) = tan(2x) and its derivative-3-2-1123-60-40-2020406080100120140slope 11.55f(x)f'(x)tangent at x = 1
Graph of f(x) = tan(2x) and its derivative. The dashed line is the tangent at x = 1; its slope is f'(1) = 11.549.

How to work it out

  1. 1

    We differentiate f(x)=tan⁡(2x)f(x) = \tan\left(2 x\right) with respect to x. The rule that applies is the chain rule.

    f(x)=tan⁡(2x)f(x) = \tan\left(2 x\right)
  2. 2

    Chain rule: differentiate the outer function, keep the inside, then multiply by the derivative of the inside. The inside is g(x)=2xg(x) = 2 x.

    g(x)=2x,g′(x)=2g(x) = 2 x,\quad g'(x) = 2
  3. 3

    The outer function is tan(u); its derivative evaluated at g(x), times g'(x):

    f′(x)=[1cos⁡(u)2]u=g(x)⋅g′(x)f'(x) = \left[\frac{1}{\cos\left(u\right)^{2}}\right]_{u=g(x)} \cdot g'(x)
  4. 4

    Simplify:

    f′(x)=2cos⁡(2x)2f'(x) = \frac{2}{\cos\left(2 x\right)^{2}}
  5. 5

    Differentiating once more gives the second derivative, which tells you about curvature:

    f′′(x)=−(22cos⁡(2x)−(2sin⁡(2x)))(cos⁡(2x)2)2f''(x) = \frac{-\left(2 2 \cos\left(2 x\right) -\left(2 \sin\left(2 x\right)\right)\right)}{\left(\cos\left(2 x\right)^{2}\right)^{2}}
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\tan\left(2 x\right)\right] = \frac{2}{\cos\left(2 x\right)^{2}} \]
\[ f(x) = \tan\left(2 x\right) \]
\[ g(x) = 2 x,\quad g'(x) = 2 \]
\[ f'(x) = \left[\frac{1}{\cos\left(u\right)^{2}}\right]_{u=g(x)} \cdot g'(x) \]
\[ f'(x) = \frac{2}{\cos\left(2 x\right)^{2}} \]
\[ f''(x) = \frac{-\left(2 2 \cos\left(2 x\right) -\left(2 \sin\left(2 x\right)\right)\right)}{\left(\cos\left(2 x\right)^{2}\right)^{2}} \]

Values of f and f' for tan(2x)

xf(x)f'(x)
-2-1.15782134.6811002
-12.185039911.548798
0.51.55740776.8510376
1-2.185039911.548798
21.15782134.6811002
3-0.291006192.1693692

Questions

What is the derivative of tan(2x)?

The derivative of tan⁡(2x)\tan\left(2 x\right) is 2cos⁡(2x)2\frac{2}{\cos\left(2 x\right)^{2}}.

What is the second derivative of tan(2x)?

-(2 * 2cos(2x) * -(2sin(2x))) / (cos(2x)^2)^2.

Which rule do you use for tan(2x)?

The chain rule.

What is the slope of tan(2x) at x = 1?

11.548798.

Related derivatives

    Derivative of tan(2x): 2 / cos(2x)^2 (with steps) | WordGPT