Basic Properties: Linearity and Additivity

Suppose you know that two functions are each Riemann integrable on an interval. Does it follow that their sum is integrable? Does the integral of the sum equal the sum of the integrals? This question sounds like it should have an immediate "yes". After all, integrals are built from sums of rectangle areas, and sums of sums are sums. But the Riemann integral is defined through a delicate limiting process. This process involves a supremum and an infimum over all partitions. Such quantities do not automatically play well with addition. The linearity of the integral is a theorem that must be proved. It is not an assumption we get for free. This matters because linearity and additivity are the load-bearing walls of integration theory. Nearly every computational technique rests on these two facts. This includes splitting an integral at a point, integrating a sum of functions term by term. It also includes pulling out constants and computing the integral of a piecewise-defined function. Without them, the Fundamental Theorem of Calculus would have no clean statement. The integral would be a curiosity rather than a computational tool. The big picture is that Riemann integrability is a robust property. It is preserved under the vector space operations of addition and scalar multiplication. It also interacts correctly with the geometric operation of subdividing the domain. Both facts trace back to the same technical machinery. This is the Cauchy Integrability Criterion, which characterizes integrability via upper and lower Darboux sums getting arbitrarily close together. It works together with the Equivalence of Riemann and Darboux Integrals. This equivalence lets us move freely between the Riemann-sum definition and the Darboux (upper/lower sum) definition. This article proves two central theorems rigorously. The first is linearity of the integral in the integrand (the integral of αf+βg\alpha f + \beta g equals α∫f+β∫g\alpha \int f + \beta \int g). The second is additivity over adjacent intervals (splitting ∫ab\int_a^b into ∫ac+∫cb\int_a^c + \int_c^b). Both proofs use only the Cauchy criterion and elementary manipulations of suprema and infima. This keeps the logical chain transparent and self-contained.

Key takeaways
  • If f,gf,g are Riemann integrable on [a,b][a,b] and α,β∈R\alpha,\beta \in \mathbb{R}, then αf+βg\alpha f + \beta g is integrable and ∫ab(αf+βg)=α∫abf+β∫abg\int_a^b (\alpha f+\beta g) = \alpha\int_a^b f + \beta \int_a^b g.
  • If ff is integrable on [a,b][a,b] and c∈[a,b]c \in [a,b], then ff is integrable on [a,c][a,c] and [c,b][c,b], and ∫abf=∫acf+∫cbf\int_a^b f = \int_a^c f + \int_c^b f.
  • The proofs use the Cauchy Integrability Criterion: integrability   ⟺  \iff upper and lower sums can be made arbitrarily close.
  • A key subtlety: sup⁡(f+g)≤sup⁡f+sup⁡g\sup(f+g) \le \sup f + \sup g in general, with strict inequality possible — this is why linearity needs a real proof.
  • Additivity requires refining partitions to include the splitting point cc, since upper/lower sums are only well-behaved for partitions that "see" cc.
  • These two results are the algebraic backbone used immediately afterward to prove monotonicity, the triangle inequality for integrals, and the Fundamental Theorem of Calculus.
  • Key idea: integrability is stable under linear combination and under domain-splitting, and both stabilities are proved by controlling upper/lower Darboux sums via the Cauchy criterion.

Where this lives today

Linearity of the integral is the algebraic engine behind term-by-term integration of power series and Fourier series, where an infinite sum is integrated by justifying (via uniform convergence) that the linearity property extends from finite sums to the limit. In probability and statistics, linearity of expectation — E[αX+βY]=αE[X]+βE[Y]E[\alpha X + \beta Y] = \alpha E[X] + \beta E[Y] — is the exact measure-theoretic analogue of this theorem, proved by essentially the same squeezing technique on integrals against a probability measure. In numerical analysis, additivity over adjacent intervals underlies composite quadrature rules (composite Simpson's rule, adaptive quadrature), where an integral over a large interval is approximated by summing accurate approximations on many small subintervals. In physics and engineering, additivity justifies computing work, charge, or probability by integrating piecewise over regions with different physical laws (e.g., different force laws in different zones) and adding the contributions — exactly the logic of Example 2 above. In signal processing, linearity of the integral (as a linear functional) is precisely what makes convolution and Fourier transforms linear operations, connecting back to Equivalence of Riemann and Darboux Integrals as the rigorous foundation making such operations well-defined.

:::quiz[If ff and gg are each Riemann integrable on [0,1][0,1], which statement is guaranteed true by the Linearity Theorem?]

  • ∫01fg=(∫01f)(∫01g)\int_0^1 fg = \left(\int_0^1 f\right)\left(\int_0^1 g\right)
  • ∫01(3f−2g)=3∫01f−2∫01g\int_0^1 (3f - 2g) = 3\int_0^1 f - 2\int_0^1 g ✓
  • sup⁡(f+g)=sup⁡f+sup⁡g\sup(f+g) = \sup f + \sup g on every subinterval
  • f/gf/g is automatically Riemann integrable

:::quiz[If ff is integrable on [0,5][0,5], which of the following is proved by the Additivity Theorem?]

  • ff is integrable on [0,2][0,2] and [2,5][2,5], with ∫05f=∫02f+∫25f\int_0^5 f = \int_0^2 f + \int_2^5 f ✓
  • ff must be continuous at x=2x=2
  • ∫05f=∫02f⋅∫25f\int_0^5 f = \int_0^2 f \cdot \int_2^5 f
  • ff restricted to [0,2][0,2] has the same supremum as ff on [0,5][0,5]

:::faq[Can I split an integral at a point outside [a,b][a,b], like using c>bc > b?] Yes, provided you use the signed-interval convention ∫pqf=−∫qpf\int_p^q f = -\int_q^p f for p>qp > q, and ff is integrable on the larger interval containing a,b,ca,b,c. For instance, if ff is integrable on [a,c][a,c] with b∈(a,c)b\in(a,c), the Additivity Theorem directly gives ∫acf=∫abf+∫bcf\int_a^c f = \int_a^b f + \int_b^c f, which rearranges to ∫abf=∫acf−∫bcf=∫acf+∫cbf\int_a^b f = \int_a^c f - \int_b^c f = \int_a^c f + \int_c^b f, matching the general corollary. The convention is what makes the additivity formula work uniformly regardless of the relative order of a,b,ca,b,c, and it is essential for later results like the Fundamental Theorem of Calculus, where the upper limit of integration is allowed to vary freely.

Ask the tutor: Why does the proof of linearity break down if we only know f+gf+g is integrable, without knowing ff and gg are integrable separately?

DefinitionRiemann Integral (via Darboux sums)

Let f:[a,b]→Rf:[a,b]\to\mathbb{R} be bounded. For a partition P={a=x0<x1<⋯<xn=b}P = \{a=x_0<x_1<\cdots<x_n=b\} of [a,b][a,b], define

Mi=sup⁡x∈[xi−1,xi]f(x),mi=inf⁡x∈[xi−1,xi]f(x),M_i = \sup_{x\in[x_{i-1},x_i]} f(x), \qquad m_i = \inf_{x\in[x_{i-1},x_i]} f(x),
U(f,P)=∑i=1nMi(xi−xi−1),L(f,P)=∑i=1nmi(xi−xi−1).U(f,P) = \sum_{i=1}^n M_i(x_i-x_{i-1}), \qquad L(f,P) = \sum_{i=1}^n m_i(x_i-x_{i-1}).

Define the upper and lower integrals

∫ab‾f=inf⁡PU(f,P),∫ab‾f=sup⁡PL(f,P),\overline{\int_a^b} f = \inf_P U(f,P), \qquad \underline{\int_a^b} f = \sup_P L(f,P),

the infimum and supremum taken over all partitions PP of [a,b][a,b]. We say ff is Riemann (Darboux) integrable on [a,b][a,b] if

∫ab‾f=∫ab‾f,\overline{\int_a^b} f = \underline{\int_a^b} f,

and in that case denote the common value by ∫abf\int_a^b f. By the Equivalence of Riemann and Darboux Integrals, this agrees with the Riemann-sum definition via tagged partitions and mesh →0\to 0.

Intuition

Think of ∫abf\int_a^b f as a signed area, built by squeezing it between lower staircase approximations (using infima on each subinterval) and upper staircase approximations (using suprema). Integrability means these staircases can be forced together as tightly as we like. Now imagine two functions ff and gg, each squeezed by their own staircases. When we add them, the pointwise sum f+gf+g certainly gets squeezed between L(f,P)+L(g,P)L(f,P)+L(g,P) and U(f,P)+U(g,P)U(f,P)+U(g,P) on any common partition PP — but the subtlety is that the supremum of f+gf+g on a subinterval need not equal sup⁡f+sup⁡g\sup f + \sup g on that subinterval; it can be strictly smaller, because ff and gg might achieve their maxima at different points. Linearity survives this gap only because integrability lets us squeeze UU and LL together independently for ff and for gg, and then use inequalities (not equalities) in the right direction to sandwich ∫(f+g)\int(f+g). For additivity, picture the interval [a,b][a,b] with a marked point cc. A partition of [a,b][a,b] that happens to include cc as a partition point splits cleanly into a partition of [a,c][a,c] and one of [c,b][c,b], and the upper/lower sums add. The only work is showing that refining any partition to include cc never hurts our control on the sums — refinement never increases upper sums and never decreases lower sums, a fact borrowed from the Cauchy criterion machinery.

Figure
Splitting a partition at the point cc
a b c U(f,P₁), L(f,P₁) on [a,c] U(f,P₂), L(f,P₂) on [c,b] Refined partition P = P₁ ∪ P₂ contains c
TheoremLinearity of the Riemann Integral

Let f,g:[a,b]→Rf,g:[a,b]\to\mathbb{R} be Riemann integrable on [a,b][a,b], and let α,β∈R\alpha,\beta\in\mathbb{R}. Then αf+βg\alpha f + \beta g is Riemann integrable on [a,b][a,b], and

∫ab(αf+βg)=α∫abf+β∫abg.\int_a^b (\alpha f + \beta g) = \alpha \int_a^b f + \beta \int_a^b g.
LemmaSums and constant multiples of upper/lower sums

Let f,g:[a,b]→Rf,g:[a,b]\to\mathbb{R} be bounded and let PP be any partition of [a,b][a,b]. Then

U(f+g,P)≤U(f,P)+U(g,P),L(f+g,P)≥L(f,P)+L(g,P).U(f+g,P) \le U(f,P) + U(g,P), \qquad L(f+g,P) \ge L(f,P) + L(g,P).

Moreover, for c≥0c\ge 0: U(cf,P)=c U(f,P)U(cf,P) = c\,U(f,P) and L(cf,P)=c L(f,P)L(cf,P) = c\,L(f,P); for c<0c<0: U(cf,P)=c L(f,P)U(cf,P) = c\,L(f,P) and L(cf,P)=c U(f,P)L(cf,P) = c\,U(f,P).

Proof

Sums. Fix a subinterval [xi−1,xi][x_{i-1},x_i] of PP. For any xx in this subinterval,

f(x)+g(x)≤sup⁡[xi−1,xi]f+sup⁡[xi−1,xi]g.f(x)+g(x) \le \sup_{[x_{i-1},x_i]} f + \sup_{[x_{i-1},x_i]} g.

The right side is a fixed upper bound for f+gf+g on [xi−1,xi][x_{i-1},x_i], so by definition of supremum as the least upper bound,

sup⁡[xi−1,xi](f+g)≤sup⁡[xi−1,xi]f+sup⁡[xi−1,xi]g.\sup_{[x_{i-1},x_i]} (f+g) \le \sup_{[x_{i-1},x_i]} f + \sup_{[x_{i-1},x_i]} g.

Multiplying by (xi−xi−1)≥0(x_i - x_{i-1}) \ge 0 and summing over ii gives U(f+g,P)≤U(f,P)+U(g,P)U(f+g,P) \le U(f,P)+U(g,P). The inequality for LL follows symmetrically: for xx in the subinterval, f(x)+g(x)≥inf⁡f+inf⁡gf(x)+g(x) \ge \inf f + \inf g, so inf⁡(f+g)≥inf⁡f+inf⁡g\inf(f+g) \ge \inf f + \inf g (an infimum is the greatest lower bound, so any lower bound for f+gf+g, here inf⁡f+inf⁡g\inf f+\inf g, cannot exceed it); multiply and sum.

Constant multiples. If c≥0c \ge 0, then for any bounded set S⊂RS \subset \mathbb{R}, sup⁡(cS)=csup⁡S\sup(cS) = c\sup S and inf⁡(cS)=cinf⁡S\inf(cS) = c \inf S — multiplying every element of a set by a nonnegative constant scales its supremum and infimum by that same constant, since order is preserved. Applying this on each subinterval and summing gives U(cf,P)=cU(f,P)U(cf,P) = cU(f,P), L(cf,P)=cL(f,P)L(cf,P)=cL(f,P). If c<0c<0, multiplying by cc reverses order: sup⁡(cS)=cinf⁡S\sup(cS) = c\inf S and inf⁡(cS)=csup⁡S\inf(cS) = c \sup S (the largest element of SS becomes, after multiplying by a negative number, the smallest element of cScS). Applying this on each subinterval gives U(cf,P)=cL(f,P)U(cf,P) = cL(f,P) and L(cf,P)=cU(f,P)L(cf,P) = cU(f,P). ■\blacksquare

∎
Proof

Proof of the Linearity Theorem. We treat the sum f+gf+g and scalar multiples separately, using the technique of squeezing via the Cauchy criterion.

Step 1: f+gf+g is integrable with ∫(f+g)=∫f+∫g\int(f+g) = \int f + \int g. Let ε>0\varepsilon > 0. Since ff is integrable, by the Cauchy Integrability Criterion there is a partition P1P_1 of [a,b][a,b] with

U(f,P1)−L(f,P1)<ε/2.U(f,P_1) - L(f,P_1) < \varepsilon/2.

Since gg is integrable, there is a partition P2P_2 with

U(g,P2)−L(g,P2)<ε/2.U(g,P_2) - L(g,P_2) < \varepsilon/2.

Let P=P1∪P2P = P_1 \cup P_2 be the common refinement. Refining a partition can only decrease upper sums and increase lower sums (this is a basic monotonicity fact underlying the Cauchy criterion itself: adding a point to a partition splits one subinterval into two, and the supremum of ff over each piece is ≤\le the supremum over the whole, with the symmetric statement for infima). Hence

U(f,P)≤U(f,P1),L(f,P)≥L(f,P1),U(g,P)≤U(g,P2),L(g,P)≥L(g,P2),U(f,P) \le U(f,P_1), \quad L(f,P) \ge L(f,P_1), \quad U(g,P)\le U(g,P_2), \quad L(g,P) \ge L(g,P_2),

so

U(f,P)−L(f,P)<ε/2,U(g,P)−L(g,P)<ε/2.U(f,P) - L(f,P) < \varepsilon/2, \qquad U(g,P) - L(g,P) < \varepsilon/2.

By the Lemma, U(f+g,P)≤U(f,P)+U(g,P)U(f+g,P) \le U(f,P) + U(g,P) and L(f+g,P)≥L(f,P)+L(g,P)L(f+g,P) \ge L(f,P) + L(g,P). Since always L(f+g,P)≤U(f+g,P)L(f+g,P) \le U(f+g,P) (lower sums never exceed upper sums for the same partition, as mi≤Mim_i \le M_i on each piece), we get

0≤U(f+g,P)−L(f+g,P)≤(U(f,P)−L(f,P))+(U(g,P)−L(g,P))<ε.0 \le U(f+g,P) - L(f+g,P) \le \big(U(f,P)-L(f,P)\big) + \big(U(g,P)-L(g,P)\big) < \varepsilon.

Since ε>0\varepsilon>0 was arbitrary, the Cauchy criterion gives that f+gf+g is integrable on [a,b][a,b]. Now we identify the value of the integral. Using the Lemma on the same partition PP:

L(f,P)+L(g,P)≤L(f+g,P)≤∫ab(f+g)≤U(f+g,P)≤U(f,P)+U(g,P).L(f,P) + L(g,P) \le L(f+g,P) \le \int_a^b (f+g) \le U(f+g,P) \le U(f,P) + U(g,P).

(The middle inequalities hold because for any partition QQ, L(h,Q)≤∫abh≤U(h,Q)L(h,Q) \le \int_a^b h \le U(h,Q) whenever hh is integrable — this is immediate from the definitions of upper/lower integral as an infimum/supremum, together with integrability making the upper and lower integrals coincide.) Also

L(f,P)≤∫abf≤U(f,P),L(g,P)≤∫abg≤U(g,P),L(f,P) \le \int_a^b f \le U(f,P), \qquad L(g,P) \le \int_a^b g \le U(g,P),

so

L(f,P)+L(g,P)≤∫abf+∫abg≤U(f,P)+U(g,P).L(f,P)+L(g,P) \le \int_a^b f + \int_a^b g \le U(f,P) + U(g,P).

Both ∫ab(f+g)\int_a^b (f+g) and ∫abf+∫abg\int_a^b f + \int_a^b g lie in the interval [L(f,P)+L(g,P), U(f,P)+U(g,P)][L(f,P)+L(g,P),\, U(f,P)+U(g,P)], whose length is less than ε\varepsilon. Hence

∣∫ab(f+g)−(∫abf+∫abg)∣<ε.\left| \int_a^b (f+g) - \left(\int_a^b f + \int_a^b g\right) \right| < \varepsilon.

As ε>0\varepsilon > 0 was arbitrary, the two quantities are equal:

∫ab(f+g)=∫abf+∫abg.\int_a^b (f+g) = \int_a^b f + \int_a^b g.

Step 2: cfcf is integrable with ∫cf=c∫f\int cf = c \int f, for any constant c∈Rc \in \mathbb{R}. If c=0c = 0 the claim is trivial (0⋅f0\cdot f is the zero function, trivially integrable with integral 00). Suppose c>0c > 0. Given ε>0\varepsilon > 0, choose a partition PP with U(f,P)−L(f,P)<ε/cU(f,P) - L(f,P) < \varepsilon/c (possible by the Cauchy criterion for ff). By the Lemma, U(cf,P)=cU(f,P)U(cf,P) = cU(f,P) and L(cf,P)=cL(f,P)L(cf,P) = cL(f,P), so

U(cf,P)−L(cf,P)=c(U(f,P)−L(f,P))<ε.U(cf,P) - L(cf,P) = c\big(U(f,P)-L(f,P)\big) < \varepsilon.

Thus cfcf satisfies the Cauchy criterion and is integrable. Moreover, since L(cf,P)=cL(f,P)≤c∫abf≤cU(f,P)=U(cf,P)L(cf,P) = cL(f,P) \le c\int_a^b f \le cU(f,P) = U(cf,P), and also L(cf,P)≤∫abcf≤U(cf,P)L(cf,P) \le \int_a^b cf \le U(cf,P), both ∫abcf\int_a^b cf and c∫abfc\int_a^b f lie in an interval of length U(cf,P)−L(cf,P)<εU(cf,P)-L(cf,P) < \varepsilon; letting ε→0\varepsilon \to 0 forces ∫abcf=c∫abf\int_a^b cf = c\int_a^b f. If c<0c < 0, write c=−∣c∣c = -|c|. By the Lemma, U(cf,P)=−∣c∣L(f,P)U(cf,P) = -|c| L(f,P) and L(cf,P)=−∣c∣U(f,P)L(cf,P) = -|c|U(f,P), so

U(cf,P)−L(cf,P)=∣c∣(U(f,P)−L(f,P)),U(cf,P) - L(cf,P) = |c|\big(U(f,P) - L(f,P)\big),

which can again be made <ε<\varepsilon by choosing PP appropriately, so cfcf is integrable by the Cauchy criterion. The same squeezing argument as above (now using L(cf,P)=−∣c∣U(f,P)≤∫abcf≤−∣c∣L(f,P)=U(cf,P)L(cf,P) = -|c|U(f,P) \le \int_a^b cf \le -|c|L(f,P) = U(cf,P), alongside −∣c∣U(f,P)≤c∫abf≤−∣c∣L(f,P)-|c|U(f,P) \le c\int_a^b f \le -|c| L(f,P)) forces ∫abcf=c∫abf\int_a^b cf = c \int_a^b f.

Step 3: Combine. By Step 2, αf\alpha f and βg\beta g are each integrable with ∫αf=α∫f\int \alpha f = \alpha \int f and ∫βg=β∫g\int \beta g = \beta \int g. By Step 1 applied to the integrable functions αf\alpha f and βg\beta g, their sum αf+βg\alpha f + \beta g is integrable and

∫ab(αf+βg)=∫abαf+∫abβg=α∫abf+β∫abg.■\int_a^b (\alpha f + \beta g) = \int_a^b \alpha f + \int_a^b \beta g = \alpha \int_a^b f + \beta \int_a^b g. \qquad \blacksquare
∎
TheoremAdditivity over Adjacent Intervals

Let f:[a,b]→Rf:[a,b]\to\mathbb{R} be bounded and let c∈(a,b)c \in (a,b). Then ff is Riemann integrable on [a,b][a,b] if and only if ff is Riemann integrable on both [a,c][a,c] and [c,b][c,b], and in that case

∫abf=∫acf+∫cbf.\int_a^b f = \int_a^c f + \int_c^b f.
Proof

We use the technique of refining partitions to expose the splitting point, together with the Cauchy criterion.

(⇒\Rightarrow) Suppose ff is integrable on [a,b][a,b]. Let ε>0\varepsilon>0. Choose a partition PP of [a,b][a,b] with U(f,P)−L(f,P)<εU(f,P) - L(f,P) < \varepsilon. Let P′=P∪{c}P' = P \cup \{c\}; adding a point only refines PP, and refinement does not increase UU nor decrease LL (Step 1's refinement fact), so

U(f,P′)−L(f,P′)≤U(f,P)−L(f,P)<ε.U(f,P') - L(f,P') \le U(f,P) - L(f,P) < \varepsilon.

Write P1=P′∩[a,c]P_1 = P' \cap [a,c], a partition of [a,c][a,c], and P2=P′∩[c,b]P_2 = P'\cap [c,b], a partition of [c,b][c,b]; since c∈P′c \in P', every subinterval of P′P' lies entirely in [a,c][a,c] or entirely in [c,b][c,b], so

U(f,P′)=U(f,P1)+U(f,P2),L(f,P′)=L(f,P1)+L(f,P2).U(f,P') = U(f,P_1) + U(f,P_2), \qquad L(f,P') = L(f,P_1) + L(f,P_2).

Hence

(U(f,P1)−L(f,P1))+(U(f,P2)−L(f,P2))=U(f,P′)−L(f,P′)<ε.\big(U(f,P_1)-L(f,P_1)\big) + \big(U(f,P_2)-L(f,P_2)\big) = U(f,P')-L(f,P') < \varepsilon.

Each term on the left is ≥0\ge 0 (since U≥LU\ge L always, for the same partition), so each term individually is <ε<\varepsilon:

U(f,P1)−L(f,P1)<ε,U(f,P2)−L(f,P2)<ε.U(f,P_1)-L(f,P_1) < \varepsilon, \qquad U(f,P_2)-L(f,P_2) < \varepsilon.

As ε>0\varepsilon>0 was arbitrary, ff satisfies the Cauchy criterion on [a,c][a,c] and on [c,b][c,b] separately, so ff is integrable on each. To get the value: since P1,P2P_1, P_2 can be chosen (as above) with U(f,P1)−L(f,P1)<εU(f,P_1)-L(f,P_1) < \varepsilon and U(f,P2)−L(f,P2)<εU(f,P_2)-L(f,P_2)<\varepsilon, we have

L(f,P1)≤∫acf≤U(f,P1),L(f,P2)≤∫cbf≤U(f,P2),L(f,P_1) \le \int_a^c f \le U(f,P_1), \qquad L(f,P_2) \le \int_c^b f \le U(f,P_2),

so

L(f,P1)+L(f,P2)≤∫acf+∫cbf≤U(f,P1)+U(f,P2),L(f,P_1)+L(f,P_2) \le \int_a^c f + \int_c^b f \le U(f,P_1)+U(f,P_2),

i.e. L(f,P′)≤∫acf+∫cbf≤U(f,P′)L(f,P') \le \int_a^c f + \int_c^b f \le U(f,P'). Also L(f,P′)≤∫abf≤U(f,P′)L(f,P') \le \int_a^b f \le U(f,P') by definition of the integral over [a,b][a,b]. Both ∫abf\int_a^b f and ∫acf+∫cbf\int_a^c f + \int_c^b f lie in [L(f,P′),U(f,P′)][L(f,P'), U(f,P')], an interval of length <ε<\varepsilon. Letting ε→0\varepsilon\to 0,

∫abf=∫acf+∫cbf.\int_a^b f = \int_a^c f + \int_c^b f.

(⇐\Leftarrow) Suppose ff is integrable on [a,c][a,c] and on [c,b][c,b]. Let ε>0\varepsilon>0. By the Cauchy criterion, choose a partition P1P_1 of [a,c][a,c] with U(f,P1)−L(f,P1)<ε/2U(f,P_1)-L(f,P_1)<\varepsilon/2, and a partition P2P_2 of [c,b][c,b] with U(f,P2)−L(f,P2)<ε/2U(f,P_2)-L(f,P_2)<\varepsilon/2. Let P=P1∪P2P = P_1\cup P_2, a partition of [a,b][a,b] containing cc. As above,

U(f,P)−L(f,P)=(U(f,P1)−L(f,P1))+(U(f,P2)−L(f,P2))<ε.U(f,P) - L(f,P) = \big(U(f,P_1)-L(f,P_1)\big)+\big(U(f,P_2)-L(f,P_2)\big) < \varepsilon.

Since ε>0\varepsilon>0 was arbitrary, ff satisfies the Cauchy criterion on [a,b][a,b], so ff is integrable on [a,b][a,b]. (The value formula then follows exactly as in the forward direction, using this same PP.) ■\blacksquare

∎
CorollaryAdditivity for arbitrary order of points

If ff is integrable on a closed interval containing a,b,ca,b,c (in any order), then

∫abf=∫acf+∫cbf\int_a^b f = \int_a^c f + \int_c^b f

still holds, with the convention ∫pqf=−∫qpf\int_p^q f = -\int_q^p f for p>qp>q and ∫ppf=0\int_p^p f = 0.

Worked examples

Example 1 (Linearity with asymmetric functions and irrational coefficients). Let f(x)=x2f(x) = x^2 and g(x)=⌊x⌋g(x) = \lfloor x \rfloor (floor function) on [0,2][0,2], and let α=2\alpha = \sqrt{2}, β=−3\beta = -3. Checking hypotheses. f(x)=x2f(x)=x^2 is continuous on [0,2][0,2], hence Riemann integrable (continuous functions on closed bounded intervals are integrable — a standard consequence of uniform continuity and the Cauchy criterion). g(x)=⌊x⌋g(x) = \lfloor x\rfloor is a step function with a single jump at x=1x=1; it is bounded (0≤g≤20\le g\le 2) and has only one discontinuity, so it is Riemann integrable (monotone/step functions with finitely many discontinuities are integrable). Both hypotheses of the Linearity Theorem are satisfied. Computing each integral. By the Fundamental Theorem (used here only for arithmetic, not to justify the structural theorem itself):

∫02x2 dx=[x33]02=83.\int_0^2 x^2\,dx = \left[\frac{x^3}{3}\right]_0^2 = \frac{8}{3}.

For gg: on [0,1)[0,1), g≡0g\equiv 0; on [1,2)[1,2), g≡1g\equiv 1; at the single point x=2x=2, g(2)=2g(2)=2, which does not affect the integral (a single point has no effect on Darboux sums). So

∫02⌊x⌋ dx=∫010 dx+∫121 dx=0+1=1.\int_0^2 \lfloor x\rfloor\,dx = \int_0^1 0\,dx + \int_1^2 1\,dx = 0 + 1 = 1.

Applying linearity. The theorem guarantees 2 f−3g\sqrt2\, f - 3g is integrable on [0,2][0,2] and

∫02(2 x2−3⌊x⌋)dx=2∫02x2 dx−3∫02⌊x⌋ dx=2⋅83−3⋅1=823−3.\int_0^2 \left(\sqrt2\,x^2 - 3\lfloor x\rfloor\right)dx = \sqrt2 \int_0^2 x^2\,dx - 3\int_0^2 \lfloor x\rfloor\,dx = \sqrt2 \cdot \frac{8}{3} - 3\cdot 1 = \frac{8\sqrt2}{3} - 3.

Numerically, 823≈3.7712\frac{8\sqrt2}{3}\approx 3.7712, so the value is approximately 0.77120.7712. Note that computing ∫(2f−3g)\int (\sqrt2 f - 3g) directly from Darboux sums of the combined function would be far messier, since 2x2−3⌊x⌋\sqrt2 x^2 - 3\lfloor x \rfloor has an awkward jump; linearity lets us bypass that entirely by working with ff and gg separately.

Example 2 (Additivity to compute an integral of a genuinely piecewise function). Define h:[−1,3]→Rh:[-1,3]\to\mathbb{R} by

h(x)={x2+1,−1≤x<1,4−x,1≤x≤3.h(x) = \begin{cases} x^2 + 1, & -1\le x < 1,\\ 4 - x, & 1 \le x \le 3.\end{cases}

Checking hypotheses. On [−1,1][-1,1], redefine h~1(x)=x2+1\tilde h_1(x)=x^2+1 everywhere (agrees with hh on [−1,1)[-1,1) and we assign h~1(1)=2\tilde h_1(1)=2); this is continuous, hence integrable on [−1,1][-1,1], and changing the value at the single point x=1x=1 does not change the integral. On [1,3][1,3], h(x)=4−xh(x)=4-x is continuous, hence integrable. So by the Additivity Theorem (applied at the splitting point c=1∈(−1,3)c=1\in(-1,3)), hh is integrable on [−1,3][-1,3] with

∫−13h=∫−11(x2+1) dx+∫13(4−x) dx.\int_{-1}^{3} h = \int_{-1}^{1} (x^2+1)\,dx + \int_{1}^{3} (4-x)\,dx.

Computing each piece.

∫−11(x2+1) dx=[x33+x]−11=(13+1)−(−13−1)=43+43⋅12⋅2\int_{-1}^1 (x^2+1)\,dx = \left[\frac{x^3}{3}+x\right]_{-1}^1 = \left(\frac13+1\right)-\left(-\frac13-1\right) = \frac{4}{3}+\frac{4}{3}\cdot\frac12\cdot 2

Let us instead compute carefully: at x=1x=1: 13+1=43\frac13+1=\frac43. At x=−1x=-1: −13−1=−43-\frac13-1=-\frac43. Difference: 43−(−43)=83\frac43-(-\frac43)=\frac83.

∫13(4−x) dx=[4x−x22]13=(12−92)−(4−12)=152−72=4.\int_1^3 (4-x)\,dx = \left[4x - \frac{x^2}{2}\right]_1^3 = \left(12-\frac92\right)-\left(4-\frac12\right) = \frac{15}{2} - \frac{7}{2} = 4.

Total.

∫−13h=83+4=203≈6.667.\int_{-1}^3 h = \frac83 + 4 = \frac{20}{3} \approx 6.667.

This illustrates the additivity theorem exactly as intended: a function defined by different rules on two adjacent pieces is integrated piece by piece, and the theorem is what licenses gluing the results together into a single well-defined integral over [−1,3][-1,3].

CounterexampleWhy boundedness cannot be dropped

The Linearity and Additivity Theorems both implicitly require the functions involved to be bounded (built into the very definition of Riemann/Darboux integrability: U(f,P)U(f,P) and L(f,P)L(f,P) are undefined, or infinite, if ff is unbounded on some subinterval). Drop boundedness and the theorems fail outright — indeed integrability itself fails. Let [a,b]=[0,1][a,b] = [0,1] and define

f(x)={1x,0<x≤1,0,x=0.f(x) = \begin{cases} \dfrac{1}{x}, & 0 < x \le 1,\\[4pt] 0, & x=0. \end{cases}

On any subinterval [0,x1][0,x_1] of a partition (with x1>0x_1>0), sup⁡f=+∞\sup f = +\infty since f(x)→∞f(x)\to\infty as x→0+x\to 0^+. Hence U(f,P)=+∞U(f,P) = +\infty for every partition PP, and ff is not Riemann integrable on [0,1][0,1] at all — the upper Darboux sum never even takes a finite value, so the Cauchy criterion cannot apply and the definitions in this article do not produce a number ∫01f\int_0^1 f. Now let g(x)=−1xg(x) = -\frac1x for x∈(0,1]x\in(0,1], g(0)=0g(0)=0. Individually ff and gg are each non-integrable (unbounded), but their sum is

(f+g)(x)={1x−1x=0,x∈(0,1],0,x=0,(f+g)(x) = \begin{cases} \dfrac1x - \dfrac1x = 0, & x\in(0,1],\\ 0, & x=0,\end{cases}

which is identically 00 and trivially integrable with ∫01(f+g)=0\int_0^1 (f+g) = 0. So "f+gf+g integrable" does not imply "ff and gg individually integrable" — but that is not what the Linearity Theorem claims (it assumes both f,gf,g integrable to begin with). More importantly, since f,gf,g are each unbounded, the theorem's conclusion ∫(f+g)=∫f+∫g\int(f+g) = \int f+\int g isn't even meaningful here: the right side would be "(+∞)+(−∞)(+\infty)+(-\infty)", an undefined expression, while the left side is the well-defined number 00. This shows precisely why boundedness is a load-bearing hypothesis: without it, the objects ∫f\int f and ∫g\int g may fail to exist even though ∫(f+g)\int(f+g) does, so no linearity statement can be salvaged.

Scope, edge cases & common traps

SituationWhat holdsWhat can fail
f,gf,g bounded and integrable on [a,b][a,b]Linearity holds exactly as stated—
ff or gg unboundedIntegral undefined for that functionLinearity statement is meaningless, not merely false
c∉[a,b]c \notin [a,b]Additivity formula still makes sense using signed-interval conventionMust not naively assume c∈(a,b)c\in(a,b); check the corollary's convention
ff integrable on [a,c][a,c], [c,b][c,b] separately but defined differently at x=cx=cStill integrable on [a,b][a,b]; value at one point never affects the integralBeginners sometimes worry the "jump" at cc breaks integrability — it does not
Infinitely many splitting points (e.g. splitting into infinitely many subintervals)Additivity as stated is only proved for finitely many splitsPassing to infinite sums requires separate justification (uniform convergence / dominated convergence type arguments), not covered by this theorem

The mathematician behind it

Origins · 1 minBernhard Riemann and how this was discovered
BR
Bernhard Riemann
1826–1866 · Göttingen, mid-19th century analysis

Riemann introduced the rigorous definition of the definite integral bearing his name in his 1854 habilitation lecture on trigonometric series, seeking to understand exactly which functions could be represented by Fourier series. His formulation — via limits of sums over partitions with arbitrary tags — was later reorganized by Gaston Darboux using upper and lower sums, giving the equivalent and computationally convenient formulation used throughout this article. Riemann's broader legacy spans complex analysis, differential geometry (Riemannian manifolds), and the Riemann Hypothesis in number theory, but his integral remains the entry point through which nearly every student first encounters rigorous integration theory.

History
- 1854: Riemann defines the integral via limits of sums in his habilitation thesis on trigonometric series, first giving a precise integrability criterion.
- 1875: Gaston Darboux reformulates Riemann's integral using upper and lower sums, yielding the modern Darboux/Riemann equivalence used pedagogically today.
- 1881: Vito Volterra constructs pathological examples clarifying the boundary between Riemann integrability and mere boundedness, sharpening understanding of when linearity-type arguments apply.
- 1902: Henri Lebesgue introduces measure-theoretic integration, subsuming Riemann's theory and explaining exactly which bounded functions are Riemann integrable (those continuous almost everywhere).
- 1920s–on: Linearity and additivity of the integral become foundational lemmas in every rigorous calculus and real analysis curriculum, stated and proved essentially as here before the Fundamental Theorem of Calculus.
Why doesn't U(f+g,P)=U(f,P)+U(g,P)U(f+g,P) = U(f,P) + U(g,P) hold in general?

Because the supremum of a sum of two functions on a set need not equal the sum of their individual suprema. On a given subinterval, ff might achieve its maximum at one point while gg achieves its maximum at a different point, so f+gf+g can never actually reach the sum of the two individual maxima simultaneously. The only guaranteed relationship is the inequality sup⁡(f+g)≤sup⁡f+sup⁡g\sup(f+g)\le \sup f+\sup g, obtained by noting f(x)+g(x)≤sup⁡f+sup⁡gf(x)+g(x)\le \sup f+\sup g for every xx, so the right side is an upper bound (though not necessarily the least one) for f+gf+g. This is precisely why the proof of linearity must proceed via inequalities and the Cauchy criterion, squeezing ∫(f+g)\int(f+g) between L(f,P)+L(g,P)L(f,P)+L(g,P) and U(f,P)+U(g,P)U(f,P)+U(g,P), rather than via a direct equality of upper sums.

Does linearity extend to infinite sums, like ∫∑n=1∞fn\int \sum_{n=1}^\infty f_n?

Not automatically. The theorem proved here is strictly about finite linear combinations: αf+βg\alpha f+\beta g, or by induction any finite sum ∑i=1nαifi\sum_{i=1}^n \alpha_i f_i. Extending to an infinite series requires additional hypotheses, typically that the partial sums converge uniformly to the limit function on [a,b][a,b]; uniform convergence is exactly the condition that lets you interchange the limit (infinite sum) and the integral, using an ε/3\varepsilon/3-style argument built on top of finite linearity. Without uniform convergence, term-by-term integration can fail — there are pointwise-convergent sequences of integrable functions whose integrals do not converge to the integral of the limit.

Is Riemann integrability itself needed, or would just boundedness suffice for these theorems?

Boundedness alone is not enough; genuine Riemann integrability of each piece is required. There exist bounded functions that are not Riemann integrable — the classic example is the Dirichlet function (indicator of the rationals) on [0,1][0,1], for which every upper sum equals 11 and every lower sum equals 00, so the Cauchy criterion fails and no integral exists. If ff is such a non-integrable bounded function and g=−fg = -f, then f+g≡0f+g \equiv 0 is trivially integrable, but neither ff nor gg individually has an integral to plug into a linearity formula. The theorems in this article are conditional statements: given integrability of the pieces, conclude integrability and the formula for the combination — they say nothing about combinations of non-integrable pieces.

Why is the Cauchy Integrability Criterion the right tool for these proofs, rather than working directly with Riemann sums?

The Cauchy criterion reduces integrability to a single, checkable inequality — the existence of a partition making U(f,P)−L(f,P)U(f,P)-L(f,P) arbitrarily small — which interacts very cleanly with algebraic operations because UU and LL are built from suprema and infima on subintervals, for which we have clean (if one-directional) inequalities under addition and scaling. Working directly with tagged Riemann sums and mesh-limits is possible but more cumbersome here, since one would need to carefully synchronize tag choices and mesh sizes between ff and gg. The Equivalence of Riemann and Darboux Integrals guarantees both approaches give the same integral, so we are free to use whichever is more convenient — and for algebraic properties like linearity and additivity, the Darboux/Cauchy approach is decisively more convenient.

Does additivity mean I can split at any finite number of points, not just one?

Yes — this follows by induction from the two-point case proved here. If ff is integrable on [a,b][a,b] and a=c0<c1<⋯<cn=ba = c_0 < c_1 < \cdots < c_n = b, then applying the Additivity Theorem repeatedly (first splitting at c1c_1, then splitting the piece [c1,b][c_1,b] at c2c_2, and so on) shows ff is integrable on each [ci−1,ci][c_{i-1},c_i] and

∫abf=∑i=1n∫ci−1cif.\int_a^b f = \sum_{i=1}^n \int_{c_{i-1}}^{c_i} f.

This finite generalization is exactly what licenses computing the integral of a piecewise-defined function with finitely many pieces, as in Example 2, and it is the version of additivity most often invoked in practice.

How do linearity and additivity foreshadow the Fundamental Theorem of Calculus?

The Fundamental Theorem of Calculus typically defines F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt and studies its derivative. Additivity is exactly what makes FF well-defined and lets you compute F(x+h)−F(x)=∫xx+hf(t) dtF(x+h)-F(x) = \int_x^{x+h} f(t)\,dt as a single small integral rather than a difference of two large ones — this identity is a direct instance of the additivity theorem. Linearity, meanwhile, is what lets you differentiate FF termwise when ff itself is built from sums of simpler functions, and combined with the forthcoming Monotonicity and Triangle Inequality for Integrals, it supplies the estimates needed to squeeze the difference quotient of FF and prove F′(x)=f(x)F'(x)=f(x) at points of continuity.

Before this

Where this leads