The rule
∫ₚ^q (a·f(x) + b·g(x)) dx = a·∫ₚ^q f(x) dx + b·∫ₚ^q g(x) dx
Holds when f and g are both integrable on [p, q], a and b are constants, and all three integrals have the same limits. It combines the constant factor and the sum rule; with b = −1 and a = 1 it is the difference rule.
Worked examples
∫₁³ (2x² + 3x) dx. Taking the parts separately, ∫₁³ x² dx = 26/3 and ∫₁³ x dx = 4, so the value is 2 · 26/3 + 3 · 4 = 52/3 + 12 = 88/3 ≈ 29.333.
∫₀^π (3 sin x + 2) dx = 3 · 2 + 2 · π = 6 + 2π ≈ 12.283.
∫₀¹ (6x² − 4x) dx = 6 · 1/3 − 4 · 1/2 = 2 − 2 = 0. A result of 0 is possible when the areas above and below the axis cancel.
Common mistakes
- Moving a variable out. Only constants come out: ∫ x·f(x) dx is not x·∫ f(x) dx.
- Forgetting one factor. Both a and b multiply their own integrals.
- Applying it to a product. ∫ f·g dx is not ∫ f dx · ∫ g dx.
Common questions
Why is it called linearity?
Taking the integral respects sums and constant factors, exactly as a linear function does. The same
holds for the derivative, which is why a long expression can be
handled one term at a time in both directions.