Section1.2Basic properties of the definite integral
When we studied limits and derivatives, we developed methods for taking limits or derivatives of “complicated functions” like \(f(x)=x^2 + \sin(x)\) by understanding how limits and derivatives interact with basic arithmetic operations like addition and subtraction. This allowed us to reduce the problem into one of of computing derivatives of simpler functions like \(x^2\) and \(\sin(x)\text{.}\) Along the way we established simple rules such as
Some of these rules have very natural analogues for integrals and we discuss them below. Unfortunately the analogous rules for integrals of products of functions or integrals of compositions of functions are more complicated than those for limits or derivatives. We discuss those rules at length in subsequent sections. For now let us consider some of the simpler rules of the arithmetic of integrals.
Theorem1.2.1.Arithmetic of Integration.
Let \(a,b\) and \(A,B,C\) be real numbers. Let the functions \(f(x)\) and \(g(x)\) be integrable on an interval that contains \(a\) and \(b\text{.}\) Then
It is not too hard to prove this result from the definition of the definite integral. Additionally we only really need to prove (d) and (e) since
(a) follows from (d) by setting \(A=B=1\text{,}\)
(b) follows from (d) by setting \(A=1, B=-1\text{,}\) and
(c) follows from (d) by setting \(A=C, B=0\text{.}\)
Proof.
As noted above, it suffices for us to prove (d) and (e). Since (e) is easier, we will start with that. It is also a good warm-up for (d).
The definite integral in (e), \(\int_a^b 1 \dee{x}\text{,}\) can be interpreted geometrically as the area of the rectangle with height 1 running from \(x=a\) to \(x=b\text{;}\) this area is clearly \(b-a\text{.}\) We can also prove this formula from the definition of the integral (Definition 1.1.9):
To prove (d) let us start by defining \(h(x) = Af(x)+Bg(x)\) and then we need to express the integral of \(h(x)\) in terms of those of \(f(x)\) and \(g(x)\text{.}\) We use Definition 1.1.9 and some algebraic manipulations 1
Using this Theorem we can integrate sums, differences and constant multiples of functions we know how to integrate. For example:
Example1.2.2.The integral of a sum.
In Example 1.1.1 we saw that \(\int_0^1 e^x\dee{x}=e-1\text{.}\) So
\begin{align*}
\int_0^1\big(e^x+7\big)\dee{x} &= \int_0^1 e^x\dee{x} + 7\int_0^1 1 \dee{x}\\
& \text{by Theorem }\knowl{./knowl/xref/thm_Intarith.html}{\text{1.2.1}}\text{(d) with $A=1,f(x)=e^x,B=7,g(x)=1$}\\
&=(e-1)+7\times (1-0)\\
&\text{by Example }\knowl{./knowl/xref/eg_INTexparea.html}{\text{1.1.1}}\text{ and Theorem }\knowl{./knowl/xref/thm_Intarith.html}{\text{1.2.1}}\text{(e)}\\
&=e+6
\end{align*}
When we gave the formal definition of \(\int_a^b f(x) \dee{x}\) in Definition 1.1.9 we explained that the integral could be interpreted as the signed area between the curve \(y=f(x)\) and the \(x\)-axis on the interval \([a,b]\text{.}\) In order for this interpretation to make sense we required that \(a \lt b\text{,}\) and though we remarked that the integral makes sense when \(a \gt b\) we did not explain any further. Thankfully there is an easy way to express the integral \(\int_a^b f(x)\dee{x}\) in terms of \(\int_b^a f(x)\dee{x}\) — making it always possible to write an integral so the lower limit of integration is less than the upper limit of integration. Theorem 1.2.3, below, tell us that, for example, \(\int_7^3 e^x\dee{x} = - \int_3^7 e^x\dee{x}\text{.}\) The same theorem also provides us with two other simple manipulations of the limits of integration.
Theorem1.2.3.Arithmetic for the Domain of Integration.
Let \(a,b,c\) be real numbers. Let the function \(f(x)\) be integrable on an interval that contains \(a\text{,}\)\(b\) and \(c\text{.}\) Then
Consider now the definite integral \(\int_a^b f(x) \dee{x}\text{.}\) We will sneak up on the proof by first examining Riemann sum approximations to both this and \(\int_b^a f(x)\dee{x}\text{.}\) The midpoint Riemann sum approximation to \(\int_a^b f(x)\dee{x}\) with \(4\) subintervals (so that each subinterval has width \(\frac{b-a}{4}\)) is
Now we do the same for \(\int_b^a f(x)\dee{x}\) with \(4\) subintervals. Note that \(b\) is now the lower limit on the integral and \(a\) is now the upper limit on the integral. This is likely to cause confusion when we write out the Riemann sum, so we’ll temporarily rename \(b\) to \(A\) and \(a\) to \(B\text{.}\) The midpoint Riemann sum approximation to \(\int_A^B f(x)\dee{x}\) with \(4\) subintervals is
Now recalling that \(A=b\) and \(B=a\text{,}\) we have that the midpoint Riemann sum approximation to \(\int_b^a f(x)\dee{x}\) with \(4\) subintervals is
Thus we see that the Riemann sums for the two integrals are nearly identical — the only difference being the factor of \(\frac{b-a}{4}\) versus \(\frac{a-b}{4}\text{.}\) Hence the two Riemann sums are negatives of each other.
The same computation with \(n\) subintervals shows that the midpoint Riemann sum approximations to \(\int_b^a f(x)\dee{x}\) and \(\int_a^b f(x)\dee{x}\) with \(n\) subintervals are negatives of each other. Taking the limit \(n\rightarrow\infty\) gives \(\int_b^a f(x)\dee{x}= -\int_a^b f(x)\dee{x}\text{.}\)
Finally consider (c) — we will not give a formal proof of this, but instead will interpret it geometrically. Indeed one can also interpret (a) geometrically. In both cases these become statements about areas:
respectively. Both of these geometric statements are intuitively obvious. See the figures below.
Note that we have assumed that \(a\leq c \leq b\) and that \(f(x)\geq 0\text{.}\) One can remove these restrictions and also make the proof more formal, but it becomes quite tedious and less intuitive.
Remark1.2.4.
For notational simplicity, let’s assume that \(a\le c\le b\) and \(f(x)\ge 0\) for all \(a\le x\le b\text{.}\) The geometric interpretations of the identities
respectively. Both of these geometric statements are intuitively obvious. See the figures below.
Example1.2.5.Revisiting Example 1.1.14.
Back in Example 1.1.14 we saw that when \(b \gt 0\)\(\int_0^b x\dee{x} =\frac{b^2}{2}\text{.}\) We’ll now verify that \(\int_0^b x\dee{x} =\frac{b^2}{2}\) is still true when \(b=0\) and also when \(b \lt 0\text{.}\)
First consider \(b=0\text{.}\) Then the statement \(\int_0^b x\dee{x} =\frac{b^2}{2}\) becomes
(left) When \(0 \lt a \lt b\text{,}\) the integral represents the area in green which is the difference of two right-angle triangles — the larger with area \(b^2/2\) and the smaller with area \(a^2/2\text{.}\)
(centre) When \(a \lt 0 \lt b\text{,}\) the integral represents the signed area of the two displayed triangles. The one above the axis has area \(b^2/2\) while the one below has area \(-a^2/2\) (since it is below the axis).
(right) When \(a \lt b \lt 0\text{,}\) the integral represents the signed area in purple of the difference between the two triangles — the larger with area \(-a^2/2\) and the smaller with area \(-b^2/2\text{.}\)
Theorem 1.2.3(c) shows us how we can split an integral over a larger interval into one over two (or more) smaller intervals. This is particularly useful for dealing with piece-wise functions, like \(|x|\text{.}\)
Example1.2.7.Integrals involving \(|x|\).
Using Theorem 1.2.3, we can readily evaluate integrals involving \(|x|\text{.}\) First, recall that
Now consider (for example) \(\int_{-2}^3 |x| \dee{x}\text{.}\) Since the integrand changes at \(x=0\text{,}\) it makes sense to split the interval of integration at that point:
We can go further still — given a function \(f(x)\) we can rewrite the integral of \(f(|x|)\) in terms of the integral of \(f(x)\) and \(f(-x)\text{.}\)
Let us compute \(\int_{-1}^1 \big(1-|x|\big)\dee{x}\) again. In Example 1.1.15 we evaluated this integral by interpreting it as the area of a triangle. This time we are going to use only the properties given in Theorems 1.2.1 and 1.2.3 and the facts that
That \(\int_a^b\dee{x} = b-a\) is part (e) of Theorem 1.2.1. We saw that \(\int_a^b x\dee{x}=\frac{b^2-a^2}{2}\) in Example 1.2.6.
First we are going to get rid of the absolute value signs by splitting the interval over which we integrate. Recalling that \(|x|=x\) whenever \(x\ge 0\) and \(|x|=-x\) whenever \(x\le 0\text{,}\) we split the interval by Theorem 1.2.3(c),
Subsection1.2.1More properties of integration: even and odd functions
Recall 2
We haven’t done this in this course, but you should have seen it in your differential calculus course or perhaps even earlier.
the following definition
Definition1.2.9.
Let \(f(x)\) be a function. Then,
we say that \(f(x)\) is even when \(f(x)=f(-x)\) for all \(x\text{,}\) and
we say that \(f(x)\) is odd when \(f(x)=-f(-x)\) for all \(x\text{.}\)
Of course most functions are neither even nor odd, but many of the standard functions you know are.
Example1.2.10.Even functions.
Three examples of even functions are \(f(x)=|x|\text{,}\)\(f(x)=\cos x\) and \(f(x)=x^2\text{.}\) In fact, if \(f(x)\) is any even power of \(x\text{,}\) then \(f(x)\) is an even function.
The part of the graph \(y=f(x)\) with \(x\le 0\text{,}\) may be constructed by drawing the part of the graph with \(x\ge 0\) (as in the figure on the left below) and then reflecting it in the \(y\)-axis (as in the figure on the right below).
In particular, if \(f(x)\) is an even function and \(a \gt 0\text{,}\) then the two sets
\begin{align*}
&\big\{\ (x,y)\ \big|\
\text{$0\le x\le a$ and $y$ is between $0$ and $f(x)$} \ \big\}\\
&\big\{\ (x,y)\ \big|\
\text{$-a\le x\le 0$ and $y$ is between $0$ and $f(x)$} \ \big\}
\end{align*}
are reflections of each other in the \(y\)-axis and so have the same signed area. That is
Three examples of odd functions are \(f(x)=\sin x\text{,}\)\(f(x)=\tan x\) and \(f(x)=x^3\text{.}\) In fact, if \(f(x)\) is any odd power of \(x\text{,}\) then \(f(x)\) is an odd function.
The part of the graph \(y=f(x)\) with \(x\le 0\text{,}\) may be constructed by drawing the part of the graph with \(x\ge 0\) (like the solid line in the figure on the left below) and then reflecting it in the \(y\)-axis (like the dashed line in the figure on the left below) and then reflecting the result in the \(x\)-axis (i.e. flipping it upside down, like in the figure on the right, below).
In particular, if \(f(x)\) is an odd function and \(a \gt 0\text{,}\) then the signed areas of the two sets
\begin{align*}
&\big\{\ (x,y)\ \big|\
\text{$0\le x\le a$ and $y$ is between $0$ and $f(x)$} \ \big\}\\
&\big\{\ (x,y)\ \big|\
\text{$-a\le x\le 0$ and $y$ is between $0$ and $f(x)$} \ \big\}
\end{align*}
are negatives of each other — to get from the first set to the second set, you flip it upside down, in addition to reflecting it in the \(y\)-axis. That is
When \(f\) is even, the two terms on the right hand side are equal. When \(f\) is odd, the two terms on the right hand side are negatives of each other.
Subsection1.2.2Optional — More properties of integration: inequalities for integrals
We are still unable to integrate many functions, however with a little work we can infer bounds on integrals from bounds on their integrands.
Theorem1.2.13.Inequalities for Integrals.
Let \(a\le b\) be real numbers and let the functions \(f(x)\) and \(g(x)\) be integrable on the interval \(a\le x\le b\text{.}\)
If \(f(x)\ge 0\) for all \(a\le x\le b\text{,}\) then
By interpreting the integral as the signed area, this statement simply says that if the curve \(y=f(x)\) lies above the \(x\)-axis and \(a\le b\text{,}\) then the signed area of \(\big\{\ (x,y)\ \big|\ a\le x\le b,\ 0\le y\le f(x)\ \big\}\) is at least zero. This is quite clear. Alternatively, we could argue more algebraically from Definition 1.1.9. We observe that when we define \(\int_a^b f(x)\dee{x}\) via Riemann sums, every summand, \(f(x_{i,n}^*)\,\frac{b-a}{n}\ge 0\text{.}\) Thus the whole sum is nonnegative and consequently, so is the limit, and thus so is the integral.
We are assuming that \(g(x)-f(x)\geq 0\text{,}\) so part (a) gives
Now \(\Big|\int_a^b f(x)\dee{x}\Big|\) is either equal to \(\int_a^b f(x)\dee{x}\) or \(-\int_a^b f(x)\dee{x}\) (depending on whether the integral is positive or negative). In either case we can apply the above two inequalities to get the same result, namely
For each of the following properties of definite integrals, draw a picture illustrating the concept, interpreting definite integrals as areas under a curve.
For simplicity, you may assume that \(a \leq c \leq b\text{,}\) and that \(f(x),g(x)\) give positive values.
\(\displaystyle\int_a^a f(x)\,\dee{x}=0\text{,}\) (Theorem 1.2.3, part (a))
Suppose we want to make a right Riemann sum with 100 intervals to approximate \(\int\limits_5^0 f(x)\dee{x}\text{,}\) where \(f(x)\) is a function that gives only positive values.
What is \(\Delta x\text{?}\)
Are the heights of our rectangles positive or negative?
Is our Riemann sum positive or negative?
Is the signed area under the curve \(y=f(x)\) from \(x=0\) to \(x=5\) positive or negative?
We want to compute the area of an ellipse, \((ax)^2+(by)^2=1\) for some (let’s say positive) constants \(a\) and \(b\text{.}\)
Solve the equation for the upper half of the ellipse. It should have the form “\(y=\cdots\)”
Write an integral for the area of the upper half of the ellipse. Using properties of integrals, make the integrand look like the upper half of a circle.
Using geometry and your answer to part (b), find the area of the ellipse.
17.
Fill in the following table: the product of an (even/odd) function with an (even/odd) function is an (even/odd) function. You may assume that both functions are defined for all real numbers.
\(\times\)
even
odd
even
odd
18.
Suppose \(f(x)\) is an odd function and \(g(x)\) is an even function, both defined at \(x=0\text{.}\) What are the possible values of \(f(0)\) and \(g(0)\text{?}\)
19.
Suppose \(f(x)\) is a function defined on all real numbers that is both even and odd. What could \(f(x)\) be?
20.
Is the derivative of an even function even or odd? Is the derivative of an odd function even or odd?