Integral of
The integral of is .
How to work it out
- 1
We want an antiderivative of f(x) = cos(x)^2.
- 2
Method: power-reduction identity cos²x = (1 + cos 2x)/2.
- 3
That gives the antiderivative; add the constant C because any constant disappears when you differentiate:
- 4
Check by differentiating the answer; you must get the original function back:
- 5
As a definite integral, evaluate the antiderivative at both ends and subtract. Between 0 and π:
LaTeX source of the formulas on this page
\[ \int \cos\left(x\right)^{2}\,dx = \frac{x}{2} + \frac{\sin\left(2 x\right)}{4} + C \]
\[ \int \cos\left(x\right)^{2}\,dx \]
\[ \frac{d}{dx}\left[\frac{x}{2} + \frac{\sin\left(2 x\right)}{4}\right] = 0.5 + \frac{8 \cos\left(2 x\right)}{16} \]
\[ \int_{0}^{\pi} \cos\left(x\right)^{2}\,dx = \Big[\frac{x}{2} + \frac{\sin\left(2 x\right)}{4}\Big]_{0}^{\pi} \approx 1.5707963 \]Definite integrals of the same function
| Interval | Value |
|---|---|
| from 0 to π | 1.5707963 |
| from 0 to π/2 | 0.78539816 |
Questions
What is the integral of cos(x)^2?
The integral of is .
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(x)^2 from 0 to π?
About 1.5707963.