Maths WorkshopMaths problems with full solutions
Exercise 210Calculus › Single-variable calculus › Integration › Riemann integralHigh schoolAdded 2 Nov 2026

Integrals that simplify by parity

#symmetry#odd and even functions

Statement

Compute, without finding any antiderivative where possible:
1. ∫−22x5ex2 dx\displaystyle\int_{-2}^2x^5e^{x^2}\,dx
2. ∫−11(x3+3x2) dx\displaystyle\int_{-1}^1(x^3+3x^2)\,dx
3. ∫−ππ(xcos⁡x+sin⁡2x) dx\displaystyle\int_{-\pi}^{\pi}\bigl(x\cos x+\sin^2x\bigr)\,dx

Hint

If ff is odd, ∫−aaf=0\int_{-a}^af=0. If ff is even, ∫−aaf=2∫0af\int_{-a}^af=2\int_0^af.

Show solutionHide solution

Solution

Why the rule holds. The substitution x↦−xx\mapsto-x gives ∫−a0f(x) dx=∫0af(−u) du\int_{-a}^0f(x)\,dx=\int_0^af(-u)\,du. For an odd function this is −∫0af-\int_0^af, which cancels the other half. For an even function it equals ∫0af\int_0^af, which doubles it.

1. x↦x5ex2x\mapsto x^5e^{x^2} is odd (odd power times even function), so the integral is 00.

2. x3x^3 is odd, so it contributes 00. 3x23x^2 is even: 2∫013x2 dx=22\int_0^13x^2\,dx=2. The result is 22.

3. xcos⁡xx\cos x is odd, so it contributes 00. For the other term, sin⁡2x=1−cos⁡2x2\sin^2x=\frac{1-\cos2x}2 gives ∫−ππsin⁡2x dx=π\int_{-\pi}^\pi\sin^2x\,dx=\pi. The result is π\pi.

Remark. Recognising symmetry can turn an intimidating integral, like the first one, into zero in one line.