Integration rule for piecewise definition by interval

From Calculus

Statement

Definite integration version with fixed endpoints

The process is as follows:

  • Break up the interval of integration into pieces based on the pieces of definition of the function.
  • Compute the definite integral on each piece of the corresponding function.
  • Add them up.

Definite integral version with fixed lower endpoint, variable upper endpoint

The process is as follows:

  • Make cases for the variable upper endpoint based on which interval it lands inside.
  • For each case, use the "definite integration version with fixed endpoints"

Indefinite integral computation

Simply do the "definite integral version with fixed lower endpoint, variable upper endpoint" by making an arbitrary choice of fixed lower endpoint (it is usually most convenient to choose this as the left endpoint of the interval of definition of the function if such a point exists). After getting the answer, add a to it (or rather, to each of the pieces).

Examples

Definite integral version with fixed endpoints

Consider the function:

Suppose we are asked to calculate:

We first break up the interval of integration into pieces based on the function definition. We note that the only points in where the function definition changes are the points 0 and 1, so we break up the interval of integration at 0 and 1. We thus get three intervals: . Thus:

Within each interval, we can use the definition for that interval:

This becomes:

This simplifies to:

Definite integral version with fixed lower endpoint, variable upper endpoint; also tackles indefinite integral

Consider the function:

Suppose we are asked to determine the following as a function of :

We make cases based on the interval in which lies.

Suppose . The interval of integration breaks at -1, and we get:

Suppose now that . In this case, we can just do the integration directly, since the function has a single definition. We get:

Suppose now that . In this case, we can again do the integration directly, and we get:

Finally, consider the case that . In this case, the interval of integration must be split at 1 where the function definition changes, so we get:

The overall definition is:

The indefinite integral is: