Let I be the integral. By the King property, replacing x by 2π−x swaps sine and cosine, so I=∫0π/2sinx+cosxcosxdx. Adding the two expressions gives 2I=∫0π/21dx=2π, so I=4π. The identity sin(2π−x)=cosx is in symmetries and periodicity of sin, cos and tan.
The same argument works for any power: ∫0π/2sinnx+cosnxsinnxdx=4π, and for integrals of the form ∫0π/2f(sinx)+f(cosx)f(sinx)dx. The method avoids messy integrals of tangent and partial fractions. Compare with a direct substitution.
Geometrically the curves y=sinx+cosxsinx and y=sinx+cosxcosx are mirror images in x=4π and together make 1, so each has half of the area 2π under y=1; see area under a curve. Another symmetry tool is even and odd functions.
What is it used for?
The integral of sin x over sin x + cos x from 0 to π/2 is π/4, by a symmetry argument and without any hard integration.
Entrance-exam integrals.
Understanding the King property.
Practising trigonometric symmetries.
How to use symmetry: ∫ sin x/(sin x + cos x)
Call the integral I.
Substitute x→2π−x to get a second form of I.
Add the two forms; the integrand becomes 1.
Divide 2π by 2.
Graph
The curves are mirror images in x = π/4, so each has area π/4.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: the main integral
Evaluate ∫0π/2sinx+cosxsinxdx.
Worked example
Answer
4π≈0.7854
Second form
∫0π/2sinx+cosxcosxdx
Add
2I=2π
Example 2: a difference
Evaluate ∫0π/2sinx+cosxsinx−cosxdx.
Worked example
Answer
0
The two halves are equal
4π−4π
So
0
Example 3: cubes
Evaluate ∫0π/2sin3x+cos3xsin3xdx.
Worked example
Answer
4π
Same argument
2I=2π
So
I=4π
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
I = ∫₀^{π/2} sin/(sin + cos)
J = ∫cos/(sin + cos)
I = J.
I + J
∫1 dx
1.5708.
I
half of π/2
0.7854.
∫₀^{π/2} sin²/(sin² + cos²)
∫sin² dx
0.7854.
Word problems
With x → π/2 − x, I = ∫sin x/(sin x + cos x) becomes ∫cos x/(sin x + cos x) = J. Since I + J = ∫dx = π/2 and I = J, I = π/4.
I + J
Add the two integrals.
∫₀^{π/2} 1 dx
Check: π/2 ✓1.5708
I = J
Reflection x → π/2 − x.
equal
Check: ✓0.7854
The value Higher
I = (π/2)/2.
π/4
Check: ✓0.7854
Related Higher
∫₀^{π/2} sin² x dx.
π/4
Check: ✓0.7854
Common mistakes
Integrating directly
hard ✗
use symmetry ✓
Trick.
I ≠ J
different ✗
equal by reflection ✓
Complement.
I + J = 1
wrong ✗
π/2 ✓
Length of the interval.
Wrong limits
0 to π ✗
0 to π/2 ✓
Reflect about π/4.
Exam tips
Reflect x → π/2 − x.
I = J.
I + J = π/2.
I = π/4.
Same trick for sinⁿ/(sinⁿ + cosⁿ).
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. ∫₀^{π/2} sin³/(sin³ + cos³) dx to 4 d.p. Foundation
0.7854
2. I + J to 4 d.p. Foundation
1.5708
3. ∫₀^{π/2} cos x/(sin x + cos x) dx to 4 d.p. Foundation
0.7854
4. ∫₀^{π/2} 1 dx to 4 d.p. Higher
1.5708
5. ∫₀^{π/2} sin²x dx to 4 d.p. Higher
0.7854
6. Half of π/2 to 4 d.p. Higher
0.7854
Practice generator
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.