WordGPT

Derivative of cos⁡(3x)\cos\left(3 x\right)

The derivative of cos⁡(3x)\cos\left(3 x\right) is −(3sin⁡(3x))-\left(3 \sin\left(3 x\right)\right).

f(x) =
ddx[cos⁡(3x)]=−(3sin⁡(3x))\frac{d}{dx}\left[\cos\left(3 x\right)\right] = -\left(3 \sin\left(3 x\right)\right)

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

Graph of f(x) = cos(3x) and its derivative-3-2-1123-3-2-1123slope -0.4234f(x)f'(x)tangent at x = 1
Graph of f(x) = cos(3x) and its derivative. The dashed line is the tangent at x = 1; its slope is f'(1) = -0.42336.

How to work it out

  1. 1

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

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

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

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

    f′(x)=[−sin⁡(u)]u=g(x)⋅g′(x)f'(x) = \left[-\sin\left(u\right)\right]_{u=g(x)} \cdot g'(x)
  4. 4

    Simplify:

    f′(x)=−(3sin⁡(3x))f'(x) = -\left(3 \sin\left(3 x\right)\right)
  5. 5

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

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

Values of f and f' for cos(3x)

xf(x)f'(x)
-20.96017029-0.83824649
-1-0.98999250.42336002
0.50.070737202-2.992485
1-0.9899925-0.42336002
20.960170290.83824649
3-0.91113026-1.2363555

Questions

What is the derivative of cos(3x)?

The derivative of cos⁡(3x)\cos\left(3 x\right) is −(3sin⁡(3x))-\left(3 \sin\left(3 x\right)\right).

What is the second derivative of cos(3x)?

-(9cos(3x)).

Which rule do you use for cos(3x)?

The chain rule.

What is the slope of cos(3x) at x = 1?

-0.42336002.

Related derivatives

    Derivative of cos(3x): -(3sin(3x)) (with steps) | WordGPT