Tutorials › Calculus II › Why Integration Is Linear

Integration Strategy · Tutorial 4 of 998

Why Integration Is Linear

Use the linearity of differentiation to justify splitting sums and constant multiples in an indefinite integral, then verify the resulting antiderivatives.

Beginner 8 min read

What You'll Learn

  • Derive the sum and constant-multiple rules from the derivative definition.
  • State the conditions under which integration can be split term by term.
  • Keep arbitrary constants consistent when writing indefinite integrals.
  • Apply linearity to polynomial, trigonometric, exponential, and rational terms.
  • Recognize why linearity does not permit splitting products.

Why Linearity Helps

An integrand can contain several terms that are easier to handle separately. For example, a sum of a polynomial term and a trigonometric term may have a straightforward antiderivative if each part is considered on its own. The reason this is legitimate is not just an algebraic convenience: it follows from how derivatives behave.

Differentiation respects sums and constant multiples. Since integration asks us to reverse differentiation, the corresponding antiderivative rules respect sums and constant multiples too. These rules let us reorganize an integral without changing the antiderivative problem.

Central idea: On an interval where the relevant antiderivatives exist, the antiderivative of a sum is the sum of antiderivatives, and a constant factor can be taken outside an indefinite integral.

Antiderivatives and Indefinite Integrals

A function \(F\) is an antiderivative of \(f\) on an interval \(I\) if \(F'(x)=f(x)\) for every \(x\in I\). The indefinite integral \(\int f(x)\,dx\) denotes the family of antiderivatives of \(f\), rather than one particular function. If \(F\) is one antiderivative, that family is written \(F(x)+C\), where \(C\) is an arbitrary constant.

The interval matters. For example, \(1/x\) is defined separately on the intervals \(x>0\) and \(x<0\), and an antiderivative must be considered on an interval where the integrand is defined. In the rules below, assume all functions and antiderivatives are defined on a common interval.

Definition: An indefinite integral is a family of functions. Two antiderivatives of the same function on an interval differ by a constant, so the arbitrary constant must be included when writing the full family.

Where the Rules Come From

Let \(F\) and \(G\) be differentiable on an interval \(I\), and let \(a\) and \(b\) be constants. The derivative of \(aF+bG\) can be obtained directly from the definition of the derivative. For a point \(x\in I\), take \(h\) small enough that \(x+h\) is also in \(I\):

$$ \begin{aligned} \frac{(aF+bG)(x+h)-(aF+bG)(x)}{h} &=a\frac{F(x+h)-F(x)}{h} +b\frac{G(x+h)-G(x)}{h}. \end{aligned} $$

Because \(F\) and \(G\) are differentiable, the two difference quotients have limits as \(h\) approaches zero. Taking that limit gives

$$ (aF+bG)'(x)=aF'(x)+bG'(x). $$

This proves the derivative rule for a linear combination: the derivative of a sum is the sum of the derivatives, and a constant multiple remains a constant multiple after differentiation. To obtain the integration rules, suppose \(F'=f\) and \(G'=g\). Then

$$ (aF+bG)'=af+bg. $$

Thus \(aF+bG\) is an antiderivative of \(af+bg\). Every other antiderivative on the same interval differs from it by an arbitrary constant. This gives the integration rule.

Theorem: If \(F'=f\) and \(G'=g\) on a common interval, and \(a,b\) are constants, then $$ \int \bigl(af(x)+bg(x)\bigr)\,dx =aF(x)+bG(x)+C. $$ Here \(C\) is an arbitrary constant. In particular, the sum rule and constant-multiple rule are $$ \int (f+g)\,dx=F+G+C, \qquad \int af\,dx=aF+C. $$

In the shorter notation \(\int f\,dx+\int g\,dx\), each indefinite integral represents a family. The displayed formulas mean that the resulting families agree, not that a particular choice of constants on separate terms must be preserved. When combining terms, one arbitrary constant at the end is enough.

Using Linearity to Split an Integrand

To use the rules, first identify terms that are joined by addition or subtraction. A subtraction is addition of a negative term. Then take any constant coefficients into account and find an antiderivative for each term. This is a change in organization, not a change to the function being integrated.

1
Identify the terms.
Separate terms joined by addition or subtraction, keeping each sign attached to its term.
2
Keep constant factors.
Move a constant coefficient outside its term's integral, or leave it in place and integrate the term directly.
3
Integrate each term.
Use an antiderivative for each simpler term on the interval under consideration.
4
Combine and check.
Write one arbitrary constant and differentiate the result to confirm that it returns the original integrand.

Worked Example: A Polynomial Sum

Find \(\int (6x^2-4x+5)\,dx\). The three terms are joined by addition and subtraction, so apply linearity to them separately:

$$ \begin{aligned} \int (6x^2-4x+5)\,dx &=6\int x^2\,dx-4\int x\,dx+5\int 1\,dx\\ &=6\left(\frac{x^3}{3}\right)-4\left(\frac{x^2}{2}\right)+5x+C\\ &=2x^3-2x^2+5x+C. \end{aligned} $$

Check by differentiating the answer:

$$ \frac{d}{dx}(2x^3-2x^2+5x+C) =6x^2-4x+5. $$

The derivative is the original integrand, so the antiderivative is correct.

Worked Example: A Trigonometric Term and a Reciprocal Term

Find \(\int (3\cos x-2/x)\,dx\) on the interval \(x>0\). The term \(1/x\) is defined throughout this interval, and \(\sin x\) and \(\ln x\) have derivatives \(\cos x\) and \(1/x\), respectively. Split the expression and retain its coefficients:

$$ \begin{aligned} \int \left(3\cos x-\frac{2}{x}\right)\,dx &=3\int \cos x\,dx-2\int \frac{1}{x}\,dx\\ &=3\sin x-2\ln x+C. \end{aligned} $$

Differentiate to check:

$$ \frac{d}{dx}(3\sin x-2\ln x+C) =3\cos x-\frac{2}{x}. $$

This matches the integrand on \(x>0\). On the separate interval \(x<0\), the corresponding logarithm can be written \(\ln|x|\).

More Than Two Terms

The same reasoning applies to any finite sum: repeatedly use the two-term sum rule. For example, an integrand with four terms can be split into four antiderivative problems, provided the terms have antiderivatives on the interval being used. Linearity does not tell us what those antiderivatives are; it only guarantees that finding them separately and combining them is valid.

Worked Example: Several Standard Antiderivatives

Find \(\int \left(2e^x+\frac{3}{1+x^2}-5\sin x\right)\,dx\). The expression is a sum of three terms with constant coefficients. Use antiderivatives \(e^x\), \(\arctan x\), and \(\cos x\) for \(e^x\), \(1/(1+x^2)\), and \(-\sin x\), respectively:

$$ \begin{aligned} \int \left(2e^x+\frac{3}{1+x^2}-5\sin x\right)\,dx &=2\int e^x\,dx +3\int \frac{1}{1+x^2}\,dx -5\int \sin x\,dx\\ &=2e^x+3\arctan x+5\cos x+C. \end{aligned} $$

The term \(1/(1+x^2)\) is defined for all real \(x\), so this calculation holds on \(\mathbb R\). Check by differentiating each part:

$$ \begin{aligned} \frac{d}{dx}(2e^x+3\arctan x+5\cos x+C) &=2e^x+\frac{3}{1+x^2}-5\sin x. \end{aligned} $$

The result is exactly the given integrand.

What Linearity Does Not Permit

The rules apply to sums and constant multiples. They do not allow an arbitrary factor that depends on \(x\) to be pulled outside the integral, and they do not turn a product into the product of two integrals. For instance, \(x\) is not a constant coefficient. The equation \(\int x f(x)\,dx=x\int f(x)\,dx\) is not a linearity rule; differentiating its right side generally produces an extra term.

A concrete example shows the danger. Since \(x^2=x\cdot x\), an invalid “split” might claim

$$ \int x^2\,dx \overset{\text{wrong}}{=} x\int x\,dx =x\left(\frac{x^2}{2}\right) =\frac{x^3}{2}. $$

But differentiating the proposed answer gives

$$ \frac{d}{dx}\left(\frac{x^3}{2}\right)=\frac{3x^2}{2}, $$

which is not \(x^2\). The valid approach is to integrate the whole term \(x^2\), giving \(x^3/3+C\); its derivative is \(x^2\). The contrast is important: linearity splits a sum of terms, not a product of factors.

Common pitfall: Treating a variable expression as though it were a constant coefficient. Only a factor that is constant with respect to the integration variable can be moved outside using the constant-multiple rule.

Why the Rule Matters

Linearity makes integration more manageable because an expression can be organized into pieces whose antiderivatives are familiar. It also helps preserve signs and coefficients: each term has a clear contribution to the final result. However, it is only a bookkeeping rule. It does not guarantee that every piece has an elementary antiderivative, nor does it choose a method for finding one. Each separated term still needs to be integrated correctly, on a suitable interval.

A reliable final check is to differentiate the proposed antiderivative. That check tests the entire result at once: coefficients, signs, and the arbitrary constant. Since the derivative of a constant is zero, the constant does not affect whether the result matches the integrand.

Check Your Understanding

Use the rules and conditions in this tutorial to answer the questions.

  1. Why does differentiating \(aF+bG\) lead to the integration rule for \(af+bg\), when \(F'=f\) and \(G'=g\)?
  2. Find \(\int (8x^3+6x-4)\,dx\), and differentiate your result to check it.
  3. Find \(\int (4\cos x+3\sin x)\,dx\), and verify the answer.
  4. Why can a constant factor be moved outside an integral, but \(x\) cannot be treated as a constant factor in \(\int x f(x)\,dx\)?
  5. What does the arbitrary constant represent in an indefinite integral?

Test yourself: Calculus II 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