Skip to content

Transformation and Equivalence of Definite Integrals

Some definite integrals cannot be solved in terms of elementary functions—neither by substitution, nor by integration by parts, nor by partial fractions. Yet quite often, you are not asked to find the numerical value of a single integral \(I_1\). Instead, you are given two seemingly unrelated non-elementary integrals, \(I_1\) and \(I_2\), and asked to express \(I_2\) in terms of \(I_1\), find their sum \(I_1 + I_2\), or prove an exact ratio like \(\frac{I_1}{I_2} = \frac{2}{3}\).

In such problems, trying to compute either integral individually is a dead end. The key is to transform one integral directly into the other using the structural tools of definite integration:

  • Shifting and Scaling to align different intervals of integration without messy algebra.
  • King's Rule and Queen's Rule to reflect or fold symmetric expressions.
  • Periodicity and Fractional-Part Reductions to collapse long intervals down to a single fundamental period.
  • Targeted Substitutions (such as \(x = \frac{1}{t}\), \(x = \frac{1 - t}{1 + t}\), \(x = \tan\theta\), or \(x = \sin^2\theta\)) to reshape denominators and arguments.
  • Integration by Parts or Product Differentiation to trade one integrand for another while keeping only exact boundary values.

The Inverse-Function Integral Theorem

Before exploring general transformation techniques, there is one foundational theorem that turns pairs of integrals involving a function and its inverse into a single boundary calculation.

Theorem (Inverse-Function Integral Identity): Let \(f\) be continuous and strictly monotonic (either strictly increasing or strictly decreasing, hence invertible) on \([a, b]\). Then:

\[ \int_a^b f(x)\,dx + \int_{f(a)}^{f(b)} f^{-1}(y)\,dy = b f(b) - a f(a) \]

(Because the variable of integration is a dummy variable, you will often see the second integral written with \(x\) instead of \(y\): \(\int_a^b f(x)\,dx + \int_{f(a)}^{f(b)} f^{-1}(x)\,dx = b f(b) - a f(a)\).)

Graphical Explanation: Reflection Across the Line y = x

Take a small strictly increasing portion of \(y = f(x)\) in the first quadrant lying completely below the line \(y = x\) and close to the \(x\)-axis, so that \(0 < f(a) < f(b) < a < b\).

Graphical proof of the Inverse-Function Integral Theorem using reflection across y = x

  1. Split the L-shaped rectangle difference along \(y = f(x)\): Removing the inner rectangle \([0, a] \times [0, f(a)]\) (area \(a f(a)\)) from the outer rectangle \([0, b] \times [0, f(b)]\) (area \(b f(b)\)) leaves an L-shaped region of area \(b f(b) - a f(a)\). The arc \(y = f(x)\) divides this L-shape into two parts:
  2. \(A_1\): the area between \(y = f(x)\) and the \(x\)-axis from \(x = a\) to \(x = b\), so \(A_1 = \int_a^b f(x)\,dx\).
  3. \(A_2\): the area between \(y = f(x)\) and the \(y\)-axis from \(y = f(a)\) to \(y = f(b)\).

Together, \(A_1 + A_2 = b f(b) - a f(a)\).

  1. Reflect \(A_2\) across \(y = x\): The graph of \(y = f^{-1}(x)\) is the mirror reflection of \(y = f(x)\) across the line \(y = x\) (swapping coordinates \((x, y) \leftrightarrow (y, x)\)). Under this reflection:
  2. The arc \(y = f(x)\) maps to \(y = f^{-1}(x)\) (joining \((f(a), a)\) to \((f(b), b)\)).
  3. The \(y\)-axis maps onto the \(x\)-axis, and the horizontal bounds \(y = f(a)\) and \(y = f(b)\) map onto the vertical bounds \(x = f(a)\) and \(x = f(b)\).

Consequently, region \(A_2\) reflects rigidly onto region \(A_2'\)—the area between \(y = f^{-1}(x)\) and the \(x\)-axis from \(x = f(a)\) to \(x = f(b)\), which equals \(\int_{f(a)}^{f(b)} f^{-1}(x)\,dx\). Since reflection preserves area (\(A_2 = A_2'\)), we obtain:

\[ \int_a^b f(x)\,dx + \int_{f(a)}^{f(b)} f^{-1}(x)\,dx = b f(b) - a f(a) \]

Algebraic Proof

The theorem also follows immediately from substitution and integration by parts—and this algebraic proof confirms that the formula holds for any real endpoints \(a, b\) (even negative ones) and for decreasing functions as well.

Assume \(f\) is differentiable on \((a, b)\) and substitute \(y = f(x)\) into the second integral. Then \(f^{-1}(y) = x\), \(dy = f'(x)\,dx\), while \(y = f(a)\) maps to \(x = a\) and \(y = f(b)\) maps to \(x = b\):

\[ \int_{f(a)}^{f(b)} f^{-1}(y)\,dy = \int_a^b x f'(x)\,dx \]

Integrate by parts with \(u = x\) and \(dv = f'(x)\,dx\) (so \(v = f(x)\)):

\[ \int_a^b x f'(x)\,dx = \Big[x f(x)\Big]_a^b - \int_a^b f(x)\,dx = b f(b) - a f(a) - \int_a^b f(x)\,dx \]

Moving \(-\int_a^b f(x)\,dx\) to the left side gives:

\[ \int_a^b f(x)\,dx + \int_{f(a)}^{f(b)} f^{-1}(y)\,dy = b f(b) - a f(a) \]

(Equivalently, you can simply integrate the product rule \(\frac{d}{dx}\big(x f(x)\big) = f(x) + x f'(x)\) from \(a\) to \(b\).)

Worked Examples on the Inverse-Function Theorem

Example 1: Evaluating an Inverse Integral When the Inverse Has No Formula

Let \(f(x) = x^5 + 2x + 1\). Evaluate \(\int_1^4 f^{-1}(x)\,dx\).

Solution: We cannot solve \(y = x^5 + 2x + 1\) for \(x\) in terms of elementary functions, so finding a formula for \(f^{-1}(x)\) is impossible. However, \(f'(x) = 5x^4 + 2 > 0\) for all \(x \in \mathbb{R}\), so \(f\) is strictly increasing and invertible.

Check the endpoints matching the limits \(1\) and \(4\):

\[ f(0) = 0^5 + 2(0) + 1 = 1 \qquad \text{and} \qquad f(1) = 1^5 + 2(1) + 1 = 4 \]

By the Inverse-Function Integral Theorem with \(a = 0\) and \(b = 1\):

\[ \int_0^1 (x^5 + 2x + 1)\,dx + \int_1^4 f^{-1}(x)\,dx = 1 \cdot f(1) - 0 \cdot f(0) = 4 \]

Evaluating the polynomial integral directly:

\[ \int_0^1 (x^5 + 2x + 1)\,dx = \left[\frac{x^6}{6} + x^2 + x\right]_0^1 = \frac{1}{6} + 1 + 1 = \frac{13}{6} \]

Therefore:

\[ \int_1^4 f^{-1}(x)\,dx = 4 - \frac{13}{6} = \frac{11}{6} \]

Example 2: Sum of Two Non-Elementary Exponential and Logarithmic Integrals

Evaluate:

\[ \int_0^1 e^{x^2}\,dx + \int_1^e \sqrt{\ln x}\,dx \]

Solution: Neither \(\int e^{x^2}\,dx\) nor \(\int \sqrt{\ln x}\,dx\) has an elementary antiderivative. Let \(f(x) = e^{x^2}\) on \([0, 1]\). Since \(f'(x) = 2x e^{x^2} > 0\) on \((0, 1)\), \(f\) is strictly increasing on \([0, 1]\) with \(f(0) = 1\) and \(f(1) = e\).

To find \(f^{-1}(y)\) on \([1, e]\), solve \(y = e^{x^2}\) with \(x \ge 0\):

\[ \ln y = x^2 \implies x = \sqrt{\ln y} \]

Thus \(f^{-1}(x) = \sqrt{\ln x}\) on \([1, e]\). Applying the Inverse-Function Integral Theorem with \(a = 0\) and \(b = 1\):

\[ \int_0^1 e^{x^2}\,dx + \int_1^e \sqrt{\ln x}\,dx = 1 \cdot f(1) - 0 \cdot f(0) = 1 \cdot e - 0 \cdot 1 = e \]

Example 3: Strictly Decreasing Inverses Yield an Exact Equality

Prove that:

\[ \int_0^1 \sqrt{1 - x^3}\,dx = \int_0^1 (1 - x^2)^{1/3}\,dx \]

Solution: Let \(f(x) = \sqrt{1 - x^3}\) on \([0, 1]\). Notice that \(f\) is continuous and strictly decreasing from \(f(0) = 1\) down to \(f(1) = 0\). Solving \(y = \sqrt{1 - x^3}\) for \(x \in [0, 1]\) gives \(y^2 = 1 - x^3\), so:

\[ f^{-1}(y) = (1 - y^2)^{1/3} \]

Apply the Inverse-Function Integral Theorem with \(a = 0\) and \(b = 1\) (keeping the limits in the order \(f(0) = 1\) to \(f(1) = 0\)):

\[ \int_0^1 \sqrt{1 - x^3}\,dx + \int_1^0 (1 - y^2)^{1/3}\,dy = 1 \cdot f(1) - 0 \cdot f(0) = 1(0) - 0(1) = 0 \]

Reversing the limits of the second integral introduces a minus sign:

\[ \int_0^1 \sqrt{1 - x^3}\,dx - \int_0^1 (1 - y^2)^{1/3}\,dy = 0 \]

Hence:

\[ \int_0^1 \sqrt{1 - x^3}\,dx = \int_0^1 (1 - x^2)^{1/3}\,dx \]

(Geometrically, both integrals measure the exact same first-quadrant area bounded by the curve \(x^3 + y^2 = 1\) and the coordinate axes—whether sliced vertically with \(dx\) or horizontally with \(dy\).)

Area bounded by y = sqrt(1 - x^3) measured by vertical and horizontal strips


Example 4: Disguised Inverse Pair Requiring a Horizontal Shift First

Evaluate the sum \(I_1 + I_2\), where:

\[ I_1 = \int_0^1 \sqrt[5]{1 + x^3}\,dx \qquad \text{and} \qquad I_2 = \int_0^{2^{1/5} - 1} \sqrt[3]{(1 + t)^5 - 1}\,dt \]

Solution: Notice the shifted term \((1 + t)\) inside \(I_2\). Apply the shifting property to \(I_2\): add \(1\) to both limits and replace \(t\) with \(y - 1\):

\[ I_2 = \int_1^{2^{1/5}} \big(y^5 - 1\big)^{1/3}\,dy \]

Now set \(f(x) = (1 + x^3)^{1/5}\) on \([0, 1]\). Clearly \(f\) is strictly increasing with \(f(0) = 1\) and \(f(1) = 2^{1/5}\), and solving \(y = (1 + x^3)^{1/5}\) for \(x\) gives \(f^{-1}(y) = (y^5 - 1)^{1/3}\).

By the Inverse-Function Integral Theorem with \(a = 0\) and \(b = 1\):

\[ I_1 + I_2 = \int_0^1 (1 + x^3)^{1/5}\,dx + \int_1^{2^{1/5}} (y^5 - 1)^{1/3}\,dy = 1 \cdot 2^{1/5} - 0 \cdot 1 = 2^{1/5} \]

Diagnostic Guide: Spotting the Bridge Between Two Integrals

When two integrals \(I_1\) and \(I_2\) appear together, scan their limits and integrands for clues:

Clue in \(I_1\) vs. \(I_2\) First Transformation to Try
Same interval width, shifted endpoints (e.g., \([0, 1]\) vs. \([1, 2]\)) Horizontal shift \(x \mapsto x \pm c\)
Intervals related by a factor (e.g., \([0, 1]\) vs. \([0, 2]\), or \([0, \pi/4]\) vs. \([0, \pi/2]\)) Scaling \(x \mapsto kx\)
Intervals \([0, 1]\) and \([1, \infty)\), or \([a, b]\) and \([1/b, 1/a]\) Reciprocal substitution \(x = \frac{1}{t}\)
\([0, \pi/4]\) with \(\tan x\) vs. \([0, 1]\) with \(\frac{1}{1+x^2}\) Substitution \(x = \tan\theta\) paired with Möbius map \(\frac{1-t}{1+t}\)
Expressions like \(\sqrt{1 - x^4}\) alongside \(\frac{1}{\sqrt{1 - x^4}}\) Differentiate \(x\sqrt{1 - x^4}\) (or integrate by parts)
Integrand \(f(x)\) on \([a, b]\) vs. inverse \(f^{-1}(y)\) on \([f(a), f(b)]\) Apply the Inverse-Function Integral Theorem: \(b f(b) - a f(a)\)

Further Worked Examples


Example 5: Expressing Transformed Variants in Terms of a Base Integral

Let \(I = \int_0^1 \frac{e^x}{x + 1}\,dx\). Express each of the following integrals in terms of \(I\):

  1. \(J = \int_0^1 \frac{e^{-x}}{2 - x}\,dx\)
  2. \(K = \int_0^1 \frac{e^x}{(x + 1)^2}\,dx\)
  3. \(L = \int_1^2 \frac{e^{x}}{x}\,dx\)

Solution: None of \(I, J, K, L\) has an elementary antiderivative, yet each of \(J, K, L\) transforms cleanly into \(I\).

Part 1 (King's Rule): Apply \(x \mapsto 1 - x\) on \([0, 1]\) to \(J\):

\[ J = \int_0^1 \frac{e^{-(1 - x)}}{2 - (1 - x)}\,dx = e^{-1} \int_0^1 \frac{e^x}{x + 1}\,dx = \frac{I}{e} \]

Part 2 (Integration by Parts): In \(K\), take \(u = e^x\) and \(dv = \frac{dx}{(x + 1)^2}\) (so \(v = -\frac{1}{x + 1}\)):

\[ K = \left[ -\frac{e^x}{x + 1} \right]_0^1 + \int_0^1 \frac{e^x}{x + 1}\,dx = \left(-\frac{e}{2} + 1\right) + I = I + 1 - \frac{e}{2} \]

Part 3 (Shifting Property): Subtract \(1\) from both limits in \(L\) and replace \(x\) with \(x + 1\):

\[ L = \int_{1-1}^{2-1} \frac{e^{x + 1}}{x + 1}\,dx = e \int_0^1 \frac{e^x}{x + 1}\,dx = e I \]

Example 6: Inversion Symmetry on the Positive Real Line

Consider the three improper definite integrals:

\[ I_1 = \int_0^\infty \frac{e^{-(x + 1/x)}}{1 + x}\,dx, \qquad I_2 = \int_0^\infty \frac{e^{-(x + 1/x)}}{x(1 + x)}\,dx, \qquad I_3 = \int_0^\infty \frac{e^{-(x + 1/x)}}{x}\,dx \]

Prove that \(I_1 = I_2 = \frac{1}{2} I_3\).

Solution: Notice that \(x + \frac{1}{x}\) stays completely unchanged if we replace \(x\) by \(\frac{1}{t}\). In \(I_1\), substitute \(x = \frac{1}{t}\), so \(dx = -\frac{dt}{t^2}\), while \(x \to 0^+\) maps to \(t \to \infty\) and \(x \to \infty\) maps to \(t \to 0^+\):

\[ I_1 = \int_\infty^0 \frac{e^{-(1/t + t)}}{1 + \frac{1}{t}} \left(-\frac{dt}{t^2}\right) = \int_0^\infty \frac{e^{-(t + 1/t)}}{t(t + 1)}\,dt = I_2 \]

Now add \(I_1\) and \(I_2\) together over the common interval \((0, \infty)\):

\[ I_1 + I_2 = \int_0^\infty e^{-(x + 1/x)} \left(\frac{1}{1 + x} + \frac{1}{x(1 + x)}\right) dx \]

Simplifying the rational bracket:

\[ \frac{1}{1 + x} + \frac{1}{x(1 + x)} = \frac{x + 1}{x(1 + x)} = \frac{1}{x} \]

Hence:

\[ I_1 + I_2 = \int_0^\infty \frac{e^{-(x + 1/x)}}{x}\,dx = I_3 \]

Since \(I_1 = I_2\), we conclude immediately that \(I_1 = I_2 = \frac{1}{2} I_3\).


Example 7: Bridging Finite and Infinite Intervals via Inversion and Shifting

Prove that:

\[ e \int_0^1 \frac{e^{-1/x}}{x^2(1 + x)}\,dx + \int_0^\infty \frac{e^{-x}}{x + 2}\,dx = 1 \]

Solution: Let \(I_1 = \int_0^1 \frac{e^{-1/x}}{x^2(1 + x)}\,dx\) and \(I_2 = \int_0^\infty \frac{e^{-x}}{x + 2}\,dx\).

In \(I_1\), the exponent \(-\frac{1}{x}\) strongly suggests substituting \(t = \frac{1}{x}\). Then \(dt = -\frac{dx}{x^2}\), and the limits \(x \in (0, 1]\) map to \(t \in [\infty, 1)\):

\[ I_1 = \int_\infty^1 \frac{e^{-t}}{1 + \frac{1}{t}} (-dt) = \int_1^\infty \frac{t\, e^{-t}}{t + 1}\,dt \]

Split the rational factor using \(\frac{t}{t + 1} = 1 - \frac{1}{t + 1}\):

\[ I_1 = \int_1^\infty e^{-t}\,dt - \int_1^\infty \frac{e^{-t}}{t + 1}\,dt = \Big[ -e^{-t} \Big]_1^\infty - \int_1^\infty \frac{e^{-t}}{t + 1}\,dt = \frac{1}{e} - \int_1^\infty \frac{e^{-t}}{t + 1}\,dt \]

Now apply the shifting property to \(\int_1^\infty \frac{e^{-t}}{t + 1}\,dt\): subtract \(1\) from both limits and replace \(t\) with \(t + 1\):

\[ \int_1^\infty \frac{e^{-t}}{t + 1}\,dt = \int_0^\infty \frac{e^{-(t + 1)}}{t + 2}\,dt = \frac{1}{e} \int_0^\infty \frac{e^{-t}}{t + 2}\,dt = \frac{I_2}{e} \]

Substituting back gives \(I_1 = \frac{1}{e} - \frac{I_2}{e}\), so multiplying by \(e\) yields:

\[ e I_1 + I_2 = 1 \]

Example 8: King's Rule Meets the Möbius Transformation

Prove that all three of the following integrals are equal:

\[ I_1 = \int_0^{\pi/4} e^{\tan\theta}\,d\theta, \qquad I_2 = \int_0^1 \frac{e^{(1 - x)/(1 + x)}}{1 + x^2}\,dx, \qquad I_3 = \int_0^1 \frac{e^x}{1 + x^2}\,dx \]

Solution:

Step 1 (\(I_1 = I_3\)): Substitute \(x = \tan\theta\) directly into \(I_1\). Since \(dx = \sec^2\theta\,d\theta = (1 + x^2)\,d\theta\) and \(\theta \in [0, \pi/4]\) maps to \(x \in [0, 1]\):

\[ I_1 = \int_0^1 \frac{e^x}{1 + x^2}\,dx = I_3 \]

Step 2 (\(I_1 = I_2\) via King's Rule): First apply King's Rule (\(\theta \mapsto \frac{\pi}{4} - \phi\)) to \(I_1\):

\[ I_1 = \int_0^{\pi/4} e^{\tan(\frac{\pi}{4} - \phi)}\,d\phi = \int_0^{\pi/4} e^{\frac{1 - \tan\phi}{1 + \tan\phi}}\,d\phi \]

Now substitute \(x = \tan\phi\) (\(d\phi = \frac{dx}{1 + x^2}\)):

\[ I_1 = \int_0^1 \frac{e^{(1 - x)/(1 + x)}}{1 + x^2}\,dx = I_2 \]

(Equivalently, substituting \(u = \frac{1 - x}{1 + x}\) directly into \(I_2\) gives \(x = \frac{1 - u}{1 + u}\) and \(\frac{dx}{1 + x^2} = -\frac{du}{1 + u^2}\), turning \(I_2\) straight into \(I_3\)!)


Example 9: Exact Ratio Without Evaluation via Derivative Matching

Show that:

\[ \frac{\int_0^1 \sqrt{1 - x^4}\,dx}{\int_0^1 \frac{dx}{\sqrt{1 - x^4}}} = \frac{2}{3} \]

Solution: Let \(I_1 = \int_0^1 \sqrt{1 - x^4}\,dx\) and \(I_2 = \int_0^1 \frac{dx}{\sqrt{1 - x^4}}\). Instead of substituting or guessing a closed form, differentiate the product \(x\sqrt{1 - x^4}\):

\[ \frac{d}{dx}\Big(x\sqrt{1 - x^4}\Big) = \sqrt{1 - x^4} + x \cdot \frac{-4x^3}{2\sqrt{1 - x^4}} = \sqrt{1 - x^4} - \frac{2x^4}{\sqrt{1 - x^4}} \]

Rewrite the numerator \(x^4\) in terms of \(1 - x^4\):

\[ \frac{x^4}{\sqrt{1 - x^4}} = \frac{1 - (1 - x^4)}{\sqrt{1 - x^4}} = \frac{1}{\sqrt{1 - x^4}} - \sqrt{1 - x^4} \]

Substitute this back into the derivative:

\[ \frac{d}{dx}\Big(x\sqrt{1 - x^4}\Big) = \sqrt{1 - x^4} - 2\left(\frac{1}{\sqrt{1 - x^4}} - \sqrt{1 - x^4}\right) = 3\sqrt{1 - x^4} - \frac{2}{\sqrt{1 - x^4}} \]

Now integrate both sides from \(x = 0\) to \(x = 1\):

\[ \Big[ x\sqrt{1 - x^4} \Big]_0^1 = 3 \int_0^1 \sqrt{1 - x^4}\,dx - 2 \int_0^1 \frac{dx}{\sqrt{1 - x^4}} \]

Because \(x\sqrt{1 - x^4}\) equals \(0\) at both \(x = 0\) and \(x = 1\), the left side is zero:

\[ 0 = 3 I_1 - 2 I_2 \implies \frac{I_1}{I_2} = \frac{2}{3} \]

Example 10: Combining Periodicity, Queen's Rule, and King's Rule

Express \(I_1\) in terms of \(I_2\), where:

\[ I_1 = \int_0^{10\pi} \big(|\sin x| + |\cos x|\big) e^{\sin^2(2x)}\,dx \qquad \text{and} \qquad I_2 = \int_0^{\pi/4} \cos x \, e^{-\sin^2(2x)}\,dx \]

Solution:

Step 1 (Periodicity): Let \(f(x) = \big(|\sin x| + |\cos x|\big) e^{\sin^2(2x)}\). Replacing \(x\) with \(x + \frac{\pi}{2}\) swaps \(|\sin x|\) and \(|\cos x|\) while changing \(\sin^2(2x + \pi) = (-\sin 2x)^2 = \sin^2(2x)\). Thus \(f(x)\) is periodic with period \(T = \frac{\pi}{2}\). Because \(10\pi = 20 \cdot \frac{\pi}{2}\) and both \(\sin x, \cos x \ge 0\) on \([0, \pi/2]\):

\[ I_1 = 20 \int_0^{\pi/2} (\sin x + \cos x) e^{\sin^2(2x)}\,dx \]

Step 2 (Queen's Rule / Folding at \(\pi/4\)): Notice that under \(x \mapsto \frac{\pi}{2} - x\), \(\sin x + \cos x\) is unchanged and \(\sin(2(\frac{\pi}{2} - x)) = \sin(2x)\). By Queen's Rule on \([0, \pi/2]\):

\[ I_1 = 40 \int_0^{\pi/4} (\sin x + \cos x) e^{\sin^2(2x)}\,dx \]

Step 3 (King's Rule on \([0, \pi/4]\)): Apply \(x \mapsto \frac{\pi}{4} - t\) on \([0, \pi/4]\). Using \(\sin x + \cos x = \sqrt{2}\sin\!\left(\frac{\pi}{4} + x\right)\), we get:

\[ \sin\!\left(\frac{\pi}{4} - t\right) + \cos\!\left(\frac{\pi}{4} - t\right) = \sqrt{2}\sin\!\left(\frac{\pi}{2} - t\right) = \sqrt{2}\cos t \]

Meanwhile, \(\sin(2(\frac{\pi}{4} - t)) = \sin(\frac{\pi}{2} - 2t) = \cos(2t)\), so \(\sin^2(2x) = \cos^2(2t) = 1 - \sin^2(2t)\), and hence \(e^{\sin^2(2x)} = e \cdot e^{-\sin^2(2t)}\). Substituting into \(I_1\):

\[ I_1 = 40\sqrt{2}\, e \int_0^{\pi/4} \cos t \, e^{-\sin^2(2t)}\,dt = 40\sqrt{2}\, e\, I_2 \]

Example 11: Fractional-Part Periodicity Meets Completing the Square

Show that \(I_1 = 6 I_2\), where:

\[ I_1 = \int_0^6 \frac{\sin(\pi \{x\})}{1 + \{x\}^2}\,dx \qquad \text{and} \qquad I_2 = \int_{-1/2}^{1/2} \frac{\cos(\pi x)}{x^2 + x + \frac{5}{4}}\,dx \]

(Here \(\{x\} = x - \lfloor x \rfloor\) denotes the fractional part of \(x\).)

Solution:

Step 1 (Periodicity of \(\{x\}\)): Since \(\{x\}\) is periodic with period \(T = 1\), the integrand \(\frac{\sin(\pi \{x\})}{1 + \{x\}^2}\) has period \(1\), and on \([0, 1)\) we have \(\{x\} = x\). Therefore:

\[ I_1 = 6 \int_0^1 \frac{\sin(\pi x)}{1 + x^2}\,dx \]

Step 2 (Completing the Square and Shifting in \(I_2\)): Observe that \(x^2 + x + \frac{5}{4} = \left(x + \frac{1}{2}\right)^2 + 1\). Apply the shifting property to \(I_2\): add \(\frac{1}{2}\) to both limits and replace \(x\) with \(t - \frac{1}{2}\):

\[ I_2 = \int_0^1 \frac{\cos\!\left(\pi t - \frac{\pi}{2}\right)}{t^2 + 1}\,dt \]

Since \(\cos\!\left(\pi t - \frac{\pi}{2}\right) = \sin(\pi t)\), this simplifies directly to:

\[ I_2 = \int_0^1 \frac{\sin(\pi t)}{1 + t^2}\,dt \]

Comparing \(I_1\) and \(I_2\) gives \(I_1 = 6 I_2\).


Example 12: Transforming an Arbitrary Symmetric Function

Let \(f\) be any continuous function on \([0, \frac{1}{4}]\). Prove that:

\[ \int_0^1 \frac{f\big(x(1 - x)\big)}{\sqrt{x(1 - x)}}\,dx = 2 \int_0^{\pi/2} f\!\left(\frac{\sin^2 t}{4}\right) dt \]

and also deduce that \(\int_0^1 x f\big(x(1 - x)\big)\,dx = \frac{1}{2}\int_0^1 f\big(x(1 - x)\big)\,dx\).

Solution:

Part 1: Let \(I_1 = \int_0^1 \frac{f(x(1 - x))}{\sqrt{x(1 - x)}}\,dx\). The expression \(\sqrt{x(1 - x)}\) on \([0, 1]\) suggests substituting \(x = \sin^2\theta\) with \(\theta \in [0, \pi/2]\). Then \(1 - x = \cos^2\theta\), \(\sqrt{x(1 - x)} = \sin\theta\cos\theta\), and \(dx = 2\sin\theta\cos\theta\,d\theta\). Notice how cleanly the denominator cancels:

\[ \frac{dx}{\sqrt{x(1 - x)}} = \frac{2\sin\theta\cos\theta\,d\theta}{\sin\theta\cos\theta} = 2\,d\theta \]

Also, \(x(1 - x) = \sin^2\theta \cos^2\theta = \frac{\sin^2(2\theta)}{4}\). Thus:

\[ I_1 = 2 \int_0^{\pi/2} f\!\left(\frac{\sin^2(2\theta)}{4}\right) d\theta \]

Now apply the scaling property (\(t = 2\theta\), multiplying limits by \(2\) and dividing by \(2\)):

\[ I_1 = \int_0^{\pi} f\!\left(\frac{\sin^2 t}{4}\right) dt \]

Because \(\sin(\pi - t) = \sin t\), the integrand is unchanged under \(t \mapsto \pi - t\). Applying Queen's Rule on \([0, \pi]\) halves the interval and multiplies by \(2\):

\[ I_1 = 2 \int_0^{\pi/2} f\!\left(\frac{\sin^2 t}{4}\right) dt \]

Part 2: Let \(A = \int_0^1 x f\big(x(1 - x)\big)\,dx\). By King's Rule (\(x \mapsto 1 - x\)) on \([0, 1]\):

\[ A = \int_0^1 (1 - x) f\big(x(1 - x)\big)\,dx = \int_0^1 f\big(x(1 - x)\big)\,dx - A \]

Moving \(-A\) to the left side gives \(A = \frac{1}{2}\int_0^1 f\big(x(1 - x)\big)\,dx\).


Example 13: Bridging Three Famous Elliptic Integrals

Prove the exact chain of equalities:

\[ \int_0^\infty \frac{dx}{\sqrt{1 + x^4}} = 2 \int_0^1 \frac{dx}{\sqrt{1 + x^4}} = \sqrt{2} \int_0^1 \frac{dx}{\sqrt{1 - x^4}} \]

Solution: Let \(I_1 = \int_0^1 \frac{dx}{\sqrt{1 + x^4}}\), \(I_2 = \int_0^\infty \frac{dx}{\sqrt{1 + x^4}}\), and \(I_3 = \int_0^1 \frac{dx}{\sqrt{1 - x^4}}\). None of these three integrals can be evaluated in terms of elementary functions, yet we can connect all three through a common trigonometric integral \(K = \int_0^{\pi/2} \frac{du}{\sqrt{\sin u}}\).

Step 1 (\(I_2 = 2 I_1\)): Split \(I_2\) at \(x = 1\):

\[ I_2 = \int_0^1 \frac{dx}{\sqrt{1 + x^4}} + \int_1^\infty \frac{dx}{\sqrt{1 + x^4}} = I_1 + \int_1^\infty \frac{dx}{\sqrt{1 + x^4}} \]

In the second integral, substitute \(x = \frac{1}{t}\) (\(dx = -\frac{dt}{t^2}\)):

\[ \int_1^\infty \frac{dx}{\sqrt{1 + x^4}} = \int_1^0 \frac{-dt/t^2}{\sqrt{1 + t^{-4}}} = \int_0^1 \frac{dt}{\sqrt{t^4 + 1}} = I_1 \]

Hence \(I_2 = 2 I_1\).

Step 2 (Transforming \(I_2\) into \(K\)): In \(I_2 = \int_0^\infty \frac{dx}{\sqrt{1 + x^4}}\), substitute \(x^2 = \tan\theta\) (so \(x = \sqrt{\tan\theta}\) and \(\theta \in [0, \pi/2)\)). Differentiating \(x^2 = \tan\theta\) gives \(2x\,dx = \sec^2\theta\,d\theta\), so \(dx = \frac{\sec^2\theta}{2\sqrt{\tan\theta}}\,d\theta\), while \(\sqrt{1 + x^4} = \sqrt{1 + \tan^2\theta} = \sec\theta\):

\[ I_2 = \frac{1}{2}\int_0^{\pi/2} \frac{\sec\theta}{\sqrt{\tan\theta}}\,d\theta = \frac{1}{2}\int_0^{\pi/2} \frac{d\theta}{\sqrt{\sin\theta\cos\theta}} = \frac{1}{\sqrt{2}} \int_0^{\pi/2} \frac{d\theta}{\sqrt{\sin(2\theta)}} \]

Apply scaling (\(u = 2\theta\)) followed by Queen's Rule on \([0, \pi]\) (since \(\sin(\pi - u) = \sin u\)):

\[ I_2 = \frac{1}{\sqrt{2}} \cdot \frac{1}{2} \int_0^\pi \frac{du}{\sqrt{\sin u}} = \frac{1}{\sqrt{2}} \int_0^{\pi/2} \frac{du}{\sqrt{\sin u}} = \frac{K}{\sqrt{2}} \]

Step 3 (Transforming \(I_3\) into \(K\)): In \(I_3 = \int_0^1 \frac{dx}{\sqrt{1 - x^4}}\), substitute \(x^2 = \sin u\) (so \(x = \sqrt{\sin u}\) with \(u \in [0, \pi/2]\)). Differentiating \(x^2 = \sin u\) gives \(dx = \frac{\cos u}{2\sqrt{\sin u}}\,du\), and \(\sqrt{1 - x^4} = \cos u\):

\[ I_3 = \int_0^{\pi/2} \frac{\cos u}{2\sqrt{\sin u} \cdot \cos u}\,du = \frac{1}{2} \int_0^{\pi/2} \frac{du}{\sqrt{\sin u}} = \frac{K}{2} \]

Comparing \(I_2 = \frac{K}{\sqrt{2}}\) and \(I_3 = \frac{K}{2}\) eliminates \(K\) completely and gives \(I_2 = \sqrt{2}\, I_3\). Together with Step 1:

\[ I_2 = 2 I_1 = \sqrt{2}\, I_3 \]

Summary: Core Moves for Relating Two Integrals

Pattern Observed Winning Strategy Illustrated In
Unknown \(f^{-1}\) over \([f(a), f(b)]\) Apply \(b f(b) - a f(a) - \int_a^b f(x)\,dx\) Example 1
Non-elementary inverse pair Match \(f\) and \(f^{-1}\) directly on \([a, b]\) and \([f(a), f(b)]\) Example 2
Decreasing inverse curves Apply the theorem cleanly; reversed limits flip sign Example 3
Shifted inverse curves Shift limits to align \([f(a), f(b)]\), then apply the theorem Example 4
Exponent or denominator shift Shift/scale or King's Rule on \([0, 1]\) Example 5
Symmetric under \(x \leftrightarrow 1/x\) Substitute \(x = \frac{1}{t}\), then add \(I_1 + I_2\) Example 6
Intervals \([0, 1]\) and \([0, \infty)\) Inversion \(t = \frac{1}{x}\) + rational split + shift Example 7
\([0, \pi/4]\) with \(\tan\theta\) vs. \([0, 1]\) \(x = \tan\theta\) paired with King's Rule / \(\frac{1-x}{1+x}\) Example 8
\(\sqrt{1 - x^n}\) and \(\frac{1}{\sqrt{1 - x^n}}\) Differentiate \(x\sqrt{1 - x^n}\) and integrate Example 9
Long trig interval vs. \([0, \pi/4]\) Periodicity \(\to\) Queen's Rule \(\to\) King's Rule Example 10
Fractional part \(\{x\}\) vs. quadratic Collapse \([0, n]\) to \([0, 1]\), complete square, shift Example 11
Unknown \(f(x(1-x))\) Substitute \(x = \sin^2\theta\), scale, and fold with Queen's Rule Example 12
\(\frac{1}{\sqrt{1+x^4}}\) vs. \(\frac{1}{\sqrt{1-x^4}}\) Split \([0, \infty)\) at \(1\), invert, and map both to \(\int_0^{\pi/2}\frac{du}{\sqrt{\sin u}}\) Example 13