MATH 141 Calculus 2 • McGill University, Montreal

Corrected exercises: areas between curves and average value (MATH 141)

This is the corrected exercise set for areas between curves and average value in MATH 141, Calculus 2, the integral calculus course taken at McGill University. It follows sections 6.1 and 6.5 of Stewart. As on the midterm and the final, no calculator is allowed: every intersection factors, every bound is exact, and the solutions name each choice, the test value that decides which curve is on top, the variable of integration and why, because that is where the method marks are.

The thread running through the whole set: an area between curves is a sum of slice LENGTHS, and a length is always (top)−(bottom)(\text{top}) - (\text{bottom}), or (right)−(left)(\text{right}) - (\text{left}), on EACH piece. So the intersections come first, found by factoring and never by dividing; the order of the curves is checked on every piece; the xx-axis plays no role at all; and the variable is chosen so that one formula describes the slice. The average value is the one integral of the chapter that keeps its sign: it is the height of the rectangle with the same signed area.

The traps named explicitly in the solutions: integrating across a crossing and getting a net instead of an area, putting the absolute value outside the integral, dividing by xx or by sin⁡x\sin x and losing an intersection, mixing xx-bounds with a dydy integrand, taking the wrong branch of a sideways parabola as the bottom, keeping an extraneous root after squaring, replacing the average value by the average of the endpoint values, forgetting to divide by b−ab - a, keeping a cc outside [a,b][a, b], and invoking the mean value theorem for a function that jumps.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → Every MATH 141 chapter →

Course recap

  • • Vertical slices: A=∫ab[top(x)−bottom(x)]dxA = \int_a^b \left[\text{top}(x) - \text{bottom}(x)\right] dx. Horizontal slices: A=∫cd[right(y)−left(y)]dyA = \int_c^d \left[\text{right}(y) - \text{left}(y)\right] dy, with yy-bounds.
  • • The bounds are the intersections, found by setting the curves equal, bringing everything to one side and FACTORING.
  • • Curves that cross inside the region: split at every crossing, one integral per piece. In one formula, A=∫ab∣f(x)−g(x)∣ dxA = \int_a^b |f(x) - g(x)|\,dx.
  • • The xx-axis plays no role in ∫(f−g)\int (f - g): only the crossings of the two curves matter.
  • • Average value: fave=1b−a∫abf(x) dxf_{\text{ave}} = \frac{1}{b - a}\int_a^b f(x)\,dx. It keeps the sign; if m≤f≤Mm \le f \le M then m≤fave≤Mm \le f_{\text{ave}} \le M.
  • • Mean value theorem for integrals: if ff is continuous on [a,b][a, b], some cc in [a,b][a, b] has f(c)=favef(c) = f_{\text{ave}}, that is ∫abf=f(c)(b−a)\int_a^b f = f(c)(b - a).

Part A: the basics (/50)

Exercise 1: Top minus bottom: a parabola and a line

The area of a region between two curves is built from thin vertical slices. At the position xx, the slice runs from the lower curve up to the upper one, so its length is (top)−(bottom)(\text{top}) - (\text{bottom}), and the area is A=∫ab[top(x)−bottom(x)]dxA = \int_a^b \left[\text{top}(x) - \text{bottom}(x)\right] dx, where aa and bb are the ends of the region.

Let RR be the region enclosed by the parabola y=x2−2xy = x^2 - 2x and the line y=x+4y = x + 4, shaded in the figure. Part of the parabola lies below the xx-axis: keep an eye on what that changes, and on what it does not.

-2-112345-2246810y = x + 4y = x² - 2xR
  • a) Find the points where the two curves meet.
  • b) Decide which curve is on top between those points, with a test value. Then explain why the fact that the parabola dips below the xx-axis plays no role in the set-up.
  • c) Write the area of RR as one integral and evaluate it exactly.
  • d) A student integrates (x2−2x)−(x+4)(x^2 - 2x) - (x + 4) over the same interval, finds −1256-\frac{125}{6} and writes: the area is −1256-\frac{125}{6}. What went wrong, and why does taking the absolute value at the end only work here by luck?
  • e) Another student computes the area under the line minus the area under the parabola, using 552\frac{55}{2} for the line and 283\frac{28}{3} for the parabola (the geometric area between the parabola and the xx-axis), and gets 1096\frac{109}{6}. Find the mistake and show that the signed integrals give the right answer.
Show the solution

Answers

  • a) (−1,3)(-1, 3) and (4,8)(4, 8)
  • b) The line is on top on (−1,4)(-1, 4); the slice length is a difference of heights, whatever their signs.
  • c) A=∫−14(−x2+3x+4) dx=1256A = \int_{-1}^{4} (-x^2 + 3x + 4)\,dx = \frac{125}{6}
  • d) Bottom minus top: the order was reversed. ∣∫∣|\int| works only because the curves never cross inside (−1,4)(-1, 4).
  • e) ∫−14(x+4) dx−∫−14(x2−2x) dx=552−203=1256\int_{-1}^{4} (x + 4)\,dx - \int_{-1}^{4} (x^2 - 2x)\,dx = \frac{55}{2} - \frac{20}{3} = \frac{125}{6}; the geometric 283\frac{28}{3} is wrong here.

a) Set the two heights equal: x2−2x=x+4x^2 - 2x = x + 4, so x2−3x−4=0x^2 - 3x - 4 = 0, which factors as (x−4)(x+1)=0(x - 4)(x + 1) = 0. The curves meet at x=−1x = -1 and x=4x = 4. The points are (−1,3)(-1, 3) and (4,8)(4, 8), and both check in BOTH equations: (−1)2−2(−1)=3=−1+4(-1)^2 - 2(-1) = 3 = -1 + 4 and 16−8=8=4+416 - 8 = 8 = 4 + 4. These two numbers are the bounds of the integral. On an exam, write the equation, the factored form and the list of roots: the set-up marks depend on them, and a bound read off a sketch is not a justification.

b) Take a test value inside (−1,4)(-1, 4), say x=0x = 0: the line gives 44, the parabola gives 00, so the line is on top. Why one test is enough: the difference (x+4)−(x2−2x)=−x2+3x+4=−(x−4)(x+1)(x + 4) - (x^2 - 2x) = -x^2 + 3x + 4 = -(x - 4)(x + 1) is continuous and vanishes only at −1-1 and 44, so it cannot change sign in between. Now the xx-axis. The slice at xx has length (top)−(bottom)(\text{top}) - (\text{bottom}), a DIFFERENCE of two heights. At x=1x = 1 the top is 55 and the bottom is −1-1, and the slice has length 5−(−1)=65 - (-1) = 6, exactly what a ruler would measure from y=−1y = -1 to y=5y = 5. A negative bottom height is simply subtracted, which adds. Nothing in the formula refers to the axis, so there is no reason to split at x=0x = 0 or x=2x = 2, where the parabola crosses it.

c) A=∫−14[(x+4)−(x2−2x)]dx=∫−14(−x2+3x+4) dx=[−x33+3x22+4x]−14A = \int_{-1}^{4} \left[(x + 4) - (x^2 - 2x)\right] dx = \int_{-1}^{4} (-x^2 + 3x + 4)\,dx = \left[-\frac{x^3}{3} + \frac{3x^2}{2} + 4x\right]_{-1}^{4}. At x=4x = 4: −643+24+16=563-\frac{64}{3} + 24 + 16 = \frac{56}{3}. At x=−1x = -1: 13+32−4=−136\frac{1}{3} + \frac{3}{2} - 4 = -\frac{13}{6}. So A=563+136=112+136=1256A = \frac{56}{3} + \frac{13}{6} = \frac{112 + 13}{6} = \frac{125}{6}, a little under 2121. Two checks that cost nothing. The longest slice is at x=32x = \frac{3}{2}, of length 254\frac{25}{4}, and the region is 55 wide, so AA must be below 5⋅254=12545 \cdot \frac{25}{4} = \frac{125}{4}: it is. And Archimedes: a region cut from a parabola by a chord has 23\frac{2}{3} of the enclosing rectangle, here 23⋅1254=1256\frac{2}{3} \cdot \frac{125}{4} = \frac{125}{6}, the same number.

d) The integrand (x2−2x)−(x+4)(x^2 - 2x) - (x + 4) is bottom minus top, negative at every point of (−1,4)(-1, 4), so the integral returns the area with a minus sign. An area is never negative: a negative result is an ALARM that the order was reversed, never an answer. Taking the absolute value at the end happens to give 1256\frac{125}{6} here, but only because the integrand keeps ONE sign on the whole interval, the curves never crossing inside it. As soon as they cross (Exercise 2), the positive and negative pieces cancel inside the integral, and no absolute value applied afterwards can undo that. The safe habit is the one of part b): decide top and bottom FIRST, with a test value, on each piece.

e) The signed integrals are ∫−14(x+4) dx=[x22+4x]−14=24−(−72)=552\int_{-1}^{4} (x + 4)\,dx = \left[\frac{x^2}{2} + 4x\right]_{-1}^{4} = 24 - \left(-\frac{7}{2}\right) = \frac{55}{2} and ∫−14(x2−2x) dx=[x33−x2]−14=163−(−43)=203\int_{-1}^{4} (x^2 - 2x)\,dx = \left[\frac{x^3}{3} - x^2\right]_{-1}^{4} = \frac{16}{3} - \left(-\frac{4}{3}\right) = \frac{20}{3}. Their difference is 165−406=1256\frac{165 - 40}{6} = \frac{125}{6}, the right answer. The student replaced 203\frac{20}{3} by the GEOMETRIC area between the parabola and the axis, 43+43+203=283\frac{4}{3} + \frac{4}{3} + \frac{20}{3} = \frac{28}{3}, where the middle 43\frac{4}{3} comes from 0≤x≤20 \le x \le 2, BELOW the axis. On that stretch the slice of RR goes from the negative height of the parabola up to the line: that piece must be ADDED to the area under the line, and the signed integral does exactly that, since subtracting its negative contribution −43-\frac{4}{3} adds 43\frac{4}{3}. Subtracting it instead costs 2⋅43=832 \cdot \frac{4}{3} = \frac{8}{3}, and indeed 1256−1096=166=83\frac{125}{6} - \frac{109}{6} = \frac{16}{6} = \frac{8}{3}. Moral: ∫(f−g)\int (f - g) needs no case analysis for the xx-axis; only the crossings of the two curves matter.

Exercise 2: Curves that cross: split at every intersection

When two curves cross inside the region, the curve on top changes, and a single integral of f−gf - g adds positive and negative pieces together. The area must then be cut at EVERY intersection, with one integral per piece and top minus bottom on each.

Let f(x)=x3−2x2f(x) = x^3 - 2x^2 and g(x)=3xg(x) = 3x. The figure shows the region enclosed by their graphs.

-2-11234-6-4-224681012y = 3xy = x³ - 2x²
  • a) Solve f(x)=g(x)f(x) = g(x) and give the intersection points.
  • b) Determine, on each interval between consecutive intersections, which curve is on top. Justify with the sign of f−gf - g.
  • c) Compute the area of the region enclosed by the two curves.
  • d) A student computes ∫−13(f−g) dx=−323\int_{-1}^{3} (f - g)\,dx = -\frac{32}{3} and answers 323\frac{32}{3}. Explain why both numbers are wrong as an area, and say what −323-\frac{32}{3} does measure.
  • e) Another student divides x3−2x2=3xx^3 - 2x^2 = 3x by xx, gets x2−2x−3=0x^2 - 2x - 3 = 0, and keeps only x=−1x = -1 and x=3x = 3. What does he lose, and what does it cost him?
Show the solution

Answers

  • a) x=−1x = -1, 00, 33: points (−1,−3)(-1, -3), (0,0)(0, 0), (3,9)(3, 9)
  • b) ff on top on (−1,0)(-1, 0), gg on top on (0,3)(0, 3)
  • c) A=712+454=716A = \frac{7}{12} + \frac{45}{4} = \frac{71}{6}
  • d) −323=712−454-\frac{32}{3} = \frac{7}{12} - \frac{45}{4} is the NET; 323\frac{32}{3} is the difference of the two lobes, not their sum.
  • e) He loses x=0x = 0, the point where the order flips, hence the split: the whole area question.

a) Bring everything to one side and FACTOR: x3−2x2−3x=x(x2−2x−3)=x(x−3)(x+1)=0x^3 - 2x^2 - 3x = x(x^2 - 2x - 3) = x(x - 3)(x + 1) = 0. The roots are x=−1x = -1, x=0x = 0 and x=3x = 3. With g(x)=3xg(x) = 3x, the points are (−1,−3)(-1, -3), (0,0)(0, 0) and (3,9)(3, 9); check on ff: f(−1)=−1−2=−3f(-1) = -1 - 2 = -3 and f(3)=27−18=9f(3) = 27 - 18 = 9. Three intersections cut the region into two pieces, which the figure shows as two lobes of very different sizes.

b) Let h=f−g=x(x−3)(x+1)h = f - g = x(x - 3)(x + 1). It is continuous and vanishes only at the three roots, so its sign is constant between them and one test value per interval decides. On (−1,0)(-1, 0), at x=−12x = -\frac{1}{2}: h=(−12)(−72)(12)=78>0h = \left(-\frac{1}{2}\right)\left(-\frac{7}{2}\right)\left(\frac{1}{2}\right) = \frac{7}{8} > 0, so ff is on top. On (0,3)(0, 3), at x=1x = 1: h=1⋅(−2)⋅2=−4<0h = 1 \cdot (-2) \cdot 2 = -4 < 0, so gg is on top. The sign flips at each simple root, as the sign table of a product of three linear factors predicts. Write this sign study on the copy: it is what justifies the split in c).

c) One integral per piece, top minus bottom on each: A=∫−10(f−g) dx+∫03(g−f) dxA = \int_{-1}^{0} (f - g)\,dx + \int_{0}^{3} (g - f)\,dx. An antiderivative of f−g=x3−2x2−3xf - g = x^3 - 2x^2 - 3x is H(x)=x44−2x33−3x22H(x) = \frac{x^4}{4} - \frac{2x^3}{3} - \frac{3x^2}{2}, and H(0)=0H(0) = 0, H(−1)=14+23−32=−712H(-1) = \frac{1}{4} + \frac{2}{3} - \frac{3}{2} = -\frac{7}{12}, H(3)=814−18−272=−454H(3) = \frac{81}{4} - 18 - \frac{27}{2} = -\frac{45}{4}. First piece: H(0)−H(−1)=712H(0) - H(-1) = \frac{7}{12}. Second piece: −(H(3)−H(0))=454=13512-\left(H(3) - H(0)\right) = \frac{45}{4} = \frac{135}{12}. Both are positive, as areas must be. A=7+13512=14212=716A = \frac{7 + 135}{12} = \frac{142}{12} = \frac{71}{6}, a little under 1212.

d) ∫−13(f−g) dx=H(3)−H(−1)=−454+712=−12812=−323\int_{-1}^{3} (f - g)\,dx = H(3) - H(-1) = -\frac{45}{4} + \frac{7}{12} = -\frac{128}{12} = -\frac{32}{3}. This is the NET signed area: the small lobe counts +712+\frac{7}{12}, the large one −454-\frac{45}{4}, and they partly cancel. Its absolute value 323=454−712\frac{32}{3} = \frac{45}{4} - \frac{7}{12} is the DIFFERENCE of the two lobes, while the area is their SUM 454+712\frac{45}{4} + \frac{7}{12}. The gap between the two answers is 716−323=76\frac{71}{6} - \frac{32}{3} = \frac{7}{6}, exactly twice the small lobe, subtracted instead of added. In general ∣∫h∣≤∫∣h∣\left|\int h\right| \le \int |h|, with equality only when hh keeps one sign: an absolute value placed OUTSIDE the integral repairs nothing once the curves cross.

e) Dividing by xx is allowed only when x≠0x \ne 0, so the division silently deletes the root x=0x = 0. Yet f(0)=0=g(0)f(0) = 0 = g(0): the curves do meet at the origin, and that is precisely where the top curve changes. Without it the student integrates f−gf - g over [−1,3][-1, 3] in one piece and lands on the −323-\frac{32}{3} of part d), losing the whole question. The rule is the one of part a): bring everything to one side and factor, never divide by an expression that can vanish. The same trap returns with trigonometric curves, where dividing by sin⁡x\sin x deletes the multiples of π\pi (Exercise 10).

Exercise 3: Integrating in y: right minus left

When a boundary is given as x=g(y)x = g(y), horizontal slices are often the natural choice. At height yy the slice runs from the left curve to the right one, its length is (right)−(left)(\text{right}) - (\text{left}), and A=∫cd[xright(y)−xleft(y)]dyA = \int_c^d \left[x_{\text{right}}(y) - x_{\text{left}}(y)\right] dy, the bounds being yy-values.

Let RR be the region enclosed by the parabola x=3−y2x = 3 - y^2 and the line y=x−1y = x - 1, shaded in the figure.

-2-11234-3-2-1123y = x - 1x = 3 - y²
  • a) Find the intersection points of the two curves.
  • b) Using horizontal slices, say which curve is on the right, write the area of RR as ONE integral in yy, and evaluate it.
  • c) Now use vertical slices. Explain why two integrals are needed, and name the top and the bottom of the slice on each piece.
  • d) Evaluate the set-up of c) and confirm the answer of b).
  • e) One student writes ∫−21[(y+1)−(3−y2)]dy\int_{-2}^{1} \left[(y + 1) - (3 - y^2)\right] dy; another writes ∫−12[3−x−(x−1)]dx\int_{-1}^{2} \left[\sqrt{3 - x} - (x - 1)\right] dx. Diagnose both.
Show the solution

Answers

  • a) (−1,−2)(-1, -2) and (2,1)(2, 1)
  • b) Parabola on the right: A=∫−21(2−y−y2) dy=92A = \int_{-2}^{1} (2 - y - y^2)\,dy = \frac{9}{2}
  • c) On [−1,2][-1, 2]: from y=−3−xy = -\sqrt{3 - x} up to y=x−1y = x - 1. On [2,3][2, 3]: from −3−x-\sqrt{3 - x} to 3−x\sqrt{3 - x}.
  • d) 196+43=92\frac{19}{6} + \frac{4}{3} = \frac{9}{2}
  • e) The first is left minus right (−92-\frac{9}{2}). The second takes the wrong branch as bottom and measures another region (376\frac{37}{6}).

a) Write the line as x=y+1x = y + 1 and set the two xx equal: 3−y2=y+13 - y^2 = y + 1, so y2+y−2=0y^2 + y - 2 = 0, that is (y+2)(y−1)=0(y + 2)(y - 1) = 0. The curves meet at y=−2y = -2 and y=1y = 1, at the points (−1,−2)(-1, -2) and (2,1)(2, 1); check on the parabola: 3−4=−13 - 4 = -1 and 3−1=23 - 1 = 2. Solving in yy is the natural move here, because the parabola is already written as xx in terms of yy. Note the trap waiting in b): the bounds of an integral in yy are −2-2 and 11, NOT the xx-coordinates −1-1 and 22.

b) Test y=0y = 0: the parabola gives x=3x = 3, the line gives x=1x = 1, so the parabola is on the RIGHT on the whole interval (−2,1)(-2, 1), where the two expressions never meet. Then A=∫−21[(3−y2)−(y+1)]dy=∫−21(2−y−y2) dy=[2y−y22−y33]−21A = \int_{-2}^{1} \left[(3 - y^2) - (y + 1)\right] dy = \int_{-2}^{1} (2 - y - y^2)\,dy = \left[2y - \frac{y^2}{2} - \frac{y^3}{3}\right]_{-2}^{1}. At y=1y = 1: 2−12−13=762 - \frac{1}{2} - \frac{1}{3} = \frac{7}{6}. At y=−2y = -2: −4−2+83=−103-4 - 2 + \frac{8}{3} = -\frac{10}{3}. So A=76+206=276=92A = \frac{7}{6} + \frac{20}{6} = \frac{27}{6} = \frac{9}{2}. One integral, a polynomial, no square root: horizontal slices see the same two boundaries, the line on the left and the parabola on the right, from the bottom of the region to its top.

c) Solve the parabola for yy: y2=3−xy^2 = 3 - x gives TWO functions, the upper branch y=3−xy = \sqrt{3 - x} and the lower branch y=−3−xy = -\sqrt{3 - x}, joined at the vertex (3,0)(3, 0). For −1≤x≤2-1 \le x \le 2, the vertical slice starts on the LOWER branch and ends on the line y=x−1y = x - 1, which is the top of the region there (see the figure of the solution). For 2≤x≤32 \le x \le 3, the line has left the region, having crossed the upper branch at (2,1)(2, 1), and the slice runs from the lower branch to the upper one. The top boundary changes formula at x=2x = 2, hence two integrals: A=∫−12[(x−1)+3−x]dx+∫2323−x dxA = \int_{-1}^{2} \left[(x - 1) + \sqrt{3 - x}\right] dx + \int_{2}^{3} 2\sqrt{3 - x}\,dx. The classic slip is to take the line as the bottom: the line is below the UPPER branch, but the region lies below the line.

d) With u=3−xu = 3 - x, ∫3−x dx=−23(3−x)3/2+C\int \sqrt{3 - x}\,dx = -\frac{2}{3}(3 - x)^{3/2} + C, and differentiating gives back 3−x\sqrt{3 - x}. First integral: ∫−12(x−1) dx=[x22−x]−12=0−32=−32\int_{-1}^{2} (x - 1)\,dx = \left[\frac{x^2}{2} - x\right]_{-1}^{2} = 0 - \frac{3}{2} = -\frac{3}{2}, and ∫−123−x dx=−23(1)+23(8)=143\int_{-1}^{2} \sqrt{3 - x}\,dx = -\frac{2}{3}(1) + \frac{2}{3}(8) = \frac{14}{3}, so the first piece is 143−32=196\frac{14}{3} - \frac{3}{2} = \frac{19}{6}. Second: 2[−23(3−x)3/2]23=2⋅23=432\left[-\frac{2}{3}(3 - x)^{3/2}\right]_{2}^{3} = 2 \cdot \frac{2}{3} = \frac{4}{3}. Total 196+86=276=92\frac{19}{6} + \frac{8}{6} = \frac{27}{6} = \frac{9}{2}, as in b). Do not be alarmed by −32-\frac{3}{2}: it is one term of a slice length, not an area, and the slice length (x−1)+3−x(x - 1) + \sqrt{3 - x} itself is positive. The comparison of the two methods is the lesson: same area, but three antiderivatives and a split in xx against one polynomial in yy.

e) The first student has left minus right: at y=0y = 0 the integrand is 1−3=−21 - 3 = -2, and the integral is −92-\frac{9}{2}. In yy, the slice is RIGHT minus LEFT, the horizontal analogue of top minus bottom. The second student took the upper branch as the top and the line as the bottom on [−1,2][-1, 2]. That slice is a real length, but of the region lying ABOVE the line and below the upper branch, a different region: ∫−123−x dx−∫−12(x−1) dx=143+32=376≠92\int_{-1}^{2} \sqrt{3 - x}\,dx - \int_{-1}^{2} (x - 1)\,dx = \frac{14}{3} + \frac{3}{2} = \frac{37}{6} \ne \frac{9}{2}. Moral: with vertical slices, a sideways parabola is TWO functions, and each slice must be read on the figure, from the curve it starts on to the curve it ends on.

-2-11234-3-2-1123y = x - 1x = 3 - y²line to lower branchbranch to branch

Exercise 4: Average value: divide by the width, keep the sign

The average value of a function ff on [a,b][a, b] is fave=1b−a∫abf(x) dxf_{\text{ave}} = \frac{1}{b - a}\int_a^b f(x)\,dx. It is the height of the rectangle built on [a,b][a, b] whose area equals the SIGNED area under the graph: unlike an area, it keeps the sign of ff.

The figure shows y=sin⁡xy = \sin x on [0,2π][0, 2\pi], with the signed areas of its two humps. No calculator: every answer is exact, with π≈3.14\pi \approx 3.14 used only for an order of magnitude.

+2-2π2πy = sin x
  • a) Compute the average value of f(x)=x2f(x) = x^2 on [1,4][1, 4]. Compare it with the average of the endpoint values, f(1)+f(4)2\frac{f(1) + f(4)}{2}, and with the value at the midpoint, f(52)f\left(\frac{5}{2}\right).
  • b) Compute the average value of sin⁡x\sin x on [0,π][0, \pi], then on [0,2π][0, 2\pi]. Compare the second one with the area between the curve and the xx-axis on [0,2π][0, 2\pi].
  • c) Compute the average value of 11+x2\frac{1}{1 + x^2} on [0,1][0, 1].
  • d) Compute the average value of xcos⁡xx \cos x on [0,π2]\left[0, \frac{\pi}{2}\right].
  • e) Prove that if m≤f(x)≤Mm \le f(x) \le M on [a,b][a, b], then m≤fave≤Mm \le f_{\text{ave}} \le M. Use it to check a) and c).
Show the solution

Answers

  • a) fave=7f_{\text{ave}} = 7; endpoint average 172\frac{17}{2}, midpoint value 254\frac{25}{4}: neither.
  • b) 2π\frac{2}{\pi} on [0,π][0, \pi]; 00 on [0,2π][0, 2\pi], while the area there is 44.
  • c) π4\frac{\pi}{4}
  • d) 1−2π1 - \frac{2}{\pi}
  • e) Integrate m≤f≤Mm \le f \le M and divide by b−a>0b - a > 0. Checks: 1≤7≤161 \le 7 \le 16 and 12≤π4≤1\frac{1}{2} \le \frac{\pi}{4} \le 1.

a) fave=14−1∫14x2 dx=13[x33]14=13⋅64−13=13⋅21=7f_{\text{ave}} = \frac{1}{4 - 1}\int_1^4 x^2\,dx = \frac{1}{3}\left[\frac{x^3}{3}\right]_1^4 = \frac{1}{3} \cdot \frac{64 - 1}{3} = \frac{1}{3} \cdot 21 = 7. The endpoint average is 1+162=172\frac{1 + 16}{2} = \frac{17}{2} and the midpoint value is 254\frac{25}{4}: neither is 77, and the order 254<7<172\frac{25}{4} < 7 < \frac{17}{2} is no accident. For a curve that bends upward, the chord joining the endpoints lies ABOVE the graph, so the endpoint average overestimates, and the tangent at the midpoint lies BELOW it, so the midpoint value underestimates. The formula f(a)+f(b)2\frac{f(a) + f(b)}{2} is the average value only for a linear ff; for anything else it is a guess, and it costs the whole part.

b) On [0,π][0, \pi]: 1π∫0πsin⁡x dx=1π[−cos⁡x]0π=1π(1+1)=2π\frac{1}{\pi}\int_0^\pi \sin x\,dx = \frac{1}{\pi}\left[-\cos x\right]_0^\pi = \frac{1}{\pi}(1 + 1) = \frac{2}{\pi}, about 0.640.64. On [0,2π][0, 2\pi]: 12π[−cos⁡x]02π=12π(−1+1)=0\frac{1}{2\pi}\left[-\cos x\right]_0^{2\pi} = \frac{1}{2\pi}(-1 + 1) = 0. The average is 00 although sin⁡x\sin x is not identically 00: the hump of signed area +2+2 and the hump of signed area −2-2 in the figure cancel. The area between the curve and the axis, on the other hand, counts both humps as positive: ∫02π∣sin⁡x∣ dx=2+2=4\int_0^{2\pi} |\sin x|\,dx = 2 + 2 = 4. This is the one place in the chapter where the sign is KEPT on purpose: an average temperature of −5-5 degrees means something, a negative area does not. Never put an absolute value into an average value unless the question asks for an average DISTANCE.

c) The width is 11, so fave=∫01dx1+x2=arctan⁡1−arctan⁡0=π4f_{\text{ave}} = \int_0^1 \frac{dx}{1 + x^2} = \arctan 1 - \arctan 0 = \frac{\pi}{4}, about 0.7850.785. Dividing by b−a=1b - a = 1 changes nothing here, which is exactly why students forget the factor in the next part, where the width is not 11.

d) Integration by parts with u=xu = x (it becomes simpler when differentiated) and dv=cos⁡x dxdv = \cos x\,dx: du=dxdu = dx, v=sin⁡xv = \sin x, so ∫xcos⁡x dx=xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+C\int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x + \cos x + C. Check by differentiating: sin⁡x+xcos⁡x−sin⁡x=xcos⁡x\sin x + x\cos x - \sin x = x\cos x. Then ∫0π/2xcos⁡x dx=[xsin⁡x+cos⁡x]0π/2=(π2+0)−(0+1)=π2−1\int_0^{\pi/2} x\cos x\,dx = \left[x\sin x + \cos x\right]_0^{\pi/2} = \left(\frac{\pi}{2} + 0\right) - (0 + 1) = \frac{\pi}{2} - 1. Divide by the width π2\frac{\pi}{2}: fave=2π(π2−1)=1−2πf_{\text{ave}} = \frac{2}{\pi}\left(\frac{\pi}{2} - 1\right) = 1 - \frac{2}{\pi}, about 1−0.64=0.361 - 0.64 = 0.36. The two classic losses: reporting π2−1\frac{\pi}{2} - 1, the integral, as the average; and MULTIPLYING by the width instead of dividing, which gives π2(π2−1)\frac{\pi}{2}\left(\frac{\pi}{2} - 1\right). The factor is 1b−a=2π\frac{1}{b - a} = \frac{2}{\pi}.

e) If m≤f(x)≤Mm \le f(x) \le M on [a,b][a, b], the comparison property of the integral gives ∫abm dx≤∫abf(x) dx≤∫abM dx\int_a^b m\,dx \le \int_a^b f(x)\,dx \le \int_a^b M\,dx, that is m(b−a)≤∫abf≤M(b−a)m(b - a) \le \int_a^b f \le M(b - a). Dividing by b−a>0b - a > 0 keeps the inequalities: m≤fave≤Mm \le f_{\text{ave}} \le M. An average lies between the smallest and the largest value, as any average should. For a): x2x^2 runs from 11 to 1616 on [1,4][1, 4], and 1≤7≤161 \le 7 \le 16. For c): 11+x2\frac{1}{1 + x^2} decreases from 11 to 12\frac{1}{2} on [0,1][0, 1], so 12≤π4≤1\frac{1}{2} \le \frac{\pi}{4} \le 1, that is 2≤π≤42 \le \pi \le 4: true, and a genuine check on c). This test takes five seconds and catches the forgotten factor 1b−a\frac{1}{b - a} whenever the interval is long.

Exercise 5: The mean value theorem for integrals: finding c, and rejecting the impostor

The mean value theorem for integrals: if ff is CONTINUOUS on [a,b][a, b], there is a number cc in [a,b][a, b] such that f(c)=favef(c) = f_{\text{ave}}, that is ∫abf(x) dx=f(c) (b−a)\int_a^b f(x)\,dx = f(c)\,(b - a).

The theorem says the average height is actually reached. It does not say where, nor how many times, and it says nothing at all about a function that jumps.

  • a) Let f(x)=3x2−2xf(x) = 3x^2 - 2x on [0,2][0, 2]. Compute favef_{\text{ave}} and find every cc allowed by the theorem.
  • b) Let g(x)=x2−4x+5g(x) = x^2 - 4x + 5 on [0,3][0, 3]. Compute gaveg_{\text{ave}} and find every cc with g(c)=gaveg(c) = g_{\text{ave}}. What does this say about the phrase the number cc?
  • c) Interpret a) on a figure: what exactly has the same area as the rectangle of height favef_{\text{ave}}, given that ff is negative on part of [0,2][0, 2]?
  • d) Compute the average value of ⌊x⌋\lfloor x \rfloor, the greatest integer function, on [0,2][0, 2]. Is it a value of the function? Which hypothesis of the theorem fails?
  • e) Deduce the theorem from the mean value theorem for derivatives, applied to F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt.
Show the solution

Answers

  • a) fave=2f_{\text{ave}} = 2; c=1+73c = \frac{1 + \sqrt 7}{3}; 1−73<0\frac{1 - \sqrt 7}{3} < 0 is rejected.
  • b) gave=2g_{\text{ave}} = 2; c=1c = 1 and c=3c = 3: the theorem guarantees AT LEAST one.
  • c) The rectangle [0,2]×[0,2][0, 2] \times [0, 2] has the same SIGNED area, 44, as the region between the graph and the axis.
  • d) Average 12\frac{1}{2}, never taken; continuity fails at x=1x = 1 and x=2x = 2.
  • e) F′=fF' = f by FTC 1 and F(a)=0F(a) = 0, so the MVT gives f(c)=F(b)−F(a)b−a=favef(c) = \frac{F(b) - F(a)}{b - a} = f_{\text{ave}}.

a) fave=12∫02(3x2−2x) dx=12[x3−x2]02=12(8−4)=2f_{\text{ave}} = \frac{1}{2}\int_0^2 (3x^2 - 2x)\,dx = \frac{1}{2}\left[x^3 - x^2\right]_0^2 = \frac{1}{2}(8 - 4) = 2. Then solve f(c)=2f(c) = 2: 3c2−2c−2=03c^2 - 2c - 2 = 0, so c=2±4+246=2±276=1±73c = \frac{2 \pm \sqrt{4 + 24}}{6} = \frac{2 \pm 2\sqrt 7}{6} = \frac{1 \pm \sqrt 7}{3}. Now locate each root without a calculator: 4<7<94 < 7 < 9 gives 2<7<32 < \sqrt 7 < 3. So 1+73\frac{1 + \sqrt 7}{3} lies between 11 and 43\frac{4}{3}, inside [0,2][0, 2]: it is the answer. And 1−73\frac{1 - \sqrt 7}{3} lies between −23-\frac{2}{3} and −13-\frac{1}{3}, outside [0,2][0, 2]: it solves the equation but is NOT a value of cc, since the theorem locates cc in [a,b][a, b]. Reporting both roots, or the wrong one, costs the mark for the conclusion.

b) gave=13∫03(x2−4x+5) dx=13[x33−2x2+5x]03=13(9−18+15)=2g_{\text{ave}} = \frac{1}{3}\int_0^3 (x^2 - 4x + 5)\,dx = \frac{1}{3}\left[\frac{x^3}{3} - 2x^2 + 5x\right]_0^3 = \frac{1}{3}(9 - 18 + 15) = 2. Solve c2−4c+5=2c^2 - 4c + 5 = 2: c2−4c+3=(c−1)(c−3)=0c^2 - 4c + 3 = (c - 1)(c - 3) = 0, so c=1c = 1 or c=3c = 3, BOTH in [0,3][0, 3]. The theorem guarantees at least one cc; here there are two, one of them an endpoint, and a complete answer lists both. The phrase the number cc is a habit of speech, not a claim of uniqueness: a continuous function can cross its average height as many times as it likes.

c) The figure of the solution shows the graph of ff, the line y=2y = 2 and the rectangle [0,2]×[0,2][0, 2] \times [0, 2]. Its area is 2⋅2=4=∫02f(x) dx2 \cdot 2 = 4 = \int_0^2 f(x)\,dx. But ff is negative on (0,23)\left(0, \frac{2}{3}\right), so 44 is a SIGNED area: the part of the region above the axis counts positively, the small part below counts negatively, and their combination equals the rectangle. Equivalently, the piece of the graph that rises above the line y=2y = 2 (to the right of cc) exactly fills the gap between the line and the graph to the left of cc, since ∫02(f−2) dx=4−4=0\int_0^2 (f - 2)\,dx = 4 - 4 = 0. That is the picture the theorem draws: level the graph off at height f(c)f(c) without changing the signed area.

d) ⌊x⌋=0\lfloor x \rfloor = 0 on [0,1)[0, 1) and 11 on [1,2)[1, 2), with ⌊2⌋=2\lfloor 2 \rfloor = 2 at the single point x=2x = 2, which changes no integral. So ∫02⌊x⌋ dx=0⋅1+1⋅1=1\int_0^2 \lfloor x \rfloor\,dx = 0 \cdot 1 + 1 \cdot 1 = 1 and the average is 12\frac{1}{2}. But ⌊x⌋\lfloor x \rfloor only takes the values 00, 11 and 22: the average 12\frac{1}{2} is never reached. The function is integrable, so its average exists, but it is not continuous (it jumps at x=1x = 1 and x=2x = 2), and without continuity the conclusion of the theorem fails. Before invoking the theorem on an exam, write the hypothesis: ff is continuous on [a,b][a, b].

e) Let F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt. Since ff is continuous, the Fundamental Theorem of Calculus (part 1) says FF is differentiable with F′(x)=f(x)F'(x) = f(x); in particular FF is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), the two hypotheses of the mean value theorem. It gives cc in (a,b)(a, b) with F′(c)=F(b)−F(a)b−aF'(c) = \frac{F(b) - F(a)}{b - a}. Now F(a)=0F(a) = 0 and F(b)=∫abfF(b) = \int_a^b f, so f(c)=1b−a∫abf(x) dx=favef(c) = \frac{1}{b - a}\int_a^b f(x)\,dx = f_{\text{ave}}. This proof even places cc in the OPEN interval, which is consistent with b): besides the endpoint 33, the interior value c=1c = 1 is there.

12-112345678height 2cy = 3x² - 2x

Part B: problems and reasoning (/50)

Exercise 6: Choosing the variable that avoids splitting

The same region can be sliced vertically or horizontally, and the area does not care. The WORK does: one choice may need a single integral with an easy antiderivative, the other two integrals, or an integration by parts. The decision is made on the sketch, before any integral is written.

R1R_1 is the region bounded by y=xy = \sqrt x, y=x−2y = x - 2 and the xx-axis. R2R_2 is the region bounded by y=exy = e^x, the line y=3y = 3 and the yy-axis.

  • a) Find the three corners of R1R_1. When you solve x=x−2\sqrt x = x - 2 by squaring, what happens to the root x=1x = 1?
  • b) Write the area of R1R_1 with vertical slices, then with horizontal slices. Evaluate the simpler one and confirm with the other.
  • c) Same work for R2R_2: both set-ups, evaluate the simpler, confirm with the other.
  • d) State the rule you used to choose, in one sentence that applies to any region.
  • e) Check both answers against simple shapes: for R2R_2, a triangle it contains and a rectangle that contains it, using ln⁡3≈1.10\ln 3 \approx 1.10.
Show the solution

Answers

  • a) (0,0)(0, 0), (2,0)(2, 0), (4,2)(4, 2); x=1x = 1 is extraneous (1=1≠−1\sqrt 1 = 1 \ne -1).
  • b) A1=∫02(y+2−y2) dy=103A_1 = \int_0^2 (y + 2 - y^2)\,dy = \frac{10}{3}, also ∫02x dx+∫24(x−x+2) dx\int_0^2 \sqrt x\,dx + \int_2^4 (\sqrt x - x + 2)\,dx.
  • c) A2=∫0ln⁡3(3−ex) dx=3ln⁡3−2A_2 = \int_0^{\ln 3} (3 - e^x)\,dx = 3\ln 3 - 2, also ∫13ln⁡y dy\int_1^3 \ln y\,dy.
  • d) Pick the variable in which each end of the slice is ONE formula over the whole range, then the easier antiderivative.
  • e) ln⁡3≤3ln⁡3−2≤2ln⁡3\ln 3 \le 3\ln 3 - 2 \le 2\ln 3, that is 1.10≤1.30≤2.201.10 \le 1.30 \le 2.20.

a) The curve y=xy = \sqrt x meets the axis at (0,0)(0, 0) and the line y=x−2y = x - 2 meets it at (2,0)(2, 0). For the curve and the line: x=x−2\sqrt x = x - 2 requires x−2≥0x - 2 \ge 0, since a square root is never negative. Squaring gives x=x2−4x+4x = x^2 - 4x + 4, so x2−5x+4=(x−1)(x−4)=0x^2 - 5x + 4 = (x - 1)(x - 4) = 0. Test both in the ORIGINAL equation: x=4x = 4 gives 2=22 = 2, kept; x=1x = 1 gives 1=1\sqrt 1 = 1 against 1−2=−11 - 2 = -1, rejected. Squaring has merged x=x−2\sqrt x = x - 2 with −x=x−2-\sqrt x = x - 2, and x=1x = 1 solves the second one: it is where the line meets the LOWER half y=−xy = -\sqrt x, a curve that is not part of this problem. Corners: (0,0)(0, 0), (2,0)(2, 0), (4,2)(4, 2).

b) Vertical slices: the top is x\sqrt x all the way from x=0x = 0 to x=4x = 4, but the bottom is the axis y=0y = 0 for 0≤x≤20 \le x \le 2 and the line y=x−2y = x - 2 for 2≤x≤42 \le x \le 4. Two formulas for the bottom, so two integrals: A1=∫02x dx+∫24(x−x+2) dxA_1 = \int_0^2 \sqrt x\,dx + \int_2^4 (\sqrt x - x + 2)\,dx. Horizontal slices: yy runs from 00 to 22; the left end is always on the curve, x=y2x = y^2, and the right end always on the line, x=y+2x = y + 2. One formula each, so one integral: A1=∫02(y+2−y2) dy=[y22+2y−y33]02=2+4−83=103A_1 = \int_0^2 (y + 2 - y^2)\,dy = \left[\frac{y^2}{2} + 2y - \frac{y^3}{3}\right]_0^2 = 2 + 4 - \frac{8}{3} = \frac{10}{3}. Confirmation: the two vertical pieces combine into ∫04x dx−∫24(x−2) dx=23⋅8−2=103\int_0^4 \sqrt x\,dx - \int_2^4 (x - 2)\,dx = \frac{2}{3} \cdot 8 - 2 = \frac{10}{3}, the area under the curve minus the triangle of legs 22 and 22 under the line.

c) ex=3e^x = 3 at x=ln⁡3x = \ln 3, so the corners of R2R_2 are (0,1)(0, 1), (0,3)(0, 3) and (ln⁡3,3)(\ln 3, 3). Vertical slices: from x=0x = 0 to ln⁡3\ln 3, top y=3y = 3, bottom y=exy = e^x, one integral: A2=∫0ln⁡3(3−ex) dx=[3x−ex]0ln⁡3=(3ln⁡3−3)−(0−1)=3ln⁡3−2A_2 = \int_0^{\ln 3} (3 - e^x)\,dx = \left[3x - e^x\right]_0^{\ln 3} = (3\ln 3 - 3) - (0 - 1) = 3\ln 3 - 2. Horizontal slices: yy runs from 11, NOT from 00, since the region starts where the curve meets the yy-axis, up to 33; left end x=0x = 0, right end x=ln⁡yx = \ln y: A2=∫13ln⁡y dyA_2 = \int_1^3 \ln y\,dy. By parts, ∫ln⁡y dy=yln⁡y−y+C\int \ln y\,dy = y\ln y - y + C, so A2=(3ln⁡3−3)−(0−1)=3ln⁡3−2A_2 = (3\ln 3 - 3) - (0 - 1) = 3\ln 3 - 2, the same. Here both set-ups are single integrals, and the tie is broken by the antiderivative: exe^x is immediate, ln⁡y\ln y needs parts. So this time xx wins. Starting the yy-integral at 00 would describe another region and produce an improper integral, a sure sign the bounds are wrong.

d) The rule: choose the variable in which each end of the slice (top and bottom, or right and left) is given by ONE formula across the whole region; if both variables pass that test, or neither does, choose the one with fewer pieces and the easier antiderivatives. Applying it takes three seconds on a sketch: trace a few vertical slices and ask whether they all start on the same curve and end on the same curve, then do the same with horizontal ones. In R1R_1 the vertical slices change their bottom at x=2x = 2; the horizontal ones never change. In R2R_2 both families are uniform, and the integrand decides.

e) For R2R_2: the chord from (0,1)(0, 1) to (ln⁡3,3)(\ln 3, 3) lies above the graph of exe^x, which bends upward, so the triangle with vertices (0,1)(0, 1), (0,3)(0, 3), (ln⁡3,3)(\ln 3, 3) lies inside R2R_2; its area is 12⋅ln⁡3⋅2=ln⁡3\frac{1}{2} \cdot \ln 3 \cdot 2 = \ln 3. And R2R_2 sits inside the rectangle [0,ln⁡3]×[1,3][0, \ln 3] \times [1, 3] of area 2ln⁡32\ln 3. So ln⁡3≤A2≤2ln⁡3\ln 3 \le A_2 \le 2\ln 3, and with ln⁡3≈1.10\ln 3 \approx 1.10: 1.10≤3ln⁡3−2≈1.30≤2.201.10 \le 3\ln 3 - 2 \approx 1.30 \le 2.20. For R1R_1, the exact decomposition of b) already is the check: 163−2=103\frac{16}{3} - 2 = \frac{10}{3}, and 103\frac{10}{3} is less than half of the 4×24 \times 2 box, as the thin shape suggests. A number outside such bounds is a wrong number, found before the grader finds it.

Exercise 7: A line through the origin that cuts a region in half

Let RR be the region between the parabola y=2x−x2y = 2x - x^2 and the xx-axis. A line y=kxy = kx through the origin, with slope kk, cuts RR into two pieces; the piece between the parabola and the line is shaded in the figure, drawn for k=1k = 1. Call its area A(k)A(k).

The question asks for the slope that cuts RR into two pieces of EQUAL area. The answer is exact, a cube root, and it must be located between two decimals without a calculator.

-0.50.511.522.5-0.50.511.5y = kxy = 2x - x²
  • a) Compute the area of RR.
  • b) Find the second intersection of the line with the parabola. For which slopes kk does the line actually cut RR in two?
  • c) Show that A(k)=(2−k)36A(k) = \frac{(2 - k)^3}{6}.
  • d) Find the slope kk for which the line cuts RR into two pieces of equal area.
  • e) Check your formula at k=0k = 0 and k=2k = 2, and locate the kk of d) between two consecutive tenths without a calculator.
Show the solution

Answers

  • a) 43\frac{4}{3}
  • b) x=2−kx = 2 - k; the line cuts RR when 0<k<20 < k < 2.
  • c) A(k)=∫02−k[(2−k)x−x2]dx=(2−k)36A(k) = \int_0^{2 - k} \left[(2 - k)x - x^2\right] dx = \frac{(2 - k)^3}{6}
  • d) k=2−43k = 2 - \sqrt[3]{4}
  • e) A(0)=43A(0) = \frac{4}{3}, A(2)=0A(2) = 0; 0.4<k<0.50.4 < k < 0.5.

a) 2x−x2=x(2−x)2x - x^2 = x(2 - x) vanishes at 00 and 22 and is positive in between, so RR spans [0,2][0, 2] and its area is ∫02(2x−x2) dx=[x2−x33]02=4−83=43\int_0^2 (2x - x^2)\,dx = \left[x^2 - \frac{x^3}{3}\right]_0^2 = 4 - \frac{8}{3} = \frac{4}{3}. Archimedes confirms it: two thirds of the 2×12 \times 1 box whose top touches the vertex (1,1)(1, 1).

b) 2x−x2=kx2x - x^2 = kx gives x(2−k−x)=0x(2 - k - x) = 0, so x=0x = 0 (the origin, common to every line of the family) or x=2−kx = 2 - k. For the line to cut RR into two pieces, this second point must fall strictly between 00 and 22: 0<2−k<20 < 2 - k < 2, that is 0<k<20 < k < 2. At k=2k = 2 the line is the tangent to the parabola at the origin (the derivative of 2x−x22x - x^2 at 00 is 22) and touches RR only at one point; for k≤0k \le 0 it stays on or below the axis and never enters RR.

c) On (0,2−k)(0, 2 - k) the parabola is on top: 2x−x2−kx=x((2−k)−x)>02x - x^2 - kx = x\left((2 - k) - x\right) > 0 there. So A(k)=∫02−k[(2−k)x−x2]dx=[(2−k)x22−x33]02−k=(2−k)32−(2−k)33=(2−k)36A(k) = \int_0^{2 - k} \left[(2 - k)x - x^2\right] dx = \left[\frac{(2 - k)x^2}{2} - \frac{x^3}{3}\right]_0^{2 - k} = \frac{(2 - k)^3}{2} - \frac{(2 - k)^3}{3} = \frac{(2 - k)^3}{6}. Treat 2−k2 - k as one constant, say mm, throughout: the integrand is mx−x2mx - x^2 and the upper bound is mm, which is why the result is a clean m36\frac{m^3}{6}. Expanding (2−k)x(2 - k)x early and carrying three terms is where the algebra usually breaks.

d) The line halves RR when the upper piece has half of 43\frac{4}{3}: (2−k)36=23\frac{(2 - k)^3}{6} = \frac{2}{3}, so (2−k)3=4(2 - k)^3 = 4, 2−k=432 - k = \sqrt[3]{4} and k=2−43k = 2 - \sqrt[3]{4}. Two traps. Setting A(k)=43A(k) = \frac{4}{3}, the WHOLE area, gives k=0k = 0, the axis itself. And guessing that halving the area means halving the slope, k=1k = 1, the value drawn in the figure, gives A(1)=16A(1) = \frac{1}{6}, only one eighth of RR: area depends on the slope through a cube, not linearly. The lower piece, between the line and the axis and under the parabola, needs no separate computation: it is 43−A(k)\frac{4}{3} - A(k), equal to 23\frac{2}{3} for this kk.

e) At k=0k = 0 the line is the xx-axis and the upper piece is all of RR: A(0)=86=43A(0) = \frac{8}{6} = \frac{4}{3}, as in a). At k=2k = 2 the line is the tangent and nothing is cut off: A(2)=0A(2) = 0. Both ends agree, and AA decreases in between, as a steeper line leaves less above it. To locate kk: 1.53=3.375<4<4.096=1.631.5^3 = 3.375 < 4 < 4.096 = 1.6^3, so 1.5<43<1.61.5 < \sqrt[3]{4} < 1.6 and 0.4<k<0.50.4 < k < 0.5. The line through the origin with a slope a little under one half cuts the region in two equal parts, much flatter than the k=1k = 1 of the figure.

Exercise 8: Five statements to correct

Each statement below was written by a student in a MATH 141 tutorial, and each is false. Say what is wrong, give the correct statement, and settle it with an exact computation or the simplest counterexample you can find.

  • a) The area between y=sin⁡xy = \sin x and y=cos⁡xy = \cos x on [0,π][0, \pi] is ∫0π(sin⁡x−cos⁡x) dx=2\int_0^\pi (\sin x - \cos x)\,dx = 2.
  • b) If ∫ab(f(x)−g(x))dx=0\int_a^b \left(f(x) - g(x)\right) dx = 0, the curves y=f(x)y = f(x) and y=g(x)y = g(x) enclose no area between aa and bb.
  • c) The average value of ff on [a,b][a, b] is f(a)+f(b)2\frac{f(a) + f(b)}{2}.
  • d) The region between the parabola x=y2x = y^2 and the line x=4x = 4 has area ∫02(4−y2) dy=163\int_0^2 (4 - y^2)\,dy = \frac{16}{3}, since the curves meet at y=2y = 2.
  • e) Every function that can be integrated on [a,b][a, b] takes its average value somewhere on [a,b][a, b].
Show the solution

Answers

  • a) False: the curves cross at π4\frac{\pi}{4}; the area is (2−1)+(1+2)=22(\sqrt 2 - 1) + (1 + \sqrt 2) = 2\sqrt 2.
  • b) False: x3x^3 and xx on [−1,1][-1, 1] give a net 00 and an area 12\frac{1}{2}.
  • c) False unless ff is linear: x2x^2 on [0,2][0, 2] has average 43\frac{4}{3}, not 22.
  • d) False: they also meet at y=−2y = -2; the area is ∫−22(4−y2) dy=323\int_{-2}^{2} (4 - y^2)\,dy = \frac{32}{3}.
  • e) False without continuity: 11 on [0,1)[0, 1) and 33 on [1,2][1, 2] averages 22, never taken.

a) FALSE. sin⁡x=cos⁡x\sin x = \cos x at x=π4x = \frac{\pi}{4} in [0,π][0, \pi], and the order flips there: at x=0x = 0, cos⁡x=1\cos x = 1 is on top; at x=π2x = \frac{\pi}{2}, sin⁡x=1\sin x = 1 is. So A=∫0π/4(cos⁡x−sin⁡x) dx+∫π/4π(sin⁡x−cos⁡x) dxA = \int_0^{\pi/4} (\cos x - \sin x)\,dx + \int_{\pi/4}^{\pi} (\sin x - \cos x)\,dx. First piece: [sin⁡x+cos⁡x]0π/4=2−1\left[\sin x + \cos x\right]_0^{\pi/4} = \sqrt 2 - 1. Second: [−cos⁡x−sin⁡x]π/4π=1−(−2)=1+2\left[-\cos x - \sin x\right]_{\pi/4}^{\pi} = 1 - (-\sqrt 2) = 1 + \sqrt 2. Total 222\sqrt 2, about 2.832.83. The student's 22 is the net, (1+2)−(2−1)(1 + \sqrt 2) - (\sqrt 2 - 1): the first piece subtracted instead of added. Correct statement: the area is 222\sqrt 2, found by splitting at π4\frac{\pi}{4}.

b) FALSE. Take f(x)=x3f(x) = x^3 and g(x)=xg(x) = x on [−1,1][-1, 1]: ∫−11(x3−x) dx=0\int_{-1}^{1} (x^3 - x)\,dx = 0 because the integrand is odd, yet the curves enclose two lobes. They meet at −1-1, 00, 11; x3x^3 is on top on (−1,0)(-1, 0) and xx on (0,1)(0, 1), and by symmetry A=2∫01(x−x3) dx=2(12−14)=12A = 2\int_0^1 (x - x^3)\,dx = 2\left(\frac{1}{2} - \frac{1}{4}\right) = \frac{1}{2}. Correct statement: a net integral of 00 says the signed pieces cancel; the enclosed area is ∫ab∣f−g∣ dx\int_a^b |f - g|\,dx, which is 00 only when f=gf = g everywhere on [a,b][a, b] (for continuous functions).

c) FALSE. For f(x)=x2f(x) = x^2 on [0,2][0, 2]: fave=12∫02x2 dx=12⋅83=43f_{\text{ave}} = \frac{1}{2}\int_0^2 x^2\,dx = \frac{1}{2} \cdot \frac{8}{3} = \frac{4}{3}, while f(0)+f(2)2=2\frac{f(0) + f(2)}{2} = 2. The endpoint average ignores everything the function does in between. Correct statement: fave=1b−a∫abf(x) dxf_{\text{ave}} = \frac{1}{b - a}\int_a^b f(x)\,dx; it coincides with f(a)+f(b)2\frac{f(a) + f(b)}{2} when ff is linear, because then the region under the graph is a trapezoid.

d) FALSE. The line x=4x = 4 meets the parabola where y2=4y^2 = 4, that is at y=2y = 2 AND at y=−2y = -2: taking the square root of y2=4y^2 = 4 gives two answers, and the student kept one. Starting the integral at y=0y = 0 keeps only the upper half of the region, which is symmetric about the xx-axis, so the answer is off by a factor of 22. With horizontal slices, right minus left: A=∫−22(4−y2) dy=[4y−y33]−22=163+163=323A = \int_{-2}^{2} (4 - y^2)\,dy = \left[4y - \frac{y^3}{3}\right]_{-2}^{2} = \frac{16}{3} + \frac{16}{3} = \frac{32}{3}. Check with vertical slices, from y=−xy = -\sqrt x to y=xy = \sqrt x: ∫042x dx=43⋅8=323\int_0^4 2\sqrt x\,dx = \frac{4}{3} \cdot 8 = \frac{32}{3}. Correct statement: the area is 323\frac{32}{3}, with bounds found by solving for the intersections in the variable of integration.

e) FALSE. Let f=1f = 1 on [0,1)[0, 1) and f=3f = 3 on [1,2][1, 2]. It is integrable, with ∫02f=1+3=4\int_0^2 f = 1 + 3 = 4 and fave=2f_{\text{ave}} = 2, but ff only takes the values 11 and 33. Correct statement: the mean value theorem for integrals needs ff CONTINUOUS on [a,b][a, b]; then some cc in [a,b][a, b] satisfies f(c)=favef(c) = f_{\text{ave}}. The hypothesis matters exactly at jumps like this one, where the average falls in a gap of the range.

Exercise 9: Temperature over a day: average, the moment it is reached, and degree-hours

On a clear spring day, the air temperature at a weather station is modelled by T(t)=12−6cos⁡(πt12)T(t) = 12 - 6\cos\left(\frac{\pi t}{12}\right) degrees Celsius, where tt is the time in hours after 4 a.m., for 0≤t≤240 \le t \le 24. The minimum, 66 degrees, is at 4 a.m.; the maximum, 1818 degrees, at 4 p.m.

Greenhouse growers and building engineers measure heat above a base temperature in DEGREE-HOURS: the area between the temperature curve and the base line, counted only while the temperature is above the base. The figure shows the curve, the base line at 1515 degrees and that area.

48121620243691215182115 °CT(t)t (hours after 4 a.m.)T (°C)
  • a) Compute the average temperature over the whole day, 0≤t≤240 \le t \le 24.
  • b) Compute the average temperature over the twelve warmest hours, 6≤t≤186 \le t \le 18.
  • c) Show that the temperature equals the average of b) at exactly two times in [6,18][6, 18], and give them exactly. Which theorem guaranteed at least one?
  • d) Find when T(t)>15T(t) > 15, then compute the number of degree-hours above 1515 degrees for the day.
  • e) A student computes ∫024(T(t)−15)dt=−72\int_0^{24} \left(T(t) - 15\right) dt = -72 and concludes that there were no degree-hours above 1515. Interpret −72-72, and deduce the number of degree-hours BELOW 1515.
Show the solution

Answers

  • a) 1212 degrees
  • b) 12+12π12 + \frac{12}{\pi} degrees, about 15.815.8
  • c) t1=12πarccos⁡(−2π)t_1 = \frac{12}{\pi}\arccos\left(-\frac{2}{\pi}\right) and t2=24−t1t_2 = 24 - t_1; the mean value theorem for integrals.
  • d) 8<t<168 < t < 16 (noon to 8 p.m.); 723π−24\frac{72\sqrt 3}{\pi} - 24 degree-hours, about 15.715.7
  • e) −72-72 = (hours above) minus (hours below) in degree-hours; below 1515: 723π+48\frac{72\sqrt 3}{\pi} + 48, about 87.787.7.

a) Tave=124∫024(12−6cos⁡πt12)dtT_{\text{ave}} = \frac{1}{24}\int_0^{24} \left(12 - 6\cos\frac{\pi t}{12}\right) dt. With u=πt12u = \frac{\pi t}{12}, an antiderivative of cos⁡πt12\cos\frac{\pi t}{12} is 12πsin⁡πt12\frac{12}{\pi}\sin\frac{\pi t}{12}, and sin⁡2π−sin⁡0=0\sin 2\pi - \sin 0 = 0: the cosine completes one full period and contributes nothing. So Tave=124⋅12⋅24=12T_{\text{ave}} = \frac{1}{24} \cdot 12 \cdot 24 = 12 degrees, the midline of the model, halfway between 66 and 1818 as the symmetry of the curve suggests.

b) ∫618cos⁡πt12 dt=12π(sin⁡3π2−sin⁡π2)=12π(−1−1)=−24π\int_6^{18} \cos\frac{\pi t}{12}\,dt = \frac{12}{\pi}\left(\sin\frac{3\pi}{2} - \sin\frac{\pi}{2}\right) = \frac{12}{\pi}(-1 - 1) = -\frac{24}{\pi}. Then ∫618T dt=12⋅12−6(−24π)=144+144π\int_6^{18} T\,dt = 12 \cdot 12 - 6\left(-\frac{24}{\pi}\right) = 144 + \frac{144}{\pi}, and dividing by the width 1212: Tave=12+12πT_{\text{ave}} = 12 + \frac{12}{\pi} degrees. With π≈3.14\pi \approx 3.14, 12π≈3.8\frac{12}{\pi} \approx 3.8, so about 15.815.8 degrees. The sign check: on [6,18][6, 18] the cosine is negative, so TT is above 1212 throughout and the average must exceed 1212. It does.

c) T(t)=12+12πT(t) = 12 + \frac{12}{\pi} means −6cos⁡πt12=12π-6\cos\frac{\pi t}{12} = \frac{12}{\pi}, that is cos⁡πt12=−2π\cos\frac{\pi t}{12} = -\frac{2}{\pi}. Since π>2\pi > 2, the number −2π-\frac{2}{\pi} lies in (−1,0)(-1, 0). For tt in [6,18][6, 18], the angle θ=πt12\theta = \frac{\pi t}{12} runs over [π2,3π2]\left[\frac{\pi}{2}, \frac{3\pi}{2}\right], where the cosine decreases from 00 to −1-1 on the first half and increases back to 00 on the second: it takes the value −2π-\frac{2}{\pi} exactly twice, at θ1=arccos⁡(−2π)\theta_1 = \arccos\left(-\frac{2}{\pi}\right), which lies in (π2,π)\left(\frac{\pi}{2}, \pi\right), and at θ2=2π−θ1\theta_2 = 2\pi - \theta_1. Back to hours: t1=12πarccos⁡(−2π)t_1 = \frac{12}{\pi}\arccos\left(-\frac{2}{\pi}\right), between 66 and 1212 (morning, warming up), and t2=24−t1t_2 = 24 - t_1, between 1212 and 1818 (evening, cooling down). The mean value theorem for integrals, applied to the continuous TT on [6,18][6, 18], guaranteed at least one such time; the shape of the curve gives two.

d) T>15T > 15 means −6cos⁡πt12>3-6\cos\frac{\pi t}{12} > 3, that is cos⁡πt12<−12\cos\frac{\pi t}{12} < -\frac{1}{2}, so 2π3<πt12<4π3\frac{2\pi}{3} < \frac{\pi t}{12} < \frac{4\pi}{3} and 8<t<168 < t < 16: from noon to 8 p.m. On that interval the curve is the top and the line y=15y = 15 the bottom, so the degree-hours are ∫816(T−15) dt=∫816(−3−6cos⁡πt12)dt=−24−72π(sin⁡4π3−sin⁡2π3)=−24−72π(−3)=723π−24\int_8^{16} (T - 15)\,dt = \int_8^{16} \left(-3 - 6\cos\frac{\pi t}{12}\right) dt = -24 - \frac{72}{\pi}\left(\sin\frac{4\pi}{3} - \sin\frac{2\pi}{3}\right) = -24 - \frac{72}{\pi}\left(-\sqrt 3\right) = \frac{72\sqrt 3}{\pi} - 24. With 3≈1.73\sqrt 3 \approx 1.73 and π≈3.14\pi \approx 3.14: 124.63.14−24≈39.7−24=15.7\frac{124.6}{3.14} - 24 \approx 39.7 - 24 = 15.7 degree-hours. Sanity check: the excess over 1515 peaks at 33 degrees and lasts 88 hours, so the area lies between the triangle 12⋅8⋅3=12\frac{1}{2} \cdot 8 \cdot 3 = 12 and the rectangle 8⋅3=248 \cdot 3 = 24. It does, and it is closer to the triangle than to the rectangle, as the rounded cap suggests.

e) ∫024(T−15) dt=24(12−15)−6⋅0=−72\int_0^{24} (T - 15)\,dt = 24(12 - 15) - 6 \cdot 0 = -72. This is a NET: the degree-hours above 1515 count positively, those below negatively, and −72-72 says only that the day was, on balance, cooler than 1515 degrees, which is consistent with a): the average 1212 is 33 below 1515, and 3⋅24=723 \cdot 24 = 72. It cannot say whether the temperature ever exceeded 1515, which is why degree-hours are an AREA, computed only where T−15>0T - 15 > 0, after finding the crossings t=8t = 8 and t=16t = 16. From net = above minus below: below == above +72=723π−24+72=723π+48+ 72 = \frac{72\sqrt 3}{\pi} - 24 + 72 = \frac{72\sqrt 3}{\pi} + 48, about 87.787.7 degree-hours. The same bookkeeping as Exercise 2: a net integral is the difference of the pieces, the area is their sum.

Exercise 10: A final exam question: sin x against sin 2x

This question has the shape of a MATH 141 final: the curves are given, the intersections are hidden in a trigonometric equation, the region has two pieces of very different sizes, and the last part asks for an average.

The figure shows y=sin⁡xy = \sin x and y=sin⁡2xy = \sin 2x on [0,π][0, \pi].

y = sin xy = sin 2xπ
  • a) Find all the points of [0,π][0, \pi] where the curves meet.
  • b) Determine which curve is on top on each piece, with a justification that does not rely on the figure.
  • c) Compute the area of the region enclosed by the two curves on [0,π][0, \pi].
  • d) Compute ∫0π(sin⁡x−sin⁡2x) dx\int_0^\pi (\sin x - \sin 2x)\,dx. Why is it not the area, and by how much does it miss?
  • e) Compute the average vertical distance between the two curves on [0,π][0, \pi], and justify that at some xx the distance is exactly that average. Compare with the average value of sin⁡x−sin⁡2x\sin x - \sin 2x.
Show the solution

Answers

  • a) x=0x = 0, π3\frac{\pi}{3}, π\pi: points (0,0)(0, 0), (π3,32)\left(\frac{\pi}{3}, \frac{\sqrt 3}{2}\right), (π,0)(\pi, 0)
  • b) sin⁡2x\sin 2x on top on (0,π3)\left(0, \frac{\pi}{3}\right), sin⁡x\sin x on top on (π3,π)\left(\frac{\pi}{3}, \pi\right)
  • c) A=14+94=52A = \frac{1}{4} + \frac{9}{4} = \frac{5}{2}
  • d) 22, the net; it misses by 12\frac{1}{2}, twice the small piece.
  • e) Average distance 52π\frac{5}{2\pi} (reached, by continuity of the distance); average difference 2π\frac{2}{\pi}.

a) Write sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x and bring everything to one side: 2sin⁡xcos⁡x−sin⁡x=sin⁡x (2cos⁡x−1)=02\sin x\cos x - \sin x = \sin x\,(2\cos x - 1) = 0. Either sin⁡x=0\sin x = 0, giving x=0x = 0 and x=πx = \pi in [0,π][0, \pi], or cos⁡x=12\cos x = \frac{1}{2}, giving x=π3x = \frac{\pi}{3} (the other solution, −π3-\frac{\pi}{3}, is outside). The points are (0,0)(0, 0), (π3,32)\left(\frac{\pi}{3}, \frac{\sqrt 3}{2}\right) and (π,0)(\pi, 0); check sin⁡2π3=32=sin⁡π3\sin\frac{2\pi}{3} = \frac{\sqrt 3}{2} = \sin\frac{\pi}{3}. Dividing by sin⁡x\sin x would have kept only π3\frac{\pi}{3} and lost the two ends of the region, the same slip as dividing by xx in Exercise 2.

b) The factored form decides: sin⁡2x−sin⁡x=sin⁡x (2cos⁡x−1)\sin 2x - \sin x = \sin x\,(2\cos x - 1). On (0,π)(0, \pi), sin⁡x>0\sin x > 0, so the sign is that of 2cos⁡x−12\cos x - 1. It is positive on (0,π3)\left(0, \frac{\pi}{3}\right), where cos⁡x>12\cos x > \frac{1}{2}, and negative on (π3,π)\left(\frac{\pi}{3}, \pi\right), where cos⁡x<12\cos x < \frac{1}{2}. So sin⁡2x\sin 2x is on top on the first piece and sin⁡x\sin x on the second. On (π2,π)\left(\frac{\pi}{2}, \pi\right) the curve sin⁡2x\sin 2x is below the axis; as in Exercise 1, this changes nothing, the slice simply grows.

c) With u=2xu = 2x, ∫sin⁡2x dx=−cos⁡2x2+C\int \sin 2x\,dx = -\frac{\cos 2x}{2} + C (differentiate: sin⁡2x\sin 2x). First piece: ∫0π/3(sin⁡2x−sin⁡x) dx=[−cos⁡2x2+cos⁡x]0π/3=(14+12)−(−12+1)=14\int_0^{\pi/3} (\sin 2x - \sin x)\,dx = \left[-\frac{\cos 2x}{2} + \cos x\right]_0^{\pi/3} = \left(\frac{1}{4} + \frac{1}{2}\right) - \left(-\frac{1}{2} + 1\right) = \frac{1}{4}. Second piece: ∫π/3π(sin⁡x−sin⁡2x) dx=[−cos⁡x+cos⁡2x2]π/3π=(1+12)−(−12−14)=94\int_{\pi/3}^{\pi} (\sin x - \sin 2x)\,dx = \left[-\cos x + \frac{\cos 2x}{2}\right]_{\pi/3}^{\pi} = \left(1 + \frac{1}{2}\right) - \left(-\frac{1}{2} - \frac{1}{4}\right) = \frac{9}{4}. Both positive, and the small one matches the thin sliver of the figure. A=14+94=52A = \frac{1}{4} + \frac{9}{4} = \frac{5}{2}. The values cos⁡2π3=−12\cos\frac{2\pi}{3} = -\frac{1}{2} and cos⁡2π=1\cos 2\pi = 1 are where signs get lost: write them on the copy before substituting.

d) ∫0πsin⁡x dx=2\int_0^\pi \sin x\,dx = 2 and ∫0πsin⁡2x dx=[−cos⁡2x2]0π=0\int_0^\pi \sin 2x\,dx = \left[-\frac{\cos 2x}{2}\right]_0^\pi = 0, so the integral is 22. It is the NET: 94−14=2\frac{9}{4} - \frac{1}{4} = 2, the small piece subtracted. It misses the area by 52−2=12\frac{5}{2} - 2 = \frac{1}{2}, twice that small piece. The trap has a tempting form here: since sin⁡2x\sin 2x integrates to 00 over [0,π][0, \pi], a student concludes that it contributes nothing and that the area is the area under sin⁡x\sin x. It does contribute, with a sign that changes at π3\frac{\pi}{3}.

e) The vertical distance is d(x)=∣sin⁡x−sin⁡2x∣d(x) = |\sin x - \sin 2x|, and its integral over [0,π][0, \pi] is the area 52\frac{5}{2}. So the average distance is 1π⋅52=52π\frac{1}{\pi} \cdot \frac{5}{2} = \frac{5}{2\pi}, about 0.800.80. The function dd is continuous on [0,π][0, \pi], as the absolute value of a continuous function, so the mean value theorem for integrals gives a cc in [0,π][0, \pi] with d(c)=52πd(c) = \frac{5}{2\pi}; the values d(0)=0d(0) = 0 and d(2π3)=32+32=3≈1.73d\left(\frac{2\pi}{3}\right) = \frac{\sqrt 3}{2} + \frac{\sqrt 3}{2} = \sqrt 3 \approx 1.73 bracket it, as they must. The average of the signed difference sin⁡x−sin⁡2x\sin x - \sin 2x is 2π\frac{2}{\pi}, about 0.640.64: smaller, because the first piece now counts negatively. An average DISTANCE takes the absolute value; an average value does not. Read which one the question asks for.

See also

Struggling with MATH 141?

I tutor first-year calculus at McGill and Concordia, in English or in French, in Montreal or online. Get in touch for a first session.

Site by Studio Squalli