Ma · Mathematics

How to Split a Definite Integral into Two Parts

Published By the 9to5Science editorial team

At a glance

  1. 1. Choose the split point

    Pick any point c between the original limits a and b.

  2. 2. Write the additive property

    Replace the integral from a to b with integrals from a to c and from c to b.

  3. 3. Evaluate each part

    Compute the two integrals separately using antiderivatives, substitution, or numerical methods.

  4. 4. Check special cases

    Treat improper integrals, discontinuities, and reversed limits with their appropriate definitions.

A definite integral over an interval can be divided into two smaller integrals. If ff is integrable on [a,b][a,b] and cc lies between aa and bb, then

∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx.\int_a^b f(x)\,dx=\int_a^c f(x)\,dx+\int_c^b f(x)\,dx.

The point cc can be chosen anywhere in the interval. It does not need to be a zero of the function, a midpoint, or a point where the formula changes. Splitting is often useful when an integrand has different formulas on different intervals, changes sign, has a convenient symmetry, or is easier to integrate in pieces.

Why the rule works

The additivity of the definite integral is a basic property of integration. If ff is integrable on [a,b][a,b], its restrictions to [a,c][a,c] and [c,b][c,b] are integrable, and

∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx.\int_a^b f(x)\,dx=\int_a^c f(x)\,dx+\int_c^b f(x)\,dx.

When ff is continuous, the same property can also be verified using the Fundamental Theorem of Calculus. Suppose FF is an antiderivative of ff, so that F′(x)=f(x)F'(x)=f(x). Then

∫abf(x) dx=F(b)−F(a).\int_a^b f(x)\,dx=F(b)-F(a).

The two smaller integrals give

∫acf(x) dx+∫cbf(x) dx=[F(c)−F(a)]+[F(b)−F(c)]=F(b)−F(a)=∫abf(x) dx.\begin{aligned} \int_a^c f(x)\,dx+\int_c^b f(x)\,dx &=[F(c)-F(a)]+[F(b)-F(c)]\\ &=F(b)-F(a)\\ &=\int_a^b f(x)\,dx. \end{aligned}

The middle terms cancel. Geometrically, the signed area from aa to bb is the signed area from aa to cc together with the signed area from cc to bb. Areas below the xx-axis count negatively, so this statement concerns signed area rather than only ordinary positive area.

More generally, if

a=x0<x1<⋯<xn=b,a=x_0<x_1<\cdots<x_n=b,

then

∫abf(x) dx=∑k=1n∫xk−1xkf(x) dx.\int_a^b f(x)\,dx=\sum_{k=1}^{n}\int_{x_{k-1}}^{x_k} f(x)\,dx.

Basic worked example

Split and evaluate

∫04(x2+1) dx\int_0^4 (x^2+1)\,dx

at x=1x=1.

Using additivity,

∫04(x2+1) dx=∫01(x2+1) dx+∫14(x2+1) dx.\int_0^4 (x^2+1)\,dx =\int_0^1 (x^2+1)\,dx+\int_1^4 (x^2+1)\,dx.

An antiderivative is

F(x)=x33+x.F(x)=\frac{x^3}{3}+x.

The first part is

∫01(x2+1) dx=[x33+x]01=13+1=43.\begin{aligned} \int_0^1 (x^2+1)\,dx &=\left[\frac{x^3}{3}+x\right]_0^1\\ &=\frac13+1=\frac43. \end{aligned}

The second part is

∫14(x2+1) dx=[x33+x]14=(643+4)−(13+1)=763−43=24.\begin{aligned} \int_1^4 (x^2+1)\,dx &=\left[\frac{x^3}{3}+x\right]_1^4\\ &=\left(\frac{64}{3}+4\right)-\left(\frac13+1\right)\\ &=\frac{76}{3}-\frac43=24. \end{aligned}

Therefore,

∫04(x2+1) dx=43+24=763.\int_0^4 (x^2+1)\,dx=\frac43+24=\frac{76}{3}.

Computing the original integral directly gives the same result:

[x33+x]04=643+4=763.\left[\frac{x^3}{3}+x\right]_0^4=\frac{64}{3}+4=\frac{76}{3}.

Splitting a piecewise-defined integral

Splitting is essential when the integrand has different definitions on different intervals. For example, consider

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

To evaluate its integral over [0,4][0,4], split at the point where the formula changes:

∫04f(x) dx=∫02(x+1) dx+∫24(3x−1) dx.\int_0^4 f(x)\,dx =\int_0^2 (x+1)\,dx+\int_2^4 (3x-1)\,dx.

Now calculate each part:

∫02(x+1) dx=[x22+x]02=2+2=4,\int_0^2 (x+1)\,dx =\left[\frac{x^2}{2}+x\right]_0^2=2+2=4,

and

∫24(3x−1) dx=[3x22−x]24=(24−4)−(6−2)=16.\begin{aligned} \int_2^4 (3x-1)\,dx &=\left[\frac{3x^2}{2}-x\right]_2^4\\ &=(24-4)-(6-2)=16. \end{aligned}

Therefore,

∫04f(x) dx=4+16=20.\int_0^4 f(x)\,dx=4+16=20.

The value assigned at the single point x=2x=2 does not affect an ordinary definite integral. What matters is using the correct formula on each interval.

Choosing a useful splitting point

Although any interior point works, some choices simplify the calculation:

  • Split where the formula for ff changes.
  • Split at a discontinuity when the resulting integrals are proper and separately defined.
  • Split at a point where a substitution becomes natural.
  • Split at the midpoint when using symmetry.
  • Split at a zero of ff when finding ordinary geometric area rather than signed area.

For example, if f(x)=x−2f(x)=x-2 on [0,4][0,4], then

∫04(x−2) dx=∫02(x−2) dx+∫24(x−2) dx=−2+2=0.\int_0^4 (x-2)\,dx =\int_0^2 (x-2)\,dx+\int_2^4 (x-2)\,dx= -2+2=0.

The signed areas cancel. However, the total geometric area between the graph and the axis is

∫02∣x−2∣ dx+∫24∣x−2∣ dx=2+2=4.\int_0^2 |x-2|\,dx+\int_2^4 |x-2|\,dx=2+2=4.

Thus, splitting at zeros is especially useful when converting a signed integral into a total-area calculation.

Improper integrals need extra care

If ff is unbounded or undefined at the splitting point, the additivity rule must be interpreted through limits. For example, with cc inside [a,b][a,b] and a singularity at cc,

∫abf(x) dx\int_a^b f(x)\,dx

is usually defined as

∫acf(x) dx+∫cbf(x) dx,\int_a^c f(x)\,dx+\int_c^b f(x)\,dx,

where each term must converge separately. It is not enough for divergent parts to cancel formally.

For instance,

∫−111x dx\int_{-1}^{1}\frac{1}{x}\,dx

does not converge as an improper integral, because the two one-sided integrals diverge. Its symmetric principal value is 00, but that is a different concept and should not be confused with an ordinary improper integral.

Common mistakes

  1. Forgetting the plus sign. Splitting uses addition, not multiplication:

    ∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx.\int_a^b f(x)\,dx=\int_a^c f(x)\,dx+\int_c^b f(x)\,dx.
  2. Changing the integrand unnecessarily. If the same formula applies throughout the interval, copy it unchanged into both integrals.

  3. Confusing signed area with total area. A negative contribution below the axis remains negative unless you use an absolute value or reverse the sign on that subinterval.

  4. Ignoring reversed limits. The convention

    ∫baf(x) dx=−∫abf(x) dx\int_b^a f(x)\,dx=-\int_a^b f(x)\,dx

    still applies, so check the order of every pair of limits.

  5. Using cancellation for divergent integrals. For an improper integral, test convergence on each side of a singularity separately.

References

  1. Calculus, Michael Spivak
  2. Calculus: Early Transcendentals, James Stewart

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.