Maths WorkshopMaths problems with full solutions
Exercise 47Calculus › Single-variable calculus › Integration › Riemann integralHigh schoolAdded 5 Nov 2026

Linearity of the integral on step functions

#linearity#step functions#sum

Statement

Let f,g:[a,b]→Rf,g:[a,b]\to\mathbb{R} be step functions and λ∈R\lambda\in\mathbb{R}. Show that f+λgf+\lambda g is a step function and that
∫ab(f+λg)=∫abf+λ∫abg.\int_a^b(f+\lambda g)=\int_a^bf+\lambda\int_a^bg.

Hint

Take the common refinement of the two subdivisions, then use linearity of finite sums.

Show solutionHide solution

Solution

Common refinement. Let σf\sigma_f and σg\sigma_g be subdivisions adapted to ff and gg. Take σ=σf∪σg\sigma=\sigma_f\cup\sigma_g (the union of all subdivision points). On each interval of σ\sigma, both ff and gg are constant, say f=ukf=u_k, g=vkg=v_k.

Compute.
∫ab(f+λg)=∑k(uk+λvk)(xk−xk−1)=∑kukΔk+λ∑kvkΔk.\int_a^b(f+\lambda g)=\sum_k(u_k+\lambda v_k)(x_k-x_{k-1})=\sum_ku_k\Delta_k+\lambda\sum_kv_k\Delta_k.
This is ∫f+λ∫g\int f+\lambda\int g.

Conclusion. The integral is linear on the space of step functions.