Tutorials › Calculus I › Periodic Rates And Accumulation Drift

Accumulation Functions · Tutorial 1033 of 1495

Periodic Rates And Accumulation Drift

Use the integral over one period to determine whether an accumulation repeats or drifts, and quantify its change across multiple cycles.

Intermediate 9 min read

What You'll Learn

  • Define the period integral that controls accumulation drift
  • Prove that every cycle contributes the same amount
  • Calculate accumulation changes across one or more periods
  • Determine when an accumulation is itself periodic
  • Decompose an accumulation into linear drift and periodic fluctuation

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}\).

Definition: For a rate \(f\) with period \(T>0\), its period integral is \(P=\int_0^T f(t)\,dt\). It is the net signed accumulation over one complete cycle.

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

Theorem: If \(f\) has period \(T>0\), then for every real \(x\), \(A(x+T)-A(x)=P\), where \(P=\int_0^T f(t)\,dt\). Consequently, for every integer \(n\), \(A(x+nT)=A(x)+nP\).

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)\):

$$ \begin{aligned} \int_x^{x+T} f(t)\,dt &=\int_x^T f(t)\,dt+\int_T^{x+T} f(t)\,dt\\ &=\int_x^T f(t)\,dt+\int_0^x f(u+T)\,du\\ &=\int_x^T f(t)\,dt+\int_0^x f(u)\,du\\ &=\int_0^T f(t)\,dt=P. \end{aligned} $$

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:

$$ P=\int_0^6 \left(4+2\cos\left(\frac{\pi t}{3}\right)\right)\,dt =24+\frac{6}{\pi}\left[\sin\left(\frac{\pi t}{3}\right)\right]_0^6 =24. $$

The interval from \(1\) to \(13\) has length \(12=2T\), so it contains two periods. Therefore:

$$ A(13)-A(1)=2P=2\cdot24=48. $$

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:

$$ \begin{aligned} A(13)-A(1) &=\left(52+\frac{6}{\pi}\sin\left(\frac{13\pi}{3}\right)\right) -\left(4+\frac{6}{\pi}\sin\left(\frac{\pi}{3}\right)\right)\\ &=48+\frac{6}{\pi}\left(\sin\left(4\pi+\frac{\pi}{3}\right)-\sin\left(\frac{\pi}{3}\right)\right)\\ &=48. \end{aligned} $$

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.

Conclusion: The accumulation function is periodic if and only if the period integral \(P\) is zero. If \(P\neq0\), it has a net drift of \(P\) per cycle.

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:

$$ P=\int_0^4 \sin\left(\frac{\pi t}{2}\right)\,dt =\frac{2}{\pi}\left[-\cos\left(\frac{\pi t}{2}\right)\right]_0^4 =\frac{2}{\pi}(-1+1)=0. $$

Since \(P=0\), the theorem shows that \(A\) is \(4\)-periodic. To calculate \(A(2)\), integrate from \(0\) to \(2\):

$$ A(2)=\frac{2}{\pi}\left[-\cos\left(\frac{\pi t}{2}\right)\right]_0^2 =\frac{2}{\pi}(1+1)=\frac{4}{\pi}. $$

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:

$$ A(x)=\int_a^x f(t)\,dt =\int_a^x \bigl(\mu+g(t)\bigr)\,dt =\mu(x-a)+B(x). $$
Theorem: For a periodic rate with average \(\mu\), its accumulation has the form \(A(x)=\mu(x-a)+B(x)\), where \(B\) is periodic with the same period. The linear term describes the drift; the periodic term describes the within-cycle fluctuation.

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:

$$ P=\int_0^4\left(1+2\cos\left(\frac{\pi t}{2}\right)\right)\,dt =4, \qquad \mu=\frac{P}{T}=\frac{4}{4}=1. $$

Integrating from \(0\) to \(x\) gives:

$$ A(x)=\int_0^x \left(1+2\cos\left(\frac{\pi t}{2}\right)\right)\,dt =x+\frac{4}{\pi}\sin\left(\frac{\pi x}{2}\right). $$

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:

$$ P=\int_0^{2\pi}(1+\sin t)\,dt=2\pi. $$

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.

  1. If a rate has period \(5\) and period integral \(-3\), what is the change in its accumulation over four complete cycles?
  2. What condition on \(P\) makes \(A(x+T)=A(x)\) for every \(x\)?
  3. Why does a positive period integral rule out a periodic accumulation?
  4. If the average rate is \(\mu\), what part of the accumulation describes its linear drift?
  5. A rate repeats every \(T\) units, but has a nonzero period integral. Does its accumulation repeat every \(T\) units? Explain.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon