Calculus · Solutions
Integrals
Work this sheet on paper, showing every step — the method is what is being tested, and the solutions are written so you can check your route rather than just your answer. Name every theorem you use (“by Part 1 of the Fundamental Theorem”, “by the comparison property”, “by the substitution rule with ”) and check its hypotheses, especially continuity of the integrand on the whole interval. No calculator is needed anywhere: every answer is an exact fraction, surd or multiple of . Full worked solutions are on a separate page; each question also has its own reveal, so you can check one answer without seeing the rest.
- 1.Computation
Sigma notation. Quote each power-sum formula as you use it, and say how many terms a sum has before you touch it.
- (a)Evaluate twice: once by writing out the terms, once by linearity and the power sums. The two must agree.
- (b)Find a closed form for , the sum of the first odd squares, and factor it completely. Check your formula at .
- (c)Compute , and identify the limit as a definite integral.
Solution
(a) Write out the terms. The sum runs over : that is terms, not . They are , , , , , and .
By linearity. The power-sum formulas start at , so subtract the two missing terms:
Then , agreeing with the direct count.
(b) Expand, then split by linearity. , so
The last term is , not : a constant summed times is counted times. Factor out :
Check at : , and . (At the formula gives , also correct.)
(c) Divide by and let .
To see the integral, rewrite the summand: . With on , the point is the midpoint of the th subinterval, so the sum is the midpoint Riemann sum for , whose value is , as found.
- 2.Computation
Let on . Leave every value as an exact fraction.
- (a)With , compute the left endpoint sum , the right endpoint sum and the midpoint sum . List the four sample points you use for each.
- (b)Without knowing the true area, explain which of and must be an overestimate and which an underestimate, and write the resulting sandwich for the area . Confirm that the gap is the area of a single strip.
- (c)Find exactly as , using the power-sum formulas. Confirm that lies inside your sandwich, and say which of the three estimates in (a) was closest.
Solution
(a) Set up the partition. , with partition points and function values .
Left endpoints are the first four points, :
Right endpoints are the last four, :
Midpoints are , with values , , , . Their sum is , so
Each sum has exactly four terms; using all five partition points would double-count a strip.
(b) Monotonicity decides it. on , so is decreasing. On each subinterval the largest value of is at the left endpoint and the smallest at the right, so every left rectangle contains its strip of the region and every right rectangle sits inside it. Hence
The gap is , and the single-strip formula gives : all the rectangles except the outermost ones cancel in the difference.
(c) The limit of . With subintervals, and , so and
As the parentheses tend to and , so .
Sandwich: . The errors are , and . The midpoint sum is far closer than either endpoint sum, and it is a slight overestimate; the graph of is concave down, and the numerical-integration rules explain why midpoints overshoot on such a curve.
- 3.Sketch
Let on the interval . No antiderivative is needed anywhere in this question: every region involved is a triangle.
- (a)Sketch on . Mark the zeros of and the values , and , and shade the regions between the graph and the -axis, distinguishing the ones above the axis from the one below.
- (b)From the sketch compute and the total area between the graph and the axis on . Explain in one sentence why the two numbers differ.
- (c)Without drawing anything new, write down and the total area between and the axis on the same interval. Name the property that gets you there.
Solution
(a) Features of the drawing. The graph is a V with vertex , slope to the left of and slope to the right. Zeros: , so and . Endpoint values: , , and the vertex .
So the graph runs from down through , dips below the axis to , climbs back through and up to . Three triangles are shaded: a small one above the axis on , a large one below the axis on with its apex at the vertex, and a medium one above on . Use two different shadings for above and below.
(b) Triangles. Left triangle: legs and , area . Middle triangle: base (from to ), height , area . Right triangle: legs and , area .
Net area counts the region below the axis negatively:
Total area counts every region positively:
They differ because changes sign on the interval, so the integral cancels the part below the axis against the parts above, while the total area adds them. Check of the net value by linearity: .
(c) Reflect in the axis. , so its graph is the graph of reflected across the -axis: the same three triangles, with the middle one now above and the outer two below. By linearity with the constant ,
while the total area is unchanged at , since .
- 4.Computation
Constants of integration. Keep every constant until a condition removes it, and verify each final answer by differentiating it.
- (a)A particle moves on a line with acceleration . Its velocity at is and its position at is . Find the position function .
- (b)Find the function on with and . Then consider for and for . Show that is an antiderivative of on its whole domain, and explain why this does not contradict the theorem that antiderivatives differ by a constant.
Solution
(a) Velocity first. Velocity is an antiderivative of acceleration: . The condition gives , so and .
Then position. . The condition gives , so :
Check: , so ; ; and . The two conditions are given at different times, but each still removes exactly one constant, provided the velocity constant is fixed before the second antidifferentiation is done.
(b) On . There , so , and gives . Check: and .
The two-piece function. For , directly. For , , whose derivative is ; the constants differentiate to . So at every point of the domain , and is an antiderivative of there.
Yet equals for and for : not a single constant. There is no contradiction, because the theorem is a statement about an interval. Its proof uses the corollary of the Mean Value Theorem that a function with zero derivative on an interval is constant, and that corollary needs the interval to connect any two points. The domain of is two disjoint intervals, and on each one separately is plus a constant, exactly as the theorem says. The formula really carries one constant per interval.
- 5.Proof
Let . This integrand has no elementary antiderivative, so must be estimated rather than computed. Name each property of the definite integral as you use it.
- (a)Show that .
- (b)Prove that for all , and use it to improve the upper bound to .
- (c)Prove: if is continuous on , for every in , and , then for every in . Then give an example showing that the conclusion can fail if is allowed a single jump.
Solution
(a) The bounds property. On we have , so , and since the square root is increasing, . The integrand is continuous, so the integral exists by the integrability theorem, and the bounds property with , and gives
(b) The inequality. For both sides are nonnegative, so it is enough to compare squares:
and taking the (increasing) square root of both sides gives , with equality only at .
The comparison property now applies to the two continuous functions on :
the right-hand integral being evaluated by linearity and Part 2 of the Fundamental Theorem. So . (The true value is about .)
(c) Proof. Suppose, for contradiction, that for some in . Apply continuity at with : there is such that , hence , for every in with .
Put and . Then , its length is positive (even if is an endpoint, the interval has room on at least one side), and on all of .
By additivity,
The first and third integrals are by positivity, since (and they are if the interval is degenerate). By the bounds property with lower bound on , the middle one satisfies . Hence , contradicting the hypothesis. So for every , and together with this forces .
The example. Let for and . This is bounded with a single jump, so it is integrable. Any Riemann sum has at most one nonzero term, the last, and only if the sample point is exactly ; the sum is therefore either or , and both tend to . So and , yet . The proof breaks at the very first step: without continuity there is no interval of positive length on which stays away from , and a single point has no width for the integral to see.
- 6.Computation
Find each indefinite integral. None of the integrands is a table entry as written, so rewrite first, integrate line by line, and check every answer by differentiating it.
- (a)
- (b)
- (c)
- (d), giving the answer once in terms of exponentials and once in terms of a hyperbolic function, and showing the two agree.
Solution
(a) Expand and divide through. For , , so
The first two are power-rule entries; the third is the one power the power rule cannot handle, and it is the logarithm:
where because the integrand lives on . Check: .
(b) Split the fraction into table factors.
which is a table entry: the integral is . Check: .
(c) Divide out the polynomial part. Since ,
Check: .
(d) Divide by . . An antiderivative of is , since . Hence
Alternatively, by definition of , and the table gives . The two agree because . Check: .
- 7.Proof
The Mean Value Theorem for integrals. State its hypotheses each time you apply it.
- (a)Find every value of that the theorem guarantees for on , and describe the rectangle it produces.
- (b)Let be continuous on with . Prove that for some in .
- (c)Exhibit a function on that is integrable but not continuous and for which no satisfies . Say exactly where the proof of the theorem uses continuity.
Solution
(a) Compute the integral, then solve for . is continuous on , so the theorem applies. By Part 2 of the Fundamental Theorem,
The theorem asks for with , so and . This lies in , and it is the only solution because is one-to-one. The rectangle has base and height , so its area is , the same as the region under the curve; the curve passes through the top edge of the rectangle at . The height is the average value of on .
(b) Proof. Let . It is continuous on as the difference of two continuous functions, and by linearity
The Mean Value Theorem for integrals (hypothesis: continuous on the closed interval ) supplies in with , that is , that is .
The number is exactly : the hypothesis says and the identity function have the same average on , and two continuous functions with the same average must cross.
(c) A jump defeats the theorem. Take for and for . It is bounded with one jump, hence integrable, and by additivity and geometry (the second piece is a unit square). The theorem would need , so , but takes only the values and . No such exists.
The proof uses continuity twice. First, the Extreme Value Theorem, to know that the minimum and maximum are values actually taken by . Second, and decisively, the Intermediate Value Theorem, to pass from \"the average lies between two values of \" to \"the average is a value of \". Here the average lies between the values and , and the jump lets step over it.
- 8.Sketch
Let be the continuous piecewise linear function on given by
and let for .
- (a)Sketch . Then compute , , , , , and using areas of rectangles and triangles only.
- (b)Using Part 1 of the Fundamental Theorem, determine where is increasing, where it is decreasing, where its graph is concave up or concave down, and where it has its maximum. On which subintervals is the graph of a straight line?
- (c)Sketch on , and explain why the graph has no corner at or at even though the formula for changes there. Finally, find the total area between and the -axis on , and say how it can be read off each of your two sketches.
Solution
(a) The graph of . A horizontal segment at height on ; a straight segment from down to , crossing the axis at ; a horizontal segment at height on . The pieces join up, since and , so is continuous.
Values of by area. . On a rectangle: . On a rectangle: . On a triangle above the axis with base and height , area : . On the mirror-image triangle below the axis, area , counted negatively: . On and rectangles of area below the axis: and .
(b) Read off . Since is continuous on , Part 1 of the Fundamental Theorem gives . Now on and on , so is increasing on , decreasing on , and has its maximum at , where .
Concavity comes from wherever exists: on and on , so is a straight line on each of those (slopes and ); and on , so is concave down there. Explicitly, on ; on ,
a parabola with vertex at and ; and on , . The formulas agree at the joins: and .
(c) The graph of . It starts at the origin and rises as a straight line of slope to ; continues as a downward-opening parabolic arc through the maximum to ; then descends as a straight line of slope through to . Draw the parabola tangent to the incoming line at and to the outgoing line at .
There is no corner because the slope of is , and is continuous. At the line has slope and the parabola has slope ; at the parabola has slope and the line has slope . A corner in would require a jump in ; a change of formula is not a jump.
Total area. . On the sketch of this is the sum of the two rectangles and the two triangles, regardless of side. On the sketch of it is the total climb plus the total descent: rises from to and then falls from back to , and . The net area, by contrast, is the final height .
- 9.Computation
Rates and net change. In each part, say whether the quantity asked for is the integral of the rate or the integral of its absolute value before you compute anything.
- (a)A particle moves on a line with velocity metres per second for . Find its displacement and the total distance it travels.
- (b)A tank contains litres at time . Water flows in at the net rate litres per minute for , a negative rate meaning that water is leaving. Find the time at which the tank holds the most water, the volume at that moment, and the volume at .
Solution
(a) Displacement is ; distance is . By the net change theorem,
For distance, find where changes sign: , which is positive on , negative on and positive on . With we have , , and , so the three pieces are
Distance m. Check: the signed pieces add to , the displacement. The particle goes forward m, back m, forward m, and ends m from where it started having travelled m.
(b) Volume is plus the integral of the rate. Let . By Part 1 of the Fundamental Theorem, , so is largest where changes from positive to negative. Now when , that is ; on and on . So the tank is fullest at minutes, and
At ,
Check by additivity: , and . The question asked for volumes, which are integrals of itself; the total amount of water that passed through the inlet, litres, would be the integral of .
- 10.Critique
Three arguments follow. Each is invalid, though one of them arrives at a correct number. For each argument, identify the exact step that is wrong and the rule or hypothesis it violates, then give a correct evaluation of the integral.
- (a)“To evaluate , let , so and the integral becomes . Evaluating from to gives .”
- (b)“, because the interval is symmetric about and integrals over symmetric intervals cancel.”
- (c)“Since and , we get .”
Solution
(a) A -antiderivative evaluated at -limits. The substitution and the antiderivative are both correct. The wrong step is \"evaluating from to \": those are the -limits, and the expression is a function of . The theorem on substitution in definite integrals says the limits must be converted to -values, and , or else one must return to first. Mixing the two is the violation.
The answer could have been rejected on sight: the integrand is on , so by positivity the integral cannot be negative.
Correct evaluation, changing the limits:
Or back-substitute: . Check by differentiating: .
(b) Symmetry of the interval is only half the hypothesis. The theorem on even and odd functions needs a symmetric interval and an integrand of definite parity, and only an odd integrand gives . Here is neither even nor odd: at it is , at it is . The sentence \"integrals over symmetric intervals cancel\" is simply false; .
Correct evaluation, splitting by linearity into the odd and even parts:
so the integral is . Direct check: .
(c) There is no product rule for integrals. The number is right, but the step is not a rule at all: linearity covers sums and constant multiples, nothing more. A counterexample on a different interval shows the step is unreliable: on , , while .
Correct evaluation: substitute , ; the limits become and , so
by the convention . Equivalently . The value is for a reason the bad argument never touched: is positive on and negative on , with the two humps congruent, so the net area cancels. The total area between the curve and the axis is .
- 11.Proof
Throughout, is continuous on the whole real line and . Name every theorem you use.
- (a)Prove that if is even, then is odd. Give two proofs: one by the substitution , and one by differentiating .
- (b)Suppose instead that is periodic with period , so that for all . Prove that has the same value for every real number .
- (c)Use (b) to evaluate exactly.
Solution
(a) First proof, by substitution. Fix and write . Substitute , so ; the limits and become and . The theorem on substitution in definite integrals applies, since the inner function has continuous derivative and is continuous everywhere:
using in the last step. So for every : is odd.
Second proof, by differentiation. Let . By Part 1 of the Fundamental Theorem, for all , and by the chain rule , since is even. Therefore
A function with zero derivative on an interval is constant (the corollary of the Mean Value Theorem), and the interval here is all of . Since (an integral from to is ), the constant is , so . The pair , is the model case.
(b) Proof. Define . By additivity, . Both terms are differentiable by Part 1 of the Fundamental Theorem together with the chain rule (the corollary on variable limits), and
by periodicity. So vanishes on the whole real line, and by the Mean Value Theorem corollary is constant: for every . In words, a window of one full period captures the same amount wherever it is placed.
(c) Apply (b) with . The function is continuous and has period , since . By additivity, split into the three windows , and , each of length one period. By (b) each contributes , and on the sine is nonnegative, so
Hence .
Cross-check the hard way. The sign changes of inside are at , and . The pieces are , then on and on , and on the sine is negative, giving . The total is : the terms cancel, exactly as (b) predicts they must.
- 12.Computation
Let , whose exact value you should compute first by the Fundamental Theorem. Every approximation below must be left as an exact fraction; no decimals anywhere.
- (a)Compute and . Find the errors and , and check them against the two predictions made for a concave-up integrand: the sign of each error, and the ratio of their sizes.
- (b)Compute and show that it equals exactly. Explain, from the error bound for Simpson's Rule, why this had to happen for this integrand. Then verify the identity numerically.
- (c)Compute the error bounds for and with and compare them with the actual errors from (a). Then find the smallest for which the trapezoidal bound guarantees .
Solution
The exact value. .
(a) Trapezoidal and midpoint. , endpoints with cubes :
Midpoints have cubes , which sum to , so
Errors: and .
Predictions: on , so the graph is concave up. Chords lie above such a curve, so overestimates and its error should be negative; tangents lie below, so underestimates and its error should be positive. Both signs check. The sizes are against : the midpoint error is exactly half the trapezoidal error and of opposite sign, as predicted.
(b) Simpson. With the coefficient pattern ,
This is forced by the error bound: it involves , and for the fourth derivative is identically , so and . Simpson's Rule is exact for every polynomial of degree at most : one degree better than the parabolas it is built from, because the cubic part of the error cancels by symmetry about the midpoint of each pair of subintervals.
The identity: with , , and . Then .
(c) The bounds. on , so take ; also , and :
The actual errors, and , are each half of their bound: safely inside, as they must be, and the bound is a guarantee rather than a prediction of the error.
For general the trapezoidal bound is , and exactly when . Since and , the smallest that the bound certifies is .