Trigonometric Integrals Calculator

Published on: June 8, 2025

This Trigonometric Integrals Calculator helps you solve trigonometric integrals and shows each step clearly. It can be used to integrate expressions involving powers and products of sine, cosine, and other trigonometric functions by applying standard identities, substitutions, and integration techniques where needed. This makes it useful for checking answers, understanding how trigonometric integration works, and practising calculus step by step.

Step-by-step method

  1. Write the integral.
  2. Identify the trig form and powers.
  3. Pick the correct trig-integral strategy.
  4. Rewrite using identities (if needed).
  5. Use substitution where appropriate.
  6. Integrate and simplify.
  7. Add + C.

Formula bank:

sin2(x) + cos2(x) = 1
1 + tan2(x) = sec2(x)
tan2(x) = sec2(x) − 1
sin2(x) = (1 − cos(2x))/2
cos2(x) = (1 + cos(2x))/2
u = cos(x) ⇒ du = −sin(x)dx
u = sin(x) ⇒ du = cos(x)dx
u = tan(x) ⇒ du = sec2(x)dx
u = sec(x) ⇒ du = sec(x)tan(x)dx

Example 1: sin(x)^3*cos(x)^2, x

Step 1 - Write the integral.

In this problem: We will apply trig-integral patterns.

cos(x)2sin(x)3dx

Step 3 - Identify the powers.

In this problem: sin power m = 3, cos power n = 2.

cos(x)2sin(x)3dx

Step 4 - Pick the strategy.

In this problem: Odd power of sin(x): save one sin(x), convert the rest using sin²(x)=1−cos²(x).

sin2(x) + cos2(x) = 1
u = cos(x) ⇒ du = −sin(x)dx

Step 5 - Rewrite the integrand.

In this problem: Save one sin(x) for du and rewrite remaining sin powers.

cos(x)2sin(x)3 dx =cos(x)2sin(x)3 dx

Step 6 - Substitute.

In this problem: Let u = cos(x), so du = −sin(x)dx.

u = cos(x), du = −sin(x)dx⇒ −∫ u4 + u2 du

Step 7 - Integrate in u.

In this problem: Integrate the polynomial in u.

−∫ u4 + u2 du =
1
5
u5
1
3
u3

Step 8 - Back-substitute and finish.

In this problem: Replace u with cos(x) and add + C.

1
5
cos(x)5
1
3
cos(x)3
+ C

Final answer: cos(x)^5/5 - cos(x)^3/3 + C

Example 2: tan(x)^5*sec(x)^2, x

Step 1 - Write the integral.

In this problem: We will apply trig-integral patterns.

sec(x)2tan(x)5dx

Step 3 - Identify the powers.

In this problem: tan power m = 5, sec power n = 2.

sec(x)2tan(x)5dx

Step 4 - Pick the strategy.

In this problem: Even power of sec(x): save sec²(x)dx and convert remaining sec powers using sec²=1+tan².

1 + tan2(x) = sec2(x)
u = tan(x) ⇒ du = sec2(x)dx

Step 5 - Rewrite the integrand.

In this problem: Save sec²(x)dx for du.

sec(x)2tan(x)5 dx =sec(x)2tan(x)5 dx

Step 6 - Substitute.

In this problem: Let u = tan(x), so du = sec²(x)dx.

u = tan(x), du = sec²(x)dx⇒ ∫ u5 du

Step 7 - Integrate in u.

In this problem: Integrate the polynomial in u.

u5 du =
1
6
u6

Step 8 - Back-substitute and finish.

In this problem: Replace u with tan(x) and add + C.

1
6
tan(x)6
+ C

Final answer: tan(x)^6/6 + C

Example 3: sin(x)^4, x

Step 1 - Write the integral.

In this problem: We will apply trig-integral patterns.

sin(x)4dx

Step 3 - Identify the powers.

In this problem: sin power m = 4, cos power n = 0.

sin(x)4dx

Step 4 - Pick the strategy.

In this problem: Both powers are even: use power-reduction identities, rewrite to a sum, then integrate.

sin2(x) = (1 − cos(2x))/2
cos2(x) = (1 + cos(2x))/2

Step 5 - Rewrite to a sum.

In this problem: Convert even powers into a trig sum (multiple angles).

sin(x)4 dx

Step 6 - Integrate and finish.

In this problem: Integrate term-by-term and add + C.

3
8
x −
1
4
sin(2x) +
1
32
sin(4x)
+ C

Final answer: 3x/8 - sin(2x)/4 + sin(4x)/32 + C