Tutorials › Calculus I › Integrals With Two Variable Bounds

Accumulation Functions · Tutorial 1020 of 1495

Integrals With Two Variable Bounds

Use a fixed reference point to express an integral between two moving endpoints as the upper-endpoint accumulation minus the lower-endpoint accumulation.

Intermediate 9 min read

What You'll Learn

  • Decompose an integral with two variable bounds at a fixed reference point
  • Define and interpret each endpoint’s accumulated contribution
  • Apply oriented-integral properties when endpoints lie on either side of the reference point
  • Check a decomposition by evaluating the original integral directly
  • Avoid reversing the order of the two accumulated contributions

Why Split an Integral at a Reference Point?

An integral from one moving endpoint to another records the net accumulation between those endpoints. When both endpoints depend on \(x\), it can be useful to compare each endpoint with the same fixed reference point. This gives two accumulated contributions, and their difference is exactly the accumulation from the lower endpoint to the upper one.

The reference point is a bookkeeping choice for the calculation. It does not have to lie between the endpoints. If it does not, oriented integrals ensure that the same decomposition still works.

Key idea: Split an integral with two variable bounds at a fixed reference point \(r\). The contribution from \(r\) to the upper endpoint is taken positively; the contribution from \(r\) to the lower endpoint is subtracted.

Definition and Formula

Suppose \(f\) is continuous on an interval \(I\), and choose a fixed reference point \(r\) in \(I\). For each endpoint \(u\) in \(I\), define its accumulated contribution from \(r\) by

$$ A_r(u)=\int_r^u f(t)\,dt. $$

Here \(t\) is the variable of integration. It is a dummy variable: the value of \(A_r(u)\) depends on the endpoint \(u\), not on the letter \(t\).

Now let \(a(x)\) and \(b(x)\) be two endpoint functions whose values lie in \(I\). The integral from the lower endpoint \(a(x)\) to the upper endpoint \(b(x)\) can be written as

$$ \int_{a(x)}^{b(x)} f(t)\,dt = A_r\bigl(b(x)\bigr)-A_r\bigl(a(x)\bigr) = \int_r^{b(x)}f(t)\,dt-\int_r^{a(x)}f(t)\,dt. $$

The formula requires that the definite integrals exist. Continuity of \(f\) on an interval containing the reference point and all endpoint values is a sufficient condition. The endpoint functions may vary with \(x\); the reference point \(r\) stays fixed.

Why the Decomposition Works

The argument uses two basic properties of oriented definite integrals. First, splitting an interval at a point \(r\) gives

$$ \int_a^b f(t)\,dt = \int_a^r f(t)\,dt+\int_r^b f(t)\,dt. $$

This additivity property holds whether or not \(r\) lies between \(a\) and \(b\), provided the integrals exist. Second, reversing the limits changes the sign:

$$ \int_a^r f(t)\,dt=-\int_r^a f(t)\,dt. $$

Apply these facts with \(a=a(x)\) and \(b=b(x)\). The split at \(r\) gives

$$ \int_{a(x)}^{b(x)} f(t)\,dt = \int_{a(x)}^r f(t)\,dt+\int_r^{b(x)}f(t)\,dt. $$

Replace the first integral using the reversal property. Then

$$ \int_{a(x)}^{b(x)} f(t)\,dt = -\int_r^{a(x)}f(t)\,dt+\int_r^{b(x)}f(t)\,dt = \int_r^{b(x)}f(t)\,dt-\int_r^{a(x)}f(t)\,dt. $$

This proves the decomposition. The subtraction is essential: both endpoint contributions are measured outward from the same reference point, whereas the original integral measures the net accumulation from one endpoint to the other.

Theorem: If \(f\) is continuous on an interval containing \(r\), \(a(x)\), and \(b(x)\), then for every allowed \(x\), \(\displaystyle \int_{a(x)}^{b(x)}f(t)\,dt=A_r(b(x))-A_r(a(x))\), where \(A_r(u)=\int_r^u f(t)\,dt\).

Worked Example: Constant Rate Between Two Moving Endpoints

Worked Example: Constant Rate Between Two Moving Endpoints

Let \(f(t)=1\), let the lower endpoint be \(a(x)=x\), and let the upper endpoint be \(b(x)=2x\). Use the fixed reference point \(r=0\).

The endpoint contributions are

$$ A_0(2x)=\int_0^{2x}1\,dt=2x, \qquad A_0(x)=\int_0^x1\,dt=x. $$

Subtract the lower-endpoint contribution from the upper-endpoint contribution:

$$ \int_x^{2x}1\,dt = A_0(2x)-A_0(x) = 2x-x = x. $$

Check: Directly, the integral of \(1\) from \(x\) to \(2x\) is the oriented interval length \(2x-x=x\). For \(x=3\), the decomposition gives \(6-3=3\), which agrees with \(\int_3^6 1\,dt=3\). If \(x=-3\), it gives \(-6-(-3)=-3\), matching the reversed interval \(\int_{-3}^{-6}1\,dt=-3\). Thus the formula handles either orientation.

Interpreting the Two Contributions

Each term in the decomposition has a clear meaning. The quantity \(A_r(b(x))\) is the signed accumulation from the reference point to the upper endpoint. The quantity \(A_r(a(x))\) is the signed accumulation from that same reference point to the lower endpoint. Subtracting removes the accumulation shared on the way out from \(r\), leaving the net accumulation between the endpoints.

“Signed” matters. If \(f\) is positive and an endpoint lies below \(r\), the integral from \(r\) down to that endpoint is negative. A negative endpoint contribution is not an error; it records the orientation of the interval. Likewise, if \(b(x)<a(x)\), the original integral itself is oriented in the reverse direction and changes sign when its limits are swapped.

The reference point need not sit between the two endpoints. If it lies outside their interval, both endpoint contributions may include accumulation over a shared region. Taking their difference cancels that shared part, as the proof’s additivity step shows.

Worked Example: A Varying Rate and a Fixed-Length Interval

Worked Example: A Varying Rate and a Fixed-Length Interval

Let \(f(t)=t+1\), with lower endpoint \(a(x)=x\), upper endpoint \(b(x)=x+2\), and reference point \(r=0\). An antiderivative of \(t+1\) is \(\frac{t^2}{2}+t\), so the contribution to an endpoint \(u\) is

$$ A_0(u)=\int_0^u(t+1)\,dt = \left[\frac{t^2}{2}+t\right]_0^u = \frac{u^2}{2}+u. $$

Evaluate the upper-endpoint contribution:

$$ A_0(x+2) = \frac{(x+2)^2}{2}+(x+2) = \frac{x^2+4x+4}{2}+x+2 = \frac{x^2}{2}+3x+4. $$

Evaluate the lower-endpoint contribution:

$$ A_0(x)=\frac{x^2}{2}+x. $$

Now subtract:

$$ \int_x^{x+2}(t+1)\,dt = \left(\frac{x^2}{2}+3x+4\right) - \left(\frac{x^2}{2}+x\right) = 2x+4. $$

Check: Evaluate the original integral directly with the same antiderivative:

$$ \left[\frac{t^2}{2}+t\right]_x^{x+2} = \left(\frac{(x+2)^2}{2}+x+2\right) - \left(\frac{x^2}{2}+x\right) = 2x+4. $$

The direct calculation agrees with the decomposition.

Worked Example: When the Moving Endpoints Exchange Order

Worked Example: When the Moving Endpoints Exchange Order

Let \(f(t)=t\), let \(a(x)=x\), let \(b(x)=2-x\), and choose \(r=0\). The endpoint contributions are

$$ A_0(u)=\int_0^u t\,dt=\frac{u^2}{2}. $$

Therefore

$$ \begin{aligned} \int_x^{2-x}t\,dt &=A_0(2-x)-A_0(x)\\ &=\frac{(2-x)^2}{2}-\frac{x^2}{2}\\ &=\frac{4-4x+x^2-x^2}{2}\\ &=2-2x. \end{aligned} $$

The endpoints exchange order at \(x=1\). At \(x=0\), the integral runs from \(0\) to \(2\), and the formula gives \(2\). At \(x=2\), it runs from \(2\) down to \(0\), and the formula gives \(-2\).

Check: Direct evaluation gives \(\left[\frac{t^2}{2}\right]_x^{2-x}=\frac{(2-x)^2}{2}-\frac{x^2}{2}=2-2x\), exactly the same result. In particular, at \(x=2\), \(\int_2^0t\,dt=0-2=-2\), confirming the negative sign for the reversed orientation.

A Common Mistake: Reversing the Subtraction

A frequent error is to subtract the upper-endpoint contribution from the lower-endpoint contribution. The order is determined by the original integral: the contribution at the upper endpoint comes first, and the contribution at the lower endpoint is subtracted.

Worked Example: Correcting the Subtraction Order

Return to \(f(t)=t+1\), \(a(x)=x\), \(b(x)=x+2\), and \(r=0\). At \(x=1\),

$$ A_0(3)=\frac{3^2}{2}+3=\frac{15}{2}, \qquad A_0(1)=\frac{1^2}{2}+1=\frac{3}{2}. $$

The incorrect order gives

$$ A_0(1)-A_0(3) = \frac{3}{2}-\frac{15}{2} = -6. $$

But the original integral is positive: \(t+1\) is positive on \([1,3]\). Correctly subtracting gives

$$ A_0(3)-A_0(1) = \frac{15}{2}-\frac{3}{2} = 6. $$

Check: Direct evaluation gives \(\left[\frac{t^2}{2}+t\right]_1^3=\frac{15}{2}-\frac{3}{2}=6\). The corrected order agrees with the original integral; the incorrect order has reversed its sign.

A Reliable Calculation Process

1
Choose and fix a reference point.
Use the same point \(r\) for both endpoint contributions throughout the calculation.
2
Write the upper contribution first.
Evaluate \(\int_r^{b(x)} f(t)\,dt\), using the original upper endpoint.
3
Subtract the lower contribution.
Subtract \(\int_r^{a(x)} f(t)\,dt\); do not reverse the subtraction order.
4
Check orientation and arithmetic.
Compare with a direct evaluation when possible, or test an \(x\)-value for which the interval’s orientation is clear.

Why This Representation Is Useful

Two variable bounds can make an integral look like one moving interval, while the decomposition expresses it using two endpoint contributions measured from a common origin of accumulation. This is useful for interpreting a model: the net amount between the endpoints is the upper endpoint’s accumulated amount minus the lower endpoint’s.

It also helps organize signs. Endpoint contributions may be positive or negative, and the bounds may pass across the reference point or exchange order. Keeping the reference fixed and writing the upper contribution minus the lower contribution preserves the orientation automatically. The formula does not require the reference point to lie inside the interval of integration, nor does it require either endpoint to stay on one side of it.

Check Your Understanding

Answer each question by applying the fixed-reference decomposition and keeping track of orientation.

  1. For \(f(t)=1\), \(a(x)=x\), and \(b(x)=3x\), write the integral from \(a(x)\) to \(b(x)\) as a difference of contributions from \(r=0\), then simplify it.
  2. In the decomposition, why is the lower-endpoint contribution subtracted rather than added?
  3. For \(f(t)=t\), \(a(x)=x\), and \(b(x)=2-x\), at what value of \(x\) do the endpoints exchange order?
  4. Does the reference point have to lie between the two endpoints? Explain using additivity and orientation.
  5. If a calculation gives the negative of the direct integral, what subtraction-order error should you check first?

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