WordGPT

Integral of cos⁡(4x)\cos\left(4 x\right)

The integral of cos⁡(4x)\cos\left(4 x\right) is sin⁡(4x)4+C\frac{\sin\left(4 x\right)}{4} + C.

Graph of f(x) = cos(4x) with the area from 0 to π shaded-112345-1-0.50.51f(x)
Graph of f(x) = cos(4x) with the area from 0 to π shaded. The shaded area equals the definite integral, about -1.2246468e-16.

How to work it out

  1. 1

    We want an antiderivative of f(x) = cos(4x).

    ∫cos⁡(4x) dx\int \cos\left(4 x\right)\,dx
  2. 2

    Method: ∫cos(kx) dx = sin(kx)/k.

  3. 3

    That gives the antiderivative; add the constant C because any constant disappears when you differentiate:

    ∫cos⁡(4x) dx=sin⁡(4x)4+C\int \cos\left(4 x\right)\,dx = \frac{\sin\left(4 x\right)}{4} + C
  4. 4

    Check by differentiating the answer; you must get the original function back:

    ddx[sin⁡(4x)4]=16cos⁡(4x)16\frac{d}{dx}\left[\frac{\sin\left(4 x\right)}{4}\right] = \frac{16 \cos\left(4 x\right)}{16}
  5. 5

    As a definite integral, evaluate the antiderivative at both ends and subtract. Between 0 and π:

    ∫0πcos⁡(4x) dx=[sin⁡(4x)4]0π≈−1.2246468e−16\int_{0}^{\pi} \cos\left(4 x\right)\,dx = \Big[\frac{\sin\left(4 x\right)}{4}\Big]_{0}^{\pi} \approx -1.2246468e-16
LaTeX source of the formulas on this page
\[ \int \cos\left(4 x\right)\,dx = \frac{\sin\left(4 x\right)}{4} + C \]
\[ \int \cos\left(4 x\right)\,dx \]
\[ \frac{d}{dx}\left[\frac{\sin\left(4 x\right)}{4}\right] = \frac{16 \cos\left(4 x\right)}{16} \]
\[ \int_{0}^{\pi} \cos\left(4 x\right)\,dx = \Big[\frac{\sin\left(4 x\right)}{4}\Big]_{0}^{\pi} \approx -1.2246468e-16 \]

Definite integrals of the same function

IntervalValue
from 0 to π-1.2246468e-16
from 0 to π/2-6.123234e-17

Questions

What is the integral of cos(4x)?

The integral of cos⁡(4x)\cos\left(4 x\right) is sin⁡(4x)4+C\frac{\sin\left(4 x\right)}{4} + C.

Why do we add + C?

Every function F(x) + C has the same derivative, so the antiderivative is only defined up to a constant.

What is the integral of cos(4x) from 0 to π?

About -1.2246468e-16.

More integrals

    Integral of cos(4x): sin(4x) / 4 + C (with steps) | WordGPT