Periodic Properties of Definite Integrals
In the study of calculus, many fundamental functions repeat their values at regular intervals. Trigonometric functions like \(\sin x\), \(\cos x\), and \(\tan x\), as well as piecewise functions like the fractional part function \(\{x\} = x - \lfloor x \rfloor\), exhibit exact repetition known as periodicity.
When we integrate a periodic function over a very wide interval, such as:
evaluating the integral directly by finding an antiderivative across hundreds of separate sub-intervals is tedious and error-prone.
Because a periodic function is built from identical repeating blocks (or "tiles"), its definite integral over any full period is identical to the integral over any other full period. By understanding how to shift, cut, paste, and tile these fundamental blocks, we can collapse massive integration limits into quick, elegant computations.
Fundamental Concepts of Periodic Functions
Recall the definition of a periodic function:
[!NOTE] Definition: Periodic Function A function \(f(x)\) is said to be periodic if there exists a positive constant \(T > 0\) such that:
\[ f(x + T) = f(x) \qquad \text{for all } x \text{ in the domain of } f \]The smallest positive number \(T\) for which this identity holds is called the fundamental period of \(f(x)\).
By repeated application of this definition, \(f(x + nT) = f(x)\) for every integer \(n \in \mathbb{Z}\).
Common Periodic Functions and Their Fundamental Periods
- \(\sin x\), \(\cos x\), \(\sec x\), \(\csc x\): Period \(T = 2\pi\)
- \(\tan x\), \(\cot x\): Period \(T = \pi\)
- \(|\sin x|\), \(|\cos x|\), \(\sin^2 x\), \(\cos^2 x\): Period \(T = \pi\)
- The fractional part function \(\{x\} = x - \lfloor x \rfloor\): Period \(T = 1\)
- If \(f(x)\) has period \(T\), then \(f(kx)\) has period \(T/|k|\). For instance, \(\sin(4x)\) has period \(2\pi/4 = \pi/2\), and \(\{3x\}\) has period \(1/3\).
The Cut-and-Paste Principle: Window Invariance
The foundational theorem of periodic integration states that the integral of a periodic function over any interval whose length equals one full period \(T\) is completely independent of where the interval begins.
Theorem: Single Period Translation Invariance
If \(f(x)\) is continuous (or piecewise continuous) and periodic with fundamental period \(T\), then for any real number \(a\):
Notice the remarkable power of this statement: the starting point \(a\) has zero effect on the value of the integral. Whether \(a = 0\), \(a = 100\), \(a = -\pi/4\), or \(a = \sqrt{2026}\), the area remains identical!
Geometric Derivation: The Cut-and-Paste Proof
To understand why this independence occurs, let us look at the geometry of the curve:
Consider the standard fundamental interval \([0, T]\). The area under the curve is:
Now slide the integration window to the right by an offset \(a\), so the new interval is \([a, a + T]\).
We can split both the standard window \([0, T]\) and the shifted window \([a, a + T]\) at the boundary points \(a\) and \(T\):
- Region \(A\): The interval \([0, a]\)
- Region \(B\): The shared interval \([a, T]\)
- Region \(C\): The interval \([T, a + T]\)
Now observe what happens to the total area of the two windows:
Standard Window \([0, T]\):
Shifted Window \([a, a + T]\):
Notice that both windows share the exact same middle piece, Region \(B\).
What about Region \(A\) and Region \(C\)? Region \(C\) lies on the interval \([T, a + T]\). If we shift this entire region horizontally to the left by \(T\) units (using the transformation \(x \to x - T\)), it lands directly on top of \([0, a]\)!
Because \(f(x)\) has period \(T\), the height of the curve at every point in Region \(C\), \(f(t + T)\), is identical to the height at the corresponding point in Region \(A\), \(f(t)\):
Geometrically, we can literally cut Region \(C\) off the right end of the shifted window and paste it onto the left end into Region \(A\). Together with the middle piece (Region \(B\)), it reassembles into the standard fundamental window \([0, T]\):
Algebraic Proof via Substitution
We can confirm this result algebraically:
Split the integral at \(x = T\):
In the second integral, substitute:
- When \(x = T\), \(t = T - T = 0\).
- When \(x = a + T\), \(t = (a + T) - T = a\).
Since \(f(t + T) = f(t)\) by periodicity:
Renaming the dummy variable \(t\) to \(x\):
Substitute this back into the split sum:
The Calculus Proof: Differentiating with Respect to the Offset
There is another elegant perspective on why this integral does not depend on \(a\).
Define the function:
Differentiate \(g(a)\) with respect to \(a\) using the Leibniz Rule:
Because \(f(x)\) is periodic with period \(T\), \(f(a + T) = f(a)\):
A function whose derivative is zero everywhere must be a constant function! Therefore, \(g(a)\) has the exact same value for every single choice of \(a\). To find this constant value, substitute \(a = 0\):
Exploiting Parameter Independence in Problem Solving
Because the value of \(\int_a^{a + T} f(x)\,dx\) is completely independent of \(a\), we are free to choose whatever value of \(a\) makes the calculation easiest!
Example 1: Choosing a Convenient Lower Limit
Evaluate:
Solution:
The function \(f(x) = |\cos x|\) is periodic with period \(T = \pi\). Because the length of integration is \((a + \pi) - a = \pi\) (exactly one period), the integral is independent of \(a\).
We can choose any convenient value of \(a\). Let us pick \(a = -\pi/2\):
Why choose \(-\pi/2\)? Because on the interval \([-\pi/2, \pi/2]\), \(\cos x \ge 0\), which means \(|\cos x| = \cos x\)! The absolute value signs disappear entirely:
Notice how much simpler this was than trying to integrate over an arbitrary interval \([a, a + \pi]\) where \(\cos x\) changes signs at unknown interior points!
Example 2: Eliminating an Intractable Parameter
Evaluate:
Solution:
The integrand \(f(x) = \frac{\sin x}{1 + \cos^2 x}\) has fundamental period \(T = 2\pi\) because:
The interval \([100, 100 + 2\pi]\) has length \(2\pi\), which is exactly one period. By the translation invariance theorem, we can replace the lower limit \(100\) with \(0\):
Now substitute \(u = \cos x \implies du = -\sin x\,dx\): - When \(x = 0\), \(u = \cos 0 = 1\). - When \(x = 2\pi\), \(u = \cos 2\pi = 1\).
The intimidating starting point \(100\) was completely irrelevant.
Example 3: Constant Integral Functions
Let \(F(x) = \int_x^{x + 2\pi} \frac{dt}{1 + e^{\sin t}}\). Show that \(F(x)\) is a constant function, and find its value.
Solution:
The integrand \(f(t) = \frac{1}{1 + e^{\sin t}}\) has fundamental period \(T = 2\pi\) because \(\sin(t + 2\pi) = \sin t\). The length of integration is \((x + 2\pi) - x = 2\pi\), which is exactly one period.
By our theorem, \(F(x)\) is completely independent of \(x\):
To evaluate this integral, apply King's Rule on \([0, 2\pi]\): Replace \(t\) with \(2\pi - t\):
Adding the two expressions:
Dividing by \(2\):
Thus, \(F(x) = \pi\) for all \(x \in \mathbb{R}\).
Multiple Periods: Tiling and Scaling
Now that we understand a single period, what happens when we integrate over \(n\) full periods?
Theorem: Multiple Full Periods
If \(f(x)\) is periodic with period \(T\), then for any integer \(n \in \mathbb{Z}\):
and more generally, for any starting point \(a \in \mathbb{R}\):
Proof
Split the integral over \([a, a + nT]\) into \(n\) consecutive intervals, each of length \(T\):
Notice that each term is an integral over an interval of length \(T\):
By our single-period translation invariance theorem, every single one of these \(n\) integrals is equal to the fundamental area \(\int_0^T f(x)\,dx\):
Summing these \(n\) identical values:
Geometrically, integrating over \(n\) periods is simply tiling \(n\) identical copies of the fundamental area block next to each other!
Theorem: Difference of Integer Multiples
For any integers \(m, n \in \mathbb{Z}\):
Proof
Split the integral at \(0\):
Using the previous theorem:
Theorem: Incomplete and Fractional Bounds
What if the upper limit is not an exact integer multiple of \(T\)?
For any integer \(n \in \mathbb{Z}\) and any real number \(b\):
Proof
Substitute \(x = t + nT \implies dx = dt\). - When \(x = nT\), \(t = 0\). - When \(x = nT + b\), \(t = b\).
Since \(f(t + nT) = f(t)\):
The General Decomposition Rule
Whenever an integral has limits from \(0\) to \(nT + \alpha\) where \(0 \le \alpha < T\):
The integral cleanly decomposes into \(n\) complete periods plus a partial final piece!
The Fractional Part Function in Definite Integration
The fractional part function \(\{x\} = x - \lfloor x \rfloor\) is one of the most important periodic functions in competitive mathematics.
Key Properties of the Fractional Part
- Periodicity: \(\{x + 1\} = \{x\}\) for all \(x\). The fundamental period is \(T = 1\).
- Piecewise Definition: On each unit interval \([k, k + 1)\) for \(k \in \mathbb{Z}\):
$$ \lfloor x \rfloor = k \implies {x} = x - k $$
- Range: \(0 \le \{x\} < 1\).
Fundamental Integrals of the Fractional Part
Over the fundamental period \([0, 1]\), we have \(\{x\} = x\). Therefore, the integral of any expression \(g(\{x\})\) on \([0, 1]\) is simply the ordinary integral of \(g(x)\):
Evaluating Large Limits with Fractional Parts
Using the periodic tiling theorem \(\int_0^n f(x)\,dx = n \int_0^1 f(x)\,dx\) (since \(T = 1\)):
Interplay Between Floor and Fractional Part
Integrals often combine the floor function \(\lfloor x \rfloor\) and the fractional part \(\{x\}\):
The Evaluation Strategy
Split the interval \([0, n]\) into \(n\) unit intervals \([k, k + 1]\):
On each sub-interval \([k, k + 1)\): - \(\lfloor x \rfloor = k\) (a constant number!). - \(\{x\} = x - k\).
Substitute \(t = x - k \implies dx = dt\), where \(t\) runs from \(0\) to \(1\):
Now pull the integral outside the summation:
Recall the arithmetic sum \(\sum_{k=0}^{n-1} k = \frac{(n-1)n}{2}\):
Miscellaneous Examples
Example 4: A Large Trigonometric Power Integral
Evaluate:
Solution:
Use the half-angle trigonometric identity \(1 - \cos 2x = 2\sin^2 x\):
The function \(|\sin x|\) is periodic with fundamental period \(T = \pi\). The upper limit \(100\pi\) is an integer multiple of the period: \(n = 100\).
Applying the tiling theorem:
On the interval \([0, \pi]\), \(\sin x \ge 0\), so \(|\sin x| = \sin x\):
Therefore:
Example 5: Incomplete Boundary Integral
Evaluate:
Solution:
The fundamental period of \(|\sin x|\) is \(T = \pi\). The upper limit is of the form \(nT + \alpha\) where \(n = 20\), \(T = \pi\), and \(\alpha = \pi/4\).
Apply the incomplete bound decomposition rule:
Evaluate the two pieces: - The full period piece: \(\int_0^\pi \sin x\,dx = 2\). - The partial piece on \([0, \pi/4]\):
Combining both parts:
Example 6: Floor and Fractional Part Interaction
Evaluate:
Solution:
Write \(x\) in terms of its integer part and fractional part: \(x = \lfloor x \rfloor + \{x\}\).
Evaluate each term separately:
First term: Using our formula \(\int_0^n \lfloor x \rfloor \{x\}\,dx = \frac{n(n - 1)}{2} \int_0^1 x\,dx\) with \(n = 10\):
Second term: Using periodic tiling for \(\{x\}^2\) with period \(T = 1\):
Adding the two components:
Example 7: Combining Periodicity with King's Rule
Evaluate:
Solution:
The integrand \(f(x) = \frac{1}{1 + e^{\sin x}}\) has fundamental period \(T = 2\pi\). The upper limit is \(200\pi = 100 \times (2\pi)\), so \(n = 100\).
By the periodic tiling theorem:
Now evaluate \(J = \int_0^{2\pi} \frac{dx}{1 + e^{\sin x}}\) using King's Rule on \([0, 2\pi]\): Replace \(x\) with \(2\pi - x\):
Adding the two equations:
Therefore:
Example 8: Rational Function of the Fractional Part
Evaluate:
Solution:
The integrand \(\frac{1}{2 + \{x\}}\) is periodic with fundamental period \(T = 1\). The limits are from \(0\) to \(50\) (so \(n = 50\)).
Applying the periodic property:
On the fundamental interval \([0, 1]\), \(\{x\} = x\):
Summary of Periodic Properties
| Property | Formula | Geometric Meaning |
|---|---|---|
| Window Invariance | \(\int_a^{a + T} f(x)\,dx = \int_0^T f(x)\,dx\) | Area over any interval of width \(T\) is constant (independent of \(a\)) |
| \(n\) Periods from Origin | \(\int_0^{nT} f(x)\,dx = n \int_0^T f(x)\,dx\) | Tiling \(n\) identical fundamental blocks |
| \(n\) Periods from \(a\) | \(\int_a^{a + nT} f(x)\,dx = n \int_0^T f(x)\,dx\) | Tiling \(n\) blocks starting at any arbitrary point \(a\) |
| Difference of Multiples | \(\int_{mT}^{nT} f(x)\,dx = (n - m)\int_0^T f(x)\,dx\) | Net area over \(n - m\) periods |
| Incomplete Bounds | \(\int_{nT}^{nT + b} f(x)\,dx = \int_0^b f(x)\,dx\) | Shifting the boundary interval back to the origin |
| Fractional Part Rule | \(\int_0^n g(\{x\})\,dx = n \int_0^1 g(x)\,dx\) | Integrating periodic \(\{x\}\) over \(n\) unit periods (\(T = 1\)) |
| Floor & Fraction Product | \(\int_0^n \lfloor x \rfloor f(\{x\})\,dx = \frac{n(n - 1)}{2} \int_0^1 f(x)\,dx\) | Factoring out constant integer steps |

