WordGPT

Derivative of tan⁡(−x)\tan\left(-x\right)

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

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

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

Graph of f(x) = tan(-x) and its derivative-3-2-1123-60-50-40-30-20-101020slope -3.426f(x)f'(x)tangent at x = 1
Graph of f(x) = tan(-x) and its derivative. The dashed line is the tangent at x = 1; its slope is f'(1) = -3.4255.

How to work it out

  1. 1

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

    f(x)=tan⁡(−x)f(x) = \tan\left(-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)=−xg(x) = -x.

    g(x)=−x,g′(x)=−1g(x) = -x,\quad g'(x) = -1
  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)=−1cos⁡(−x)2f'(x) = \frac{-1}{\cos\left(-x\right)^{2}}
  5. 5

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

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

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

xf(x)f'(x)
-2-2.1850399-5.7743992
-11.5574077-3.4255188
0.5-0.54630249-1.2984464
1-1.5574077-3.4255188
22.1850399-5.7743992
30.14254654-1.0203195

Questions

What is the derivative of tan(-x)?

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

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

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

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

The chain rule.

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

-3.4255188.

Related derivatives

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