← back to MATH 101
17 worked examples24 exercises6 figuresbölüm 8 / 14

08Antiderivatives, area, and the definite integral

The odometer is dead and the speedometer is the only instrument left. Over half a minute you write down what it reads every five seconds: 0, 8, 17, 24, 28, 30, 31 metres per second. Somebody now wants the distance, and wants to know how wrong your figure could be.

By the end of this section you can turn a list of rates into a total with a stated error bracket, compute a straight from its definition with no shortcut, and check every you write in one line of differentiation.

In 60 seconds

Two questions that look unrelated — recover a function from its rate, and measure the area under a curve — are answered by the same two pieces of machinery: an antiderivative and a limit of rectangle sums.

Family of antiderivatives
$F'=f\ \text{on an interval}\ \Rightarrow\ \text{every antiderivative of } f \text{ there is } F(x)+C$

you have found one antiderivative and need all of them, or need to pin down which one

$\sum_{i=1}^{n} f(x_i^{*})\,\Delta x,\qquad \Delta x=\frac{b-a}{n}$

you want an estimate now, from a formula or from a table of measurements

Definite integral
$\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^{*})\,\Delta x$

the exact number is wanted and the sum can be closed in $n$

$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f(x)\,dx$

the question asks for a typical, mean or effective value of a varying quantity

Three most common mistakes
  1. Writing an antiderivative without $+C$. Without it you have named one member of a family and claimed it is the family, and every problem that pins the constant from a data point becomes unanswerable.

  2. Using $\Delta x=1/n$ out of habit. The width is $(b-a)/n$; on $[1,3]$ it is $2/n$, and every term of the sum inherits the error.

  3. Reporting a definite integral as an area when part of the curve is under the axis. The integral returns a signed total; total area is a different question and needs the pieces separated at the zeros.

Midterm 1, Midterm 2 and the Final carry 28 percent each; quizzes 10 percent and homework 6 percent. That is the whole of what the assessment weights say — they carry no information about which of these blocks is asked most often, so none of them is safe to skip.

How much time do you have?
10 minutes

You leave able to write an antiderivative, add the constant, and say what a definite integral is and what it measures.

In 60 seconds card, Running the derivative backwards, The limit that removes the guesswork, Formula card
45 minutes

Add the two things that get asked as full questions: estimating with rectangles and stating a bracket, and squeezing values out of the properties without computing anything.

everything in the 10 minute path, Rectangles under a curve, and how wrong they are, Rules that let you compute without computing, Full exam-style question, Practice C
full read

The rest is where the marks hide: the rate-to-total reading of the same sum, the average value block, the ladder that takes the scaffolding off a from-the-definition computation, and the mixed set where the type of the question is not announced.

all blocks in order, The same sum answers a distance question, The height that would have done the same job, Scaffolding comes off, Practice A to D, Mistake ledger
By the end of this section
  1. Produce the general antiderivative of a sum of powers, exponentials and trigonometric terms, and pin the constant from one given value.

  2. Estimate the area under a curve with $n$ rectangles for left, right and midpoint , and state a bracket that contains the exact value.

  3. Interpret a Riemann sum built from measured rates as a total accumulated over an interval, and bound that total from the data alone.

  4. Evaluate a definite integral straight from its definition, closing the Riemann sum in $n$ with the sigma identities before taking the limit.

  5. Apply linearity, additivity, comparison and the bounds property to get exact values and numerical brackets without summing anything.

  6. Compute the average value of a continuous function on a closed interval and locate a point at which the function actually takes that value.

Syllabus coverage
4.1

Areas and distances: estimating with rectangles

Split across two blocks: the rectangles and their error live in the area block, and the identical arithmetic read as a distance accumulated from a velocity lives in the block after it.

covered
4.2

The definite integral: the limit of Riemann sums, , and the properties

The definition, integrability of the functions this course uses, the signed-area reading, and then the property list in the block that follows.

covered
5.5

Average value of a function on an interval, and the

This token sits in the applications-of-integration chapter, whose other sections carry areas between curves, volumes and shells in later weeks; the entry left for this week is the average value. It is reachable now because the average value is a reading of the definite integral, not a new evaluation technique.

covered
4.3

The Fundamental Theorem of Calculus

Deferred to the next section, which is titled after it and carries the indefinite-integral machinery it needs. This section deliberately stops one step short: every definite integral here is obtained from the definition or from geometry, so that the theorem arrives as an answer to a question you have already felt, not as a rule to memorise. The last block states exactly what is still missing.

deferred
antiderivatives

Antiderivatives: the differentiation table read backwards, and the constant

Not one of the numbered tokens on the week's line; it is named in this section's own title and nothing later in the week can be stated without it, so it opens the section.

covered
Recall first
Zero derivative on an interval

If $D'(x)=0$ for every $x$ in an interval $I$, then $D$ is constant on $I$. This is the corollary of the Mean Value Theorem proved earlier in the course.

It is the entire justification for the $+C$: it is what turns "one antiderivative" into "all of them".

The differentiation table

$\frac{d}{dx}x^{k}=kx^{k-1}$, $\frac{d}{dx}\ln\lvert x\rvert=\frac1x$, $\frac{d}{dx}e^{x}=e^{x}$, $\frac{d}{dx}\sin x=\cos x$, $\frac{d}{dx}\cos x=-\sin x$, $\frac{d}{dx}\tan x=\sec^{2}x$, $\frac{d}{dx}\sec x=\sec x\tan x$.

The antiderivative table of this section is this table read from right to left; there is nothing else in it.

Extreme Value Theorem

A function continuous on a closed bounded interval $[a,b]$ attains a minimum value $m$ and a maximum value $M$ at points of $[a,b]$.

It supplies the two numbers that bracket a definite integral, and one of the two ingredients of the Mean Value Theorem for integrals.

Intermediate Value Theorem

If $f$ is continuous on $[a,b]$ and $N$ lies between $f(a)$ and $f(b)$, then $f(c)=N$ for some $c$ in $[a,b]$.

It is what promotes "the average value lies between the minimum and the maximum" into "the function actually attains its average value somewhere".

Sigma identities

$\displaystyle\sum_{i=1}^{n}1=n$, $\displaystyle\sum_{i=1}^{n}i=\frac{n(n+1)}{2}$, $\displaystyle\sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6}$, $\displaystyle\sum_{i=1}^{n}i^{3}=\left[\frac{n(n+1)}{2}\right]^{2}$.

Closing a Riemann sum in $n$ is impossible without them, and every from-the-definition computation in this section uses at least one.

Try it yourself first (3 questions)
1§08.1 — two functions with the same derivative●●○○○

The trap this section is built to spring. Answer from instinct first, then read the choices; the point is to notice which way your instinct leans.

Given
  • $F$ and $G$ are differentiable on the interval $(0,\infty)$.

  • $F'(x)=G'(x)$ for every $x$ in $(0,\infty)$.

Find
  1. What follows about $F$ and $G$ on that interval?

Hint 1/4

Do not compare $F$ and $G$. Look at the single function $D=F-G$ and ask what you know about it.

Hint 2/4

The derivative is linear, so $D'=F'-G'$. A function with zero derivative on an interval is constant there — that is a corollary of the Mean Value Theorem.

Hint 3/4

With $F'(x)=G'(x)$ on all of $(0,\infty)$ you get $D'(x)=0$ on all of $(0,\infty)$, so $D(x)=C$ there.

Hint 4/4

$F$ and $G$ differ by a constant, and they need not be equal.

Show solution
Reduce to one function
$D=F-G,\qquad D'=F'-G'=0 \text{ on } (0,\infty)$

subtracting is cheaper than comparing, because the hypothesis is about the derivatives and differentiation is linear

$D(x)=C \text{ for all } x\in(0,\infty)$

the Mean Value Theorem corollary applies to $D$ on an interval, and $(0,\infty)$ is one

$F(x)=G(x)+C$

unwinding the definition of $D$

Answer $$F(x)=G(x)+C$$
Check

The pair $F(x)=x^{2}$, $G(x)=x^{2}+7$ satisfies the hypothesis and has $C=7\neq 0$, so the conclusion cannot be strengthened to $F=G$.

This is the whole reason an antiderivative comes with a constant rather than as a single function.

2§08.1 — differentiating backwards, by inspection●○○○○

A single line of recall. If it takes longer than fifteen seconds, the antiderivative table at the start of the first block is where to spend your first five minutes.

Given
  • The acceleration of a particle is $a(t)=6t-4$.

Find
  1. Write down one function whose derivative is $6t-4$.

Hint 1/4

You are not being asked to integrate anything. You are being asked which function you would have differentiated to land on $6t-4$.

Hint 2/4

The power rule sends $t^{k}$ to $kt^{k-1}$, so running it backwards raises the power by one and divides by the new power.

Hint 3/4

For the term $6t$: raise to $t^{2}$ and divide by $2$, giving $3t^{2}$. For the term $-4$: raise to $-4t$.

Hint 4/4

$3t^{2}-4t$ works, and so does $3t^{2}-4t$ plus any constant.

Show solution
Reverse each term
$6t \longrightarrow 3t^{2}$

the exponent goes up by one and the coefficient is divided by the new exponent, which is what makes the power rule give $6t$ back

$-4 \longrightarrow -4t$

a constant is the derivative of a linear term with that slope

$v(t)=3t^{2}-4t+C$

the two pieces add because differentiation is linear, and the constant is free

Answer $$v(t)=3t^{2}-4t+C$$
Check

Differentiate: $v'(t)=6t-4$, which is $a(t)$.

Every antiderivative you write can be checked in one line, and in this section you should check every one.

3§08.1 — sums written with the sigma sign●○○○○

is the only piece of algebra this section needs that is not calculus. Two short evaluations tell you whether it is fluent.

Given
  • $\displaystyle\sum_{i=1}^{4}(2i+1)$

  • $\displaystyle\sum_{i=1}^{n} 1$ for a general positive integer $n$

Find
  1. (a) Evaluate the first sum as a number.

  2. (b) Evaluate the second sum as an expression in $n$.

Hint 1/4

Both are asking the same thing: what does the sigma sign tell you to write down, and how many things does it tell you to write down?

Hint 2/4

$\sum_{i=1}^{n} g(i)$ means $g(1)+g(2)+\dots+g(n)$: one term for each value of $i$ from $1$ to $n$.

Hint 3/4

For (a): $i=1,2,3,4$ give $3, 5, 7, 9$. For (b) the term does not mention $i$ at all, so the same number $1$ is written down once for each $i$.

Hint 4/4

The first sum is $24$ and the second is $n$.

Show solution
Write the terms out
$\sum_{i=1}^{4}(2i+1)=3+5+7+9=24$

writing out four terms is faster and safer here than quoting an identity

$\sum_{i=1}^{n}1=\underbrace{1+1+\dots+1}_{n\ \text{terms}}=n$

the summand does not depend on $i$, so the only thing $i$ does is count how many copies there are

Answer $$24 \quad\text{and}\quad n$$
Check

Check the second at $n=4$ against the first pattern: $\sum_{i=1}^{4}1=1+1+1+1=4$, which is $n$.

A constant term inside a Riemann sum contributes $n$ copies, not one; that single fact is planted as an error later in this section.

Notation
symbolreads asmeanswatch out
$F$

capital F

an antiderivative of $f$: a function with $F'=f$ on the interval under discussion

capital $F$ is a choice, not a formula; $F+3$ is just as much an antiderivative

$\int f(x)\,dx$

the integral of f of x, dee x

the whole family of antiderivatives of $f$ on an interval, written $F(x)+C$

no limits on the sign means a family of functions, not a number

$\Delta x=\frac{b-a}{n}$

delta x equals b minus a over n

the common width of the $n$ subintervals cut out of $[a,b]$

it is $1/n$ only when the interval has length $1$

$x_i=a+i\,\Delta x$

x sub i

the $i$-th point, running $i=0,1,\dots,n$ from $x_0=a$ to $x_n=b$

$n$ subintervals need $n+1$ partition points

$x_i^{*}$

x sub i star

whichever point of the $i$-th subinterval is used to set the height of the $i$-th rectangle

left, right and midpoint are three choices of the same symbol, and they give three different numbers for finite $n$

$L_n,\ R_n,\ M_n$

L sub n, R sub n, M sub n

the Riemann sums built from left endpoints, right endpoints and midpoints with $n$ subintervals

these are estimates; none of them is the integral

$\int_a^b f(x)\,dx$

the integral from a to b of f of x, dee x

a single number: the limit of the Riemann sums as $n\to\infty$

$x$ is a dummy label — the same number is $\int_a^b f(t)\,dt$

$f_{\text{avg}}$

f average

the average value $\frac{1}{b-a}\int_a^b f(x)\,dx$ of $f$ over $[a,b]$

it is a height, not an area, and it is not the average of $f(a)$ and $f(b)$

Conventions used here
Signed area is the default

$\int_a^b f(x)\,dx$ counts area above the $x$-axis positively and area below it negatively, always. When the total, unsigned area is wanted, the question says so, and the interval is split at the zeros of $f$ first.

A negative integral is a correct answer far more often than it is a mistake, and treating it as a mistake is how correct work gets thrown away.

The constant belongs to the answer

An antiderivative written without $+C$ is a different object from the general antiderivative, and this section always asks for the general one unless a value of the function is supplied. When a value is supplied, the constant is a number and is reported as one.

Half of the antiderivative marks lost in this material are lost after the calculus is finished.

Where an antiderivative formula is valid

Every antiderivative statement here comes with the interval it holds on. $\int \frac{dx}{x}=\ln\lvert x\rvert+C$ is used on an interval that avoids $0$, and $x^{n+1}/(n+1)$ is used only for $n\neq -1$.

The formulas are theorems about intervals; quoting one on a set that straddles a point where $f$ blows up produces confident nonsense.

Angle measure in this section

Every trigonometric expression here takes its argument in radians, and every interval of integration involving $\pi$ is measured the same way.

The antiderivatives of $\sin$ and $\cos$ are read off derivative formulas that are only true in radians.

How an estimate is reported

An estimate is reported with three things: which sample points were used, how many subintervals, and a bracket or an error size. A bare decimal is not an answer to the word estimate.

Without the bracket there is no way to tell whether the digits you wrote down mean anything, and this section is the one place in the course where the error is visible.

Running the derivative backwards

Seven weeks of this course have gone one way: hand over a function, get its rate. Every question from here on goes the other way.

Solvable with what we have
  • Given $s(t)=t^{3}-2t^{2}+5t+2$, produce the velocity $s'(t)=3t^{2}-4t+5$.

  • Given a position graph, read off where the object is speeding up.

  • Given $f(x)=x^{4}$, produce $f'(x)=4x^{3}$ without pausing.

Not solvable yet
  • Given the acceleration $a(t)=6t-4$ and the two readings $v(0)=5$, $s(0)=2$, produce the position.

  • Given that a tank fills at $r(t)$ litres per minute, produce how much is in the tank.

  • Given $f'(x)=\sec^{2}x$, produce $f$.

Try the obvious thing on the third one: guess that the answer is $\sec^{2}x$ divided by something, the way the power rule divides. Differentiate the guess $\tfrac13\sec^{3}x$ and you get $\sec^{3}x\tan x$, which is not $\sec^{2}x$. Guessing and patching can go on for a long time.

Why it fails

There is no procedure being applied, only recognition. The fix is not a cleverer guess: it is to write the differentiation table out backwards once, and then read it in that direction for the rest of the course. Read backwards, the line $\frac{d}{dx}\tan x=\sec^{2}x$ answers the third question immediately.

DefinitionAntiderivative, and the family it comes in
Conditions
  • $I$ is an interval — one unbroken piece, not a union of separated ones

  • $F$ is differentiable at every point of $I$

  • $C$ ranges over all real numbers

$$\boxed{\begin{aligned}&F \text{ is an antiderivative of } f \text{ on } I \iff F'(x)=f(x) \text{ for every } x\in I\\[2pt]&\text{if } F'=f \text{ on } I, \text{ then every antiderivative of } f \text{ on } I \text{ is } F(x)+C\\[2pt]&\int f(x)\,dx = F(x)+C\end{aligned}}$$

Find one function whose derivative is $f$ and you have found all of them: any other one differs from yours by a fixed number, and adding any fixed number to yours produces another one. The symbol $\int f(x)\,dx$ names that whole family, not a single function and not a number.

Looks like this, but is not

$F(x)=\tan^{2}x$ and $G(x)=\sec^{2}x$ are visibly different functions, and both differentiate to $2\sec^{2}x\tan x$. Does that break the theorem?

No, and it is worth seeing why not. The theorem does not say two functions with the same derivative are equal; it says they differ by a constant. Here $\sec^{2}x-\tan^{2}x=1$ on every interval where both are defined, so the constant is $1$. If your answer and the answer at the back of the book look different, subtract them before deciding one of you is wrong.

The general antiderivative of 4x³ − 6/x² + 2cos x on (0, ∞)

Three terms, three lines of the table, one constant at the end.

Given
  • $f(x)=4x^{3}-\dfrac{6}{x^{2}}+2\cos x$

  • the interval $(0,\infty)$

Find

every antiderivative of $f$ on that interval

Solution
Put every term in a form the table recognises
$-\frac{6}{x^{2}}=-6x^{-2}$

the power rule is stated for $x^{n}$, so a fraction has to be written as a power before the rule can see it

$f(x)=4x^{3}-6x^{-2}+2\cos x$

now all three terms are table entries

Reverse each term
$4x^{3}\longrightarrow 4\cdot\frac{x^{4}}{4}=x^{4}$

raise the exponent by one and divide by the new exponent; the coefficient $4$ cancels against it, which is why this term is clean

$-6x^{-2}\longrightarrow -6\cdot\frac{x^{-1}}{-1}=\frac{6}{x}$

the new exponent is $-1$ and dividing by a negative number flips the sign — this is the term people lose

$2\cos x \longrightarrow 2\sin x$

the table line $\frac{d}{dx}\sin x=\cos x$ read from right to left

Assemble and close the family
$\int f(x)\,dx = x^{4}+\frac{6}{x}+2\sin x + C$

the terms add because differentiation is linear, and one constant covers the whole sum rather than one per term

Answer $$x^{4}+\frac{6}{x}+2\sin x+C$$
Check

Differentiate the answer rather than redo the antidifferentiation: $4x^{3}-6x^{-2}+2\cos x$, which is $f$. In particular the middle term comes back with the right sign, which is the only place this example could have gone wrong.

Three table lookups and one rewrite; the rewrite is what makes the lookups possible.

Every antiderivative in this course can be checked by one differentiation, and that check costs less than the work that produced it. There is no reason ever to hand in an unchecked antiderivative.

From acceleration 6t − 4 back to position

Two antiderivatives in a row, and two data points to pin the two constants. This is the shape of every question that hands you a rate and asks for the quantity.

Given
  • $a(t)=6t-4$ metres per second squared

  • $v(0)=5$ metres per second

  • $s(0)=2$ metres

Find

the position $s(t)$

Solution
Climb from acceleration to velocity
$v(t)=3t^{2}-4t+C_{1}$

$v'=a$, so $v$ is an antiderivative of $a$, and at this stage the constant is genuinely unknown

$v(0)=C_{1}=5\ \Rightarrow\ v(t)=3t^{2}-4t+5$

$t=0$ is chosen because it kills both $t$ terms at once; any other reading would work but would cost algebra

Climb from velocity to position
$s(t)=t^{3}-2t^{2}+5t+C_{2}$

$s'=v$, and the constant must be new: $C_{1}$ has already been spent

$s(0)=C_{2}=2\ \Rightarrow\ s(t)=t^{3}-2t^{2}+5t+2$

the second reading pins the second constant, and two unknowns needed exactly two readings

Answer $$s(t)=t^{3}-2t^{2}+5t+2$$
Check

Differentiate twice: $s'(t)=3t^{2}-4t+5$ and $s''(t)=6t-4$, which is $a$. Then test the two readings the problem supplied: $s(0)=2$ and $s'(0)=5$. All four facts hold, and they were not all used to build the answer.

Two antidifferentiations, two constants, two data points. The count always matches.

Notice what the two readings did: the calculus produced a two-parameter family of possible positions, and the data selected one member of it. That division of labour is the whole shape of the subject from here on.

Checkpoint
§08.1 — reading the table backwards●●○○○

Thirty seconds. No pen needed if the table is fresh; if it is not, this is the signal to go back and rewrite it.

Given
  • $f(x)=\sec^{2}x-\dfrac1x$ on the interval $\left(0,\tfrac{\pi}{2}\right)$

Find
  1. Which expression is the general antiderivative of $f$ on that interval?

Hint 1/4

Do not antidifferentiate anything. Ask instead which function you would differentiate to land on each of the two terms.

Hint 2/4

Two table lines are involved: $\frac{d}{dx}\tan x=\sec^{2}x$ and $\frac{d}{dx}\ln\lvert x\rvert=\frac1x$.

Hint 3/4

With $f(x)=\sec^{2}x-\frac1x$ on $\left(0,\frac{\pi}{2}\right)$, the first term comes from $\tan x$ and the second from $-\ln x$, and $x>0$ there so the absolute value bars are not needed.

Hint 4/4

The general antiderivative is $\tan x-\ln x+C$.

Show solution
Match each term to a table line
$\sec^{2}x \longleftarrow \tan x$

the derivative of tangent is secant squared, so tangent is what produces this term

$-\frac1x \longleftarrow -\ln x \ \text{on}\ x>0$

the interval given is inside the positive axis, so the bars in $\ln\lvert x\rvert$ never come into play

$\tan x-\ln x+C$

one constant for the whole family, because the question asked for every antiderivative

Answer $$\tan x-\ln x+C$$
Check

Differentiate: $\sec^{2}x-\frac1x$, which is $f$ exactly.

When the interval keeps the argument of a logarithm positive, say so once and drop the bars; do not write bars you cannot justify.

⚠ Leaving the constant off

the calculus ends one symbol before the answer does, and the hand stops when the thinking stops

wrong$\int 2x\,dx = x^{2}$
right$\int 2x\,dx = x^{2}+C$
⚠ Using the power rule at the exponent it excludes

$n=-1$ looks like every other exponent until you divide by $n+1$

wrong$\int x^{-1}\,dx=\frac{x^{0}}{0}+C$
right$\int x^{-1}\,dx=\ln\lvert x\rvert+C$
⚠ Antidifferentiating a product one factor at a time

sums split, so products feel as if they should too

wrong$\int x\cos x\,dx = \frac{x^{2}}{2}\sin x + C$
right$\frac{d}{dx}\left[\frac{x^{2}}{2}\sin x\right]=x\sin x+\frac{x^{2}}{2}\cos x\neq x\cos x$

Rectangles under a curve, and how wrong they are

Put antiderivatives down for a moment; the second question of this section looks completely unrelated, and starts with a shape nobody has a formula for.

Solvable with what we have
  • The area of a rectangle, a triangle, a trapezium and a disc.

  • The area under $y=3$ from $x=1$ to $x=5$: a rectangle, so $12$.

  • The area under $y=x$ from $x=0$ to $x=4$: a triangle, so $8$.

Not solvable yet
  • The area under $y=x^{2}$ from $x=0$ to $x=1$.

  • The area under $y=1/x$ from $x=1$ to $x=3$.

  • The area under any curve that is not made of straight lines and circular arcs.

Approximate the region under $y=x^{2}$ on $[0,1]$ by the triangle with vertices $(0,0)$, $(1,0)$, $(1,1)$ — the straight line joining the ends of the curve. That gives $\tfrac12$. The curve sags well below that line everywhere in between, so $\tfrac12$ is too big, and nothing in the picture says by how much.

Why it fails

One straight line replaces the whole curve, so the error is as large as the curve's total bend and there is no dial to turn. What is needed is an approximation with a knob on it: something that gets better when you ask it to, and that tells you how much room for error is left.

DefinitionRiemann sum with $n$ rectangles
Conditions
  • $[a,b]$ is cut into $n$ subintervals of equal width

  • $x_i^{*}$ is any point of the $i$-th subinterval $[x_{i-1},x_i]$

  • left, right and midpoint mean $x_i^{*}=x_{i-1}$, $x_i^{*}=x_i$, $x_i^{*}=\tfrac{x_{i-1}+x_i}{2}$

$$\boxed{\Delta x=\frac{b-a}{n},\qquad x_i=a+i\,\Delta x,\qquad \sum_{i=1}^{n}f(x_i^{*})\,\Delta x}$$

Cut the interval into $n$ equal strips. In each strip build one rectangle: its width is the strip, and its height is the value of $f$ at one point you pick inside that strip. Add the $n$ areas. Which point you pick is free, and for a finite $n$ it changes the answer.

Looks like this, but is not

$L_4=0.219$ falls short and $R_4=0.469$ overshoots, so their average $0.344$ must be the exact area.

It is not. The exact area is $\tfrac13=0.3333\ldots$, and the average of the two endpoint sums is $0.34375$. Averaging a bracket lands you somewhere inside the bracket, which is the only thing it ever promises. The midpoint sum $M_4=0.328125$ is a different estimate and a better one here, and it is not exact either.

$n$$L_n$$M_n$$R_n$$R_n-L_n$$\lvert M_n-\tfrac13\rvert$

2

0.125000

0.312500

0.625000

0.500000

0.020833

4

0.218750

0.328125

0.468750

0.250000

0.005208

8

0.273438

0.332031

0.398438

0.125000

0.001302

Two things are worth measuring rather than asserting. The bracket width $R_n-L_n$ halves each time $n$ doubles: $0.5$, $0.25$, $0.125$. The midpoint error does better than that — $0.020833$, $0.005208$, $0.001302$ — each one a quarter of the one before. That is the practical case for midpoints, and it is a measured claim, not a slogan.

Four rectangles under y = x² on [0,1], and the bracket they give

The first question this machinery answers, done by hand so that the numbers in the table above are yours and not the page's.

Given
  • $f(x)=x^{2}$ on $[0,1]$

  • $n=4$ subintervals of equal width

Find

$L_4$, $R_4$, $M_4$, and a bracket for the exact area

Solution
Set up the partition
$\Delta x=\frac{1-0}{4}=\frac14$

the width is the length of the interval shared out, not $1/n$ by reflex; here the interval happens to have length $1$ so the two agree

$x_0=0,\ x_1=\tfrac14,\ x_2=\tfrac12,\ x_3=\tfrac34,\ x_4=1$

four rectangles need five partition points, and writing them all out now prevents an off-by-one later

Left and right endpoints
$L_4=\tfrac14\left(0^{2}+\left(\tfrac14\right)^{2}+\left(\tfrac12\right)^{2}+\left(\tfrac34\right)^{2}\right)=\tfrac14(0.875)=0.21875$

$f$ is increasing here, so taking the left end of each strip takes the lowest value in it

$R_4=\tfrac14\left(\left(\tfrac14\right)^{2}+\left(\tfrac12\right)^{2}+\left(\tfrac34\right)^{2}+1^{2}\right)=\tfrac14(1.875)=0.46875$

the same four heights shifted along by one, plus $f(1)$ and minus $f(0)$ — which is why the two sums are so closely related

Midpoints, and the bracket
$M_4=\tfrac14\left(0.125^{2}+0.375^{2}+0.625^{2}+0.875^{2}\right)=\tfrac14(1.3125)=0.328125$

midpoints are not between $L_4$ and $R_4$ by definition, but for a curve bending one way they land much nearer the truth

$0.21875 \le A \le 0.46875$

$f$ increases on $[0,1]$, so the left sum is below every strip's true area and the right sum above it — the bracket needs monotonicity and would flip without it

Answer $$L_4=0.21875,\quad M_4=0.328125,\quad R_4=0.46875,\quad 0.21875\le A\le 0.46875$$
Check

There is a structural check that does not repeat any arithmetic. Going from $L_4$ to $R_4$ drops the term $f(0)\Delta x$ and adds $f(1)\Delta x$, so the two sums must differ by exactly $(f(1)-f(0))\Delta x=(1-0)\cdot\tfrac14=0.25$. And $0.46875-0.21875=0.25$.

Eight function evaluations for the two endpoint sums, four more for the midpoints, and the reward is a bracket rather than a bare number.

The bracket width came out as $(f(b)-f(a))\Delta x$ and nothing about $x^{2}$ was used to get it. That formula holds for any monotone $f$, and it is how you decide in advance how many rectangles a required accuracy will cost.

A decreasing curve flips the bracket: y = 1/x on [1,3]

The same procedure on a curve that falls instead of rises. Everything changes except the arithmetic.

Given
  • $f(x)=\dfrac1x$ on $[1,3]$

  • $n=4$

Find

$L_4$, $R_4$, and the bracket, stated the right way round

Solution
Partition, with the width the interval actually needs
$\Delta x=\frac{3-1}{4}=\frac12$

the interval has length $2$, so the reflex $1/n$ would halve every rectangle and every answer

$x_0=1,\ x_1=1.5,\ x_2=2,\ x_3=2.5,\ x_4=3$

listing them is cheap insurance, and here it also makes the reciprocals easy to see

The two endpoint sums
$L_4=\tfrac12\left(1+\tfrac{1}{1.5}+\tfrac12+\tfrac{1}{2.5}\right)=\tfrac12(2.566667)=1.283333$

on a decreasing $f$ the left end of each strip is the highest point in it, so this sum sits above the area

$R_4=\tfrac12\left(\tfrac{1}{1.5}+\tfrac12+\tfrac{1}{2.5}+\tfrac13\right)=\tfrac12(1.9)=0.95$

and the right end is the lowest point of each strip, so this one sits below

State the bracket the right way round
$0.95 \le A \le 1.283333$

the inequality follows the monotonicity, not the letters $L$ and $R$; writing $L\le A\le R$ from memory would be wrong here

Answer $$L_4=1.283333,\quad R_4=0.95,\quad 0.95\le A\le 1.283333$$
Check

The same structural check as before, run in the other direction: the sums must differ by $\lvert f(3)-f(1)\rvert\Delta x=\left(1-\tfrac13\right)\cdot\tfrac12=0.333333$, and $1.283333-0.95=0.333333$.

Identical work to the previous example; only the direction of the inequality had to be thought about.

"Left sums undershoot" is not a rule, it is a habit picked up from increasing examples. The rule is that the sample point at the low side of each strip undershoots, and which side that is depends on the function.

Checkpoint
§08.2 — the partition on an interval that is not [0,1●●○○○

Thirty seconds, and the single most expensive slip in this whole section is the one being tested.

Given
  • The integral $\displaystyle\int_{1}^{3} f(x)\,dx$ is to be approximated with $n=8$ subintervals of equal width.

Find
  1. What are $\Delta x$ and the partition point $x_3$?

Hint 1/4

Two separate questions are hiding here: how wide is one strip, and where is the third fence post.

Hint 2/4

$\Delta x=\frac{b-a}{n}$ and $x_i=a+i\,\Delta x$, with $x_0=a$.

Hint 3/4

Here $a=1$, $b=3$, $n=8$: so $\Delta x=\frac{3-1}{8}$ and $x_3=1+3\Delta x$.

Hint 4/4

$\Delta x=\tfrac14$ and $x_3=\tfrac74$.

Show solution
Apply the two formulas in order
$\Delta x=\frac{3-1}{8}=\frac14$

the numerator is the length of the interval, which is $2$ here and not $1$

$x_3=1+3\cdot\frac14=\frac74$

the count starts at $x_0=a=1$, so the subscript is how many widths you have walked from the left end

Answer $$\Delta x=\tfrac14,\quad x_3=\tfrac74$$
Check

The last point has to land on $b$: $x_8=1+8\cdot\tfrac14=3$. It does, so the width and the counting are consistent.

Checking that $x_n=b$ takes two seconds and catches both of the standard errors at once.

⚠ Using $\Delta x=1/n$ on an interval that is not one unit long

the $[0,1]$ examples are the ones everybody practises on, and there $1/n$ happens to be right

wrong$\text{on } [1,3]: \ \Delta x=\frac1n$
right$\text{on } [1,3]: \ \Delta x=\frac{3-1}{n}=\frac2n$
⚠ Summing $n+1$ rectangles

there are $n+1$ partition points on the page, and it is tempting to use all of them

wrong$R_n=\sum_{i=0}^{n}f(x_i)\,\Delta x$
right$R_n=\sum_{i=1}^{n}f(x_i)\,\Delta x$
⚠ Quoting $L_n\le A\le R_n$ from memory

it is true on every increasing example, and increasing examples come first

wrong$L_n\le \int_a^b f \le R_n \ \text{always}$
right$L_n\le \int_a^b f \le R_n \ \text{if } f \text{ increases on } [a,b];\ \text{reversed if it decreases}$

The same sum answers a distance question

Nothing in that sum knows it was about area. Relabel the two axes and it answers the question the section opened with.

Solvable with what we have
  • Distance at constant speed: $60$ kilometres per hour for two hours is $120$ kilometres.

  • Distance from a straight-line velocity graph, by reading off a triangle.

  • The total in a tank filled at a constant rate.

Not solvable yet
  • Distance from a speedometer that never held still, sampled every five seconds.

  • The amount of water in a tank whose inflow rate rose and fell all afternoon.

  • Any total where the rate changed continuously and was measured only at instants.

Average the seven readings to $19.71$ metres per second and multiply by $30$ seconds for $591$ metres. It is not obviously wrong — but it treats the first and last readings as if each described five seconds of the journey.

Why it fails

The estimate has no error attached to it and no way to acquire one. Building the total out of rectangles, one per interval, fixes both problems: each rectangle is a claim you can bound, and sampling at the two ends of every interval gives two totals that trap the truth between them.

RuleA rate summed over time is a total
Conditions
  • $r(t)$ is the rate at which some quantity changes, in units of that quantity per unit of $t$

  • $[a,b]$ is cut into $n$ pieces of width $\Delta t=\frac{b-a}{n}$

  • $t_i^{*}$ is a sampled instant inside the $i$-th piece

$$\boxed{\text{total change over } [a,b]\ \approx\ \sum_{i=1}^{n} r(t_i^{*})\,\Delta t}$$

Over a short stretch the rate barely moves, so the quantity changes by about rate times elapsed time. Add one such product for each stretch and you have the whole change. The units carry the meaning: metres per second times seconds is metres, litres per minute times minutes is litres.

Looks like this, but is not

Speed readings give the distance travelled, so velocity readings must give the distance travelled too.

Not the same thing. Velocity carries a sign, so $\sum v(t_i^{*})\Delta t$ returns displacement — how far the object ends up from where it started. Distance travelled is the sum built from $\lvert v\rvert$, which never subtracts. A car that drives out and comes back has displacement $0$ and a large distance. Above, every reading is positive, so the two agree.

How far the car went, and how wrong the answer can be

The question the section opened with, answered with a bracket rather than a guess.

Given
  • Speedometer readings, in metres per second, at $t=0,5,10,15,20,25,30$ seconds: $0,\ 8,\ 17,\ 24,\ 28,\ 30,\ 31$

  • The speed never fell during the half minute

Find

an under-estimate, an over-estimate, and how to make the gap between them smaller

Solution
Build the under-estimate from the reading at the start of each interval
$\Delta t = 5\ \text{s}$

the readings are five seconds apart, so the data itself fixes the partition; you do not get to choose $n$ here

$L=(0+8+17+24+28+30)(5)=(107)(5)=535\ \text{m}$

the speed is rising, so the reading at the start of a five-second stretch is the slowest the car went during it, and six intervals use the first six readings

Build the over-estimate from the reading at the end of each interval
$R=(8+17+24+28+30+31)(5)=(138)(5)=690\ \text{m}$

same six intervals, sampled at their right ends, which are the fastest the car went during each

$535\ \text{m}\ \le\ \text{distance}\ \le\ 690\ \text{m}$

the bracket is only valid because the speed never fell; with a speed that rose and then dropped, neither sum would be guaranteed on either side

Say what a better answer would cost
$R-L=\left(v(30)-v(0)\right)\Delta t=(31-0)(5)=155\ \text{m}$

every interior reading appears in both sums and cancels, so only the two ends survive — which is why the gap is proportional to the sampling interval and not to the journey

$\Delta t = 1\ \text{s}\ \Rightarrow\ R-L=31\ \text{m}$

reading the speedometer five times as often shrinks the uncertainty by a factor of five, and that is the honest answer to "how do I get a better number"

Answer $$535\ \text{m}\ \le\ \text{distance}\ \le\ 690\ \text{m}$$
Check

The two sums were computed independently, term by term, and the difference between them comes out as $690-535=155$, which matches $(31-0)(5)$ predicted by the cancellation argument. Two routes, one number.

Twelve multiplications, no calculus, and an answer that states its own uncertainty.

Every question of the form "here is a rate, what is the total" is this sum. The only thing that changes between the tank, the car and the area under a curve is what the units on the two axes say.

Checkpoint
§08.3 — what the units of a Riemann sum are●○○○○

Thirty seconds, and it is a units question rather than a calculation. Units are the cheapest error detector in this section.

Given
  • A pump delivers water at a rate $r(t)$ measured in litres per minute.

  • $t$ is measured in minutes and $\Delta t$ is a number of minutes.

Find
  1. What are the units of $\displaystyle\sum_{i=1}^{n} r(t_i^{*})\,\Delta t$?

Hint 1/4

Ignore the summation sign. A sum of things has the units of one of the things, so look at a single term.

Hint 2/4

The units of a product are the product of the units, and the same unit above and below cancels.

Hint 3/4

One term is $r(t_i^{*})\,\Delta t$, which is litres per minute times minutes.

Hint 4/4

The sum is in litres.

Show solution
Multiply the units of a single term
$\frac{\text{litres}}{\text{minute}}\times \text{minutes}=\text{litres}$

the minutes cancel, which is the whole reason a rate times a time is a quantity

$\sum(\text{litres})=\text{litres}$

summation adds like things and cannot change their units

Answer $$\text{litres}$$
Check

Sanity check the size: a pump running at $10$ litres per minute for $6$ minutes should give $60$ litres, and $10\times 6=60$ with the units working out the same way.

If a Riemann sum comes out with the wrong units, the error is structural — usually a missing $\Delta x$ — and no amount of recomputation will fix it.

⚠ Multiplying by the number of readings instead of the spacing

both numbers are sitting there and both are small integers

wrong$\text{distance}\approx (0+8+17+24+28+30)(6)$
right$\text{distance}\approx (0+8+17+24+28+30)(5)$
⚠ Reporting displacement when distance was asked for

on examples where the rate never changes sign the two coincide, and those are the examples you see first

wrong$\text{distance}=\sum v(t_i^{*})\,\Delta t$
right$\text{distance}=\sum \lvert v(t_i^{*})\rvert\,\Delta t,\qquad \text{displacement}=\sum v(t_i^{*})\,\Delta t$
⚠ Using all seven readings for six intervals

the data comes as a list and it feels wasteful to leave one out

wrong$L=(0+8+17+24+28+30+31)(5)$
right$L=(0+8+17+24+28+30)(5)\quad\text{or}\quad R=(8+17+24+28+30+31)(5)$

The limit that removes the guesswork

Every estimate so far came with a knob marked $n$. Turn it as far as it goes and the choice of sample point stops mattering.

Solvable with what we have
  • $L_4$, $M_4$ and $R_4$ for the area under $y=x^{2}$ on $[0,1]$.

  • A bracket $0.219\le A\le 0.469$ from those two endpoint sums.

  • The same three numbers again with $n=8$, and a narrower bracket.

Not solvable yet
  • The exact area under $y=x^{2}$ on $[0,1]$.

  • Any statement about what happens when $n$ is not a number you can write down.

  • Deciding whether the three sample-point rules eventually agree.

Keep doubling. At $n=8$ the bracket is $[0.273,0.398]$ and the midpoint sum says $0.332$; at $n=16$ it would be tighter still. But a hundred rows of a table never produce a proof, and a table cannot tell you whether the digits are settling on $\tfrac13$ or on something $0.0001$ away from it.

Why it fails

Doubling is a process, and what is wanted is a number. The move is the one this course made in its first week: stop enumerating and take a limit.

DefinitionThe definite integral
Conditions
  • $f$ is defined on $[a,b]$ and $a

  • the same limit comes out for every choice of the sample points $x_i^{*}$

  • this holds whenever $f$ is continuous on $[a,b]$, and also when $f$ is bounded there with finitely many jumps — which covers every function in this course

$$\boxed{\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n}f(x_i^{*})\,\Delta x,\qquad \Delta x=\frac{b-a}{n}}$$

Make the rectangles narrower and narrower without stopping. If the estimates settle on one number, and on the same number no matter where inside each strip you took the height, that number is the definite integral. It is a single number, not a function and not a family.

Looks like this, but is not

$\displaystyle\int_0^{2\pi}\sin x\,dx$ ought to come out positive: the sine curve encloses two perfectly good regions, and regions have area.

It comes out $0$. The piece on $[\pi,2\pi]$ is the mirror image of the piece on $[0,\pi]$, because $\sin(\pi+u)=-\sin u$, and it sits below the axis; the two contributions cancel exactly. Zero is the correct answer to the question that was asked. The total area enclosed is a different question with a different, non-zero answer, and it is obtained by splitting at $\pi$ and adding the sizes.

∫₀¹ x² dx straight from the definition

The estimates from two blocks ago were closing in on something. Here is the something, obtained without any estimate at all.

Given
  • $f(x)=x^{2}$ on $[0,1]$

  • right endpoints as sample points

  • the identity $\displaystyle\sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6}$

Find

$\displaystyle\int_0^1 x^{2}\,dx$

Solution
Write the sum with everything in terms of i and n
$\Delta x=\frac{1-0}{n}=\frac1n,\qquad x_i=\frac{i}{n}$

right endpoints are chosen because they make $x_i$ a single term rather than $a+(i-1)\Delta x$; the limit does not care which we pick, so we pick the cheap one

$R_n=\sum_{i=1}^{n}\left(\frac{i}{n}\right)^{2}\frac1n=\frac{1}{n^{3}}\sum_{i=1}^{n}i^{2}$

everything without an $i$ in it leaves the sum, and what is left is a sum the identity knows

Close the sum in n
$R_n=\frac{1}{n^{3}}\cdot\frac{n(n+1)(2n+1)}{6}=\frac{(n+1)(2n+1)}{6n^{2}}$

one factor of $n$ cancels straight away, and the point of the identity is that the sigma sign is now gone

$R_n=\frac{2n^{2}+3n+1}{6n^{2}}=\frac13+\frac{1}{2n}+\frac{1}{6n^{2}}$

splitting the fraction term by term is worth the extra line: it shows exactly which parts survive the limit and which do not

Take the limit
$\int_0^1 x^{2}\,dx=\lim_{n\to\infty}\left(\frac13+\frac{1}{2n}+\frac{1}{6n^{2}}\right)=\frac13$

the two tail terms go to zero, and no $n$ may survive into the answer — a definite integral is a number

Answer $$\int_0^1 x^{2}\,dx=\frac13$$
Check

Put $n=4$ into the closed form: $\tfrac13+\tfrac18+\tfrac{1}{96}=0.46875$, and $R_4$ was computed by hand two blocks ago as $0.46875$. Put $n=8$: $\tfrac13+\tfrac1{16}+\tfrac1{384}=0.3984375$, matching the table entry. The closed form reproduces numbers it was never shown.

One identity, one cancellation, one limit. The whole cost of this method is the algebra in the middle step.

The two tail terms are the error of $R_n$, written out. At $n=4$ they predict an overshoot of $\tfrac18+\tfrac{1}{96}=0.135417$, and the measured overshoot in the table was $0.46875-0.333333=0.135417$. The algebra did not just give the answer; it gave the error of every estimate that led to it.

∫₀³ (x − 2) dx by geometry, and the area that is not it

When the graph is made of straight lines, the integral is available without any sum at all — and the difference between two questions becomes visible.

Given
  • $f(x)=x-2$ on $[0,3]$

  • $f$ crosses the axis at $x=2$

Find

(a) the integral, and (b) the total area between the graph and the axis

Solution
Split at the crossing
$[0,3]=[0,2]\cup[2,3]$

the sign of $f$ is constant on each piece, and that is the only thing that makes geometry usable here

$\text{on } [0,2]:\ \text{triangle, base } 2,\ \text{height } 2,\ \text{area } 2,\ \text{below the axis}$

the height is $\lvert f(0)\rvert=2$, and being below the axis is what will attach the sign

$\text{on } [2,3]:\ \text{triangle, base } 1,\ \text{height } 1,\ \text{area } \tfrac12,\ \text{above the axis}$

here the height is $f(3)=1$

Answer both questions separately
$\int_0^3 (x-2)\,dx = -2+\tfrac12=-\tfrac32$

the integral counts the piece below the axis negatively; that is the definition, not a convention introduced for this example

$\text{total area}=2+\tfrac12=\tfrac52$

area is a size, so both pieces enter positively — a different question with a different answer

Answer $$\int_0^3 (x-2)\,dx=-\frac32,\qquad \text{total area}=\frac52$$
Check

Redo part (a) from the definition, which uses none of the geometry: with $\Delta x=\frac3n$ and $x_i=\frac{3i}{n}$, $R_n=\sum\left(\frac{3i}{n}-2\right)\frac3n=\frac{9}{n^{2}}\cdot\frac{n(n+1)}{2}-6=\frac92\left(1+\frac1n\right)-6\to\frac92-6=-\frac32$.

Two triangles and no calculus for the first route; four lines of algebra for the check.

A negative integral is not a symptom of a mistake. Read the question again before repairing anything: if it says integral, the sign belongs in the answer.

Checkpoint
§08.4 — signed area from a straight-line graph●●○○○

Thirty seconds and no algebra. The graph is a straight line, so the two pieces are triangles you can size by eye.

Given
  • $h$ is the linear function whose graph passes through $(0,-2)$ and $(4,2)$, so $h(x)=x-2$.

  • The interval is $[0,4]$.

Find
  1. What is $\displaystyle\int_0^4 h(x)\,dx$?

Hint 1/4

Do not integrate. Find where the line crosses the axis and describe the two pieces it cuts the region into.

Hint 2/4

A definite integral counts area above the axis positively and area below it negatively, and additivity lets you handle the two pieces separately.

Hint 3/4

$h(x)=x-2$ crosses at $x=2$. On $[0,2]$: a triangle of base $2$ and height $2$, below the axis. On $[2,4]$: a triangle of base $2$ and height $2$, above it.

Hint 4/4

The integral is $-2+2=0$.

Show solution
Size each piece and attach its sign
$\text{on } [0,2]:\ \tfrac12(2)(2)=2 \ \text{below} \Rightarrow -2$

the crossing point splits the interval into two pieces on which the sign of $h$ does not change

$\text{on } [2,4]:\ \tfrac12(2)(2)=2 \ \text{above} \Rightarrow +2$

same triangle, reflected, so the sizes are forced to agree

$\int_0^4 h = -2+2 = 0$

additivity over the two abutting intervals

Answer $$0$$
Check

Symmetry gives it independently: $h(2+u)=u$ and $h(2-u)=-u$, so the graph is odd about the point $(2,0)$ and the interval $[0,4]$ is symmetric about $2$.

Whenever the interval is symmetric about a point where the graph has this kind of antisymmetry, the integral is zero and no computation is needed.

⚠ Reporting a signed integral as an area

the two words were used interchangeably in every example where $f$ stayed positive

wrong$\text{area}=\int_0^3 (x-2)\,dx=-\tfrac32$
right$\int_0^3 (x-2)\,dx=-\tfrac32,\qquad \text{area}=\tfrac52$
⚠ Letting an $n$ survive the limit

the closed form looks like an answer, and the last line feels like a formality

wrong$\lim_{n\to\infty}\left(\tfrac13+\tfrac{1}{2n}\right)=\tfrac13+\tfrac{1}{2n}$
right$\lim_{n\to\infty}\left(\tfrac13+\tfrac{1}{2n}\right)=\tfrac13$
⚠ Treating the variable of integration as if it meant something

$x$ appears three times in the notation and only one of them is a real variable

wrong$\int_a^b f(x)\,dx \ \text{and} \ \int_a^b f(t)\,dt \ \text{are different}$
right$\int_a^b f(x)\,dx=\int_a^b f(t)\,dt$

Rules that let you compute without computing

Closing a Riemann sum in $n$ is expensive, and most exam questions are built so that you never have to.

Solvable with what we have
  • $\int_0^1 x^{2}\,dx$ from the definition, in about ten lines.

  • $\int_0^3 (x-2)\,dx$ from two triangles.

  • A bracket for anything monotone, from two endpoint sums.

Not solvable yet
  • $\int_3^5 f$ when all you are told is $\int_1^5 f=12$ and $\int_1^3 f=5$.

  • $\int_1^5 (2f-3g)$ from the values of $\int_1^5 f$ and $\int_1^5 g$.

  • Any bound at all on $\int_0^2\sqrt{1+x^{3}}\,dx$, whose has no convenient antiderivative.

For the first one, try to reconstruct $f$ from the two numbers. There are infinitely many functions with $\int_1^5 f=12$ and $\int_1^3 f=5$, and they disagree everywhere — so reconstruction is hopeless, and yet the answer to the question is completely determined.

Why it fails

The question was never about $f$. It is about how integrals over abutting intervals relate, and that relation is inherited straight from the Riemann sums, where splitting the interval splits the sum.

TheoremProperties of the definite integral
Conditions
  • $f$ and $g$ are on an interval containing $a$, $b$ and $c$

  • $\alpha$ and $\beta$ are constants

  • the additivity line needs no assumption about the order of $a$, $b$, $c$, once the reversal convention is in force

$$\boxed{\begin{aligned}&\int_a^a f=0,\qquad \int_b^a f=-\int_a^b f\\[2pt]&\int_a^b(\alpha f+\beta g)=\alpha\int_a^b f+\beta\int_a^b g\\[2pt]&\int_a^c f+\int_c^b f=\int_a^b f\\[2pt]&f\le g \text{ on } [a,b]\ \Rightarrow\ \int_a^b f\le\int_a^b g\\[2pt]&m\le f\le M \text{ on } [a,b]\ \Rightarrow\ m(b-a)\le\int_a^b f\le M(b-a)\end{aligned}}$$

Zero width gives zero. Running the interval backwards flips the sign. Constants come out and sums split. Two abutting intervals add. A function that is never larger than another has an integral that is never larger. And a function trapped between two heights has its integral trapped between the two rectangles those heights make.

Looks like this, but is not

Additivity looks as if it needs $c$ to lie between $a$ and $b$ — otherwise the two pieces do not fit together.

It does not, once the reversal convention is in place. Take $a=0$, $b=2$, $c=5$. Then $\int_0^5 f+\int_5^2 f=\int_0^5 f-\int_2^5 f$, and the piece from $2$ to $5$ that the first term added is exactly what the second takes away, leaving $\int_0^2 f$. The convention $\int_b^a=-\int_a^b$ was adopted precisely so that one line covers every arrangement of the three numbers.

Three integrals from three given numbers

No function is ever named. This is the most common way the properties are examined.

Given
  • $\displaystyle\int_1^5 f(x)\,dx=12$

  • $\displaystyle\int_1^3 f(x)\,dx=5$

  • $\displaystyle\int_1^5 g(x)\,dx=-4$

Find

(a) $\int_3^5 f$, (b) $\int_1^5(2f-3g)$, (c) $\int_5^1 f$

Solution
Peel one interval off another
$\int_1^3 f+\int_3^5 f=\int_1^5 f$

additivity is written in the direction where the unknown piece appears alone, so that no rearranging is needed afterwards

$\int_3^5 f = 12-5 = 7$

both known numbers are used once, which is a sign the identity was the right one to write down

Split the combination
$\int_1^5(2f-3g)=2\int_1^5 f-3\int_1^5 g$

linearity handles constant multiples and sums, and those are the only two things it handles

$=2(12)-3(-4)=24+12=36$

the double negative is where this part is lost; $g$ has a negative integral and it is being subtracted

Reverse the limits
$\int_5^1 f = -\int_1^5 f = -12$

nothing about $f$ is involved, only the convention for running the interval backwards

Answer $$\int_3^5 f=7,\qquad \int_1^5(2f-3g)=36,\qquad \int_5^1 f=-12$$
Check

Part (a) can be checked without reusing the subtraction: the two pieces must rebuild the whole, and $5+7=12$. For part (b), check the sign separately from the size — $f$ contributes something positive and $-3g$ contributes $-3\times(\text{negative})$, also positive, so an answer larger than $24$ is the only kind that can be right.

Three lines, no integration, no knowledge of what $f$ or $g$ is.

When a question gives you integrals rather than functions, the function is not missing information — it is deliberately withheld, because the properties are what is being tested.

Bounding ∫₀² √(1 + x³) dx without evaluating it

An integrand with no antiderivative this course will ever produce. The bounds property still answers a question about it.

Given
  • $\displaystyle\int_0^2\sqrt{1+x^{3}}\,dx$

  • $1+x^{3}$ is increasing on $[0,2]$, and so is its square root

Find

numbers $m(b-a)$ and $M(b-a)$ that trap the integral

Solution
Find the smallest and largest the integrand gets
$0\le x\le 2\ \Rightarrow\ 1\le 1+x^{3}\le 9$

cubing preserves order on the non-negative numbers, so the extremes of $x^{3}$ sit at the endpoints and nothing in the interior can beat them

$1\le\sqrt{1+x^{3}}\le 3$

the square root is increasing, so it carries the inequality through unchanged — this is the step that would fail for a function that turns around inside the interval

Turn the heights into rectangles
$m=1,\quad M=3,\quad b-a=2$

the bounds property needs a floor and a ceiling for $f$ on the whole interval, and the two endpoint values are exactly that here

$1(2)\le\int_0^2\sqrt{1+x^{3}}\,dx\le 3(2)$

each bound is the area of a rectangle spanning the interval at that height

Answer $$2\le\int_0^2\sqrt{1+x^{3}}\,dx\le 6$$
Check

Estimate the integral by an independent route and check it falls inside. The midpoint sum with $n=4$ uses $x=0.25,0.75,1.25,1.75$: the integrand there is $1.007782$, $1.192424$, $1.718466$, $2.521780$, and $M_4=0.5(6.440452)=3.220226$, comfortably between $2$ and $6$.

Two inequalities and a multiplication; no antiderivative was needed and none exists in elementary terms.

The bracket is wide because $m$ and $M$ are far apart. Splitting $[0,2]$ into two halves and bounding each separately would narrow it, and that is the whole idea the definite integral is built on, applied once instead of infinitely often.

Checkpoint
§08.5 — additivity with the limits reversed●●●○○

Thirty seconds. Two of the properties are needed and they have to be used in the right order.

Given
  • $\displaystyle\int_2^7 f(x)\,dx=9$

  • $\displaystyle\int_2^4 f(x)\,dx=3$

Find
  1. What is $\displaystyle\int_7^4 f(x)\,dx$?

Hint 1/4

Answer an easier question first: what is $\int_4^7 f$? Then deal with the fact that the question asked for it backwards.

Hint 2/4

$\int_2^4 f+\int_4^7 f=\int_2^7 f$, and $\int_b^a f=-\int_a^b f$.

Hint 3/4

With $\int_2^7 f=9$ and $\int_2^4 f=3$: $\int_4^7 f=9-3=6$, and the question wants that with the limits swapped.

Hint 4/4

$\int_7^4 f=-6$.

Show solution
Get the forward piece, then flip it
$\int_4^7 f=\int_2^7 f-\int_2^4 f=9-3=6$

additivity in the form that isolates the unknown piece; both given numbers run in the same direction, so no signs are in play yet

$\int_7^4 f=-6$

the reversal convention, applied once and at the end, where it cannot contaminate the arithmetic

Answer $$-6$$
Check

Rebuild the whole from the pieces as a check: $\int_2^4 f+\int_4^7 f=3+6=9$, which is the given $\int_2^7 f$.

Handle direction last. Compute every piece left to right, then flip whatever the question asked for backwards.

⚠ Splitting a product of two functions

linearity splits sums so convincingly that products feel as if they must follow

wrong$\int_a^b f g\,dx=\left(\int_a^b f\,dx\right)\left(\int_a^b g\,dx\right)$
right$\text{no such rule; linearity covers } \int(\alpha f+\beta g)\ \text{only}$
⚠ Losing the sign when the limits are reversed

the two limits are just two numbers on the page and the order stops registering

wrong$\int_5^1 f=\int_1^5 f$
right$\int_5^1 f=-\int_1^5 f$
⚠ Using the endpoint values as $m$ and $M$

on a monotone example they are the minimum and maximum, and monotone examples come first

wrong$m=f(a),\quad M=f(b)$
right$m=\min_{[a,b]}f,\quad M=\max_{[a,b]}f$

The height that would have done the same job

One reading of the definite integral is worth naming on its own, because questions ask for it by name.

Solvable with what we have
  • The average of six numbers: add them and divide by six.

  • The average speed of a journey: total distance over total time.

  • The average of $f$ at four sample points.

Not solvable yet
  • The average temperature over a day, from a continuous record.

  • The average of $f(x)=x^{2}$ over $[0,3]$, where there are infinitely many values to average.

  • Deciding whether the function ever actually equals its own average.

Sample $f(x)=x^{2}$ at $x=0,0.25,0.5,0.75,1$ and average the five values: $\tfrac{1}{5}(0+0.0625+0.25+0.5625+1)=0.375$. Sample instead at ten points and the answer moves. The number depends on how you sampled, which means it is not a property of $f$ at all.

Why it fails

Averaging a finite sample answers a question about the sample. Making the sample finer is the same move as before, and it lands in the same place: a Riemann sum divided by the number of terms, which is an integral divided by the length of the interval.

TheoremAverage value, and the Mean Value Theorem for integrals
Conditions
  • $f$ is continuous on $[a,b]$

  • $a

  • continuity is what the second line needs; the first line only needs integrability

$$\boxed{f_{\text{avg}}=\frac{1}{b-a}\int_a^b f(x)\,dx,\qquad \text{and } f(c)=f_{\text{avg}} \text{ for some } c\in[a,b]}$$

The average value is the one height a rectangle would need in order to have exactly the same area over exactly the same interval. And if $f$ is continuous, it is not merely a bookkeeping number: the function really does take that value somewhere in the interval.

Looks like this, but is not

The average value ought to be the average of the two endpoint values, $\dfrac{f(a)+f(b)}{2}$ — that is what average means for a pair of numbers.

On $[0,3]$ with $f(x)=x^{2}$ that recipe gives $\tfrac{0+9}{2}=4.5$, and the average value is $3$. The endpoints know nothing about what the function did in between, and $x^{2}$ spends most of the interval well below $4.5$. The recipe is right only for a straight line, where the graph is symmetric about its midpoint.

Average value of x² on [0,3], and where the curve attains it

The full question: the number, and the point. Exams ask for both.

Given
  • $f(x)=x^{2}$ on $[0,3]$

  • right endpoints and $\displaystyle\sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6}$ are available

Find

$f_{\text{avg}}$, and a $c$ in $[0,3]$ with $f(c)=f_{\text{avg}}$

Solution
Get the integral from the definition
$\Delta x=\frac3n,\qquad x_i=\frac{3i}{n}$

the interval is three units long, so the width is $3/n$; this is the place the reflex $1/n$ would poison everything downstream

$R_n=\sum_{i=1}^{n}\frac{9i^{2}}{n^{2}}\cdot\frac3n=\frac{27}{n^{3}}\cdot\frac{n(n+1)(2n+1)}{6}$

the constant $27/n^{3}$ comes out and the identity finishes the sum

$R_n=\frac{27(n+1)(2n+1)}{6n^{2}}=\frac92\left(2+\frac3n+\frac{1}{n^{2}}\right)\ \longrightarrow\ 9$

expanding $(n+1)(2n+1)=2n^{2}+3n+1$ and dividing through by $n^{2}$ separates the part that survives from the part that dies, and only the first term does

Divide by the length
$f_{\text{avg}}=\frac{1}{3-0}\int_0^3 x^{2}\,dx=\frac93=3$

the divisor is the length of the interval, $b-a$, and not $b$

Find the point where the value is attained
$c^{2}=3 \Rightarrow c=\sqrt3\approx 1.732$

solving $f(c)=f_{\text{avg}}$; the negative root is discarded because it is not in $[0,3]$, and the theorem only ever promises a point of the interval

Answer $$f_{\text{avg}}=3,\qquad c=\sqrt3\approx 1.732$$
Check

Two independent checks. First the integral: the midpoint sum with $n=4$ uses $x=0.375, 1.125, 1.875, 2.625$, giving $0.75(0.140625+1.265625+3.515625+6.890625)=0.75(11.8125)=8.859375$, close to $9$ and slightly under, which is what a midpoint sum does on a curve bending upwards. Second the answer: $f_{\text{avg}}=3$ must lie between the minimum $0$ and the maximum $9$, and $\sqrt3$ must lie in $[0,3]$. Both do.

One from-the-definition integral, one division, one square root.

The average value is not near the middle of the interval's $x$ range: $\sqrt3\approx 1.73$, not $1.5$. A function that grows faster later spends more of the interval below its average, so the crossing point sits to the right of centre.

Average value of √(9 − x²) on [0,3], read off a quarter circle

When the graph is a piece of a circle, the integral comes from geometry and the whole question is two lines long.

Given
  • $f(x)=\sqrt{9-x^{2}}$ on $[0,3]$

  • the graph of $y=\sqrt{9-x^{2}}$ is the upper half of the circle of radius $3$ centred at the origin

Find

$f_{\text{avg}}$ and a point $c$ where it is attained

Solution
Read the integral as an area
$\int_0^3\sqrt{9-x^{2}}\,dx=\frac14\pi(3)^{2}=\frac{9\pi}{4}$

on $[0,3]$ the graph is the first-quadrant quarter of that circle, and $f\ge0$ there, so the integral is the plain area with no sign to worry about

Divide, then solve
$f_{\text{avg}}=\frac13\cdot\frac{9\pi}{4}=\frac{3\pi}{4}\approx 2.356$

the interval has length $3$

$\sqrt{9-c^{2}}=\frac{3\pi}{4}\ \Rightarrow\ c^{2}=9-\frac{9\pi^{2}}{16}\ \Rightarrow\ c=3\sqrt{1-\frac{\pi^{2}}{16}}\approx 1.857$

squaring is safe here because both sides are non-negative on this interval, and again only the positive root lies in $[0,3]$

Answer $$f_{\text{avg}}=\frac{3\pi}{4}\approx 2.356,\qquad c=3\sqrt{1-\frac{\pi^{2}}{16}}\approx 1.857$$
Check

Put $c$ back into $f$ rather than repeating the algebra: $9-(1.857)^{2}=9-3.4484=5.5516$ and $\sqrt{5.5516}=2.356$, which is $f_{\text{avg}}$. The size is also right — the average of a quarter circle whose height runs from $3$ down to $0$ should be nearer $3$ than $0$, because the curve stays high for most of the interval.

One area formula, one division, one square root. No Riemann sum at all.

Two of the integrals in this section were obtained without summing anything, because the graph was made of shapes with known areas. Look for that before starting a partition.

Checkpoint
§08.6 — average value from the integral●○○○○

Thirty seconds. One division, and the only decision is what to divide by.

Given
  • $\displaystyle\int_2^6 f(x)\,dx=20$

  • $f$ is continuous on $[2,6]$

Find
  1. What is the average value of $f$ on $[2,6]$?

Hint 1/4

You are being asked for a height, and you have been given an area. Which length turns one into the other?

Hint 2/4

$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$.

Hint 3/4

Here $a=2$, $b=6$ and $\int_2^6 f=20$, so the divisor is $6-2$.

Hint 4/4

The average value is $5$.

Show solution
Apply the formula
$b-a=6-2=4$

computing the length on its own line makes the standard slip visible before it is used

$f_{\text{avg}}=\frac{20}{4}=5$

an area divided by a length is a height, which is what an average value has to be

Answer $$5$$
Check

Run the formula backwards: a rectangle of height $5$ over an interval of length $4$ has area $20$, which is the given integral.

Units settle this question every time: the integral is an area, the average is a height, and only one of the two divisions produces a height.

⚠ Dividing by $b$ instead of $b-a$

on intervals that start at $0$ the two agree, and those are the practice examples

wrong$f_{\text{avg}}=\frac{1}{b}\int_a^b f$
right$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$
⚠ Averaging the two endpoint values

it is what average means for two numbers, and it happens to be right for straight lines

wrong$f_{\text{avg}}=\frac{f(a)+f(b)}{2}$
right$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$
⚠ Stopping at the number and not finding $c$

the average value feels like the answer, and the second half of the question is one short line

wrong$f_{\text{avg}}=3 \ \checkmark \ \text{(question also asked for } c)$
right$f_{\text{avg}}=3,\qquad f(c)=3 \Rightarrow c=\sqrt3\in[0,3]$
Recovering a quantity from its rate

a derivative is given and the function itself is wanted, with enough data supplied to pin the constants

  1. Name the ladder

    Write down which function is the derivative of which. Acceleration is the derivative of velocity, velocity of position, inflow rate of volume. One rung per antidifferentiation.

  2. Climb one rung

    Antidifferentiate term by term using the table read backwards, and attach a fresh constant. Never reuse a letter you have already spent.

  3. Spend one data point

    Substitute the reading that belongs to this rung and solve for that constant. Choosing the reading at the point where most terms vanish saves algebra.

  4. Repeat

    Climb the next rung with the now fully determined function. The number of constants and the number of readings always match; if they do not, the problem is under-determined or you have lost one.

  5. Differentiate back

    Differentiate your final answer as many times as you antidifferentiated, and check every supplied reading. This costs one line and catches everything.

Where it goes wrong
  • Using the same constant twice, which forces two independent readings to agree.

  • Substituting a reading into the wrong rung, for instance putting a velocity reading into the position function.

  • Antidifferentiating a product factor by factor. There is no such rule at this point in the course.

Evaluating a definite integral from the definition

the question says from the definition, or as a limit of Riemann sums, or gives you the sigma identities

  1. Width and points

    $\Delta x=\frac{b-a}{n}$ and $x_i=a+i\,\Delta x$. Right endpoints are the standard choice because $x_i$ then has no $-1$ in it.

  2. Substitute into f

    Write $f(x_i)$ and expand it as a polynomial in $i$, keeping every power of $n$ visible.

  3. Pull the constants out

    Anything without an $i$ leaves the sum. What remains must be $\sum 1$, $\sum i$, $\sum i^{2}$ or $\sum i^{3}$ and nothing else.

  4. Apply the identities

    Replace each remaining sum by its closed form. After this line the sigma sign is gone; if it is not, step 2 or 3 went wrong.

  5. Simplify to a function of n

    Divide out and split into separate terms, so that the surviving part and the vanishing part are visibly different.

  6. Take the limit

    Let $n\to\infty$. No $n$ may appear in the answer.

  7. Sanity check

    Put a small $n$ such as $1$ or $2$ into your closed form and compare against the rectangle you can draw by hand, or compare against a geometric value if the graph is made of straight lines.

Where it goes wrong
  • Taking $\Delta x=1/n$ on an interval whose length is not $1$.

  • Summing a constant term as if it appeared once rather than $n$ times.

  • Leaving an $n$ in the final answer, which means the limit was written down but not taken.

Estimating an integral and stating a bracket

the question says estimate or approximate, or supplies a table of measurements instead of a formula

  1. Fix the partition

    Compute $\Delta x=\frac{b-a}{n}$ and list $x_0$ through $x_n$. With measured data the partition is given to you by the sampling times.

  2. Decide the sample points

    Left, right or midpoint. Midpoints are the most accurate but need $f$ at points that a table of measurements may not contain.

  3. Sum

    Add the $n$ heights first and multiply by $\Delta x$ once at the end; multiplying term by term is where arithmetic slips happen.

  4. Decide the direction

    Check whether $f$ increases or decreases on the whole interval. Only then can you say which of $L_n$ and $R_n$ is below and which is above.

  5. Report a bracket

    Give the two numbers, and the width $\lvert f(b)-f(a)\rvert\Delta x$ if $f$ is monotone. An estimate reported without a bracket is not finished.

Where it goes wrong
  • Writing $L_n\le A\le R_n$ on a decreasing function, where the inequality runs the other way.

  • Claiming a bracket at all when $f$ turns around inside the interval; then neither endpoint sum is guaranteed on either side.

  • Using $n+1$ heights for $n$ rectangles.

The integral of x − 2 over [0,3]

The question asks for the integral.

Given
  • $f(x)=x-2$ on $[0,3]$

Find

$\int_0^3 f(x)\,dx$

Solution
Attach a sign to each piece
$[0,2]:\ \text{area } 2,\ \text{below} \Rightarrow -2$

the definition counts strips under the axis with $f(x_i^{*})<0$, so their contribution is negative

$[2,3]:\ \text{area } \tfrac12,\ \text{above} \Rightarrow +\tfrac12$

above the axis the heights are positive and enter as they stand

$\int_0^3 (x-2)\,dx = -\tfrac32$

additivity joins the two pieces

Answer $$-\frac32$$
Check

From the definition: $R_n=\frac{9}{n^{2}}\cdot\frac{n(n+1)}{2}-6=\frac92\left(1+\frac1n\right)-6\to-\frac32$.

The total area between y = x − 2 and the axis over [0,3]

The same picture; the question asks for the area.

Given
  • $f(x)=x-2$ on $[0,3]$

Find

the total area enclosed between the graph and the $x$-axis

Solution
Add the sizes
$[0,2]:\ \text{area } 2$

an area is a size, so where the piece sits relative to the axis is irrelevant

$[2,3]:\ \text{area } \tfrac12$

same triangle formula, and again no sign

$\text{total area}=2+\tfrac12=\tfrac52$

the pieces were split at the zero of $f$ precisely so that each has a constant sign and can be sized separately

Answer $$\frac52$$
Check

The total area must be at least the size of the integral, and $\tfrac52>\tfrac32$; it must also equal the integral when $f$ keeps one sign, which it does not here.

Same function, same interval, same two triangles — and two different numbers, because one question keeps the sign and the other throws it away.

How to tell them apart

Read the wording. The word integral, or the symbol $\int_a^b$, means signed and the answer may be negative. The word area means a size: split at every zero of $f$ first, then add the pieces without signs.

The mean of five sampled values of x²

An ordinary average of an ordinary list of numbers.

Given
  • $f(x)=x^{2}$ sampled at $x=0,\ 0.25,\ 0.5,\ 0.75,\ 1$

Find

the mean of the five values

Solution
Add and divide by how many
$0+0.0625+0.25+0.5625+1=1.875$

five values, so five terms; the endpoints are each counted once, exactly like the interior points

$\frac{1.875}{5}=0.375$

the divisor is the number of samples, which is what makes this a property of the sample and not of $f$

Answer $$0.375$$
Check

Change the sample to $x=0,\ 0.5,\ 1$ and the mean becomes $\frac{0+0.25+1}{3}=0.4167$. A different sample, a different answer — which is the point.

The average value of x² on [0,1]

The same function, averaged over every point of the interval rather than five of them.

Given
  • $f(x)=x^{2}$ on $[0,1]$

  • $\int_0^1 x^{2}\,dx=\tfrac13$

Find

$f_{\text{avg}}$

Solution
Integral divided by length
$f_{\text{avg}}=\frac{1}{1-0}\int_0^1 x^{2}\,dx=\frac13$

the divisor is the length of the interval, not a count, because there is no count to make

Answer $$\frac13\approx 0.3333$$
Check

Sampling more and more finely drives the sample mean towards this number: with the five points above it is $0.375$, and with midpoints of four strips it is $\frac{1.3125}{4}=0.328$, on either side of $\tfrac13$ and closer than the coarse sample.

The sample mean depends on which points you happened to take; the average value does not depend on anything but $f$ and the interval.

How to tell them apart

If the data is a finite list of numbers, divide by how many there are. If the data is a function on an interval, divide by the length of the interval — the integral has already done the counting.

Scaffolding comes off
The common skeleton
  1. Write $\Delta x=\frac{b-a}{n}$ and $x_i=a+i\,\Delta x$ before anything else.

  2. Substitute $x_i$ into $f$ and expand as a polynomial in $i$.

  3. Take every factor without an $i$ outside the sum.

  4. Replace each remaining $\sum 1$, $\sum i$, $\sum i^{2}$ by its closed form.

  5. Simplify into separate terms, one per power of $\frac1n$.

  6. Let $n\to\infty$ and discard every term that carries an $n$ underneath.

  7. Check the closed form at a small $n$ against a rectangle you can draw, or the answer against a shape whose area you know.

1 · fully worked

∫₁³ (2x + 1) dx from the definition, every reason written out

The full skeleton, with the justification of each line beside it. The interval deliberately does not start at $0$.

Given
  • $f(x)=2x+1$ on $[1,3]$

  • $\displaystyle\sum_{i=1}^{n}i=\frac{n(n+1)}{2}$ and $\displaystyle\sum_{i=1}^{n}1=n$

Find

$\displaystyle\int_1^3(2x+1)\,dx$

Solution
Partition
$\Delta x=\frac{3-1}{n}=\frac2n,\qquad x_i=1+\frac{2i}{n}$

the width is the length of the interval over $n$; the $1$ inside $x_i$ is the left endpoint and it will not cancel later, so it has to be carried

Substitute and expand
$f(x_i)=2\left(1+\frac{2i}{n}\right)+1=3+\frac{4i}{n}$

expanding now rather than later keeps the sum linear in $i$, which is the only shape the identities can handle

$R_n=\sum_{i=1}^{n}\left(3+\frac{4i}{n}\right)\frac2n=\frac6n\sum_{i=1}^{n}1+\frac{8}{n^{2}}\sum_{i=1}^{n}i$

the sum splits across the two terms and each constant leaves; note that the first sum is $\sum 1$, not $1$

Close and simplify
$R_n=\frac6n\cdot n+\frac{8}{n^{2}}\cdot\frac{n(n+1)}{2}=6+\frac{4(n+1)}{n}$

both identities applied; the sigma signs are now gone, which is the marker that this stage is complete

$R_n=6+4+\frac4n=10+\frac4n$

splitting $\frac{4(n+1)}{n}$ separates the surviving $4$ from the vanishing $\frac4n$

Limit
$\int_1^3(2x+1)\,dx=\lim_{n\to\infty}\left(10+\frac4n\right)=10$

the tail term dies and nothing carrying an $n$ may remain

Answer $$10$$
Check

The graph is a straight line, so the region is a trapezium with parallel sides $f(1)=3$ and $f(3)=7$ and width $2$: area $\frac{3+7}{2}\cdot 2=10$. And the closed form at $n=1$ gives $14$, which is the single rectangle $f(3)\cdot 2=14$.

Two identities, one expansion, one limit.

The whole method is four lines once the expansion is clean. What makes it long in practice is carrying $a$ through when $a\neq 0$, which is exactly why this example did not start at $0$.

2 · you write the reasoning

Same skeleton, easier numbers, and this time the reasons are yours. Work out why each line is allowed before opening the model answers. Evaluate $\displaystyle\int_0^2 3x\,dx$ from the definition, using right endpoints.

  1. reasoning

    The interval has length $2$, so each of the $n$ strips is $2/n$ wide, and the left endpoint is $0$, which is the only reason $x_i$ has no constant term this time.

  2. reasoning

    Substituting $x_i$ into $f(x)=3x$ is a single multiplication, and there is nothing to expand because $f$ is a single term.

  3. reasoning

    Every factor without an $i$ leaves the sum: the $6/n$ from the height and the $2/n$ from the width multiply into $12/n^{2}$, and only $\sum i$ is left behind.

  4. reasoning

    The identity closes the sum. One factor of $n$ cancels against the $n^{2}$, leaving a rational function of $n$ that is easy to split.

  5. reasoning

    Only the constant survives as $n$ grows; the $6/n$ vanishes. The answer is a number and carries no $n$, as it must.

3 · find the buried error

Now a harder integrand, and a solution written by somebody else. It reaches a clean-looking answer of $\tfrac23$, and the correct value is $\tfrac{14}{3}$. Exactly two of the five steps are wrong. Find both before looking at the choices. The problem: evaluate $\displaystyle\int_0^2 (x^{2}+1)\,dx$ from the definition with right endpoints.

the two buried errors (2)
⚠ step 2

The sample point should be $x_i=0+i\,\Delta x=\frac{2i}{n}$, not $\frac{i}{n}$.

The $[0,1]$ template is the one everybody drills, and there $x_i=i/n$ is right. The width was computed correctly on the line above, which makes the mismatch easy to read past.

right

Use $x_i=a+i\,\Delta x$ every time, even when $a=0$. Then $f(x_i)=\frac{4i^{2}}{n^{2}}+1$ and the first sum in step 3 carries $\frac{8}{n^{3}}$.

⚠ step 4

$\displaystyle\sum_{i=1}^{n}1=n$, so the second term is $\frac2n\cdot n=2$, not $\frac2n$.

A summand with no $i$ in it looks like it has nothing to do with the sum, so it gets copied through as if the sigma sign were not there.

right

The constant is written down once for each of the $n$ values of $i$. Correcting both errors gives $R_n=\frac43\left(2+\frac3n+\frac1{n^{2}}\right)+2\to\frac83+2=\frac{14}{3}$.

4 · the bare problem
§08.4 — from the definition, with no scaffolding●●●●○

No skeleton this time, and the interval starts away from the origin so that all three sigma identities are in play. Twelve minutes is a fair exam allowance for this.

Given
  • $f(x)=x^{2}$ on $[1,2]$

  • $\displaystyle\sum_{i=1}^{n}1=n$, $\displaystyle\sum_{i=1}^{n}i=\frac{n(n+1)}{2}$, $\displaystyle\sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6}$

Find
  1. (a) Write $R_n$ as a rational expression in $n$ with no summation sign.

  2. (b) Take the limit to evaluate $\displaystyle\int_1^2 x^{2}\,dx$.

  3. (c) Check your closed form at $n=1$ against the single rectangle it describes.

Hint 1/4

Before any algebra, decide the two objects the whole computation rests on: the width of one strip and the formula for the $i$-th right endpoint on an interval that starts at $1$.

Hint 2/4

$\Delta x=\frac{b-a}{n}$, $x_i=a+i\,\Delta x$, and $R_n=\sum_{i=1}^{n}f(x_i)\Delta x$. Squaring $x_i$ will produce three terms, so all three identities will be needed.

Hint 3/4

Here $a=1$, $b=2$: $\Delta x=\frac1n$ and $x_i=1+\frac{i}{n}$, so $f(x_i)=1+\frac{2i}{n}+\frac{i^{2}}{n^{2}}$. The identities again: $\sum 1=n$, $\sum i=\frac{n(n+1)}{2}$, $\sum i^{2}=\frac{n(n+1)(2n+1)}{6}$.

Hint 4/4

$R_n=1+\frac{n+1}{n}+\frac{(n+1)(2n+1)}{6n^{2}}$ and the limit is $\tfrac73$.

Show solution
Partition and substitute
$\Delta x=\frac{2-1}{n}=\frac1n,\qquad x_i=1+\frac{i}{n}$

the interval happens to have length $1$, so $\Delta x=\frac1n$ is correct here — but $x_i$ still carries the left endpoint

$f(x_i)=\left(1+\frac{i}{n}\right)^{2}=1+\frac{2i}{n}+\frac{i^{2}}{n^{2}}$

expanding the square is what turns one sum into three, and each of the three matches a different identity

Split and close
$R_n=\frac1n\left[\sum_{i=1}^{n}1+\frac2n\sum_{i=1}^{n}i+\frac{1}{n^{2}}\sum_{i=1}^{n}i^{2}\right]$

the common factor $\Delta x=\frac1n$ is taken outside once, which keeps the three inner sums readable

$=\frac1n\left[n+\frac2n\cdot\frac{n(n+1)}{2}+\frac{1}{n^{2}}\cdot\frac{n(n+1)(2n+1)}{6}\right]$

the three identities applied in order; the first is the one people drop

$=1+\frac{n+1}{n}+\frac{(n+1)(2n+1)}{6n^{2}}=\frac73+\frac{3}{2n}+\frac{1}{6n^{2}}$

expanding shows the constant part and the two vanishing parts separately, which is what makes the limit a reading rather than a calculation

Limit
$\int_1^2 x^{2}\,dx=\lim_{n\to\infty}\left(\frac73+\frac{3}{2n}+\frac{1}{6n^{2}}\right)=\frac73$

the two tails vanish

Answer $$\frac73$$
Check

Two independent checks. At $n=1$ the closed form gives $\frac73+\frac32+\frac16=4$, and the single right-endpoint rectangle is $f(2)\cdot 1=4$. And the value must lie between the one-rectangle bounds $f(1)\cdot1=1$ and $f(2)\cdot1=4$, which $\frac73\approx 2.33$ does.

Every from-the-definition question is this one with different constants. The number of sigma identities you need is the degree of the polynomial you get after substituting, so a cubic integrand would bring in $\sum i^{3}$ as well.

Full exam-style question

A piecewise graph, six questions, no antiderivativesexam format

The standard full-mark question on this material. Everything is read off shapes whose areas you know, and the marks are spread across which question is being asked rather than across difficult arithmetic.

Given
  • $g$ is defined on $[-2,6]$ by $g(x)=\sqrt{4-x^{2}}$ for $-2\le x\le 2$, $g(x)=2-x$ for $2\le x\le 4$, and $g(x)=x-6$ for $4\le x\le 6$.

  • On $[-2,2]$ the graph of $g$ is the upper half of the circle of radius $2$ centred at the origin; on $[2,6]$ it is two straight segments running from $(2,0)$ down to $(4,-2)$ and back up to $(6,0)$.

  • Leave $\pi$ in the answers.

Find

(a) $\int_{-2}^{2}g$; (b) $\int_{2}^{6}g$; (c) $\int_{-2}^{6}g$; (d) the total area between the graph and the axis on $[-2,6]$; (e) the average value of $g$ on $[-2,6]$; (f) $\int_{6}^{-2}g$

Solution
Size the circular piece
$\int_{-2}^{2}\sqrt{4-x^{2}}\,dx=\frac12\pi(2)^{2}=2\pi$

the graph there is a half disc of radius $2$ and it lies above the axis, so the integral is the plain area with no sign to attach

Size the two triangles
$\int_{2}^{4}g=-\tfrac12(2)(2)=-2$

base $2$ from $x=2$ to $x=4$, height $\lvert g(4)\rvert=2$, and the piece lies below the axis

$\int_{4}^{6}g=-\tfrac12(2)(2)=-2$

the mirror image of the first triangle, so the size is forced to be the same

$\int_{2}^{6}g=-2+(-2)=-4$

additivity over the two abutting intervals

Join, and separate the two area questions
$\int_{-2}^{6}g=2\pi+(-4)=2\pi-4\approx 2.283$

additivity again, this time across the point $x=2$ where the shape of the graph changes

$\text{total area}=2\pi+4\approx 10.283$

the word area throws the signs away, so the same three pieces are added by size

Average value and reversed limits
$g_{\text{avg}}=\frac{1}{6-(-2)}\int_{-2}^{6}g=\frac{2\pi-4}{8}=\frac{\pi-2}{4}\approx 0.285$

the interval is $8$ units long; using $6$ here is the standard slip on an interval with a negative left endpoint

$\int_{6}^{-2}g=-\left(2\pi-4\right)=4-2\pi\approx -2.283$

the reversal convention, applied at the end so that it cannot contaminate anything else

Answer $$\begin{aligned}&\text{(a) } 2\pi \quad \text{(b) } -4 \quad \text{(c) } 2\pi-4\\ &\text{(d) } 2\pi+4 \quad \text{(e) } \tfrac{\pi-2}{4} \quad \text{(f) } 4-2\pi\end{aligned}$$
Check

The bounds property checks (c) without recomputing it: on $[-2,6]$ the smallest value of $g$ is $-2$ and the largest is $2$, so the integral must lie between $-2(8)=-16$ and $2(8)=16$, and $2\pi-4\approx 2.283$ does. The average value must lie between those same two heights $-2$ and $2$, and $0.285$ does. Finally (e) can be rebuilt from (c) the other way: a rectangle of height $0.285$ over a width of $8$ has area $2.283$.

Three area formulas, two applications of additivity, one division and one sign flip. No Riemann sum and no antiderivative anywhere.

Six sub-questions, one picture, and the difficulty is entirely in noticing which of them keeps the sign and which does not. When a question hands you a graph built from arcs and straight lines, it is telling you not to integrate.

Practice

A · concept 3 questions
1§08.4 — what a zero integral does and does not say●●○○○

A claim of the kind that opens a quiz. Decide, and be ready to settle it with one function rather than with a rule.

Given
  • Claim: if $f$ is continuous on $[a,b]$ and $\displaystyle\int_a^b f(x)\,dx=0$, then $f(x)=0$ for every $x$ in $[a,b]$.

Find
  1. True or false, with a counterexample if false.

Hint 1/4

Try to break the claim rather than to prove it: can you draw a graph that is not flat and still returns zero?

Hint 2/4

The integral counts area above the axis positively and area below it negatively, so equal amounts of each cancel.

Hint 3/4

Take $f(x)=x-2$ on $[0,4]$: a triangle of area $2$ below the axis on $[0,2]$ and a triangle of area $2$ above it on $[2,4]$.

Hint 4/4

One counterexample settles it: the claim is false.

Show solution
Produce the counterexample
$\int_0^2(x-2)\,dx=-2,\qquad \int_2^4(x-2)\,dx=+2$

splitting at the zero of $f$ is what makes each piece a triangle of constant sign

$\int_0^4(x-2)\,dx=0$

additivity, and the two contributions are equal in size and opposite in sign

Answer $$\text{false}$$
Check

The claim would also fail the symmetry test: $f(2+u)=u$ and $f(2-u)=-u$, so the graph is antisymmetric about $(2,0)$ and any symmetric interval about $2$ gives zero.

A zero integral says the positive and negative parts balanced, and nothing more. What it does say, if you also know $f\ge0$, is that $f$ is zero throughout.

2§08.2 — which relation between the sums always holds●●●●○

Three of these four statements are true on the examples you have seen and false in general. Only one needs no assumption at all.

Given
  • $f$ is continuous on $[a,b]$ and $L_n$, $M_n$, $R_n$ are its left, midpoint and right Riemann sums with $n$ equal subintervals of width $\Delta x$.

Find
  1. Which statement is true for every continuous $f$, with no further assumption?

Hint 1/4

Do not test the four statements on $x^{2}$. Every one of them is true there. Look for the one whose truth does not depend on the shape of $f$ at all.

Hint 2/4

$L_n=\sum_{i=0}^{n-1}f(x_i)\Delta x$ and $R_n=\sum_{i=1}^{n}f(x_i)\Delta x$: the two lists of heights overlap in everything except their first and last entries.

Hint 3/4

Subtracting, the terms $f(x_1),\dots,f(x_{n-1})$ appear in both and cancel, leaving $f(x_n)\Delta x-f(x_0)\Delta x$ with $x_0=a$ and $x_n=b$.

Hint 4/4

$R_n-L_n=(f(b)-f(a))\Delta x$ holds for every $f$ whatsoever.

Show solution
Cancel the shared terms
$R_n-L_n=\Delta x\left(\sum_{i=1}^{n}f(x_i)-\sum_{i=0}^{n-1}f(x_i)\right)$

the common factor $\Delta x$ comes out first so that only the index ranges have to be compared

$=\Delta x\left(f(x_n)-f(x_0)\right)=(f(b)-f(a))\Delta x$

the two ranges overlap on $i=1,\dots,n-1$, so everything but the two ends cancels — and nothing about the shape of $f$ was used

Answer $$R_n-L_n=(f(b)-f(a))\,\Delta x$$
Check

Test it on the table from earlier in the section: $f(x)=x^{2}$ on $[0,1]$ with $n=4$ gives $(1-0)(0.25)=0.25$, and $0.46875-0.21875=0.25$.

This identity is how you decide in advance how fine a partition an accuracy requirement will need, and it is the reason a monotone bracket shrinks like $1/n$.

3§08.1 — the word interval in the constant theorem●●●●○

The theorem about $+C$ carries one hypothesis that is easy to read past. This claim removes it and asks whether anything breaks.

Given
  • Claim: if $F$ and $G$ are both antiderivatives of the same $f$ on the set $(-\infty,0)\cup(0,\infty)$, then $F-G$ is a single constant on that whole set.

Find
  1. True or false, with a counterexample if false.

Hint 1/4

Ask what the proof of the theorem actually used, and whether it can get from a negative $x$ to a positive one.

Hint 2/4

A function with zero derivative is constant on an interval. The Mean Value Theorem needs the two points joined by a piece of the domain.

Hint 3/4

Take $f(x)=1/x^{2}$ and $F(x)=-1/x$. Let $G(x)=-1/x$ for $x<0$ and $G(x)=-1/x+1$ for $x>0$. Then $G'=f$ everywhere on the set, and $F-G$ is $0$ on one piece and $-1$ on the other.

Hint 4/4

The claim is false: the difference is constant on each piece, but the two constants need not agree.

Show solution
Build a second antiderivative that is not a shift of the first
$F(x)=-\frac1x \Rightarrow F'(x)=\frac{1}{x^{2}}$

one antiderivative, valid on both pieces

$G(x)=\begin{cases}-\frac1x,& x<0\\ -\frac1x+1,& x>0\end{cases} \Rightarrow G'(x)=\frac{1}{x^{2}}$

adding a constant separately on each piece changes nothing about the derivative, because the two pieces never meet

$F(x)-G(x)=\begin{cases}0,& x<0\\ -1,& x>0\end{cases}$

not one constant, and no differentiability was harmed in producing it

Answer $$\text{false}$$
Check

Check that $G$ really is differentiable everywhere on the stated set: it is a shift of $-1/x$ on each open piece, and $0$ is not in the set, so there is no point at which the two formulas have to agree.

This is why every antiderivative statement in this section names the interval it holds on, and why $\int\frac{dx}{x}=\ln\lvert x\rvert+C$ is used on an interval that avoids the origin.

B · computation 5 questions
1§08.1 — general antiderivatives from the table●●○○○

Pure table work with linearity on top. On an exam this is the part that has to be fast so that the rest of the paper has time left.

Given
  • (i) $\displaystyle\int\left(6x^{2}-\frac{4}{x^{3}}+5\right)dx$ on $x>0$

  • (ii) $\displaystyle\int\left(e^{x}+\frac3x-2\sin x\right)dx$ on $x>0$

  • (iii) $\displaystyle\int\left(\sec x\tan x+4\sec^{2}x\right)dx$ on $\left(-\tfrac{\pi}{2},\tfrac{\pi}{2}\right)$

Find
  1. (a) Evaluate all three.

  2. (b) Verify (i) by differentiating your answer back.

Hint 1/4

None of these needs a method. Each term is a line of the differentiation table read from right to left, and the only decision is how to rewrite a term so the table recognises it.

Hint 2/4

Reversed power rule: $x^{n}\mapsto\frac{x^{n+1}}{n+1}$ for $n\ne-1$; and $\frac1x\mapsto\ln\lvert x\rvert$, $e^{x}\mapsto e^{x}$, $\sin x\mapsto-\cos x$, $\sec x\tan x\mapsto\sec x$, $\sec^{2}x\mapsto\tan x$.

Hint 3/4

Rewrite $\frac{4}{x^{3}}$ as $4x^{-3}$ first: the new exponent is $-2$ and you divide by it, so the sign flips. The three integrals again: $6x^{2}-4x^{-3}+5$; $e^{x}+\frac3x-2\sin x$; $\sec x\tan x+4\sec^{2}x$.

Hint 4/4

The three answers are $2x^{3}+\frac{2}{x^{2}}+5x+C$, $e^{x}+3\ln x+2\cos x+C$ and $\sec x+4\tan x+C$.

Show solution
Rewrite, then reverse the power rule
$-\frac{4}{x^{3}}=-4x^{-3}\longrightarrow -4\cdot\frac{x^{-2}}{-2}=2x^{-2}$

dividing by the negative new exponent flips the sign, which is the single most common slip in this part

$\int\left(6x^{2}-4x^{-3}+5\right)dx=2x^{3}+\frac{2}{x^{2}}+5x+C$

one constant serves the whole sum, not one per term

Exponential, logarithm, sine
$\int\left(e^{x}+\frac3x-2\sin x\right)dx=e^{x}+3\ln x+2\cos x+C$

the sign on the cosine flips because $\frac{d}{dx}\cos x=-\sin x$; on $x>0$ the bars in $\ln\lvert x\rvert$ are unnecessary and are dropped deliberately, not forgotten

The two trigonometric lines
$\int\left(\sec x\tan x+4\sec^{2}x\right)dx=\sec x+4\tan x+C$

both are table lines read backwards, and the interval given keeps $\sec$ and $\tan$ defined throughout

Answer $$2x^{3}+\frac{2}{x^{2}}+5x+C,\qquad e^{x}+3\ln x+2\cos x+C,\qquad \sec x+4\tan x+C$$
Check

Differentiate each answer: $6x^{2}-4x^{-3}+5$; $e^{x}+\frac3x-2\sin x$; $\sec x\tan x+4\sec^{2}x$. All three return the integrand they came from.

The two places these go wrong are the sign after dividing by a negative exponent, and the missing constant. Both are visible in one differentiation.

2§08.2 — estimating and bracketing a decreasing integrand●●●○○

A table-free estimate on a curve that falls. The arithmetic is routine; the direction of the inequality is the part being marked.

Given
  • $f(x)=\dfrac{1}{1+x^{2}}$ on $[0,2]$, which decreases throughout that interval

  • $n=4$ subintervals of equal width

Find
  1. (a) Compute $\Delta x$ and list the five partition points.

  2. (b) Compute $L_4$ and $R_4$ to six decimal places.

  3. (c) State a bracket for $\displaystyle\int_0^2 f(x)\,dx$, in the correct direction, and check its width against $\lvert f(2)-f(0)\rvert\Delta x$.

  4. (d) Compute $M_4$ and say where it sits relative to your bracket.

Hint 1/4

Two separate decisions live here: what the numbers are, and which of the two sums is the upper bound. Settle the second one from the shape of $f$ before computing anything.

Hint 2/4

$\Delta x=\frac{b-a}{n}$; $L_n$ uses $x_0,\dots,x_{n-1}$ and $R_n$ uses $x_1,\dots,x_n$; on a decreasing $f$ the left endpoint of each strip is its highest point.

Hint 3/4

Here $a=0$, $b=2$, $n=4$, so $\Delta x=0.5$ and the points are $0,\ 0.5,\ 1,\ 1.5,\ 2$, at which $f$ is $1,\ 0.8,\ 0.5,\ 0.307692,\ 0.2$.

Hint 4/4

$L_4=1.303846$, $R_4=0.903846$, so $0.903846\le\int_0^2 f\le 1.303846$, and $M_4=1.108787$.

Show solution
Partition and heights
$\Delta x=\frac{2-0}{4}=0.5$

the interval is two units long, so the width is not $1/4$

$f(0)=1,\ f(0.5)=0.8,\ f(1)=0.5,\ f(1.5)=0.307692,\ f(2)=0.2$

computing the five heights once and reusing them halves the arithmetic and removes a source of slips

The two endpoint sums
$L_4=0.5(1+0.8+0.5+0.307692)=1.303846$

the left sum uses the first four heights, that is $x_0$ through $x_3$

$R_4=0.5(0.8+0.5+0.307692+0.2)=0.903846$

the right sum uses the last four, that is $x_1$ through $x_4$

Direction, and the midpoint sum
$0.903846\le\int_0^2 f\le 1.303846$

$f$ decreases, so the left end of each strip is its tallest point and $L_4$ is the over-estimate — the inequality follows the function, not the letters

$M_4=0.5(0.941176+0.64+0.390244+0.246154)=1.108787$

midpoints $0.25,\ 0.75,\ 1.25,\ 1.75$, which are not among the five heights already computed

Answer $$L_4=1.303846,\quad R_4=0.903846,\quad M_4=1.108787,\quad 0.903846\le I\le 1.303846$$
Check

The bracket width must be $\lvert f(2)-f(0)\rvert\Delta x=(1-0.2)(0.5)=0.4$, and $1.303846-0.903846=0.4$. That check uses neither sum's individual value.

$M_4$ landed at the centre of the bracket, $0.004941$ above $\tfrac{L_4+R_4}{2}=1.103846$, and even that much is an accident of this curve, which is concave for $x<1/\sqrt3$ and convex after it. Position inside the bracket is not information; only the bracket is.

3§08.4 — a definite integral from the definition●●●●○

The from-the-definition question in its standard exam form. The integrand is friendly and the marks are in the algebra being clean.

Given
  • $f(x)=4-x^{2}$ on $[0,2]$

  • right endpoints, and $\displaystyle\sum_{i=1}^{n}1=n$, $\displaystyle\sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6}$

Find
  1. (a) Write $\Delta x$ and $x_i$ explicitly.

  2. (b) Write $R_n$ as a rational expression in $n$ with no summation sign.

  3. (c) Take the limit to evaluate $\displaystyle\int_0^2(4-x^{2})\,dx$.

  4. (d) Check your closed form at $n=1$ against the single rectangle it describes.

Hint 1/4

The whole computation is decided by two objects written before any algebra: the width of a strip, and the $i$-th right endpoint on an interval of length $2$.

Hint 2/4

$\Delta x=\frac{b-a}{n}$, $x_i=a+i\Delta x$, $R_n=\sum_{i=1}^{n}f(x_i)\Delta x$. A constant term inside the sum contributes $n$ copies.

Hint 3/4

Here $a=0$, $b=2$: $\Delta x=\frac2n$, $x_i=\frac{2i}{n}$, so $f(x_i)=4-\frac{4i^{2}}{n^{2}}$. The identities again: $\sum 1=n$ and $\sum i^{2}=\frac{n(n+1)(2n+1)}{6}$.

Hint 4/4

$R_n=8-\frac43\left(2+\frac3n+\frac1{n^{2}}\right)$ and the limit is $\frac{16}{3}$.

Show solution
Partition and substitute
$\Delta x=\frac{2-0}{n}=\frac2n,\qquad x_i=\frac{2i}{n}$

the left endpoint is $0$, which is the only reason $x_i$ has no constant term here

$f(x_i)=4-\frac{4i^{2}}{n^{2}}$

squaring $\frac{2i}{n}$ gives $\frac{4i^{2}}{n^{2}}$; losing the $4$ is the standard slip when $a=0$ hides the rest of the substitution

Split and close
$R_n=\sum_{i=1}^{n}\left(4-\frac{4i^{2}}{n^{2}}\right)\frac2n=\frac8n\sum_{i=1}^{n}1-\frac{8}{n^{3}}\sum_{i=1}^{n}i^{2}$

the constants leave the sums, and the first sum is $\sum 1$ rather than $1$

$=\frac8n\cdot n-\frac{8}{n^{3}}\cdot\frac{n(n+1)(2n+1)}{6}=8-\frac{4(n+1)(2n+1)}{3n^{2}}$

both identities applied; the sigma signs are gone, which is the marker that this stage is finished

$=8-\frac43\left(2+\frac3n+\frac{1}{n^{2}}\right)=\frac{16}{3}-\frac4n-\frac{4}{3n^{2}}$

expanding separates the surviving constant from the two vanishing tails

Limit
$\int_0^2(4-x^{2})\,dx=\lim_{n\to\infty}\left(\frac{16}{3}-\frac4n-\frac{4}{3n^{2}}\right)=\frac{16}{3}$

both tails vanish and no $n$ may survive

Answer $$\frac{16}{3}$$
Check

Two independent checks. At $n=1$ the closed form gives $\frac{16}{3}-4-\frac43=0$, matching the single rectangle $f(2)\cdot 2=0$. And the bounds property: $0\le f\le 4$ on $[0,2]$, so the integral lies in $[0,8]$, and $\frac{16}{3}\approx5.33$ does. A midpoint estimate with $n=2$ gives $1\cdot(3.75+1.75)=5.5$, close to it.

The tail $-\frac4n$ says $R_n$ under-estimates by about $\frac4n$ here, because the curve falls: right endpoints take the lowest point of each strip. The sign of the leading tail always tells you which way the estimate leans.

4§08.5 — values and bounds from the properties alone●●●○○

No function is named anywhere in this question, and none is needed. Four short parts, one property each.

Given
  • $\displaystyle\int_0^6 f(x)\,dx=10$

  • $\displaystyle\int_0^2 f(x)\,dx=-3$

  • $\displaystyle\int_2^6 g(x)\,dx=8$

  • $h$ satisfies $1\le h(x)\le 5$ for every $x$ in $[0,6]$

Find
  1. (a) Evaluate $\displaystyle\int_2^6 f(x)\,dx$.

  2. (b) Evaluate $\displaystyle\int_2^6\left(4f(x)-g(x)\right)dx$.

  3. (c) Evaluate $\displaystyle\int_6^0 f(x)\,dx$.

  4. (d) Give the best bounds the properties provide for $\displaystyle\int_0^6 h(x)\,dx$.

Hint 1/4

Do not try to imagine what $f$, $g$ or $h$ might be. Each part names one property; decide which before writing anything.

Hint 2/4

Additivity $\int_0^2+\int_2^6=\int_0^6$; linearity for constant multiples and sums; $\int_b^a=-\int_a^b$; and $m\le h\le M$ gives $m(b-a)\le\int_a^b h\le M(b-a)$.

Hint 3/4

The four given facts again: $\int_0^6 f=10$, $\int_0^2 f=-3$, $\int_2^6 g=8$, and $1\le h\le 5$ on $[0,6]$ whose length is $6$.

Hint 4/4

(a) $13$; (b) $44$; (c) $-10$; (d) $6\le\int_0^6 h\le 30$.

Show solution
Peel off an interval
$\int_2^6 f=\int_0^6 f-\int_0^2 f=10-(-3)=13$

additivity written so the unknown piece stands alone; subtracting a negative number is where this part is lost

Split the combination
$\int_2^6(4f-g)=4\int_2^6 f-\int_2^6 g=4(13)-8=44$

linearity, using the value of $\int_2^6 f$ just obtained rather than the one over $[0,6]$ — the intervals must match

Reverse, and bound
$\int_6^0 f=-\int_0^6 f=-10$

the reversal convention, and nothing about $f$ is involved

$1(6-0)\le\int_0^6 h\le 5(6-0)$

the bounds property turns a floor and a ceiling on $h$ into two rectangles over the whole interval

Answer $$13,\qquad 44,\qquad -10,\qquad 6\le\int_0^6 h\le 30$$
Check

Rebuild the whole from the pieces in (a): $-3+13=10$, the given $\int_0^6 f$. And check (d) for plausibility with the constant function $h\equiv1$, whose integral is exactly the lower bound $6$, so the bound cannot be improved without more information about $h$.

Part (b) is the one that punishes careless interval bookkeeping: the two integrals being combined have to run over the same interval before linearity may be used.

5§08.6 — average value, and the point where it is attained●●●○○

Two functions, the same two questions each time. One integral comes from the definition and the other from a circle, which is the choice you are being trained to notice.

Given
  • (i) $v(t)=3t^{2}$ on $[0,2]$, with $\displaystyle\int_0^2 3t^{2}\,dt=8$

  • (ii) $h(x)=\sqrt{25-x^{2}}$ on $[0,5]$, whose graph is a quarter of the circle of radius $5$ centred at the origin

Find
  1. (a) Find the average value of $v$ on $[0,2]$ and a $c$ in $[0,2]$ with $v(c)$ equal to it.

  2. (b) Find the average value of $h$ on $[0,5]$ and a $c$ in $[0,5]$ with $h(c)$ equal to it.

  3. (c) In each case check that the average value lies between the minimum and the maximum of the function on the interval.

Hint 1/4

Each part is two separate questions: a height, and then a place where the graph reaches that height. Do not stop after the first.

Hint 2/4

$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$, and the Mean Value Theorem for integrals guarantees a $c$ in $[a,b]$ with $f(c)=f_{\text{avg}}$ when $f$ is continuous.

Hint 3/4

For (i): $\int_0^2 3t^{2}\,dt=8$ and $b-a=2$. For (ii): the quarter disc of radius $5$ has area $\frac14\pi(5)^{2}=\frac{25\pi}{4}$ and $b-a=5$.

Hint 4/4

(a) $v_{\text{avg}}=4$ and $c=\frac{2}{\sqrt3}\approx1.155$. (b) $h_{\text{avg}}=\frac{5\pi}{4}\approx3.927$ and $c=5\sqrt{1-\frac{\pi^{2}}{16}}\approx3.095$.

Show solution
The polynomial case
$v_{\text{avg}}=\frac{1}{2-0}\int_0^2 3t^{2}\,dt=\frac82=4$

the divisor is the length of the interval

$3c^{2}=4\Rightarrow c=\frac{2}{\sqrt3}\approx1.155$

solving $v(c)=v_{\text{avg}}$; the negative root is outside $[0,2]$ and the theorem only promises a point of the interval

The circular case
$\int_0^5\sqrt{25-x^{2}}\,dx=\frac14\pi(5)^{2}=\frac{25\pi}{4}$

the graph on $[0,5]$ is the first-quadrant quarter of a circle of radius $5$, and it lies above the axis so no sign is involved

$h_{\text{avg}}=\frac15\cdot\frac{25\pi}{4}=\frac{5\pi}{4}\approx3.927$

again the divisor is the length, $5$

$25-c^{2}=\frac{25\pi^{2}}{16}\Rightarrow c=5\sqrt{1-\frac{\pi^{2}}{16}}\approx3.095$

squaring is legitimate because both sides are non-negative on this interval

Answer $$v_{\text{avg}}=4,\ c=\tfrac{2}{\sqrt3};\qquad h_{\text{avg}}=\tfrac{5\pi}{4},\ c=5\sqrt{1-\tfrac{\pi^{2}}{16}}$$
Check

Put each $c$ back into its function rather than repeating the algebra: $3\left(\frac{2}{\sqrt3}\right)^{2}=3\cdot\frac43=4$, and $25-3.095^{2}=25-9.579=15.421$ with $\sqrt{15.421}=3.927$. Both reproduce their average value.

Both crossing points sit to the right of the midpoint of their interval, but for opposite reasons: $v$ climbs late, so the early part of $[0,2]$ is below the average $4$; $h$ instead stays high across most of $[0,5]$, which pulls the average up to $3.927$, so the falling curve does not reach that height until $x\approx3.095$. Read the direction of the graph before predicting where $c$ lands.

C · exam level 3 questions
1§08.3 — a total from measured rates, with an error budget●●●●○

Full exam question. Nothing here is a formula: the data is a table, and the marks are for the bracket and for knowing what would shrink it.

Given
  • Water flows into a tank at a rate $r(t)$ litres per minute, measured every two minutes: at $t=0,2,4,6,8,10$ the readings are $12,\ 15,\ 19,\ 22,\ 24,\ 25$.

  • The inflow rate never decreased during the ten minutes.

  • The tank held $40$ litres at $t=0$.

Find
  1. (a) Give an under-estimate and an over-estimate of the volume that entered during the ten minutes, and state the bracket.

  2. (b) Bracket the amount of water in the tank at $t=10$.

  3. (c) Check the width of your bracket against $\left(r(10)-r(0)\right)\Delta t$.

  4. (d) How often would the rate have to be read for the bracket in (a) to be no wider than $5$ litres, assuming the first and last readings stay as they are?

Hint 1/4

There is no function to integrate. Decide first how many intervals five readings cut the ten minutes into, and which reading you would use on each interval to be certain of undershooting.

Hint 2/4

A rate summed over time is a total: $\sum r(t_i^{*})\Delta t$. On a rate that never falls, the reading at the start of each interval is the smallest it gets there, and the reading at the end the largest. The gap between the two sums is $\left(r(b)-r(a)\right)\Delta t$.

Hint 3/4

The readings again, at $t=0,2,4,6,8,10$: $12,15,19,22,24,25$ litres per minute, with $\Delta t=2$ minutes and five intervals. The tank starts with $40$ litres.

Hint 4/4

$184\le V\le 210$ litres entered, so the tank holds between $224$ and $250$ litres at $t=10$; the bracket is $26$ litres wide and needs $\Delta t\le\frac{5}{13}$ minutes, about $23$ seconds, to fall to $5$.

Show solution
Count the intervals before summing anything
$\text{six readings} \Rightarrow \text{five intervals of } \Delta t=2\ \text{min}$

each sum therefore uses five of the six readings, and using all six is the standard way this question is lost

The two sums
$L=(12+15+19+22+24)(2)=(92)(2)=184$

the rate never fell, so the reading at the start of an interval is the slowest the inflow ran during it

$R=(15+19+22+24+25)(2)=(105)(2)=210$

same five intervals sampled at their right ends, which are the fastest

$184\ \text{L}\le V\le 210\ \text{L}$

the bracket is valid only because the rate is monotone; with a rate that rose and fell neither sum would be guaranteed on either side

Add what was already there
$40+184=224,\qquad 40+210=250$

the starting volume is a known constant, so it shifts both ends of the bracket by the same amount and does not widen it

Price a tighter answer
$R-L=\left(r(10)-r(0)\right)\Delta t=(25-12)\Delta t=13\,\Delta t$

all the interior readings cancel between the two sums, so only the two ends set the width

$13\,\Delta t\le 5 \Rightarrow \Delta t\le\frac{5}{13}\approx 0.385\ \text{min}\approx 23\ \text{s}$

the width falls in proportion to the sampling interval, so a five-fold better answer costs five times as many readings

Answer $$184\le V\le 210,\qquad 224\le \text{contents}\le 250,\qquad \Delta t\le \tfrac{5}{13}\ \text{min}$$
Check

The width computed from the two sums is $210-184=26$, and the cancellation formula predicts $(25-12)(2)=26$ without using either sum. Part (d) checks the same way: at $\Delta t=\frac{5}{13}$ the predicted width is $13\cdot\frac{5}{13}=5$.

Every measured-rate question has this shape, and part (d) is the part that separates a student who computed from one who understood: the uncertainty is set by the sampling interval and the total rise, and by nothing else.

2§08.5 — the best bounds the properties give●●●○○

Exam-level and thirty seconds long. Three of the four options are what you get by mishandling one step of the bounds property.

Given
  • $I=\displaystyle\int_1^4\frac{1}{x}\,dx$

  • $\frac1x$ is positive and decreasing on $[1,4]$, so its smallest value there is $\frac14$ and its largest is $1$.

Find
  1. Which is the best pair of bounds the bounds property provides for $I$?

Hint 1/4

The property turns a floor and a ceiling on the function into two rectangles. Ask what the width of those rectangles is here.

Hint 2/4

If $m\le f\le M$ on $[a,b]$ then $m(b-a)\le\int_a^b f\le M(b-a)$.

Hint 3/4

Here $m=\frac14$, $M=1$ and $b-a=4-1=3$, so the two rectangles have areas $\frac14\cdot3$ and $1\cdot3$.

Hint 4/4

$\tfrac34\le I\le 3$.

Show solution
Multiply each height by the width
$b-a=4-1=3$

computing the width on its own line is what stops the answer coming out as a pair of heights

$\tfrac14(3)\le I\le 1(3)$

the bounds property, with $m$ and $M$ read off the monotonicity of $\frac1x$ rather than guessed

Answer $$\tfrac34\le I\le 3$$
Check

An independent estimate must land inside: the midpoint sum with two strips uses $x=1.75$ and $x=3.25$, giving $1.5\left(\frac{1}{1.75}+\frac{1}{3.25}\right)=1.5(0.571429+0.307692)=1.318681$, comfortably between $0.75$ and $3$.

Bounds this loose are still worth having when no antiderivative is available, and they tighten fast if you split the interval and bound each piece separately.

3§08.6 — one piecewise graph, five different questions●●●●○

The full-mark question of this section in miniature. Every part is read off the same three pieces, and the difficulty is entirely in noticing which parts keep the sign.

Given
  • $p$ is defined on $[0,6]$ by $p(x)=2$ for $0\le x\le2$, $p(x)=6-2x$ for $2\le x\le4$, and $p(x)=-2$ for $4\le x\le6$.

  • So the graph is a flat segment at height $2$, then a straight descent through $(3,0)$ to $(4,-2)$, then a flat segment at height $-2$.

  • $p$ is continuous on $[0,6]$.

Find
  1. (a) Evaluate $\displaystyle\int_0^6 p(x)\,dx$.

  2. (b) Find the total area between the graph of $p$ and the $x$-axis on $[0,6]$.

  3. (c) Find the average value of $p$ on $[0,6]$.

  4. (d) Find every $c$ in $[0,6]$ at which $p(c)$ equals that average value.

  5. (e) Evaluate $\displaystyle\int_0^3 p(x)\,dx$.

Hint 1/4

Draw the graph before doing anything else, and mark the one place it crosses the axis. Then treat parts (a) and (b) as two different questions rather than one.

Hint 2/4

Additivity splits the interval; a rectangle has area base times height and a triangle half of that; $f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$; and area below the axis enters the integral negatively but the total area positively.

Hint 3/4

The pieces again: $p=2$ on $[0,2]$; $p=6-2x$ on $[2,4]$, crossing zero at $x=3$; $p=-2$ on $[4,6]$. That gives a rectangle of area $4$, two triangles of area $1$ each, and a rectangle of area $4$.

Hint 4/4

(a) $0$; (b) $10$; (c) $0$; (d) $c=3$ only; (e) $5$.

Show solution
Size the three pieces with their signs
$\int_0^2 p=2(2)=4$

a rectangle of height $2$ and base $2$, entirely above the axis

$\int_2^4 p=+1-1=0$

the descent crosses at $x=3$, giving one triangle of area $1$ above the axis and its mirror image of area $1$ below it

$\int_4^6 p=-2(2)=-4$

a rectangle of the same size as the first but below the axis, so the sign flips

Answer the signed and unsigned questions separately
$\int_0^6 p=4+0-4=0$

additivity across the two joins

$\text{total area}=4+1+1+4=10$

the same four pieces added by size, with the crossing at $x=3$ used to separate the two triangles

Average value and where it is attained
$p_{\text{avg}}=\frac{1}{6-0}(0)=0$

an integral of zero over a non-degenerate interval gives an average of zero, and the length only has to be non-zero for this to make sense

$p(c)=0 \iff 6-2c=0 \iff c=3$

the two flat pieces sit at $2$ and $-2$ and never take the value $0$, so the descending piece is the only candidate

A partial interval
$\int_0^3 p=4+1=5$

the upper limit lands exactly at the crossing point, so the second piece contributes only its triangle above the axis

Answer $$0,\qquad 10,\qquad 0,\qquad c=3,\qquad 5$$
Check

The Mean Value Theorem for integrals must be satisfied, and it is: $p$ is continuous and does attain $p_{\text{avg}}=0$, at $c=3$. The bounds property gives another check on (a): $-2\le p\le 2$ on an interval of length $6$, so the integral lies in $[-12,12]$, and $0$ does. Finally (e) plus $\int_3^6 p=-1-4=-5$ rebuilds (a) as $5-5=0$.

Parts (a) and (c) are both zero and part (b) is ten. If those three numbers do not feel different to you, reread the wording of each — that difference is what the question is testing.

D · interleaved 3 questions
1§08.4 — a largest rectangle and the region it sits in●●●●●

Two things have to happen here and the question does not say what they are. Decide the type before starting.

Given
  • The region under the curve $y=4-x^{2}$ and above the $x$-axis, for $-2\le x\le 2$.

  • A rectangle is inscribed in that region with its base on the $x$-axis and its sides vertical, symmetric about the $y$-axis, so its corners are at $(\pm x,0)$ and $(\pm x,4-x^{2})$ for some $0

  • $\displaystyle\int_0^2(4-x^{2})\,dx=\frac{16}{3}$.

Find
  1. (a) Find the dimensions of the rectangle of largest area, and that largest area.

  2. (b) Find the area of the whole region.

  3. (c) What fraction of the region does the largest rectangle occupy?

Hint 1/4

Part (a) and part (b) are different kinds of question. One asks for a largest value of something that varies; the other asks for the size of a fixed region.

Hint 2/4

For (a): write the area as a function of one variable and set its derivative to zero. For (b): the region is symmetric about the $y$-axis, and an integral over a symmetric interval splits into two equal halves.

Hint 3/4

The rectangle has width $2x$ and height $4-x^{2}$, so $A(x)=2x(4-x^{2})=8x-2x^{3}$ on $0

Hint 4/4

$A'(x)=8-6x^{2}=0$ at $x=\frac{2}{\sqrt3}$, giving largest area $\frac{32\sqrt3}{9}\approx6.158$; the region has area $\frac{32}{3}\approx10.667$; the ratio is $\frac{\sqrt3}{3}\approx0.577$.

Show solution
One variable, then differentiate
$A(x)=2x\left(4-x^{2}\right)=8x-2x^{3},\qquad 0

symmetry lets the whole rectangle be described by the single number $x$; without it there would be two variables and a constraint to eliminate

$A'(x)=8-6x^{2}=0 \Rightarrow x^{2}=\frac43 \Rightarrow x=\frac{2}{\sqrt3}$

the negative root is outside the open interval, and $A$ vanishes at both ends of it, so this interior critical number is the maximum

$A\left(\tfrac{2}{\sqrt3}\right)=\tfrac{2}{\sqrt3}\left(8-\tfrac83\right)=\tfrac{2}{\sqrt3}\cdot\tfrac{16}{3}=\frac{32}{3\sqrt3}=\frac{32\sqrt3}{9}\approx6.158$

substituting $x^{2}=\frac43$ into $8x-2x^{3}=x(8-2x^{2})$ avoids cubing a surd

The region, by symmetry
$\int_{-2}^{2}\left(4-x^{2}\right)dx=2\int_0^2\left(4-x^{2}\right)dx=2\cdot\frac{16}{3}=\frac{32}{3}$

the integrand is unchanged when $x$ is replaced by $-x$, so the two halves have equal area and only one of them has to be computed

Compare
$\frac{32\sqrt3/9}{32/3}=\frac{\sqrt3}{3}\approx0.577$

the factor $32$ cancels, which is a sign the two answers were built from the same numbers and not independently mistyped

Answer $$A_{\max}=\frac{32\sqrt3}{9}\approx6.158,\qquad \text{region}=\frac{32}{3}\approx10.667,\qquad \text{ratio}=\frac{\sqrt3}{3}$$
Check

The rectangle must fit inside the region, so its area must be less than the region's: $6.158<10.667$. And a sanity bound on the region from the bounds property: $0\le 4-x^{2}\le 4$ on $[-2,2]$, so the area lies in $[0,16]$, and $\frac{32}{3}\approx10.67$ does.

The ratio $\frac{\sqrt3}{3}$ carries no $4$ and no $2$, so it is the same for every parabola of this shape. That is worth noticing before an exam asks the same question with different numbers.

2§08.1 — a derivative computed, then read backwards●●●○○

The second part costs one line if you notice what the first part just handed you, and a great deal more if you do not.

Given
  • $F(x)=\left(x^{2}+1\right)^{3}$

Find
  1. (a) Compute $F'(x)$.

  2. (b) Hence write down $\displaystyle\int 6x\left(x^{2}+1\right)^{2}dx$.

  3. (c) Hence write down $\displaystyle\int x\left(x^{2}+1\right)^{2}dx$.

  4. (d) Check (c) by differentiating your answer.

Hint 1/4

Part (b) is not a new problem. Look at what part (a) produced and ask which question that line already answers.

Hint 2/4

The chain rule gives $\frac{d}{dx}\left[g(x)\right]^{3}=3\left[g(x)\right]^{2}g'(x)$; and an antiderivative statement is a derivative statement read from right to left. Constant multiples come out of an integral.

Hint 3/4

With $F(x)=(x^{2}+1)^{3}$: $F'(x)=3(x^{2}+1)^{2}(2x)=6x(x^{2}+1)^{2}$, which is exactly the integrand of (b). For (c), the integrand is one sixth of that.

Hint 4/4

(a) $6x(x^{2}+1)^{2}$; (b) $(x^{2}+1)^{3}+C$; (c) $\tfrac16(x^{2}+1)^{3}+C$.

Show solution
Differentiate
$F'(x)=3\left(x^{2}+1\right)^{2}\cdot 2x=6x\left(x^{2}+1\right)^{2}$

the chain rule, with the inner function $x^{2}+1$ and its derivative $2x$ as the outside factor

Read the same line backwards
$\int 6x\left(x^{2}+1\right)^{2}dx=\left(x^{2}+1\right)^{3}+C$

an antiderivative of $F'$ is $F$ by definition, so part (a) has already done all the work

$\int x\left(x^{2}+1\right)^{2}dx=\frac16\int 6x\left(x^{2}+1\right)^{2}dx=\frac16\left(x^{2}+1\right)^{3}+C$

the integrand differs from the previous one by the constant factor $6$, and linearity lets a constant travel through

Answer $$F'=6x(x^{2}+1)^{2},\qquad (x^{2}+1)^{3}+C,\qquad \tfrac16(x^{2}+1)^{3}+C$$
Check

Differentiate the answer to (c): $\frac16\cdot3(x^{2}+1)^{2}(2x)=x(x^{2}+1)^{2}$, the integrand. As a second check, expand both sides at $x=1$: the answer gives $\frac16(2)^{3}=\frac43$ plus $C$, and the integrand there is $1\cdot4=4$, which is the slope the answer should have at $x=1$ — and $\frac{d}{dx}\left[\frac16(x^{2}+1)^{3}\right]$ at $x=1$ is $\frac16\cdot3\cdot4\cdot2=4$.

Every antiderivative you can produce this way is a chain rule you have already done. Reading the differentiation rules backwards is the whole content of the technique that arrives in the next section under its own name.

3§08.6 — two existence theorems on the same function●●●●○

No numbers to compute. Each part is a yes or a no with one named theorem behind it, and the third part asks what happens when the theorem's hypothesis is dropped.

Given
  • $f$ is continuous on $[1,5]$ with $f(1)=-3$ and $f(5)=7$.

  • $\displaystyle\int_1^5 f(x)\,dx=8$.

Find
  1. (a) Must there be a $c$ in $(1,5)$ with $f(c)=0$? Name the theorem.

  2. (b) Must there be a $d$ in $[1,5]$ with $f(d)=2$? Name the theorem.

  3. (c) Would your answer to (b) survive if $f$ were merely integrable rather than continuous? Give a reason or an example.

Hint 1/4

Neither part asks you to find anything. Both ask whether something has to exist, so the answer is a theorem and its hypotheses, not a computation.

Hint 2/4

The Intermediate Value Theorem: a continuous function on $[a,b]$ takes every value between $f(a)$ and $f(b)$. The Mean Value Theorem for integrals: a continuous $f$ takes the value $f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$ somewhere in $[a,b]$.

Hint 3/4

Here $f(1)=-3$ and $f(5)=7$, so $0$ lies between them; and $f_{\text{avg}}=\frac{1}{5-1}(8)=2$, which is the number part (b) asks about.

Hint 4/4

(a) Yes, by the Intermediate Value Theorem. (b) Yes, by the Mean Value Theorem for integrals, because $2$ is exactly the average value. (c) No — continuity is what that theorem needs.

Show solution
A value between two known values
$-3<0<7$

the Intermediate Value Theorem needs the target to lie strictly between the two endpoint values, and it does

$\exists c\in(1,5):\ f(c)=0$

continuity on the closed interval is the only other hypothesis, and it was given

The average value is attained
$f_{\text{avg}}=\frac{1}{5-1}\int_1^5 f=\frac84=2$

the divisor is the length of the interval, and $2$ turns out to be exactly the number part (b) is asking about — which is the hint that the average-value theorem is the right tool

$\exists d\in[1,5]:\ f(d)=2$

the Mean Value Theorem for integrals, whose proof combines the bounds property with the Intermediate Value Theorem

Drop continuity and watch it fail
$f(x)=\begin{cases}0,&1\le x<3\\ 4,&3\le x\le5\end{cases}$

a bounded function with one jump is integrable, so every hypothesis except continuity still holds

$\int_1^5 f=0(2)+4(2)=8,\qquad f_{\text{avg}}=2,\qquad f \text{ never equals } 2$

the two rectangles give the same integral as the original data, so this function is a genuine counterexample and not a change of subject

Answer $$\text{(a) yes}\quad \text{(b) yes}\quad \text{(c) no}$$
Check

Part (b) can be cross-checked against part (a) and the bounds property: the average value $2$ must lie between the minimum and maximum of $f$ on $[1,5]$, and since $f$ takes the values $-3$ and $7$, the minimum is at most $-3$ and the maximum at least $7$, so $2$ is comfortably inside. The step function in (c) has average $2$ by direct computation, $\frac{0\cdot2+4\cdot2}{4}=2$.

Both theorems say a value is attained, and both need continuity to say it. When a question removes continuity, it is asking for the counterexample, and a two-piece step function is almost always the cheapest one.

Mistake ledger (18 entries)
⚠ Leaving the constant off

the calculus ends one symbol before the answer does, and the hand stops when the thinking stops

wrong$\int 2x\,dx = x^{2}$
right$\int 2x\,dx = x^{2}+C$
⚠ Using the power rule at the exponent it excludes

$n=-1$ looks like every other exponent until you divide by $n+1$

wrong$\int x^{-1}\,dx=\frac{x^{0}}{0}+C$
right$\int x^{-1}\,dx=\ln\lvert x\rvert+C$
⚠ Antidifferentiating a product one factor at a time

sums split, so products feel as if they should too

wrong$\int x\cos x\,dx = \frac{x^{2}}{2}\sin x + C$
right$\frac{d}{dx}\left[\frac{x^{2}}{2}\sin x\right]=x\sin x+\frac{x^{2}}{2}\cos x\neq x\cos x$
⚠ Using $\Delta x=1/n$ on an interval that is not one unit long

the $[0,1]$ examples are the ones everybody practises on, and there $1/n$ happens to be right

wrong$\text{on } [1,3]: \ \Delta x=\frac1n$
right$\text{on } [1,3]: \ \Delta x=\frac{3-1}{n}=\frac2n$
⚠ Summing $n+1$ rectangles

there are $n+1$ partition points on the page, and it is tempting to use all of them

wrong$R_n=\sum_{i=0}^{n}f(x_i)\,\Delta x$
right$R_n=\sum_{i=1}^{n}f(x_i)\,\Delta x$
⚠ Quoting $L_n\le A\le R_n$ from memory

it is true on every increasing example, and increasing examples come first

wrong$L_n\le \int_a^b f \le R_n \ \text{always}$
right$L_n\le \int_a^b f \le R_n \ \text{if } f \text{ increases on } [a,b];\ \text{reversed if it decreases}$
⚠ Multiplying by the number of readings instead of the spacing

both numbers are sitting there and both are small integers

wrong$\text{distance}\approx (0+8+17+24+28+30)(6)$
right$\text{distance}\approx (0+8+17+24+28+30)(5)$
⚠ Reporting displacement when distance was asked for

on examples where the rate never changes sign the two coincide, and those are the examples you see first

wrong$\text{distance}=\sum v(t_i^{*})\,\Delta t$
right$\text{distance}=\sum \lvert v(t_i^{*})\rvert\,\Delta t,\qquad \text{displacement}=\sum v(t_i^{*})\,\Delta t$
⚠ Using all seven readings for six intervals

the data comes as a list and it feels wasteful to leave one out

wrong$L=(0+8+17+24+28+30+31)(5)$
right$L=(0+8+17+24+28+30)(5)\quad\text{or}\quad R=(8+17+24+28+30+31)(5)$
⚠ Reporting a signed integral as an area

the two words were used interchangeably in every example where $f$ stayed positive

wrong$\text{area}=\int_0^3 (x-2)\,dx=-\tfrac32$
right$\int_0^3 (x-2)\,dx=-\tfrac32,\qquad \text{area}=\tfrac52$
⚠ Letting an $n$ survive the limit

the closed form looks like an answer, and the last line feels like a formality

wrong$\lim_{n\to\infty}\left(\tfrac13+\tfrac{1}{2n}\right)=\tfrac13+\tfrac{1}{2n}$
right$\lim_{n\to\infty}\left(\tfrac13+\tfrac{1}{2n}\right)=\tfrac13$
⚠ Treating the variable of integration as if it meant something

$x$ appears three times in the notation and only one of them is a real variable

wrong$\int_a^b f(x)\,dx \ \text{and} \ \int_a^b f(t)\,dt \ \text{are different}$
right$\int_a^b f(x)\,dx=\int_a^b f(t)\,dt$
⚠ Splitting a product of two functions

linearity splits sums so convincingly that products feel as if they must follow

wrong$\int_a^b f g\,dx=\left(\int_a^b f\,dx\right)\left(\int_a^b g\,dx\right)$
right$\text{no such rule; linearity covers } \int(\alpha f+\beta g)\ \text{only}$
⚠ Losing the sign when the limits are reversed

the two limits are just two numbers on the page and the order stops registering

wrong$\int_5^1 f=\int_1^5 f$
right$\int_5^1 f=-\int_1^5 f$
⚠ Using the endpoint values as $m$ and $M$

on a monotone example they are the minimum and maximum, and monotone examples come first

wrong$m=f(a),\quad M=f(b)$
right$m=\min_{[a,b]}f,\quad M=\max_{[a,b]}f$
⚠ Dividing by $b$ instead of $b-a$

on intervals that start at $0$ the two agree, and those are the practice examples

wrong$f_{\text{avg}}=\frac{1}{b}\int_a^b f$
right$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$
⚠ Averaging the two endpoint values

it is what average means for two numbers, and it happens to be right for straight lines

wrong$f_{\text{avg}}=\frac{f(a)+f(b)}{2}$
right$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$
⚠ Stopping at the number and not finding $c$

the average value feels like the answer, and the second half of the question is one short line

wrong$f_{\text{avg}}=3 \ \checkmark \ \text{(question also asked for } c)$
right$f_{\text{avg}}=3,\qquad f(c)=3 \Rightarrow c=\sqrt3\in[0,3]$
Formula card
Antiderivative, and the whole family
$F'=f \text{ on } I \ \Longrightarrow\ \int f(x)\,dx=F(x)+C$

$I$ is an interval; $C$ ranges over all real numbers

The differentiation table, read backwards
$\begin{aligned}&\int x^{n}dx=\frac{x^{n+1}}{n+1}+C\ (n\ne-1), && \int\frac{dx}{x}=\ln\lvert x\rvert+C\\ &\int e^{x}dx=e^{x}+C, && \int\cos x\,dx=\sin x+C\\ &\int\sin x\,dx=-\cos x+C, && \int\sec^{2}x\,dx=\tan x+C\\ &\int\sec x\tan x\,dx=\sec x+C\end{aligned}$

each line holds on an interval where the integrand is defined

Partition and Riemann sum
$\Delta x=\frac{b-a}{n},\quad x_i=a+i\,\Delta x,\quad \sum_{i=1}^{n}f(x_i^{*})\,\Delta x$

$n$ equal subintervals; $x_i^{*}$ anywhere in the $i$-th one

Width of a monotone bracket
$R_n-L_n=\left(f(b)-f(a)\right)\Delta x$

true for every $f$; it brackets the integral only if $f$ is monotone on $[a,b]$

A rate summed over time is a total
$\text{total change over } [a,b]\ \approx\ \sum_{i=1}^{n} r(t_i^{*})\,\Delta t$

$r$ is the rate of change of the quantity, in quantity per unit of $t$

The definite integral
$\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n}f(x_i^{*})\,\Delta x$

the limit exists and is independent of the sample points; guaranteed when $f$ is continuous on $[a,b]$

The three sigma identities
$\sum_{i=1}^{n}1=n,\qquad \sum_{i=1}^{n}i=\frac{n(n+1)}{2},\qquad \sum_{i=1}^{n}i^{2}=\frac{n(n+1)(2n+1)}{6}$

$n$ a positive integer

Properties of the definite integral
$\begin{aligned}&\int_a^a f=0,\quad \int_b^a f=-\int_a^b f,\quad \int_a^b(\alpha f+\beta g)=\alpha\int_a^b f+\beta\int_a^b g\\ &\int_a^c f+\int_c^b f=\int_a^b f,\qquad m\le f\le M\ \Rightarrow\ m(b-a)\le\int_a^b f\le M(b-a)\end{aligned}$

$f$, $g$ integrable; $\alpha$, $\beta$ constants

Average value and the Mean Value Theorem for integrals
$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f(x)\,dx,\qquad f(c)=f_{\text{avg}} \text{ for some } c\in[a,b]$

$f$ continuous on $[a,b]$ and $a

Check yourself

Close the page and write, from memory: the definition of an antiderivative and why a constant appears; the formula for $\Delta x$ and for $x_i$; the definition of the definite integral as a limit; the five properties; and the formula for the average value. Then, without looking anything up, evaluate $\int_0^2 3x\,dx$ from the definition and check it against the triangle. Whatever you could not produce is what to reread, and nothing else is.

  • Write the general antiderivative of $6x^{2}-\frac{4}{x^{3}}+5$ on $x>0$, and pin the constant if you are told the function equals $7$ at $x=1$?

    c-antiderivative

  • Compute $L_4$ and $R_4$ for a decreasing function on $[0,2]$ and state the bracket in the correct direction?

    c-area-problem

  • Turn six measured rates into an under-estimate, an over-estimate, and a statement of how much more often you would have to measure to halve the gap?

    c-riemann-sums

  • Evaluate $\int_1^3(2x+1)\,dx$ from the definition, with no skeleton in front of you, and check the closed form at $n=1$?

    c-definite-integral

  • Given $\int_0^6 f=10$ and $\int_0^2 f=-3$, produce $\int_2^6 f$ and $\int_6^0 f$ without hesitating over either sign?

    c-integral-properties

  • Compute the average value of $x^{2}$ on $[0,3]$ and name a point where the function attains it, and say which theorem guarantees such a point exists?

    c-average-value

Glossary (14 terms)
antiderivativeters türev

A function $F$ with $F'=f$ on an interval. Any two antiderivatives of the same $f$ on one interval differ by a constant.

belirsiz integral

The whole family $\int f(x)\,dx=F(x)+C$ of antiderivatives of $f$ on an interval. It is a family of functions, not a number.

integral sabiti

The $C$ in $F(x)+C$. It is part of the answer to an indefinite integral and is pinned to a number only when a value of the function is supplied.

definite integralbelirli integral

The number $\int_a^b f(x)\,dx$, defined as the limit of Riemann sums as the strips shrink; geometrically the signed area between the graph and the axis.

integrandintegrand

The function being integrated, that is the $f$ sitting between the integral sign and the $dx$.

integral sınırları

The numbers $a$ and $b$ in $\int_a^b$. Swapping them changes the sign of the integral.

Riemann sumRiemann toplamı

A finite sum $\sum_{i=1}^{n}f(x_i^{*})\,\Delta x$ built from one rectangle per subinterval; an estimate of an integral, not the integral.

partitionbölüntü

A cutting of $[a,b]$ into subintervals by the points $x_0=a,\dots,x_n=b$. Uniform means all the subintervals have the same width $\Delta x=(b-a)/n$.

sample pointörnek nokta

The point $x_i^{*}$ chosen inside the $i$-th subinterval to set that rectangle's height. Left, right and midpoint are the three standard choices.

signed areaişaretli alan

Area counted positively above the $x$-axis and negatively below it. This is what a definite integral returns, and it can be negative or zero.

integrableintegrallenebilir

Said of a function for which the limit of Riemann sums exists and does not depend on the choice of sample points. Continuous functions on closed bounded intervals are integrable.

sigma notationsigma gösterimi

The shorthand $\sum_{i=1}^{n}g(i)$ for $g(1)+\dots+g(n)$. A summand with no $i$ in it is still written down $n$ times.

average valueortalama değer

The number $f_{\text{avg}}=\frac{1}{b-a}\int_a^b f$: the single height a rectangle over $[a,b]$ would need to have the same area as the region under $f$.

Mean Value Theorem for integralsintegraller için ortalama değer teoremi

The statement that a function continuous on $[a,b]$ takes its own average value at some point of $[a,b]$.

What comes next
§09 · Fundamental Theorem of Calculus and indefinite integrals

Two machines have been built in this section and they have never been introduced to each other. One produces a function from its rate. The other produces a number from a shrinking pile of rectangles. On $[0,1]$ with $f(x)=x^{2}$ the second gave $\tfrac13$; the first gives $F(x)=\tfrac{x^{3}}{3}$, and $F(1)-F(0)=\tfrac13$. On $[1,3]$ with $f(x)=2x+1$ the rectangles gave $10$; take $F(x)=x^{2}+x$ and $F(3)-F(1)=12-2=10$. Twice is a coincidence. The next section proves it never fails, and the ten lines of sigma algebra become one subtraction.

Sources
  • James Stewart, Calculus, Ninth Edition — the sections listed on the week's syllabus line: 4.1, 4.2, 5.5 and 4.3 The definitions, the property list and the statement of the Mean Value Theorem for integrals follow this book. Every function worked here is a different one, and 4.3 is carried to the next section, which is named after it.
  • Course syllabus, week 8: Integrals 4.1, 4.2, 5.5, 4.3 The assessment weights quoted on the card come from the same syllabus and nothing beyond them is claimed.
  • Every numerical value on this page Recomputed independently before publication: the estimate tables, the closed forms in $n$, the bracket widths, the average values and the crossing points.

Spotted something missing or wrong? tell us · share your own notes or an old exam.