Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

7 Integration Techniques

Chapter Overview

This chapter focuses on techniques for evaluating integrals and sums.

Integrals and sums appear everywhere in probability. The chance of a union is a sum. Chances that continuous random variables fall into an interval are expressed as integrals against the density. Cumulative distribution functions and survival functions are related to mass functions and density functions by sums and integrals. Expectations are weighted averages, so, like all averages, are defined by a sum or integral. Summary measures like variance and standard deviation are defined as expectations, so also demand summation or integration.

So far our toolkit for evaluating sums and integrals has been limited. Section 6.1 and Section 7.1 introduced some special series (sums of infinitely many terms) that we can evaluate (e.g. the geometric series and Taylor expansions of smooth functions), however those tools are limited to particular series. In every other case we’ve either integrated by recognizing a derivatives (e.g. xnx^{n} is the derivative of 1n+1xn+1\frac{1}{n+1} x^{n+1}), or have restricted our attention to finite sums and added the terms by hand. The former is too restricted to simple functions, while the latter is too laborious.

So, we will spend this chapter developing tools for evaluating integrals (and some example sums) which will help us address more general examples.

  1. Section 7.1 will introduce techniques for evaluating integrals and sums of:

    • linear combinations of functions, and

    • products of functions. To evaluate the integral of a product we will introduce integration by parts.

  2. Section 7.2 will introduce techniques for evaluating integrals of compositions of functions.

    • We will focus on substitution and will show that the substitution rule recovers the generic rule for

    • change of density under a transformation of a random variable.