Introduction
A rate can repeat its pattern while its accumulation does something different. For example, a rate that oscillates around a positive average repeats every cycle, but its accumulated total continues to grow. A rate whose positive and negative contributions cancel over a cycle can instead produce an accumulation that repeats.
The distinction is captured by one number: the signed integral of the rate over a period. It determines the accumulation’s change per cycle, regardless of where that cycle begins.
Periodic Rates and Their Period Integral
A function \(f\) is periodic with period \(T>0\) if \(f(x+T)=f(x)\) for every \(x\) in its domain. The period need not be the smallest positive period. In this tutorial, assume \(f\) is bounded, integrable on every finite interval, and defined on all of \(\mathbb{R}\).
Positive and negative values both contribute to this integral, with their signs. Thus, the integral is a net change, not the total amount accumulated without regard to sign. The average value of the rate over one period is \(\mu=P/T\).
Fix a basepoint \(a\), and define the accumulation function \(A(x)=\int_a^x f(t)\,dt\). The interval-increment identity says that \(A(v)-A(u)=\int_u^v f(t)\,dt\). Applying it to an interval of length one period gives the key result.
The Same Increment on Every Cycle
The first identity says that the accumulation changes by the same amount over every interval of length \(T\). The amount does not depend on the starting point \(x\). The second identity extends the result to any integer number of cycles: positive \(n\) counts cycles forward, and negative \(n\) counts them backward.
Why the Cycle Integral Does Not Depend on the Starting Point
Here is a proof of the central fact. It is enough first to consider a starting point \(x\) with \(0\leq x<T\). Split the interval from \(x\) to \(x+T\) at \(T\). In its second part, translate the variable by one period and use \(f(t+T)=f(t)\):
For an arbitrary real \(x\), write \(x=kT+r\), where \(k\) is an integer and \(0\leq r<T\). Translating the interval by \(kT\) leaves the integrand unchanged, so \(\int_x^{x+T}f=\int_r^{r+T}f=P\) as well. The interval-increment identity now gives \(A(x+T)-A(x)=P\).
Applying this identity repeatedly gives \(A(x+nT)=A(x)+nP\) for positive integers \(n\). For negative integers, apply the same identity backward: \(A(x-T)=A(x)-P\), and repeat. For \(n=0\), the formula is immediate. This proves the theorem for every integer \(n\).
Worked Example: A Positive Drift Over Each Cycle
Worked Example: A Positive Drift Over Each Cycle
Let \(f(t)=4+2\cos(\pi t/3)\), with period \(T=6\), and let \(A(x)=\int_0^x f(t)\,dt\). Find the change in accumulation from \(x=1\) to \(x=13\).
First calculate the period integral. Over \(0\leq t\leq6\), the constant part contributes \(4\cdot6=24\). The cosine part contributes zero over a complete cycle:
The interval from \(1\) to \(13\) has length \(12=2T\), so it contains two periods. Therefore:
Check directly using an expression for the accumulation. Integrating from \(0\) to \(x\) gives \(A(x)=4x+\frac{6}{\pi}\sin(\pi x/3)\). Hence:
The repeated oscillation changes the amount accumulated within a cycle, but the net increase over each full cycle is \(24\).
When Is the Accumulation Periodic?
The cycle identity gives an exact condition for the accumulation to repeat with the rate’s period \(T\). It is \(T\)-periodic precisely when \(P=0\). Indeed, \(P=0\) makes \(A(x+T)=A(x)\) for every \(x\). Conversely, if \(A(x+T)=A(x)\) for every \(x\), the cycle identity forces \(P=0\).
In fact, under the assumptions above, the condition also tells us whether \(A\) can have any positive period at all. If \(P\neq0\), the values \(A(x+nT)=A(x)+nP\) grow without bound in magnitude as \(n\) increases through the positive integers. But a continuous periodic function is bounded: on one period it is bounded, and periodicity repeats those values everywhere. The accumulation \(A\) is continuous because \(f\) is bounded and its integral over a short interval has magnitude at most the bound for \(|f|\) times the interval length. Thus, if \(P\neq0\), \(A\) cannot be periodic with a different positive period either. If \(P=0\), \(A\) is already \(T\)-periodic.
Worked Example: Zero Net Change Gives a Repeating Accumulation
Worked Example: Zero Net Change Gives a Repeating Accumulation
Let \(f(t)=\sin(\pi t/2)\), which has period \(T=4\), and set \(A(x)=\int_0^x f(t)\,dt\). Determine whether \(A\) is periodic and compare \(A(2)\) with \(A(6)\).
The integral over one period is:
Since \(P=0\), the theorem shows that \(A\) is \(4\)-periodic. To calculate \(A(2)\), integrate from \(0\) to \(2\):
Because \(6=2+4\), the cycle identity gives \(A(6)=A(2)+P=4/\pi+0=4/\pi\). Checking from the integral formula \(A(x)=\frac{2}{\pi}\left(1-\cos(\pi x/2)\right)\) gives \(A(6)=\frac{2}{\pi}(1-\cos 3\pi)=4/\pi\), as required.
Separating Linear Drift from Periodic Fluctuation
Even when \(A\) is not periodic, its non-repeating part is especially simple: it is linear. Let \(\mu=P/T\) be the average rate per unit of time, and remove this average from the rate by defining \(g(t)=f(t)-\mu\). The function \(g\) is still \(T\)-periodic, and its integral over one period is \(P-\mu T=0\).
Define \(B(x)=\int_a^x g(t)\,dt\). By the zero-period-integral result, \(B\) is \(T\)-periodic. Linearity of accumulation gives the decomposition:
If \(\mu=0\), there is no linear drift, so the accumulation itself repeats. If \(\mu\neq0\), the periodic fluctuation rides on a steadily increasing or decreasing linear trend.
Worked Example: Identifying the Trend and Fluctuation
Worked Example: Identifying the Trend and Fluctuation
Take \(f(t)=1+2\cos(\pi t/2)\), with period \(T=4\), and basepoint \(a=0\). Find its average rate and its accumulation, then check the drift over one period.
The cosine integrates to zero over a complete period, so:
Integrating from \(0\) to \(x\) gives:
The linear term \(x\) is the drift, and the sine term is \(4\)-periodic. At \(x=4\), the sine term is zero, so \(A(4)=4\). At \(x=8\), it is also zero, so \(A(8)=8\). Thus \(A(8)-A(4)=4=P\), verifying that one more cycle adds exactly the period integral.
A Common Mistake: Assuming Every Periodic Rate Has Periodic Accumulation
Periodicity of the rate alone does not guarantee periodicity of the accumulation. For example, consider \(f(t)=1+\sin t\), which has period \(2\pi\). A tempting but incorrect claim is that its accumulation must also repeat every \(2\pi\). But its period integral is:
For \(A(x)=\int_0^x f(t)\,dt\), this means \(A(2\pi)-A(0)=2\pi\), not zero. The accumulation cannot repeat after one cycle. The correction is to check the net signed integral over a full period: the accumulation repeats exactly when that integral is zero, not merely when the rate repeats.
Why Cycle Drift Is Useful
The cycle integral lets you predict long-term accumulation without recalculating every cycle. If the net integral is positive, each cycle adds the same positive amount; if negative, each cycle subtracts the same amount; and if zero, each cycle returns the accumulation to its value one period earlier. For an integer number of cycles, the total change follows immediately from \(A(x+nT)-A(x)=nP\).
This is useful whenever a repeated rate pattern represents repeated inflow and outflow, demand and supply, or another quantity that accumulates over time. The within-cycle shape may matter for values between cycle boundaries, but the period integral alone determines the net drift from one cycle boundary to the next.
Check Your Understanding
Use the period integral and the cycle-increment identity to answer these questions.
- If a rate has period \(5\) and period integral \(-3\), what is the change in its accumulation over four complete cycles?
- What condition on \(P\) makes \(A(x+T)=A(x)\) for every \(x\)?
- Why does a positive period integral rule out a periodic accumulation?
- If the average rate is \(\mu\), what part of the accumulation describes its linear drift?
- A rate repeats every \(T\) units, but has a nonzero period integral. Does its accumulation repeat every \(T\) units? Explain.