integral of cos²(x)
The integral of cos²(x) is x/2 + sin(2x)/4 + C, where C is any constant.
✓ checked: differentiating the answer gives back the original function (tested at several points).
step-by-step working
Use the identity cos²(u) = (1 + cos(2u))/2.
cos²(x) = (cos(2x) + 1)/2Move the constant 1/2 outside the integral.
∫ (cos(2x) + 1)/2 dx = 1/2·∫ (cos(2x) + 1) dxIntegrate term by term (the integral of a sum is the sum of the integrals).
Standard integral: ∫cos(u) du = sin(u) — the inside is 2x, so divide by its derivative 2.
∫ cos(2x) dx = sin(2x)/2The integral of a constant k is k·x.
∫ 1 dx = xAdd the constant of integration C (any constant differentiates to 0).
plain-text version of this solution
Problem: ∫ cos²(x) dx Step 1: Use the identity cos²(u) = (1 + cos(2u))/2. cos²(x) = (cos(2x) + 1)/2 Step 2: Move the constant 1/2 outside the integral. ∫ (cos(2x) + 1)/2 dx = 1/2·∫ (cos(2x) + 1) dx Step 3: Integrate term by term (the integral of a sum is the sum of the integrals). Step 4: Standard integral: ∫cos(u) du = sin(u) — the inside is 2x, so divide by its derivative 2. ∫ cos(2x) dx = sin(2x)/2 Step 5: The integral of a constant k is k·x. ∫ 1 dx = x Step 6: Add the constant of integration C (any constant differentiates to 0). Answer: ∫ cos²(x) dx = x/2 + sin(2x)/4 + C ✓ checked: differentiating the answer gives back the original function (tested at several points).
Related problems
- ∫ cos²(3x) dx = x/2 + sin(6x)/12 + C see the steps
- ∫ cos³(x) dx = sin(x) − sin³(x)/3 + C see the steps
Try it yourself
Change the problem below and press Enter. Steps, answer and check update instantly, all in your browser.
Enter solves · Shift+Enter for a new line · put systems on separate lines or separate them with commas
Frequently asked questions
What is the integral of cos²(x)?
∫ cos²(x) dx = x/2 + sin(2x)/4 + C. Method: a trig identity, linearity (term by term) and standard integral.
How do you check the integral of cos²(x)?
Differentiate the answer. The derivative of x/2 + sin(2x)/4 is cos²(x), and the + C disappears because the derivative of a constant is 0.
What is the integral of cos²(3x)?
∫ cos²(3x) dx = x/2 + sin(6x)/12 + C.