In the previous sections, evaluating a definite integral ∫abf(x)dx relied almost exclusively on finding an elementary antiderivative F(x) such that F′(x)=f(x), and then computing F(b)−F(a).
However, mathematical reality frequently presents integrands whose antiderivatives cannot be expressed in terms of elementary functions at all. Consider, for example, the following integrals:
Attempting to find an indefinite integral for any of these functions using standard integration techniques is completely impossible. Yet, each of these definite integrals can be evaluated in two or three lines of exact arithmetic!
The secret lies in symmetry and geometric transformations. A definite integral does not merely compute an antiderivative; it measures the net accumulated area under a geometric curve over a specific interval. If the curve possesses reflective, rotational, or periodic symmetries across that interval, we can transform, flip, or fold the region without altering its total area. By combining the transformed integral with the original, the intractable parts of the integrand often cancel out entirely, leaving behind a simple constant.
The most versatile transformation property in definite integration is the reflection property.
[!NOTE] Origin of the Name "King's Rule"
In competitive calculus pedagogy, the reflection property:
∫abf(x)dx=∫abf(a+b−x)dx
is widely known as King's Rule (or King's Property). It earned this title because it is universally the first, most powerful, and most frequently successful transformation to test on definite integrals where the integrand contains complementary or symmetric trigonometric, exponential, or rational terms.
We first examine the standard form on the interval [0,a].
Why does replacing x with a−x leave the definite integral completely unchanged?
Consider the sequence of standard geometric transformations that takes the graph y=f(x) to y=f(a−x):
Step 1 (Horizontal Shift): Replacing x with x+a shifts the entire graph horizontally to the left by a units:
y=f(x)⟶y=f(x+a)
Step 2 (Reflection across the y-axis): Next, replacing x with −x reflects this shifted graph horizontally across the vertical axis y:
y=f(x+a)⟶y=f(−x+a)=f(a−x)
What is the net geometric effect of these two steps combined?
The original points on [0,a] are transformed as follows:
The left endpoint x=0 is sent to x=a.
The right endpoint x=a is sent to x=0.
The midpoint x=a/2 remains fixed: a−a/2=a/2.
Therefore, the graph y=f(a−x) is simply the horizontal reflection (mirror image) of y=f(x) across the vertical line:
x=2a
Because a reflection is a rigid geometric transformation, the shape of the region under the curve is preserved. Flipping a flat region across its vertical centerline reverses the order of the vertical slices, but the sum of their areas remains identical:
∫0af(x)dx=∫0af(a−x)dx
Algebraic Proof
We can confirm this result algebraically using the substitution rule:
Let:
t=a−x⟹dx=−dt
Now determine the transformed limits:
When the lower limit is x=0, t=a−0=a.
When the upper limit is x=a, t=a−a=0.
Substituting into the integral:
∫0af(x)dx=∫a0f(a−t)(−dt)
Using the reversal property ∫a0(…)(−dt)=∫0a(…)dt:
∫0af(x)dx=∫0af(a−t)dt
Because the integration variable is a dummy variable, replacing t with x yields:
Knowing that ∫0af(x)dx=∫0af(a−x)dx is useful, but the true power of King's Rule emerges when we add the two expressions together.
Suppose we define our integral as I:
I=∫0af(x)dx
By King's Rule, the same integral can be written as:
I=∫0af(a−x)dx
Adding these two equations:
2I=∫0af(x)dx+∫0af(a−x)dx=∫0a[f(x)+f(a−x)]dx
Solving for I:
I=21∫0a[f(x)+f(a−x)]dx
[!TIP] Why is f(x)+f(a−x) Simpler than f(x)?
While f(x) by itself may be algebraically complicated or non-integrable, the combined sum f(x)+f(a−x) pairs each value with its symmetric partner. When the function involves complementary relationships:
sin(2π−x)=cosx and cos(2π−x)=sinx
tan(4π−x)=1+tanx1−tanx
Rational fractions where denominators match after reflection
the sum f(x)+f(a−x) often collapses into a constant C. When f(x)+f(a−x)=C:
2I=∫0aCdx=C⋅a⟹I=2C⋅a
Let us work through several examples illustrating this principle.
Notice that this result holds for any real number n (whether n=1, n=2026, n=1/2, or n=−3)! The power n has no bearing on the final value because the integrand and its reflection always sum to 1.
Example 3: Eliminating an Extraneous Linear Factor§
Evaluate:
I=∫0π1+cos2xxsinxdx
Solution:
The presence of the algebraic factor x in the numerator prevents standard substitutions like u=cosx. We can eliminate x by applying King's Rule with a=π:
I=∫0π1+cos2(π−x)(π−x)sin(π−x)dx
Since sin(π−x)=sinx and cos(π−x)=−cosx⟹cos2(π−x)=cos2x:
While King's Rule reflects the entire interval [0,a] onto itself, Queen's Rule splits the interval in half at a/2 and folds the right half onto the left half.
[!IMPORTANT] Formulating the Halving Property
We express the interval halving property strictly on [0,a] with the reduced limit a/2:
∫0af(x)dx=∫0a/2[f(x)+f(a−x)]dx
Many older textbooks write this property using 2a as the upper limit and a as the halved limit. In practice, writing the upper limit as 2a frequently causes confusion when the upper limit is an odd multiple like π or 1. Writing the property as halving from a to a/2 makes the geometric operation immediately clear.
Queen's Rule is not an independent axiom; it is a direct consequence of splitting the interval [0,a] at its midpoint a/2 and applying King's reflection to the second half:
∫0af(x)dx=∫0a/2f(x)dx+∫a/2af(x)dx
Look closely at the second integral, J=∫a/2af(x)dx. Substitute:
Geometrically, the second half [a/2,a] is flipped horizontally and overlaid onto [0,a/2]. At every point x∈[0,a/2], the height of the folded piece, f(a−x), is added on top of the original height, f(x), creating a combined height H(x)=f(x)+f(a−x).
Depending on how the integrand behaves when reflected across a/2, Queen's Rule leads to two immediate simplifications:
Case 1: Symmetric Function Across the Midpoint (f(a−x)=f(x))
If the curve is symmetric about the vertical line x=a/2, the folded height doubles:
∫0af(x)dx=2∫0a/2f(x)dxif f(a−x)=f(x)
Case 2: Anti-Symmetric Function Across the Midpoint (f(a−x)=−f(x))
If the curve is anti-symmetric about the midpoint, the two heights cancel out completely:
∫0af(x)dx=0if f(a−x)=−f(x)
The Misconception: Why Queen's Property is Essential§
A common question students ask is: "If King's Rule already gives f(a−x), why do we ever need Queen's Rule?"
At first glance, it might seem that Queen's Rule is merely King's Rule in disguise. However, Queen's Rule solves two profound challenges that King's Rule cannot handle alone:
1. Breaking the King's Rule Deadlock
When a function satisfies f(a−x)=f(x) on [0,a], King's Rule yields:
I=∫0af(a−x)dx=∫0af(x)dx=I
Adding them gives 2I=2I, which produces no new information! King's Rule is deadlocked.
However, Queen's Rule halves the upper limit:
I=2∫0a/2f(x)dx
On the new smaller interval [0,a/2], the function is no longer evaluated at a−x, but at (a/2)−x. For trigonometric functions, this often converts sinx into cosx, unlocking a second application of King's Rule that solves the integral!
2. Eliminating Interior Discontinuities and Vertical Asymptotes
To truly appreciate why Queen's Property is indispensable, consider what happens when a substitution introduces an interior vertical asymptote.
Consider the classic definite integral:
I=∫0πa2cos2x+b2sin2xdx(a,b>0)
The integrand is strictly positive and completely continuous across the entire closed interval [0,π] because the denominator a2cos2x+b2sin2x never vanishes. Therefore, the area under the curve must be a positive real number (I>0).
The Fatal Trap: Blind Substitution without Halving the Limit
A standard textbook method for evaluating rational trigonometric functions of cos2x and sin2x is to divide the numerator and denominator by cos2x:
I=∫0πa2+b2tan2xsec2xdx
A student might now blindly set:
u=tanx⟹du=sec2xdx
Looking at the limits:
When the lower limit is x=0, u=tan0=0.
When the upper limit is x=π, u=tanπ=0.
Plugging these limits into the transformed integral:
I=∫00a2+b2u2du=0(COMPLETELY WRONG!)
How could the accumulated area under a strictly positive curve over an interval of width π possibly be zero?
The Root Cause of the Disaster:
The substitution function u=tanx is not continuous on [0,π]. It has an infinite vertical jump discontinuity right in the middle of the interval at x=π/2:
x→π/2−limtanx=+∞,x→π/2+limtanx=−∞
As x passes through π/2, tanx plunges from +∞ to −∞, skipping the entire real continuum! Applying the Fundamental Theorem of Calculus through an interior infinite discontinuity is mathematically invalid and produces completely bogus results.
The Resolution: How Queen's Property Saves the Day
Before attempting any substitution, test the reflection symmetry of the integrand across x=π/2:
Because f(π−x)=f(x), the graph is perfectly symmetric about the vertical line x=π/2.
Applying Queen's Property allows us to halve the interval from [0,π] to [0,π/2]:
I=2∫0π/2a2cos2x+b2sin2xdx
Now examine what happens on the halved interval [0,π/2):
The function u=tanx is strictly continuous, monotonic, and differentiable throughout the interior [0,π/2).
The asymptote at x=π/2 is no longer an interior singularity—it has been pushed to the upper boundary, turning the problem into a standard, well-behaved improper integral!
Notice how natural, exact, and strictly positive this answer is! For instance:
If a=1 and b=1, the integral is ∫0πdx=π, which perfectly matches 1⋅1π=π.
If a=1 and b=2, the integral is 2π, rather than the absurd 0 produced by blind substitution.
This classic example reveals why Queen's Property is far from redundant: halving the interval eliminates interior points of discontinuity, making powerful substitutions like u=tanx mathematically valid and robust.
The Benchmark Integral: The Definite Integral of Log-Sine§
We are now equipped to evaluate one of the most famous and beautiful definite integrals in all of calculus:
Even Function (f(−x)=f(x)): The graph has reflectional symmetry across the y-axis. The area on [−a,0] is identical to the area on [0,a]:
∫−aaf(x)dx=2∫0af(x)dxif f(−x)=f(x)
Odd Function (f(−x)=−f(x)): The graph has rotational (point) symmetry of 180∘ about the origin. The signed area on [−a,0] is the exact negative of the area on [0,a], canceling to zero:
∫−aaf(x)dx=0if f(−x)=−f(x)
Decomposing an Arbitrary Function into Even and Odd Parts§
Every function f(x) defined on [−a,a] can be uniquely split into the sum of an even component feven(x) and an odd component fodd(x):
When transforming a definite integral—for instance, to move limits to 0, center an interval around 0 to reveal even/odd symmetry, or simplify f(2x−4) into f(x)—students often write out a full substitution (u=x+c or u=kx), compute du, change limits step by step, and rewrite the integral.
The shifting and scaling properties let you skip all of that boilerplate. They make your job faster and cleaner by transforming the limits and the integrand in a single direct step, using pure geometry.
Shifting the graph of y=f(x) horizontally by c units to the right produces the curve y=f(x−c) over [a+c,b+c]. Because rigid horizontal translation does not stretch or compress the region, the enclosed area remains identical.
Algebraically, setting t=x−c (so dt=dx) in ∫a+cb+cf(x−c)dx gives ∫abf(t)dt directly. Once you remember the rule below, you never need to write out this substitution again.
Rule of Thumb (Opposite Operations):
Add c to both limits⟺replace x with x−c inside f(x).
Subtract c from both limits⟺replace x with x+c inside f(x).
Example: Centering an Interval to Reveal Odd Symmetry
Evaluate:
I=∫13(x−2)5cos(x−2)dx
Solution:
Instead of substituting u=x−2, subtract 2 from both limits and replace x with x+2 inside the integrand:
I=∫1−23−2((x+2)−2)5cos((x+2)−2)dx=∫−11x5cosxdx
Since x5cosx is an odd function on the symmetric interval [−1,1], we obtain immediately:
I=0
Example: Simplifying an Irrational Integrand
Evaluate:
I=∫25xx−2dx
Solution:
Subtract 2 from both limits and replace x with x+2 inside the integrand:
Equivalently, to simplify a scaled argument f(kx) back to f(x):
∫abf(kx)dx=k1∫kakbf(x)dx
(Note: When k<0, multiplying or dividing the limits by k reverses their order, and the factor k or k1 automatically carries the minus sign needed to keep the signed area exact.)
Geometric Meaning and Quick Proof
Replacing x with kx (for k>0) compresses the graph horizontally by a factor of k, shrinking the interval [a,b] to [a/k,b/k] while keeping every height y unchanged. Since the width shrinks by a factor of k, the area shrinks by a factor of k—so multiplying the new integral by k restores the original area.
Algebraically, setting t=kx (so dt=kdx) in ∫a/kb/kf(kx)dx yields k1∫abf(t)dt.
Rule of Thumb:
Divide both limits by k⟺replace x with kx and multiply the integral by k.
Multiply both limits by k⟺replace kx with x and divide the integral by k.
Example: Fast Scaling to Standard Trigonometric Limits
Evaluate:
I=∫0π/4sin(2x)+cos(2x)sin(2x)dx
Solution:
Multiply both limits by 2, replace 2x with x, and divide the integral by 2:
I=21∫0π/2sinx+cosxsinxdx
From King's Rule on [0,π/2] (Example 1), the integral equals 4π. Therefore:
I=21⋅4π=8π
Example: Combining Shifting and Scaling in Two Direct Steps
Evaluate:
I=∫131+(2x−4)21dx
Solution:
First, shift the limits by −2 (replace x with x+2, so 2x−4 becomes 2(x+2)−4=2x):
I=∫−111+(2x)21dx
Next, scale by multiplying the limits by 2 (replace 2x with x and divide by 2):