integral of sin²(x)
The integral of sin²(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 sin²(u) = (1 − cos(2u))/2.
sin²(x) = (1 − cos(2x))/2Move the constant 1/2 outside the integral.
∫ (1 − cos(2x))/2 dx = 1/2·∫ (1 − cos(2x)) dxIntegrate term by term (the integral of a sum is the sum of the integrals).
Move the constant −1 outside the integral.
∫ −cos(2x) dx = −1·∫ cos(2x) dxStandard 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: ∫ sin²(x) dx Step 1: Use the identity sin²(u) = (1 − cos(2u))/2. sin²(x) = (1 − cos(2x))/2 Step 2: Move the constant 1/2 outside the integral. ∫ (1 − cos(2x))/2 dx = 1/2·∫ (1 − cos(2x)) dx Step 3: Integrate term by term (the integral of a sum is the sum of the integrals). Step 4: Move the constant −1 outside the integral. ∫ −cos(2x) dx = −1·∫ cos(2x) dx Step 5: Standard integral: ∫cos(u) du = sin(u) — the inside is 2x, so divide by its derivative 2. ∫ cos(2x) dx = sin(2x)/2 Step 6: The integral of a constant k is k·x. ∫ 1 dx = x Step 7: Add the constant of integration C (any constant differentiates to 0). Answer: ∫ sin²(x) dx = x/2 − sin(2x)/4 + C ✓ checked: differentiating the answer gives back the original function (tested at several points).
Related problems
- ∫ sin²(2x) dx = x/2 − sin(4x)/8 + C see the steps
- ∫ sin³(x) dx = cos³(x)/3 − cos(x) + 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 sin²(x)?
∫ sin²(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 sin²(x)?
Differentiate the answer. The derivative of x/2 − sin(2x)/4 is sin²(x), and the + C disappears because the derivative of a constant is 0.
What is the integral of sin²(2x)?
∫ sin²(2x) dx = x/2 − sin(4x)/8 + C.