MatheramaMatherama
← Definite Integration
Definite Integration·Section 8·24 min read

Symmetry and Transformation Properties

In the previous sections, evaluating a definite integral ∫abf(x) dx\int_a^b f(x)\,dx relied almost exclusively on finding an elementary antiderivative F(x)F(x) such that F′(x)=f(x)F'(x) = f(x), and then computing F(b)−F(a)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:

∫0π/2sin⁡2026xsin⁡2026x+cos⁡2026x dx,∫0π/4ln⁡(1+tan⁡x) dx,∫0π/2ln⁡(sin⁡x) dx\int_0^{\pi/2} \frac{\sin^{2026} x}{\sin^{2026} x + \cos^{2026} x} \, dx, \qquad \int_0^{\pi/4} \ln(1 + \tan x) \, dx, \qquad \int_0^{\pi/2} \ln(\sin x) \, dx

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 Reflection Property: King's Rule§

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\int_a^b f(x) \, dx = \int_a^b f(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][0, a].


The Reflection Property on the Standard Interval§

For any integrable function f(x)f(x) on [0,a][0, a]:

∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x) \, dx = \int_0^a f(a - x) \, dx

Geometric Derivation

Why does replacing xx with a−xa - x leave the definite integral completely unchanged?

Consider the sequence of standard geometric transformations that takes the graph y=f(x)y = f(x) to y=f(a−x)y = f(a - x):

Step 1 (Horizontal Shift): Replacing xx with x+ax + a shifts the entire graph horizontally to the left by aa units:

y=f(x)⟶y=f(x+a)y = f(x) \quad \longrightarrow \quad y = f(x + a)

Step 2 (Reflection across the yy-axis): Next, replacing xx with −x-x reflects this shifted graph horizontally across the vertical axis yy:

y=f(x+a)⟶y=f(−x+a)=f(a−x)y = f(x + a) \quad \longrightarrow \quad y = f(-x + a) = f(a - x)

What is the net geometric effect of these two steps combined? The original points on [0,a][0, a] are transformed as follows:

  • The left endpoint x=0x = 0 is sent to x=ax = a.
  • The right endpoint x=ax = a is sent to x=0x = 0.
  • The midpoint x=a/2x = a/2 remains fixed: a−a/2=a/2a - a/2 = a/2.

Therefore, the graph y=f(a−x)y = f(a - x) is simply the horizontal reflection (mirror image) of y=f(x)y = f(x) across the vertical line:

x=a2x = \frac{a}{2}

Geometric proof of King's Property by reflection across x equals a over 2

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\int_0^a f(x) \, dx = \int_0^a f(a - x) \, dx

Algebraic Proof

We can confirm this result algebraically using the substitution rule:

Let:

t=a−x  ⟹  dx=−dtt = a - x \implies dx = -dt

Now determine the transformed limits:

  • When the lower limit is x=0x = 0, t=a−0=at = a - 0 = a.
  • When the upper limit is x=ax = a, t=a−a=0t = a - a = 0.

Substituting into the integral:

∫0af(x) dx=∫a0f(a−t) (−dt)\int_0^a f(x) \, dx = \int_a^0 f(a - t) \, (-dt)

Using the reversal property ∫a0(… ) (−dt)=∫0a(… ) dt\int_a^0 (\dots)\,(-dt) = \int_0^a (\dots)\,dt:

∫0af(x) dx=∫0af(a−t) dt\int_0^a f(x) \, dx = \int_0^a f(a - t) \, dt

Because the integration variable is a dummy variable, replacing tt with xx yields:

∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x) \, dx = \int_0^a f(a - x) \, dx

The Fundamental Doubling Technique§

Knowing that ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(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 II:

I=∫0af(x) dxI = \int_0^a f(x) \, dx

By King's Rule, the same integral can be written as:

I=∫0af(a−x) dxI = \int_0^a f(a - x) \, dx

Adding these two equations:

2I=∫0af(x) dx+∫0af(a−x) dx=∫0a[f(x)+f(a−x)] dx2I = \int_0^a f(x) \, dx + \int_0^a f(a - x) \, dx = \int_0^a \big[ f(x) + f(a - x) \big] \, dx

Solving for II:

I=12∫0a[f(x)+f(a−x)] dxI = \frac{1}{2} \int_0^a \big[ f(x) + f(a - x) \big] \, dx

[!TIP] Why is f(x)+f(a−x)f(x) + f(a - x) Simpler than f(x)f(x)? While f(x)f(x) by itself may be algebraically complicated or non-integrable, the combined sum f(x)+f(a−x)f(x) + f(a - x) pairs each value with its symmetric partner. When the function involves complementary relationships:

  • sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x and cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2} - x\right) = \sin x
  • tan⁡(π4−x)=1−tan⁡x1+tan⁡x\tan\left(\frac{\pi}{4} - x\right) = \frac{1 - \tan x}{1 + \tan x}
  • Rational fractions where denominators match after reflection

the sum f(x)+f(a−x)f(x) + f(a - x) often collapses into a constant CC. When f(x)+f(a−x)=Cf(x) + f(a - x) = C:

2I=∫0aC dx=C⋅a  ⟹  I=C⋅a22I = \int_0^a C \, dx = C \cdot a \implies I = \frac{C \cdot a}{2}

Let us work through several examples illustrating this principle.


Example 1: The Complementary Power Integral§

Evaluate:

I=∫0π/2sin⁡nxsin⁡nx+cos⁡nx dx(n∈R)I = \int_0^{\pi/2} \frac{\sin^n x}{\sin^n x + \cos^n x} \, dx \qquad (n \in \mathbb{R})

Solution:

Here a=π/2a = \pi/2. Apply King's Rule by replacing xx with π/2−x\pi/2 - x:

I=∫0π/2sin⁡n(π2−x)sin⁡n(π2−x)+cos⁡n(π2−x) dxI = \int_0^{\pi/2} \frac{\sin^n\left(\frac{\pi}{2} - x\right)}{\sin^n\left(\frac{\pi}{2} - x\right) + \cos^n\left(\frac{\pi}{2} - x\right)} \, dx

Using the co-function identities sin⁡(π/2−x)=cos⁡x\sin(\pi/2 - x) = \cos x and cos⁡(π/2−x)=sin⁡x\cos(\pi/2 - x) = \sin x:

I=∫0π/2cos⁡nxcos⁡nx+sin⁡nx dxI = \int_0^{\pi/2} \frac{\cos^n x}{\cos^n x + \sin^n x} \, dx

Now add the original expression for II and this transformed expression:

2I=∫0π/2[sin⁡nxsin⁡nx+cos⁡nx+cos⁡nxsin⁡nx+cos⁡nx] dx2I = \int_0^{\pi/2} \left[ \frac{\sin^n x}{\sin^n x + \cos^n x} + \frac{\cos^n x}{\sin^n x + \cos^n x} \right] \, dx

Because both fractions share the exact same denominator:

2I=∫0π/2sin⁡nx+cos⁡nxsin⁡nx+cos⁡nx dx=∫0π/21 dx=[x]0π/2=π22I = \int_0^{\pi/2} \frac{\sin^n x + \cos^n x}{\sin^n x + \cos^n x} \, dx = \int_0^{\pi/2} 1 \, dx = [x]_0^{\pi/2} = \frac{\pi}{2}

Dividing by 22:

I=π4I = \frac{\pi}{4}

Notice that this result holds for any real number nn (whether n=1n = 1, n=2026n = 2026, n=1/2n = 1/2, or n=−3n = -\sqrt{3})! The power nn has no bearing on the final value because the integrand and its reflection always sum to 11.


Example 2: The Logarithmic Tangent Integral§

Evaluate:

I=∫0π/4ln⁡(1+tan⁡x) dxI = \int_0^{\pi/4} \ln(1 + \tan x) \, dx

Solution:

Here the upper limit is a=π/4a = \pi/4. Apply King's Rule:

I=∫0π/4ln⁡(1+tan⁡(π4−x)) dxI = \int_0^{\pi/4} \ln\left(1 + \tan\left(\frac{\pi}{4} - x\right)\right) \, dx

Recall the angle-subtraction identity for tangent:

tan⁡(π4−x)=tan⁡(π/4)−tan⁡x1+tan⁡(π/4)tan⁡x=1−tan⁡x1+tan⁡x\tan\left(\frac{\pi}{4} - x\right) = \frac{\tan(\pi/4) - \tan x}{1 + \tan(\pi/4)\tan x} = \frac{1 - \tan x}{1 + \tan x}

Substitute this into the logarithm:

1+tan⁡(π4−x)=1+1−tan⁡x1+tan⁡x=(1+tan⁡x)+(1−tan⁡x)1+tan⁡x=21+tan⁡x1 + \tan\left(\frac{\pi}{4} - x\right) = 1 + \frac{1 - \tan x}{1 + \tan x} = \frac{(1 + \tan x) + (1 - \tan x)}{1 + \tan x} = \frac{2}{1 + \tan x}

Therefore:

I=∫0π/4ln⁡(21+tan⁡x) dx=∫0π/4[ln⁡2−ln⁡(1+tan⁡x)] dxI = \int_0^{\pi/4} \ln\left(\frac{2}{1 + \tan x}\right) \, dx = \int_0^{\pi/4} \big[ \ln 2 - \ln(1 + \tan x) \big] \, dx

Splitting the integral:

I=∫0π/4ln⁡2 dx−∫0π/4ln⁡(1+tan⁡x) dxI = \int_0^{\pi/4} \ln 2 \, dx - \int_0^{\pi/4} \ln(1 + \tan x) \, dx

The second integral is our original II:

I=ln⁡2⋅[x]0π/4−I=π4ln⁡2−II = \ln 2 \cdot [x]_0^{\pi/4} - I = \frac{\pi}{4} \ln 2 - I

Bringing −I-I to the left side:

2I=π4ln⁡2  ⟹  I=π8ln⁡22I = \frac{\pi}{4} \ln 2 \implies I = \frac{\pi}{8} \ln 2

Example 3: Eliminating an Extraneous Linear Factor§

Evaluate:

I=∫0πxsin⁡x1+cos⁡2x dxI = \int_0^\pi \frac{x \sin x}{1 + \cos^2 x} \, dx

Solution:

The presence of the algebraic factor xx in the numerator prevents standard substitutions like u=cos⁡xu = \cos x. We can eliminate xx by applying King's Rule with a=πa = \pi:

I=∫0π(π−x)sin⁡(π−x)1+cos⁡2(π−x) dxI = \int_0^\pi \frac{(\pi - x) \sin(\pi - x)}{1 + \cos^2(\pi - x)} \, dx

Since sin⁡(π−x)=sin⁡x\sin(\pi - x) = \sin x and cos⁡(π−x)=−cos⁡x  ⟹  cos⁡2(π−x)=cos⁡2x\cos(\pi - x) = -\cos x \implies \cos^2(\pi - x) = \cos^2 x:

I=∫0π(π−x)sin⁡x1+cos⁡2x dx=π∫0πsin⁡x1+cos⁡2x dx−∫0πxsin⁡x1+cos⁡2x dxI = \int_0^\pi \frac{(\pi - x) \sin x}{1 + \cos^2 x} \, dx = \pi \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx - \int_0^\pi \frac{x \sin x}{1 + \cos^2 x} \, dx

The second term is the original integral II:

I=π∫0πsin⁡x1+cos⁡2x dx−II = \pi \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx - I

Adding II to both sides:

2I=π∫0πsin⁡x1+cos⁡2x dx  ⟹  I=π2∫0πsin⁡x1+cos⁡2x dx2I = \pi \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx \implies I = \frac{\pi}{2} \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx

The factor xx has been eliminated. Now substitute u=cos⁡x  ⟹  du=−sin⁡x dxu = \cos x \implies du = -\sin x\,dx:

  • When x=0x = 0, u=1u = 1.
  • When x=πx = \pi, u=−1u = -1.
I=π2∫1−1−du1+u2=π2∫−11du1+u2=π2[arctan⁡u]−11I = \frac{\pi}{2} \int_1^{-1} \frac{-du}{1 + u^2} = \frac{\pi}{2} \int_{-1}^1 \frac{du}{1 + u^2} = \frac{\pi}{2} \Big[ \arctan u \Big]_{-1}^1

Evaluating at the endpoints:

I=π2(π4−(−π4))=π2⋅π2=π24I = \frac{\pi}{2} \left( \frac{\pi}{4} - \left(-\frac{\pi}{4}\right) \right) = \frac{\pi}{2} \cdot \frac{\pi}{2} = \frac{\pi^2}{4}

The General Form of King's Rule: Arbitrary Intervals§

When the lower limit of integration is not zero, the reflection property generalizes naturally to any interval [a,b][a, b].

Theorem: The General Reflection Property§

If f(x)f(x) is integrable on [a,b][a, b], then:

∫abf(x) dx=∫abf(a+b−x) dx\int_a^b f(x) \, dx = \int_a^b f(a + b - x) \, dx

Proof

Let t=a+b−x  ⟹  dx=−dtt = a + b - x \implies dx = -dt.

  • When x=ax = a, t=a+b−a=bt = a + b - a = b.
  • When x=bx = b, t=a+b−b=at = a + b - b = a.

Substituting into the integral:

∫abf(x) dx=∫baf(a+b−t) (−dt)=∫abf(a+b−t) dt\int_a^b f(x) \, dx = \int_b^a f(a + b - t) \, (-dt) = \int_a^b f(a + b - t) \, dt

Renaming the dummy variable tt to xx:

∫abf(x) dx=∫abf(a+b−x) dx\int_a^b f(x) \, dx = \int_a^b f(a + b - x) \, dx

Geometric Interpretation

The transformation x→a+b−xx \to a + b - x reflects the interval [a,b][a, b] across its midpoint:

xmid=a+b2x_{\text{mid}} = \frac{a + b}{2}

Because the distance from any point xx to the midpoint is ∣x−a+b2∣\left|x - \frac{a+b}{2}\right|, replacing xx with a+b−xa + b - x produces the exact same distance on the opposite side:

∣(a+b−x)−a+b2∣=∣a+b2−x∣\left|(a + b - x) - \frac{a+b}{2}\right| = \left|\frac{a+b}{2} - x\right|

The entire curve is reflected across the vertical line x=a+b2x = \frac{a+b}{2}, preserving the enclosed area.


The Midpoint Sum Formula§

If the integrand satisfies the symmetry condition f(x)+f(a+b−x)=Cf(x) + f(a + b - x) = C for some constant CC, then:

2I=∫ab[f(x)+f(a+b−x)] dx=∫abC dx=C(b−a)2I = \int_a^b \big[ f(x) + f(a + b - x) \big] \, dx = \int_a^b C \, dx = C(b - a) I=C⋅b−a2I = C \cdot \frac{b - a}{2}

In particular, for any quotient of the form:

∫abg(x)g(x)+g(a+b−x) dx\int_a^b \frac{g(x)}{g(x) + g(a + b - x)} \, dx

the sum of the integrand and its reflection is always identically 11, so the value of the integral is simply:

I=b−a2I = \frac{b - a}{2}

Example 4: A General Interval Quotient§

Evaluate:

I=∫π/6π/3dx1+tan⁡xI = \int_{\pi/6}^{\pi/3} \frac{dx}{1 + \sqrt{\tan x}}

Solution:

First rewrite tan⁡x\tan x in terms of sine and cosine:

11+sin⁡xcos⁡x=cos⁡xcos⁡x+sin⁡x\frac{1}{1 + \sqrt{\frac{\sin x}{\cos x}}} = \frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}}

Here the limits are a=π/6a = \pi/6 and b=π/3b = \pi/3. The sum of the limits is:

a+b=π6+π3=π2a + b = \frac{\pi}{6} + \frac{\pi}{3} = \frac{\pi}{2}

Applying King's Rule, replace xx with π/2−x\pi/2 - x:

I=∫π/6π/3cos⁡(π/2−x)cos⁡(π/2−x)+sin⁡(π/2−x) dx=∫π/6π/3sin⁡xsin⁡x+cos⁡x dxI = \int_{\pi/6}^{\pi/3} \frac{\sqrt{\cos(\pi/2 - x)}}{\sqrt{\cos(\pi/2 - x)} + \sqrt{\sin(\pi/2 - x)}} \, dx = \int_{\pi/6}^{\pi/3} \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}} \, dx

Adding the two equations:

2I=∫π/6π/3cos⁡x+sin⁡xcos⁡x+sin⁡x dx=∫π/6π/31 dx=π3−π6=π62I = \int_{\pi/6}^{\pi/3} \frac{\sqrt{\cos x} + \sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}} \, dx = \int_{\pi/6}^{\pi/3} 1 \, dx = \frac{\pi}{3} - \frac{\pi}{6} = \frac{\pi}{6}

Dividing by 22:

I=π12I = \frac{\pi}{12}

Example 5: Root Functions on an Arbitrary Interval§

Evaluate:

I=∫24xx+6−x dxI = \int_2^4 \frac{\sqrt{x}}{\sqrt{x} + \sqrt{6 - x}} \, dx

Solution:

The sum of the limits is a+b=2+4=6a + b = 2 + 4 = 6. Replace xx with 6−x6 - x:

I=∫246−x6−x+6−(6−x) dx=∫246−x6−x+x dxI = \int_2^4 \frac{\sqrt{6 - x}}{\sqrt{6 - x} + \sqrt{6 - (6 - x)}} \, dx = \int_2^4 \frac{\sqrt{6 - x}}{\sqrt{6 - x} + \sqrt{x}} \, dx

Adding the two integrals:

2I=∫24x+6−xx+6−x dx=∫241 dx=4−2=2  ⟹  I=12I = \int_2^4 \frac{\sqrt{x} + \sqrt{6 - x}}{\sqrt{x} + \sqrt{6 - x}} \, dx = \int_2^4 1 \, dx = 4 - 2 = 2 \implies I = 1

The Interval Halving Property: Queen's Rule§

While King's Rule reflects the entire interval [0,a][0, a] onto itself, Queen's Rule splits the interval in half at a/2a/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][0, a] with the reduced limit a/2a/2:

∫0af(x) dx=∫0a/2[f(x)+f(a−x)] dx\int_0^a f(x) \, dx = \int_0^{a/2} \big[ f(x) + f(a - x) \big] \, dx

Many older textbooks write this property using 2a2a as the upper limit and aa as the halved limit. In practice, writing the upper limit as 2a2a frequently causes confusion when the upper limit is an odd multiple like π\pi or 11. Writing the property as halving from aa to a/2a/2 makes the geometric operation immediately clear.


Derivation from the Splitting Property§

Queen's Rule is not an independent axiom; it is a direct consequence of splitting the interval [0,a][0, a] at its midpoint a/2a/2 and applying King's reflection to the second half:

∫0af(x) dx=∫0a/2f(x) dx+∫a/2af(x) dx\int_0^a f(x) \, dx = \int_0^{a/2} f(x) \, dx + \int_{a/2}^a f(x) \, dx

Look closely at the second integral, J=∫a/2af(x) dxJ = \int_{a/2}^a f(x)\,dx. Substitute:

x=a−t  ⟹  dx=−dtx = a - t \implies dx = -dt
  • When x=a/2x = a/2, t=a−a/2=a/2t = a - a/2 = a/2.
  • When x=ax = a, t=a−a=0t = a - a = 0.

Therefore:

J=∫a/20f(a−t) (−dt)=∫0a/2f(a−t) dt=∫0a/2f(a−x) dxJ = \int_{a/2}^0 f(a - t) \, (-dt) = \int_0^{a/2} f(a - t) \, dt = \int_0^{a/2} f(a - x) \, dx

Plugging JJ back into the original sum:

∫0af(x) dx=∫0a/2f(x) dx+∫0a/2f(a−x) dx=∫0a/2[f(x)+f(a−x)] dx\int_0^a f(x) \, dx = \int_0^{a/2} f(x) \, dx + \int_0^{a/2} f(a - x) \, dx = \int_0^{a/2} \big[ f(x) + f(a - x) \big] \, dx

Geometric explanation of Queen's Property by halving and folding the interval

Geometrically, the second half [a/2,a][a/2, a] is flipped horizontally and overlaid onto [0,a/2][0, a/2]. At every point x∈[0,a/2]x \in [0, a/2], the height of the folded piece, f(a−x)f(a - x), is added on top of the original height, f(x)f(x), creating a combined height H(x)=f(x)+f(a−x)H(x) = f(x) + f(a - x).


Two Crucial Special Cases§

Depending on how the integrand behaves when reflected across a/2a/2, Queen's Rule leads to two immediate simplifications:

Case 1: Symmetric Function Across the Midpoint (f(a−x)=f(x)f(a - x) = f(x))

If the curve is symmetric about the vertical line x=a/2x = a/2, the folded height doubles:

∫0af(x) dx=2∫0a/2f(x) dxif f(a−x)=f(x)\int_0^a f(x) \, dx = 2 \int_0^{a/2} f(x) \, dx \qquad \text{if } f(a - x) = f(x)

Case 2: Anti-Symmetric Function Across the Midpoint (f(a−x)=−f(x)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)\int_0^a f(x) \, dx = 0 \qquad \text{if } 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)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)f(a - x) = f(x) on [0,a][0, a], King's Rule yields:

I=∫0af(a−x) dx=∫0af(x) dx=II = \int_0^a f(a - x) \, dx = \int_0^a f(x) \, dx = I

Adding them gives 2I=2I2I = 2I, which produces no new information! King's Rule is deadlocked.

However, Queen's Rule halves the upper limit:

I=2∫0a/2f(x) dxI = 2 \int_0^{a/2} f(x) \, dx

On the new smaller interval [0,a/2][0, a/2], the function is no longer evaluated at a−xa - x, but at (a/2)−x(a/2) - x. For trigonometric functions, this often converts sin⁡x\sin x into cos⁡x\cos x, 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πdxa2cos⁡2x+b2sin⁡2x(a,b>0)I = \int_0^\pi \frac{dx}{a^2 \cos^2 x + b^2 \sin^2 x} \qquad (a, b > 0)

The integrand is strictly positive and completely continuous across the entire closed interval [0,π][0, \pi] because the denominator a2cos⁡2x+b2sin⁡2xa^2 \cos^2 x + b^2 \sin^2 x never vanishes. Therefore, the area under the curve must be a positive real number (I>0I > 0).

The Fatal Trap: Blind Substitution without Halving the Limit

A standard textbook method for evaluating rational trigonometric functions of cos⁡2x\cos^2 x and sin⁡2x\sin^2 x is to divide the numerator and denominator by cos⁡2x\cos^2 x:

I=∫0πsec⁡2x dxa2+b2tan⁡2xI = \int_0^\pi \frac{\sec^2 x \, dx}{a^2 + b^2 \tan^2 x}

A student might now blindly set:

u=tan⁡x  ⟹  du=sec⁡2x dxu = \tan x \implies du = \sec^2 x \, dx

Looking at the limits:

  • When the lower limit is x=0x = 0, u=tan⁡0=0u = \tan 0 = 0.
  • When the upper limit is x=πx = \pi, u=tan⁡π=0u = \tan \pi = 0.

Plugging these limits into the transformed integral:

I=∫00dua2+b2u2=0(COMPLETELY WRONG!)I = \int_0^0 \frac{du}{a^2 + b^2 u^2} = 0 \qquad \text{(COMPLETELY WRONG!)}

How could the accumulated area under a strictly positive curve over an interval of width π\pi possibly be zero?

The Root Cause of the Disaster: The substitution function u=tan⁡xu = \tan x is not continuous on [0,π][0, \pi]. It has an infinite vertical jump discontinuity right in the middle of the interval at x=π/2x = \pi/2:

lim⁡x→π/2−tan⁡x=+∞,lim⁡x→π/2+tan⁡x=−∞\lim_{x \to \pi/2^-} \tan x = +\infty, \qquad \lim_{x \to \pi/2^+} \tan x = -\infty

As xx passes through π/2\pi/2, tan⁡x\tan x plunges from +∞+\infty to −∞-\infty, 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=π/2x = \pi/2:

f(π−x)=1a2cos⁡2(π−x)+b2sin⁡2(π−x)=1a2(−cos⁡x)2+b2(sin⁡x)2=1a2cos⁡2x+b2sin⁡2x=f(x)f(\pi - x) = \frac{1}{a^2 \cos^2(\pi - x) + b^2 \sin^2(\pi - x)} = \frac{1}{a^2 (-\cos x)^2 + b^2 (\sin x)^2} = \frac{1}{a^2 \cos^2 x + b^2 \sin^2 x} = f(x)

Because f(π−x)=f(x)f(\pi - x) = f(x), the graph is perfectly symmetric about the vertical line x=π/2x = \pi/2.

Applying Queen's Property allows us to halve the interval from [0,π][0, \pi] to [0,π/2][0, \pi/2]:

I=2∫0π/2dxa2cos⁡2x+b2sin⁡2xI = 2 \int_0^{\pi/2} \frac{dx}{a^2 \cos^2 x + b^2 \sin^2 x}

Now examine what happens on the halved interval [0,π/2)[0, \pi/2):

  • The function u=tan⁡xu = \tan x is strictly continuous, monotonic, and differentiable throughout the interior [0,π/2)[0, \pi/2).
  • The asymptote at x=π/2x = \pi/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!

Now dividing numerator and denominator by cos⁡2x\cos^2 x:

I=2∫0π/2sec⁡2x dxa2+b2tan⁡2xI = 2 \int_0^{\pi/2} \frac{\sec^2 x \, dx}{a^2 + b^2 \tan^2 x}

Substituting u=tan⁡x  ⟹  du=sec⁡2x dxu = \tan x \implies du = \sec^2 x \, dx:

  • When x=0x = 0, u=0u = 0.
  • As x→π/2−x \to \pi/2^-, u→+∞u \to +\infty.
I=2∫0∞dua2+b2u2=2b2∫0∞du(a/b)2+u2I = 2 \int_0^\infty \frac{du}{a^2 + b^2 u^2} = \frac{2}{b^2} \int_0^\infty \frac{du}{(a/b)^2 + u^2}

Using the standard arctangent integral:

I=2b2[1a/barctan⁡(ua/b)]0∞=2ab[arctan⁡(bua)]0∞I = \frac{2}{b^2} \left[ \frac{1}{a/b} \arctan\left(\frac{u}{a/b}\right) \right]_0^\infty = \frac{2}{ab} \Big[ \arctan\left(\frac{b u}{a}\right) \Big]_0^\infty

Evaluating at the limits:

I=2ab(π2−0)=πabI = \frac{2}{ab} \left( \frac{\pi}{2} - 0 \right) = \frac{\pi}{ab}

Notice how natural, exact, and strictly positive this answer is! For instance:

  • If a=1a = 1 and b=1b = 1, the integral is ∫0πdx=π\int_0^\pi dx = \pi, which perfectly matches π1⋅1=π\frac{\pi}{1 \cdot 1} = \pi.
  • If a=1a = 1 and b=2b = 2, the integral is π2\frac{\pi}{2}, rather than the absurd 00 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=tan⁡xu = \tan x 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:

I=∫0π/2ln⁡(sin⁡x) dxI = \int_0^{\pi/2} \ln(\sin x) \, dx

Step 1: King's Rule on the Interval

By King's Rule, replace xx with π/2−x\pi/2 - x:

I=∫0π/2ln⁡(sin⁡(π2−x)) dx=∫0π/2ln⁡(cos⁡x) dxI = \int_0^{\pi/2} \ln\left(\sin\left(\frac{\pi}{2} - x\right)\right) \, dx = \int_0^{\pi/2} \ln(\cos x) \, dx

Step 2: Adding the Integrals

Adding the two equations:

2I=∫0π/2[ln⁡(sin⁡x)+ln⁡(cos⁡x)] dx=∫0π/2ln⁡(sin⁡xcos⁡x) dx2I = \int_0^{\pi/2} \big[ \ln(\sin x) + \ln(\cos x) \big] \, dx = \int_0^{\pi/2} \ln(\sin x \cos x) \, dx

Use the double-angle identity sin⁡xcos⁡x=sin⁡2x2\sin x \cos x = \frac{\sin 2x}{2}:

2I=∫0π/2ln⁡(sin⁡2x2) dx=∫0π/2[ln⁡(sin⁡2x)−ln⁡2] dx2I = \int_0^{\pi/2} \ln\left(\frac{\sin 2x}{2}\right) \, dx = \int_0^{\pi/2} \big[ \ln(\sin 2x) - \ln 2 \big] \, dx

Splitting into two integrals:

2I=∫0π/2ln⁡(sin⁡2x) dx−ln⁡2⋅[x]0π/2=∫0π/2ln⁡(sin⁡2x) dx−π2ln⁡22I = \int_0^{\pi/2} \ln(\sin 2x) \, dx - \ln 2 \cdot [x]_0^{\pi/2} = \int_0^{\pi/2} \ln(\sin 2x) \, dx - \frac{\pi}{2} \ln 2

Step 3: Substitution into the First Term

In the integral K=∫0π/2ln⁡(sin⁡2x) dxK = \int_0^{\pi/2} \ln(\sin 2x)\,dx, substitute u=2x  ⟹  dx=du2u = 2x \implies dx = \frac{du}{2}:

  • When x=0x = 0, u=0u = 0.
  • When x=π/2x = \pi/2, u=πu = \pi.
K=∫0πln⁡(sin⁡u) du2=12∫0πln⁡(sin⁡u) duK = \int_0^\pi \ln(\sin u) \, \frac{du}{2} = \frac{1}{2} \int_0^\pi \ln(\sin u) \, du

Step 4: Applying Queen's Rule to Halve the Limit

Consider the integral ∫0πln⁡(sin⁡u) du\int_0^\pi \ln(\sin u)\,du. Here the upper limit is π\pi. Notice that:

sin⁡(π−u)=sin⁡u  ⟹  ln⁡(sin⁡(π−u))=ln⁡(sin⁡u)\sin(\pi - u) = \sin u \implies \ln(\sin(\pi - u)) = \ln(\sin u)

Because the integrand satisfies f(π−u)=f(u)f(\pi - u) = f(u), we apply Queen's Rule to halve the limit from π\pi to π/2\pi/2:

∫0πln⁡(sin⁡u) du=2∫0π/2ln⁡(sin⁡u) du\int_0^\pi \ln(\sin u) \, du = 2 \int_0^{\pi/2} \ln(\sin u) \, du

Substituting this into KK:

K=12(2∫0π/2ln⁡(sin⁡u) du)=∫0π/2ln⁡(sin⁡u) duK = \frac{1}{2} \left( 2 \int_0^{\pi/2} \ln(\sin u) \, du \right) = \int_0^{\pi/2} \ln(\sin u) \, du

Because uu is a dummy variable, this is precisely our original integral II:

K=IK = I

Step 5: Solving for the Integral

Substitute K=IK = I back into our equation from Step 2:

2I=I−π2ln⁡22I = I - \frac{\pi}{2} \ln 2

Subtracting II from both sides:

I=−π2ln⁡2I = -\frac{\pi}{2} \ln 2

We have established the master identities:

∫0π/2ln⁡(sin⁡x) dx=∫0π/2ln⁡(cos⁡x) dx=−π2ln⁡2\int_0^{\pi/2} \ln(\sin x) \, dx = \int_0^{\pi/2} \ln(\cos x) \, dx = -\frac{\pi}{2} \ln 2

Immediate Corollaries of the Benchmark Integral§

With this benchmark established, many related integrals can be computed instantly:

The Log-Tangent Integral:

∫0π/2ln⁡(tan⁡x) dx=∫0π/2ln⁡(sin⁡xcos⁡x) dx=∫0π/2ln⁡(sin⁡x) dx−∫0π/2ln⁡(cos⁡x) dx=I−I=0\int_0^{\pi/2} \ln(\tan x) \, dx = \int_0^{\pi/2} \ln\left(\frac{\sin x}{\cos x}\right) \, dx = \int_0^{\pi/2} \ln(\sin x) \, dx - \int_0^{\pi/2} \ln(\cos x) \, dx = I - I = 0

The Log-Secant Integral:

∫0π/2ln⁡(sec⁡x) dx=∫0π/2ln⁡(1cos⁡x) dx=−∫0π/2ln⁡(cos⁡x) dx=−(−π2ln⁡2)=π2ln⁡2\int_0^{\pi/2} \ln(\sec x) \, dx = \int_0^{\pi/2} \ln\left(\frac{1}{\cos x}\right) \, dx = -\int_0^{\pi/2} \ln(\cos x) \, dx = -(- \frac{\pi}{2} \ln 2) = \frac{\pi}{2} \ln 2

Integrals on Symmetric Intervals: Even and Odd Functions§

When the interval of integration is symmetric about the origin, [−a,a][-a, a], the parity of the function provides an immediate shortcut.

Theorem: The Symmetric Interval Property§

For any integrable function f(x)f(x) on [−a,a][-a, a]:

∫−aaf(x) dx=∫0a[f(x)+f(−x)] dx\int_{-a}^a f(x) \, dx = \int_0^a \big[ f(x) + f(-x) \big] \, dx

Proof

Split the integral at x=0x = 0:

∫−aaf(x) dx=∫−a0f(x) dx+∫0af(x) dx\int_{-a}^a f(x) \, dx = \int_{-a}^0 f(x) \, dx + \int_0^a f(x) \, dx

In the first integral, substitute x=−t  ⟹  dx=−dtx = -t \implies dx = -dt:

  • When x=−ax = -a, t=at = a.
  • When x=0x = 0, t=0t = 0.
∫−a0f(x) dx=∫a0f(−t) (−dt)=∫0af(−t) dt=∫0af(−x) dx\int_{-a}^0 f(x) \, dx = \int_a^0 f(-t) \, (-dt) = \int_0^a f(-t) \, dt = \int_0^a f(-x) \, dx

Combining the two parts gives:

∫−aaf(x) dx=∫0af(−x) dx+∫0af(x) dx=∫0a[f(x)+f(−x)] dx\int_{-a}^a f(x) \, dx = \int_0^a f(-x) \, dx + \int_0^a f(x) \, dx = \int_0^a \big[ f(x) + f(-x) \big] \, dx

Geometric representation of definite integrals of even and odd functions on symmetric intervals


The Even and Odd Corollaries§

Even Function (f(−x)=f(x)f(-x) = f(x)): The graph has reflectional symmetry across the yy-axis. The area on [−a,0][-a, 0] is identical to the area on [0,a][0, a]:

∫−aaf(x) dx=2∫0af(x) dxif f(−x)=f(x)\int_{-a}^a f(x) \, dx = 2 \int_0^a f(x) \, dx \qquad \text{if } f(-x) = f(x)

Odd Function (f(−x)=−f(x)f(-x) = -f(x)): The graph has rotational (point) symmetry of 180∘180^\circ about the origin. The signed area on [−a,0][-a, 0] is the exact negative of the area on [0,a][0, a], canceling to zero:

∫−aaf(x) dx=0if f(−x)=−f(x)\int_{-a}^a f(x) \, dx = 0 \qquad \text{if } f(-x) = -f(x)

Decomposing an Arbitrary Function into Even and Odd Parts§

Every function f(x)f(x) defined on [−a,a][-a, a] can be uniquely split into the sum of an even component feven(x)f_{\text{even}}(x) and an odd component fodd(x)f_{\text{odd}}(x):

f(x)=f(x)+f(−x)2⏟feven(x)+f(x)−f(−x)2⏟fodd(x)f(x) = \underbrace{\frac{f(x) + f(-x)}{2}}_{f_{\text{even}}(x)} + \underbrace{\frac{f(x) - f(-x)}{2}}_{f_{\text{odd}}(x)}

When integrating over [−a,a][-a, a], the odd part vanishes automatically:

∫−aaf(x) dx=∫−aafeven(x) dx+∫−aafodd(x) dx⏟=0=2∫0afeven(x) dx\int_{-a}^a f(x) \, dx = \int_{-a}^a f_{\text{even}}(x) \, dx + \underbrace{\int_{-a}^a f_{\text{odd}}(x) \, dx}_{= 0} = 2 \int_0^a f_{\text{even}}(x) \, dx

This property allows us to discard massive collections of complicated odd terms in a single glance!


Example 6: Vanishing Odd Terms§

Evaluate:

I=∫−π/2π/2(x7cos⁡x+sin⁡5x+x2+cos⁡x) dxI = \int_{-\pi/2}^{\pi/2} \left( x^7 \cos x + \sin^5 x + x^2 + \cos x \right) \, dx

Solution:

Check the parity of each term:

  • For x7cos⁡xx^7 \cos x: (−x)7cos⁡(−x)=−x7cos⁡x(-x)^7 \cos(-x) = -x^7 \cos x (odd).
  • For sin⁡5x\sin^5 x: sin⁡5(−x)=(−sin⁡x)5=−sin⁡5x\sin^5(-x) = (-\sin x)^5 = -\sin^5 x (odd).
  • For x2x^2: (−x)2=x2(-x)^2 = x^2 (even).
  • For cos⁡x\cos x: cos⁡(−x)=cos⁡x\cos(-x) = \cos x (even).

The integral of the odd terms over [−π/2,π/2][-\pi/2, \pi/2] is identically zero:

I=∫−π/2π/2x7cos⁡x dx⏟=0+∫−π/2π/2sin⁡5x dx⏟=0+2∫0π/2(x2+cos⁡x) dxI = \underbrace{\int_{-\pi/2}^{\pi/2} x^7 \cos x \, dx}_{= 0} + \underbrace{\int_{-\pi/2}^{\pi/2} \sin^5 x \, dx}_{= 0} + 2 \int_0^{\pi/2} (x^2 + \cos x) \, dx

Evaluating the remaining even terms:

I=2[x33+sin⁡x]0π/2=2((π/2)33+sin⁡(π2))=2(π324+1)=π312+2I = 2 \left[ \frac{x^3}{3} + \sin x \right]_0^{\pi/2} = 2 \left( \frac{(\pi/2)^3}{3} + \sin\left(\frac{\pi}{2}\right) \right) = 2 \left( \frac{\pi^3}{24} + 1 \right) = \frac{\pi^3}{12} + 2

The Exponential Fraction Symmetry Trick§

A very common pattern in definite integrals is an integrand with an exponential denominator of the form 11+ex\frac{1}{1 + e^x} multiplied by an even function g(x)g(x):

I=∫−aag(x)1+ex dxwhere g(−x)=g(x)I = \int_{-a}^a \frac{g(x)}{1 + e^x} \, dx \qquad \text{where } g(-x) = g(x)

Notice the algebraic identity:

11+ex+11+e−x=11+ex+exex+1=1+ex1+ex=1\frac{1}{1 + e^x} + \frac{1}{1 + e^{-x}} = \frac{1}{1 + e^x} + \frac{e^x}{e^x + 1} = \frac{1 + e^x}{1 + e^x} = 1

Applying the symmetric interval property:

I=∫0a[g(x)1+ex+g(−x)1+e−x] dxI = \int_0^a \left[ \frac{g(x)}{1 + e^x} + \frac{g(-x)}{1 + e^{-x}} \right] \, dx

Since g(−x)=g(x)g(-x) = g(x):

I=∫0ag(x)[11+ex+11+e−x] dx=∫0ag(x)⋅1 dx=∫0ag(x) dxI = \int_0^a g(x) \left[ \frac{1}{1 + e^x} + \frac{1}{1 + e^{-x}} \right] \, dx = \int_0^a g(x) \cdot 1 \, dx = \int_0^a g(x) \, dx

The factor 11+ex\frac{1}{1 + e^x} completely disappears!


Example 7: An Exponential Denominator on a Symmetric Interval§

Evaluate:

I=∫−π/2π/2cos⁡x1+2026x dxI = \int_{-\pi/2}^{\pi/2} \frac{\cos x}{1 + 2026^x} \, dx

Solution:

The numerator cos⁡x\cos x is even, and the denominator is of the form 1+ax1 + a^x where a=2026>0a = 2026 > 0.

Applying the symmetric interval formula:

I=∫0π/2[cos⁡x1+2026x+cos⁡(−x)1+2026−x] dxI = \int_0^{\pi/2} \left[ \frac{\cos x}{1 + 2026^x} + \frac{\cos(-x)}{1 + 2026^{-x}} \right] \, dx

Since cos⁡(−x)=cos⁡x\cos(-x) = \cos x and 11+2026−x=2026x2026x+1\frac{1}{1 + 2026^{-x}} = \frac{2026^x}{2026^x + 1}:

I=∫0π/2cos⁡x[11+2026x+2026x1+2026x] dx=∫0π/2cos⁡x dx=[sin⁡x]0π/2=1−0=1I = \int_0^{\pi/2} \cos x \left[ \frac{1}{1 + 2026^x} + \frac{2026^x}{1 + 2026^x} \right] \, dx = \int_0^{\pi/2} \cos x \, dx = \Big[ \sin x \Big]_0^{\pi/2} = 1 - 0 = 1

Shifting and Scaling Properties§

When transforming a definite integral—for instance, to move limits to 00, center an interval around 00 to reveal even/odd symmetry, or simplify f(2x−4)f(2x - 4) into f(x)f(x)—students often write out a full substitution (u=x+cu = x + c or u=kxu = kx), compute dudu, 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.

1. The Shifting (Translation) Property§

Theorem: Horizontal Shift of Limits

For any real constant cc:

∫abf(x) dx=∫a+cb+cf(x−c) dx=∫a−cb−cf(x+c) dx\int_a^b f(x)\,dx = \int_{a+c}^{b+c} f(x - c)\,dx = \int_{a-c}^{b-c} f(x + c)\,dx

Geometric Meaning and Quick Proof

Shifting the graph of y=f(x)y = f(x) horizontally by cc units to the right produces the curve y=f(x−c)y = f(x - c) over [a+c,b+c][a + c, b + c]. Because rigid horizontal translation does not stretch or compress the region, the enclosed area remains identical.

Geometric illustration of the shifting property preserving area under horizontal translation

Algebraically, setting t=x−ct = x - c (so dt=dxdt = dx) in ∫a+cb+cf(x−c) dx\int_{a+c}^{b+c} f(x - c)\,dx gives ∫abf(t) dt\int_a^b f(t)\,dt directly. Once you remember the rule below, you never need to write out this substitution again.

Rule of Thumb (Opposite Operations):

  • Add cc to both limits   ⟺  \iff replace xx with x−cx - c inside f(x)f(x).
  • Subtract cc from both limits   ⟺  \iff replace xx with x+cx + c inside f(x)f(x).

Example: Centering an Interval to Reveal Odd Symmetry

Evaluate:

I=∫13(x−2)5cos⁡(x−2) dxI = \int_1^3 (x - 2)^5 \cos(x - 2)\,dx

Solution: Instead of substituting u=x−2u = x - 2, subtract 22 from both limits and replace xx with x+2x + 2 inside the integrand:

I=∫1−23−2((x+2)−2)5cos⁡((x+2)−2) dx=∫−11x5cos⁡x dxI = \int_{1-2}^{3-2} \big((x + 2) - 2\big)^5 \cos\big((x + 2) - 2\big)\,dx = \int_{-1}^{1} x^5 \cos x\,dx

Since x5cos⁡xx^5 \cos x is an odd function on the symmetric interval [−1,1][-1, 1], we obtain immediately:

I=0I = 0

Example: Simplifying an Irrational Integrand

Evaluate:

I=∫25xx−2 dxI = \int_2^5 x\sqrt{x - 2}\,dx

Solution: Subtract 22 from both limits and replace xx with x+2x + 2 inside the integrand:

I=∫03(x+2)x dx=∫03(x3/2+2x1/2)dxI = \int_0^3 (x + 2)\sqrt{x}\,dx = \int_0^3 \left(x^{3/2} + 2x^{1/2}\right) dx

Evaluating directly:

I=[25x5/2+43x3/2]03=25(93)+43(33)=1835+43=3835I = \left[ \frac{2}{5}x^{5/2} + \frac{4}{3}x^{3/2} \right]_0^3 = \frac{2}{5}(9\sqrt{3}) + \frac{4}{3}(3\sqrt{3}) = \frac{18\sqrt{3}}{5} + 4\sqrt{3} = \frac{38\sqrt{3}}{5}

2. The Scaling (Dilation) Property§

Theorem: Horizontal Scaling of Limits

For any nonzero real constant k≠0k \neq 0:

∫abf(x) dx=k∫a/kb/kf(kx) dx\int_a^b f(x)\,dx = k \int_{a/k}^{b/k} f(kx)\,dx

Equivalently, to simplify a scaled argument f(kx)f(kx) back to f(x)f(x):

∫abf(kx) dx=1k∫kakbf(x) dx\int_a^b f(kx)\,dx = \frac{1}{k} \int_{ka}^{kb} f(x)\,dx

(Note: When k<0k < 0, multiplying or dividing the limits by kk reverses their order, and the factor kk or 1k\frac{1}{k} automatically carries the minus sign needed to keep the signed area exact.)

Geometric Meaning and Quick Proof

Replacing xx with kxkx (for k>0k > 0) compresses the graph horizontally by a factor of kk, shrinking the interval [a,b][a, b] to [a/k,b/k][a/k, b/k] while keeping every height yy unchanged. Since the width shrinks by a factor of kk, the area shrinks by a factor of kk—so multiplying the new integral by kk restores the original area.

Geometric illustration of the scaling property compressing width by k

Algebraically, setting t=kxt = kx (so dt=k dxdt = k\,dx) in ∫a/kb/kf(kx) dx\int_{a/k}^{b/k} f(kx)\,dx yields 1k∫abf(t) dt\frac{1}{k}\int_a^b f(t)\,dt.

Rule of Thumb:

  • Divide both limits by kk   ⟺  \iff replace xx with kxkx and multiply the integral by kk.
  • Multiply both limits by kk   ⟺  \iff replace kxkx with xx and divide the integral by kk.

Example: Fast Scaling to Standard Trigonometric Limits

Evaluate:

I=∫0π/4sin⁡(2x)sin⁡(2x)+cos⁡(2x) dxI = \int_0^{\pi/4} \frac{\sin(2x)}{\sin(2x) + \cos(2x)}\,dx

Solution: Multiply both limits by 22, replace 2x2x with xx, and divide the integral by 22:

I=12∫0π/2sin⁡xsin⁡x+cos⁡x dxI = \frac{1}{2} \int_0^{\pi/2} \frac{\sin x}{\sin x + \cos x}\,dx

From King's Rule on [0,π/2][0, \pi/2] (Example 1), the integral equals π4\frac{\pi}{4}. Therefore:

I=12⋅π4=π8I = \frac{1}{2} \cdot \frac{\pi}{4} = \frac{\pi}{8}

Example: Combining Shifting and Scaling in Two Direct Steps

Evaluate:

I=∫1311+(2x−4)2 dxI = \int_1^3 \frac{1}{1 + (2x - 4)^2}\,dx

Solution: First, shift the limits by −2-2 (replace xx with x+2x + 2, so 2x−42x - 4 becomes 2(x+2)−4=2x2(x+2) - 4 = 2x):

I=∫−1111+(2x)2 dxI = \int_{-1}^{1} \frac{1}{1 + (2x)^2}\,dx

Next, scale by multiplying the limits by 22 (replace 2x2x with xx and divide by 22):

I=12∫−2211+x2 dxI = \frac{1}{2} \int_{-2}^{2} \frac{1}{1 + x^2}\,dx

Using even symmetry on [−2,2][-2, 2]:

I=∫0211+x2 dx=[tan⁡−1x]02=tan⁡−1(2)I = \int_0^2 \frac{1}{1 + x^2}\,dx = \Big[ \tan^{-1} x \Big]_0^2 = \tan^{-1}(2)

Miscellaneous Examples§


Example 8: Eliminating Discontinuities Using Queen's Rule§

Evaluate:

I=∫0πxtan⁡xsec⁡x+cos⁡x dxI = \int_0^\pi \frac{x \tan x}{\sec x + \cos x} \, dx

Solution:

First eliminate the algebraic factor xx using King's Rule on [0,π][0, \pi]: Replace xx with π−x\pi - x:

I=∫0π(π−x)tan⁡(π−x)sec⁡(π−x)+cos⁡(π−x) dxI = \int_0^\pi \frac{(\pi - x) \tan(\pi - x)}{\sec(\pi - x) + \cos(\pi - x)} \, dx

Since tan⁡(π−x)=−tan⁡x\tan(\pi - x) = -\tan x, sec⁡(π−x)=−sec⁡x\sec(\pi - x) = -\sec x, and cos⁡(π−x)=−cos⁡x\cos(\pi - x) = -\cos x:

I=∫0π(π−x)(−tan⁡x)(−sec⁡x)+(−cos⁡x) dx=∫0π(π−x)tan⁡xsec⁡x+cos⁡x dxI = \int_0^\pi \frac{(\pi - x) (-\tan x)}{(-\sec x) + (-\cos x)} \, dx = \int_0^\pi \frac{(\pi - x) \tan x}{\sec x + \cos x} \, dx

Adding the original and transformed integrals:

2I=π∫0πtan⁡xsec⁡x+cos⁡x dx  ⟹  I=π2∫0πtan⁡xsec⁡x+cos⁡x dx2I = \pi \int_0^\pi \frac{\tan x}{\sec x + \cos x} \, dx \implies I = \frac{\pi}{2} \int_0^\pi \frac{\tan x}{\sec x + \cos x} \, dx

Now convert the trigonometric terms to sines and cosines:

tan⁡xsec⁡x+cos⁡x=sin⁡xcos⁡x1cos⁡x+cos⁡x=sin⁡x1+cos⁡2x\frac{\tan x}{\sec x + \cos x} = \frac{\frac{\sin x}{\cos x}}{\frac{1}{\cos x} + \cos x} = \frac{\sin x}{1 + \cos^2 x}

So:

I=π2∫0πsin⁡x1+cos⁡2x dxI = \frac{\pi}{2} \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx

Notice that sin⁡(π−x)=sin⁡x\sin(\pi - x) = \sin x and cos⁡2(π−x)=cos⁡2x\cos^2(\pi - x) = \cos^2 x. The integrand is symmetric about π/2\pi/2. Apply Queen's Rule to halve the upper limit:

∫0πsin⁡x1+cos⁡2x dx=2∫0π/2sin⁡x1+cos⁡2x dx\int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx = 2 \int_0^{\pi/2} \frac{\sin x}{1 + \cos^2 x} \, dx

Therefore:

I=π2(2∫0π/2sin⁡x1+cos⁡2x dx)=π∫0π/2sin⁡x1+cos⁡2x dxI = \frac{\pi}{2} \left( 2 \int_0^{\pi/2} \frac{\sin x}{1 + \cos^2 x} \, dx \right) = \pi \int_0^{\pi/2} \frac{\sin x}{1 + \cos^2 x} \, dx

Substitute u=cos⁡x  ⟹  du=−sin⁡x dxu = \cos x \implies du = -\sin x\,dx:

  • When x=0x = 0, u=1u = 1.
  • When x=π/2x = \pi/2, u=0u = 0.
I=π∫10−du1+u2=π∫01du1+u2=π[arctan⁡u]01=π(π4−0)=π24I = \pi \int_1^0 \frac{-du}{1 + u^2} = \pi \int_0^1 \frac{du}{1 + u^2} = \pi \Big[ \arctan u \Big]_0^1 = \pi \left( \frac{\pi}{4} - 0 \right) = \frac{\pi^2}{4}

Example 9: Combining Substitution with King's Rule§

Evaluate:

I=∫01ln⁡(1+x)1+x2 dxI = \int_0^1 \frac{\ln(1 + x)}{1 + x^2} \, dx

Solution:

The presence of 1+x21 + x^2 in the denominator suggests the trigonometric substitution:

x=tan⁡θ  ⟹  dx=sec⁡2θ dθx = \tan\theta \implies dx = \sec^2\theta \, d\theta
  • When x=0x = 0, θ=0\theta = 0.
  • When x=1x = 1, θ=π/4\theta = \pi/4.

Substituting:

I=∫0π/4ln⁡(1+tan⁡θ)1+tan⁡2θ⋅sec⁡2θ dθ=∫0π/4ln⁡(1+tan⁡θ) dθI = \int_0^{\pi/4} \frac{\ln(1 + \tan\theta)}{1 + \tan^2\theta} \cdot \sec^2\theta \, d\theta = \int_0^{\pi/4} \ln(1 + \tan\theta) \, d\theta

This is precisely the integral evaluated in Example 2! By King's Rule on [0,π/4][0, \pi/4]:

I=π8ln⁡2I = \frac{\pi}{8} \ln 2

Example 10: Symmetry about a Shifted Linear Denominator§

Evaluate:

I=∫0πxsin⁡2xsin⁡(π2cos⁡x)2x−π dxI = \int_0^\pi \frac{x \sin 2x \sin\left(\frac{\pi}{2}\cos x\right)}{2x - \pi} \, dx

Solution:

The factor 2x−π2x - \pi in the denominator vanishes at x=π/2x = \pi/2. Let us test King's Rule with a=πa = \pi by replacing xx with π−x\pi - x:

  • The denominator becomes: 2(π−x)−π=π−2x=−(2x−π)2(\pi - x) - \pi = \pi - 2x = -(2x - \pi).
  • sin⁡2(π−x)=sin⁡(2π−2x)=−sin⁡2x\sin 2(\pi - x) = \sin(2\pi - 2x) = -\sin 2x.
  • cos⁡(π−x)=−cos⁡x  ⟹  sin⁡(π2cos⁡(π−x))=sin⁡(−π2cos⁡x)=−sin⁡(π2cos⁡x)\cos(\pi - x) = -\cos x \implies \sin\left(\frac{\pi}{2}\cos(\pi - x)\right) = \sin\left(-\frac{\pi}{2}\cos x\right) = -\sin\left(\frac{\pi}{2}\cos x\right).

Substituting these into the integral:

I=∫0π(π−x)(−sin⁡2x)(−sin⁡(π2cos⁡x))−(2x−π) dx=−∫0π(π−x)sin⁡2xsin⁡(π2cos⁡x)2x−π dxI = \int_0^\pi \frac{(\pi - x) (-\sin 2x) \left(-\sin\left(\frac{\pi}{2}\cos x\right)\right)}{-(2x - \pi)} \, dx = -\int_0^\pi \frac{(\pi - x) \sin 2x \sin\left(\frac{\pi}{2}\cos x\right)}{2x - \pi} \, dx

Adding the original and transformed integrals:

2I=∫0π[x−(π−x)]sin⁡2xsin⁡(π2cos⁡x)2x−π dx=∫0π(2x−π)sin⁡2xsin⁡(π2cos⁡x)2x−π dx2I = \int_0^\pi \frac{[x - (\pi - x)] \sin 2x \sin\left(\frac{\pi}{2}\cos x\right)}{2x - \pi} \, dx = \int_0^\pi \frac{(2x - \pi) \sin 2x \sin\left(\frac{\pi}{2}\cos x\right)}{2x - \pi} \, dx

The problematic factor 2x−π2x - \pi cancels out completely:

2I=∫0πsin⁡2xsin⁡(π2cos⁡x) dx2I = \int_0^\pi \sin 2x \sin\left(\frac{\pi}{2}\cos x\right) \, dx

Now expand sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x \cos x:

2I=∫0π2sin⁡xcos⁡xsin⁡(π2cos⁡x) dx  ⟹  I=∫0πsin⁡xcos⁡xsin⁡(π2cos⁡x) dx2I = \int_0^\pi 2\sin x \cos x \sin\left(\frac{\pi}{2}\cos x\right) \, dx \implies I = \int_0^\pi \sin x \cos x \sin\left(\frac{\pi}{2}\cos x\right) \, dx

Substitute u=π2cos⁡x  ⟹  du=−π2sin⁡x dx  ⟹  sin⁡x dx=−2π duu = \frac{\pi}{2}\cos x \implies du = -\frac{\pi}{2}\sin x\,dx \implies \sin x\,dx = -\frac{2}{\pi}\,du:

  • Also cos⁡x=2πu\cos x = \frac{2}{\pi}u.
  • When x=0x = 0, u=π/2u = \pi/2.
  • When x=πx = \pi, u=−π/2u = -\pi/2.
I=∫π/2−π/2(2πu)sin⁡u(−2π du)=4π2∫−π/2π/2usin⁡u duI = \int_{\pi/2}^{-\pi/2} \left(\frac{2}{\pi}u\right) \sin u \left(-\frac{2}{\pi}\,du\right) = \frac{4}{\pi^2} \int_{-\pi/2}^{\pi/2} u \sin u \, du

Notice that usin⁡uu \sin u is an even function because (−u)sin⁡(−u)=(−u)(−sin⁡u)=usin⁡u(-u)\sin(-u) = (-u)(-\sin u) = u\sin u. Therefore:

I=4π2(2∫0π/2usin⁡u du)=8π2∫0π/2usin⁡u duI = \frac{4}{\pi^2} \left( 2 \int_0^{\pi/2} u \sin u \, du \right) = \frac{8}{\pi^2} \int_0^{\pi/2} u \sin u \, du

Integrate by parts: ∫usin⁡u du=−ucos⁡u+∫cos⁡u du=−ucos⁡u+sin⁡u\int u \sin u\,du = -u \cos u + \int \cos u\,du = -u \cos u + \sin u:

∫0π/2usin⁡u du=[−ucos⁡u+sin⁡u]0π/2=(0+1)−(0+0)=1\int_0^{\pi/2} u \sin u \, du = \Big[ -u \cos u + \sin u \Big]_0^{\pi/2} = \left( 0 + 1 \right) - (0 + 0) = 1

Thus:

I=8π2⋅1=8π2I = \frac{8}{\pi^2} \cdot 1 = \frac{8}{\pi^2}

Example 11: Anti-Symmetry in Logarithmic Rational Functions§

Evaluate:

I=∫−11ln⁡(2−x2+x)dx1+x2I = \int_{-1}^1 \ln\left(\frac{2 - x}{2 + x}\right) \frac{dx}{1 + x^2}

Solution:

Check the parity of the integrand f(x)=ln⁡(2−x2+x)11+x2f(x) = \ln\left(\frac{2 - x}{2 + x}\right) \frac{1}{1 + x^2}:

f(−x)=ln⁡(2−(−x)2+(−x))11+(−x)2=ln⁡(2+x2−x)11+x2f(-x) = \ln\left(\frac{2 - (-x)}{2 + (-x)}\right) \frac{1}{1 + (-x)^2} = \ln\left(\frac{2 + x}{2 - x}\right) \frac{1}{1 + x^2}

Using the reciprocal property of logarithms ln⁡(1/u)=−ln⁡u\ln(1/u) = -\ln u:

ln⁡(2+x2−x)=ln⁡((2−x2+x)−1)=−ln⁡(2−x2+x)\ln\left(\frac{2 + x}{2 - x}\right) = \ln\left(\left(\frac{2 - x}{2 + x}\right)^{-1}\right) = -\ln\left(\frac{2 - x}{2 + x}\right)

Therefore:

f(−x)=−f(x)f(-x) = -f(x)

The integrand is an odd function over the symmetric interval [−1,1][-1, 1]. By the odd function property:

I=0I = 0

Summary of Symmetry and Transformation Properties§

Property Name Formula Key Structural Trigger
King's Rule (00 to aa) ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx Trigonometric complements (sin⁡↔cos⁡\sin \leftrightarrow \cos), linear factor xx in numerator
King's Rule (aa to bb) ∫abf(x) dx=∫abf(a+b−x) dx\int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx Quotients matching g(x)+g(a+b−x)g(x) + g(a+b-x), endpoints sum to simple angle
Queen's Rule (Halving) ∫0af(x) dx=∫0a/2[f(x)+f(a−x)] dx\int_0^a f(x)\,dx = \int_0^{a/2} [f(x) + f(a - x)]\,dx Upper limit is π\pi or 2π2\pi, symmetry f(a−x)=f(x)f(a-x) = f(x), interior discontinuity at a/2a/2
Symmetric Interval (Even) ∫−aaf(x) dx=2∫0af(x) dx\int_{-a}^a f(x)\,dx = 2\int_0^a f(x)\,dx f(−x)=f(x)f(-x) = f(x), cosine, even powers of xx
Symmetric Interval (Odd) ∫−aaf(x) dx=0\int_{-a}^a f(x)\,dx = 0 f(−x)=−f(x)f(-x) = -f(x), sine, odd powers of xx, ln⁡((a−x)/(a+x))\ln((a-x)/(a+x))
Exponential Fraction ∫−aag(x)1+ex dx=∫0ag(x) dx\int_{-a}^a \frac{g(x)}{1 + e^x}\,dx = \int_0^a g(x)\,dx Denominator 1+ex1 + e^x or 1+ax1 + a^x over [−a,a][-a, a] with even numerator g(x)g(x)
Shifting Property ∫abf(x) dx=∫a+cb+cf(x−c) dx\int_a^b f(x)\,dx = \int_{a+c}^{b+c} f(x - c)\,dx Shifted argument f(x±c)f(x \pm c), centering an interval around 00
Scaling Property ∫abf(kx) dx=1k∫kakbf(x) dx\int_a^b f(kx)\,dx = \frac{1}{k}\int_{ka}^{kb} f(x)\,dx Scaled argument f(kx)f(kx), matching standard limits like [0,π/2][0, \pi/2]
Section 8 of 15 · Definite Integration

Mark this section complete when you have worked through its proofs.