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), or (right)−(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 x-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 x or by sinx and losing an intersection, mixing x-bounds with a dy 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−a, keeping a c outside [a,b], and invoking the mean value theorem for a function that jumps.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Vertical slices: A=∫ab[top(x)−bottom(x)]dx. Horizontal slices: A=∫cd[right(y)−left(y)]dy, with y-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)∣dx.
•The x-axis plays no role in ∫(f−g): only the crossings of the two curves matter.
•Average value: fave=b−a1∫abf(x)dx. It keeps the sign; if m≤f≤M then m≤fave≤M.
•Mean value theorem for integrals: if f is continuous on [a,b], some c in [a,b] has f(c)=fave, that is ∫abf=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 x, the slice runs from the lower curve up to the upper one, so its length is (top)−(bottom), and the area is A=∫ab[top(x)−bottom(x)]dx, where a and b are the ends of the region.
Let R be the region enclosed by the parabola y=x2−2x and the line y=x+4, shaded in the figure. Part of the parabola lies below the x-axis: keep an eye on what that changes, and on what it does not.
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 x-axis plays no role in the set-up.
c) Write the area of R as one integral and evaluate it exactly.
d) A student integrates (x2−2x)−(x+4) over the same interval, finds −6125 and writes: the area is −6125. 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 255 for the line and 328 for the parabola (the geometric area between the parabola and the x-axis), and gets 6109. Find the mistake and show that the signed integrals give the right answer.
Show the solution
Answers
a)(−1,3) and (4,8)
b)The line is on top on (−1,4); the slice length is a difference of heights, whatever their signs.
c)A=∫−14(−x2+3x+4)dx=6125
d)Bottom minus top: the order was reversed. ∣∫∣ works only because the curves never cross inside (−1,4).
e)∫−14(x+4)dx−∫−14(x2−2x)dx=255−320=6125; the geometric 328 is wrong here.
a)
Set the two heights equal: x2−2x=x+4, so x2−3x−4=0, which factors as (x−4)(x+1)=0. The curves meet at x=−1 and x=4. The points are (−1,3) and (4,8), and both check in BOTH equations: (−1)2−2(−1)=3=−1+4 and 16−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), say x=0: the line gives 4, the parabola gives 0, so the line is on top. Why one test is enough: the difference (x+4)−(x2−2x)=−x2+3x+4=−(x−4)(x+1) is continuous and vanishes only at −1 and 4, so it cannot change sign in between. Now the x-axis. The slice at x has length (top)−(bottom), a DIFFERENCE of two heights. At x=1 the top is 5 and the bottom is −1, and the slice has length 5−(−1)=6, exactly what a ruler would measure from y=−1 to y=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=0 or x=2, where the parabola crosses it.
c)
A=∫−14[(x+4)−(x2−2x)]dx=∫−14(−x2+3x+4)dx=[−3x3+23x2+4x]−14. At x=4: −364+24+16=356. At x=−1: 31+23−4=−613. So A=356+613=6112+13=6125, a little under 21. Two checks that cost nothing. The longest slice is at x=23, of length 425, and the region is 5 wide, so A must be below 5⋅425=4125: it is. And Archimedes: a region cut from a parabola by a chord has 32 of the enclosing rectangle, here 32⋅4125=6125, the same number.
d)
The integrand (x2−2x)−(x+4) is bottom minus top, negative at every point of (−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 6125 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=[2x2+4x]−14=24−(−27)=255 and ∫−14(x2−2x)dx=[3x3−x2]−14=316−(−34)=320. Their difference is 6165−40=6125, the right answer. The student replaced 320 by the GEOMETRIC area between the parabola and the axis, 34+34+320=328, where the middle 34 comes from 0≤x≤2, BELOW the axis. On that stretch the slice of R 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 −34 adds 34. Subtracting it instead costs 2⋅34=38, and indeed 6125−6109=616=38. Moral: ∫(f−g) needs no case analysis for the x-axis; only the crossings of the two curves matter.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
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−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−2x2 and g(x)=3x. The figure shows the region enclosed by their graphs.
a) Solve 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−g.
c) Compute the area of the region enclosed by the two curves.
d) A student computes ∫−13(f−g)dx=−332 and answers 332. Explain why both numbers are wrong as an area, and say what −332 does measure.
e) Another student divides x3−2x2=3x by x, gets x2−2x−3=0, and keeps only x=−1 and x=3. What does he lose, and what does it cost him?
Show the solution
Answers
a)x=−1, 0, 3: points (−1,−3), (0,0), (3,9)
b)f on top on (−1,0), g on top on (0,3)
c)A=127+445=671
d)−332=127−445 is the NET; 332 is the difference of the two lobes, not their sum.
e)He loses x=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)=0. The roots are x=−1, x=0 and x=3. With g(x)=3x, the points are (−1,−3), (0,0) and (3,9); check on f: f(−1)=−1−2=−3 and f(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). 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), at x=−21: h=(−21)(−27)(21)=87>0, so f is on top. On (0,3), at x=1: h=1⋅(−2)⋅2=−4<0, so g 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)dx. An antiderivative of f−g=x3−2x2−3x is H(x)=4x4−32x3−23x2, and H(0)=0, H(−1)=41+32−23=−127, H(3)=481−18−227=−445. First piece: H(0)−H(−1)=127. Second piece: −(H(3)−H(0))=445=12135. Both are positive, as areas must be. A=127+135=12142=671, a little under 12.
d)
∫−13(f−g)dx=H(3)−H(−1)=−445+127=−12128=−332. This is the NET signed area: the small lobe counts +127, the large one −445, and they partly cancel. Its absolute value 332=445−127 is the DIFFERENCE of the two lobes, while the area is their SUM 445+127. The gap between the two answers is 671−332=67, exactly twice the small lobe, subtracted instead of added. In general ∫h≤∫∣h∣, with equality only when h keeps one sign: an absolute value placed OUTSIDE the integral repairs nothing once the curves cross.
e)
Dividing by x is allowed only when x=0, so the division silently deletes the root x=0. Yet 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−g over [−1,3] in one piece and lands on the −332 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 sinx deletes the multiples of π (Exercise 10).
Exercise 3: Integrating in y: right minus left
When a boundary is given as x=g(y), horizontal slices are often the natural choice. At height y the slice runs from the left curve to the right one, its length is (right)−(left), and A=∫cd[xright(y)−xleft(y)]dy, the bounds being y-values.
Let R be the region enclosed by the parabola x=3−y2 and the line y=x−1, shaded in the figure.
a) Find the intersection points of the two curves.
b) Using horizontal slices, say which curve is on the right, write the area of R as ONE integral in y, 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; another writes ∫−12[3−x−(x−1)]dx. Diagnose both.
Show the solution
Answers
a)(−1,−2) and (2,1)
b)Parabola on the right: A=∫−21(2−y−y2)dy=29
c)On [−1,2]: from y=−3−x up to y=x−1. On [2,3]: from −3−x to 3−x.
d)619+34=29
e)The first is left minus right (−29). The second takes the wrong branch as bottom and measures another region (637).
a)
Write the line as x=y+1 and set the two x equal: 3−y2=y+1, so y2+y−2=0, that is (y+2)(y−1)=0. The curves meet at y=−2 and y=1, at the points (−1,−2) and (2,1); check on the parabola: 3−4=−1 and 3−1=2. Solving in y is the natural move here, because the parabola is already written as x in terms of y. Note the trap waiting in b): the bounds of an integral in y are −2 and 1, NOT the x-coordinates −1 and 2.
b)
Test y=0: the parabola gives x=3, the line gives x=1, so the parabola is on the RIGHT on the whole interval (−2,1), where the two expressions never meet. Then A=∫−21[(3−y2)−(y+1)]dy=∫−21(2−y−y2)dy=[2y−2y2−3y3]−21. At y=1: 2−21−31=67. At y=−2: −4−2+38=−310. So A=67+620=627=29. 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 y: y2=3−x gives TWO functions, the upper branch y=3−x and the lower branch y=−3−x, joined at the vertex (3,0). For −1≤x≤2, the vertical slice starts on the LOWER branch and ends on the line y=x−1, which is the top of the region there (see the figure of the solution). For 2≤x≤3, the line has left the region, having crossed the upper branch at (2,1), and the slice runs from the lower branch to the upper one. The top boundary changes formula at x=2, hence two integrals: A=∫−12[(x−1)+3−x]dx+∫2323−xdx. 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−x, ∫3−xdx=−32(3−x)3/2+C, and differentiating gives back 3−x. First integral: ∫−12(x−1)dx=[2x2−x]−12=0−23=−23, and ∫−123−xdx=−32(1)+32(8)=314, so the first piece is 314−23=619. Second: 2[−32(3−x)3/2]23=2⋅32=34. Total 619+68=627=29, as in b). Do not be alarmed by −23: it is one term of a slice length, not an area, and the slice length (x−1)+3−x itself is positive. The comparison of the two methods is the lesson: same area, but three antiderivatives and a split in x against one polynomial in y.
e)
The first student has left minus right: at y=0 the integrand is 1−3=−2, and the integral is −29. In y, 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]. That slice is a real length, but of the region lying ABOVE the line and below the upper branch, a different region: ∫−123−xdx−∫−12(x−1)dx=314+23=637=29. 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.
Exercise 4: Average value: divide by the width, keep the sign
The average value of a function f on [a,b] is fave=b−a1∫abf(x)dx. It is the height of the rectangle built on [a,b] whose area equals the SIGNED area under the graph: unlike an area, it keeps the sign of f.
The figure shows y=sinx on [0,2π], with the signed areas of its two humps. No calculator: every answer is exact, with π≈3.14 used only for an order of magnitude.
a) Compute the average value of f(x)=x2 on [1,4]. Compare it with the average of the endpoint values, 2f(1)+f(4), and with the value at the midpoint, f(25).
b) Compute the average value of sinx on [0,π], then on [0,2π]. Compare the second one with the area between the curve and the x-axis on [0,2π].
c) Compute the average value of 1+x21 on [0,1].
d) Compute the average value of xcosx on [0,2π].
e) Prove that if m≤f(x)≤M on [a,b], then m≤fave≤M. Use it to check a) and c).
Show the solution
Answers
a)fave=7; endpoint average 217, midpoint value 425: neither.
b)π2 on [0,π]; 0 on [0,2π], while the area there is 4.
c)4π
d)1−π2
e)Integrate m≤f≤M and divide by b−a>0. Checks: 1≤7≤16 and 21≤4π≤1.
a)
fave=4−11∫14x2dx=31[3x3]14=31⋅364−1=31⋅21=7. The endpoint average is 21+16=217 and the midpoint value is 425: neither is 7, and the order 425<7<217 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 2f(a)+f(b) is the average value only for a linear f; for anything else it is a guess, and it costs the whole part.
b)
On [0,π]: π1∫0πsinxdx=π1[−cosx]0π=π1(1+1)=π2, about 0.64. On [0,2π]: 2π1[−cosx]02π=2π1(−1+1)=0. The average is 0 although sinx is not identically 0: the hump of signed area +2 and the hump of signed area −2 in the figure cancel. The area between the curve and the axis, on the other hand, counts both humps as positive: ∫02π∣sinx∣dx=2+2=4. This is the one place in the chapter where the sign is KEPT on purpose: an average temperature of −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 1, so fave=∫011+x2dx=arctan1−arctan0=4π, about 0.785. Dividing by b−a=1 changes nothing here, which is exactly why students forget the factor in the next part, where the width is not 1.
d)
Integration by parts with u=x (it becomes simpler when differentiated) and dv=cosxdx: du=dx, v=sinx, so ∫xcosxdx=xsinx−∫sinxdx=xsinx+cosx+C. Check by differentiating: sinx+xcosx−sinx=xcosx. Then ∫0π/2xcosxdx=[xsinx+cosx]0π/2=(2π+0)−(0+1)=2π−1. Divide by the width 2π: fave=π2(2π−1)=1−π2, about 1−0.64=0.36. The two classic losses: reporting 2π−1, the integral, as the average; and MULTIPLYING by the width instead of dividing, which gives 2π(2π−1). The factor is b−a1=π2.
e)
If m≤f(x)≤M on [a,b], the comparison property of the integral gives ∫abmdx≤∫abf(x)dx≤∫abMdx, that is m(b−a)≤∫abf≤M(b−a). Dividing by b−a>0 keeps the inequalities: m≤fave≤M. An average lies between the smallest and the largest value, as any average should. For a): x2 runs from 1 to 16 on [1,4], and 1≤7≤16. For c): 1+x21 decreases from 1 to 21 on [0,1], so 21≤4π≤1, that is 2≤π≤4: true, and a genuine check on c). This test takes five seconds and catches the forgotten factor b−a1 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 f is CONTINUOUS on [a,b], there is a number c in [a,b] such that f(c)=fave, that is ∫abf(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−2x on [0,2]. Compute fave and find every c allowed by the theorem.
b) Let g(x)=x2−4x+5 on [0,3]. Compute gave and find every c with g(c)=gave. What does this say about the phrase the number c?
c) Interpret a) on a figure: what exactly has the same area as the rectangle of height fave, given that f is negative on part of [0,2]?
d) Compute the average value of ⌊x⌋, the greatest integer function, on [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)dt.
Show the solution
Answers
a)fave=2; c=31+7; 31−7<0 is rejected.
b)gave=2; c=1 and c=3: the theorem guarantees AT LEAST one.
c)The rectangle [0,2]×[0,2] has the same SIGNED area, 4, as the region between the graph and the axis.
d)Average 21, never taken; continuity fails at x=1 and x=2.
e)F′=f by FTC 1 and F(a)=0, so the MVT gives f(c)=b−aF(b)−F(a)=fave.
a)
fave=21∫02(3x2−2x)dx=21[x3−x2]02=21(8−4)=2. Then solve f(c)=2: 3c2−2c−2=0, so c=62±4+24=62±27=31±7. Now locate each root without a calculator: 4<7<9 gives 2<7<3. So 31+7 lies between 1 and 34, inside [0,2]: it is the answer. And 31−7 lies between −32 and −31, outside [0,2]: it solves the equation but is NOT a value of c, since the theorem locates c in [a,b]. Reporting both roots, or the wrong one, costs the mark for the conclusion.
b)
gave=31∫03(x2−4x+5)dx=31[3x3−2x2+5x]03=31(9−18+15)=2. Solve c2−4c+5=2: c2−4c+3=(c−1)(c−3)=0, so c=1 or c=3, BOTH in [0,3]. The theorem guarantees at least one c; here there are two, one of them an endpoint, and a complete answer lists both. The phrase the number c 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 f, the line y=2 and the rectangle [0,2]×[0,2]. Its area is 2⋅2=4=∫02f(x)dx. But f is negative on (0,32), so 4 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=2 (to the right of c) exactly fills the gap between the line and the graph to the left of c, since ∫02(f−2)dx=4−4=0. That is the picture the theorem draws: level the graph off at height f(c) without changing the signed area.
d)
⌊x⌋=0 on [0,1) and 1 on [1,2), with ⌊2⌋=2 at the single point x=2, which changes no integral. So ∫02⌊x⌋dx=0⋅1+1⋅1=1 and the average is 21. But ⌊x⌋ only takes the values 0, 1 and 2: the average 21 is never reached. The function is integrable, so its average exists, but it is not continuous (it jumps at x=1 and x=2), and without continuity the conclusion of the theorem fails. Before invoking the theorem on an exam, write the hypothesis: f is continuous on [a,b].
e)
Let F(x)=∫axf(t)dt. Since f is continuous, the Fundamental Theorem of Calculus (part 1) says F is differentiable with F′(x)=f(x); in particular F is continuous on [a,b] and differentiable on (a,b), the two hypotheses of the mean value theorem. It gives c in (a,b) with F′(c)=b−aF(b)−F(a). Now F(a)=0 and F(b)=∫abf, so f(c)=b−a1∫abf(x)dx=fave. This proof even places c in the OPEN interval, which is consistent with b): besides the endpoint 3, the interior value c=1 is there.
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.
R1 is the region bounded by y=x, y=x−2 and the x-axis. R2 is the region bounded by y=ex, the line y=3 and the y-axis.
The figure below shows the situation.
a) Find the three corners of R1. When you solve x=x−2 by squaring, what happens to the root x=1?
b) Write the area of R1 with vertical slices, then with horizontal slices. Evaluate the simpler one and confirm with the other.
c) Same work for R2: 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 R2, a triangle it contains and a rectangle that contains it, using ln3≈1.10.
Show the solution
Answers
a)(0,0), (2,0), (4,2); x=1 is extraneous (1=1=−1).
b)A1=∫02(y+2−y2)dy=310, also ∫02xdx+∫24(x−x+2)dx.
c)A2=∫0ln3(3−ex)dx=3ln3−2, also ∫13lnydy.
d)Pick the variable in which each end of the slice is ONE formula over the whole range, then the easier antiderivative.
e)ln3≤3ln3−2≤2ln3, that is 1.10≤1.30≤2.20.
a)
The curve y=x meets the axis at (0,0) and the line y=x−2 meets it at (2,0). For the curve and the line: x=x−2 requires x−2≥0, since a square root is never negative. Squaring gives x=x2−4x+4, so x2−5x+4=(x−1)(x−4)=0. Test both in the ORIGINAL equation: x=4 gives 2=2, kept; x=1 gives 1=1 against 1−2=−1, rejected. Squaring has merged x=x−2 with −x=x−2, and x=1 solves the second one: it is where the line meets the LOWER half y=−x, a curve that is not part of this problem. Corners: (0,0), (2,0), (4,2).
b)
Vertical slices: the top is x all the way from x=0 to x=4, but the bottom is the axis y=0 for 0≤x≤2 and the line y=x−2 for 2≤x≤4. Two formulas for the bottom, so two integrals: A1=∫02xdx+∫24(x−x+2)dx. Horizontal slices: y runs from 0 to 2; the left end is always on the curve, x=y2, and the right end always on the line, x=y+2. One formula each, so one integral: A1=∫02(y+2−y2)dy=[2y2+2y−3y3]02=2+4−38=310. Confirmation: the two vertical pieces combine into ∫04xdx−∫24(x−2)dx=32⋅8−2=310, the area under the curve minus the triangle of legs 2 and 2 under the line.
c)
ex=3 at x=ln3, so the corners of R2 are (0,1), (0,3) and (ln3,3). Vertical slices: from x=0 to ln3, top y=3, bottom y=ex, one integral: A2=∫0ln3(3−ex)dx=[3x−ex]0ln3=(3ln3−3)−(0−1)=3ln3−2. Horizontal slices: y runs from 1, NOT from 0, since the region starts where the curve meets the y-axis, up to 3; left end x=0, right end x=lny: A2=∫13lnydy. By parts, ∫lnydy=ylny−y+C, so A2=(3ln3−3)−(0−1)=3ln3−2, the same. Here both set-ups are single integrals, and the tie is broken by the antiderivative: ex is immediate, lny needs parts. So this time x wins. Starting the y-integral at 0 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 R1 the vertical slices change their bottom at x=2; the horizontal ones never change. In R2 both families are uniform, and the integrand decides.
e)
For R2: the chord from (0,1) to (ln3,3) lies above the graph of ex, which bends upward, so the triangle with vertices (0,1), (0,3), (ln3,3) lies inside R2; its area is 21⋅ln3⋅2=ln3. And R2 sits inside the rectangle [0,ln3]×[1,3] of area 2ln3. So ln3≤A2≤2ln3, and with ln3≈1.10: 1.10≤3ln3−2≈1.30≤2.20. For R1, the exact decomposition of b) already is the check: 316−2=310, and 310 is less than half of the 4×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 R be the region between the parabola y=2x−x2 and the x-axis. A line y=kx through the origin, with slope k, cuts R into two pieces; the piece between the parabola and the line is shaded in the figure, drawn for k=1. Call its area A(k).
The question asks for the slope that cuts R into two pieces of EQUAL area. The answer is exact, a cube root, and it must be located between two decimals without a calculator.
a) Compute the area of R.
b) Find the second intersection of the line with the parabola. For which slopes k does the line actually cut R in two?
c) Show that A(k)=6(2−k)3.
d) Find the slope k for which the line cuts R into two pieces of equal area.
e) Check your formula at k=0 and k=2, and locate the k of d) between two consecutive tenths without a calculator.
Show the solution
Answers
a)34
b)x=2−k; the line cuts R when 0<k<2.
c)A(k)=∫02−k[(2−k)x−x2]dx=6(2−k)3
d)k=2−34
e)A(0)=34, A(2)=0; 0.4<k<0.5.
a)
2x−x2=x(2−x) vanishes at 0 and 2 and is positive in between, so R spans [0,2] and its area is ∫02(2x−x2)dx=[x2−3x3]02=4−38=34. Archimedes confirms it: two thirds of the 2×1 box whose top touches the vertex (1,1).
b)
2x−x2=kx gives x(2−k−x)=0, so x=0 (the origin, common to every line of the family) or x=2−k. For the line to cut R into two pieces, this second point must fall strictly between 0 and 2: 0<2−k<2, that is 0<k<2. At k=2 the line is the tangent to the parabola at the origin (the derivative of 2x−x2 at 0 is 2) and touches R only at one point; for k≤0 it stays on or below the axis and never enters R.
c)
On (0,2−k) the parabola is on top: 2x−x2−kx=x((2−k)−x)>0 there. So A(k)=∫02−k[(2−k)x−x2]dx=[2(2−k)x2−3x3]02−k=2(2−k)3−3(2−k)3=6(2−k)3. Treat 2−k as one constant, say m, throughout: the integrand is mx−x2 and the upper bound is m, which is why the result is a clean 6m3. Expanding (2−k)x early and carrying three terms is where the algebra usually breaks.
d)
The line halves R when the upper piece has half of 34: 6(2−k)3=32, so (2−k)3=4, 2−k=34 and k=2−34. Two traps. Setting A(k)=34, the WHOLE area, gives k=0, the axis itself. And guessing that halving the area means halving the slope, k=1, the value drawn in the figure, gives A(1)=61, only one eighth of R: 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 34−A(k), equal to 32 for this k.
e)
At k=0 the line is the x-axis and the upper piece is all of R: A(0)=68=34, as in a). At k=2 the line is the tangent and nothing is cut off: A(2)=0. Both ends agree, and A decreases in between, as a steeper line leaves less above it. To locate k: 1.53=3.375<4<4.096=1.63, so 1.5<34<1.6 and 0.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=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=sinx and y=cosx on [0,π] is ∫0π(sinx−cosx)dx=2.
b) If ∫ab(f(x)−g(x))dx=0, the curves y=f(x) and y=g(x) enclose no area between a and b.
c) The average value of f on [a,b] is 2f(a)+f(b).
d) The region between the parabola x=y2 and the line x=4 has area ∫02(4−y2)dy=316, since the curves meet at y=2.
e) Every function that can be integrated on [a,b] takes its average value somewhere on [a,b].
Show the solution
Answers
a)False: the curves cross at 4π; the area is (2−1)+(1+2)=22.
b)False: x3 and x on [−1,1] give a net 0 and an area 21.
c)False unless f is linear: x2 on [0,2] has average 34, not 2.
d)False: they also meet at y=−2; the area is ∫−22(4−y2)dy=332.
e)False without continuity: 1 on [0,1) and 3 on [1,2] averages 2, never taken.
a)
FALSE. sinx=cosx at x=4π in [0,π], and the order flips there: at x=0, cosx=1 is on top; at x=2π, sinx=1 is. So A=∫0π/4(cosx−sinx)dx+∫π/4π(sinx−cosx)dx. First piece: [sinx+cosx]0π/4=2−1. Second: [−cosx−sinx]π/4π=1−(−2)=1+2. Total 22, about 2.83. The student's 2 is the net, (1+2)−(2−1): the first piece subtracted instead of added. Correct statement: the area is 22, found by splitting at 4π.
b)
FALSE. Take f(x)=x3 and g(x)=x on [−1,1]: ∫−11(x3−x)dx=0 because the integrand is odd, yet the curves enclose two lobes. They meet at −1, 0, 1; x3 is on top on (−1,0) and x on (0,1), and by symmetry A=2∫01(x−x3)dx=2(21−41)=21. Correct statement: a net integral of 0 says the signed pieces cancel; the enclosed area is ∫ab∣f−g∣dx, which is 0 only when f=g everywhere on [a,b] (for continuous functions).
c)
FALSE. For f(x)=x2 on [0,2]: fave=21∫02x2dx=21⋅38=34, while 2f(0)+f(2)=2. The endpoint average ignores everything the function does in between. Correct statement: fave=b−a1∫abf(x)dx; it coincides with 2f(a)+f(b) when f is linear, because then the region under the graph is a trapezoid.
d)
FALSE. The line x=4 meets the parabola where y2=4, that is at y=2 AND at y=−2: taking the square root of y2=4 gives two answers, and the student kept one. Starting the integral at y=0 keeps only the upper half of the region, which is symmetric about the x-axis, so the answer is off by a factor of 2. With horizontal slices, right minus left: A=∫−22(4−y2)dy=[4y−3y3]−22=316+316=332. Check with vertical slices, from y=−x to y=x: ∫042xdx=34⋅8=332. Correct statement: the area is 332, with bounds found by solving for the intersections in the variable of integration.
e)
FALSE. Let f=1 on [0,1) and f=3 on [1,2]. It is integrable, with ∫02f=1+3=4 and fave=2, but f only takes the values 1 and 3. Correct statement: the mean value theorem for integrals needs f CONTINUOUS on [a,b]; then some c in [a,b] satisfies f(c)=fave. 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(12πt) degrees Celsius, where t is the time in hours after 4 a.m., for 0≤t≤24. The minimum, 6 degrees, is at 4 a.m.; the maximum, 18 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 15 degrees and that area.
a) Compute the average temperature over the whole day, 0≤t≤24.
b) Compute the average temperature over the twelve warmest hours, 6≤t≤18.
c) Show that the temperature equals the average of b) at exactly two times in [6,18], and give them exactly. Which theorem guaranteed at least one?
d) Find when T(t)>15, then compute the number of degree-hours above 15 degrees for the day.
e) A student computes ∫024(T(t)−15)dt=−72 and concludes that there were no degree-hours above 15. Interpret −72, and deduce the number of degree-hours BELOW 15.
Show the solution
Answers
a)12 degrees
b)12+π12 degrees, about 15.8
c)t1=π12arccos(−π2) and t2=24−t1; the mean value theorem for integrals.
d)8<t<16 (noon to 8 p.m.); π723−24 degree-hours, about 15.7
e)−72 = (hours above) minus (hours below) in degree-hours; below 15: π723+48, about 87.7.
a)
Tave=241∫024(12−6cos12πt)dt. With u=12πt, an antiderivative of cos12πt is π12sin12πt, and sin2π−sin0=0: the cosine completes one full period and contributes nothing. So Tave=241⋅12⋅24=12 degrees, the midline of the model, halfway between 6 and 18 as the symmetry of the curve suggests.
b)
∫618cos12πtdt=π12(sin23π−sin2π)=π12(−1−1)=−π24. Then ∫618Tdt=12⋅12−6(−π24)=144+π144, and dividing by the width 12: Tave=12+π12 degrees. With π≈3.14, π12≈3.8, so about 15.8 degrees. The sign check: on [6,18] the cosine is negative, so T is above 12 throughout and the average must exceed 12. It does.
c)
T(t)=12+π12 means −6cos12πt=π12, that is cos12πt=−π2. Since π>2, the number −π2 lies in (−1,0). For t in [6,18], the angle θ=12πt runs over [2π,23π], where the cosine decreases from 0 to −1 on the first half and increases back to 0 on the second: it takes the value −π2 exactly twice, at θ1=arccos(−π2), which lies in (2π,π), and at θ2=2π−θ1. Back to hours: t1=π12arccos(−π2), between 6 and 12 (morning, warming up), and t2=24−t1, between 12 and 18 (evening, cooling down). The mean value theorem for integrals, applied to the continuous T on [6,18], guaranteed at least one such time; the shape of the curve gives two.
d)
T>15 means −6cos12πt>3, that is cos12πt<−21, so 32π<12πt<34π and 8<t<16: from noon to 8 p.m. On that interval the curve is the top and the line y=15 the bottom, so the degree-hours are ∫816(T−15)dt=∫816(−3−6cos12πt)dt=−24−π72(sin34π−sin32π)=−24−π72(−3)=π723−24. With 3≈1.73 and π≈3.14: 3.14124.6−24≈39.7−24=15.7 degree-hours. Sanity check: the excess over 15 peaks at 3 degrees and lasts 8 hours, so the area lies between the triangle 21⋅8⋅3=12 and the rectangle 8⋅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. This is a NET: the degree-hours above 15 count positively, those below negatively, and −72 says only that the day was, on balance, cooler than 15 degrees, which is consistent with a): the average 12 is 3 below 15, and 3⋅24=72. It cannot say whether the temperature ever exceeded 15, which is why degree-hours are an AREA, computed only where T−15>0, after finding the crossings t=8 and t=16. From net = above minus below: below = above +72=π723−24+72=π723+48, about 87.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=sinx and y=sin2x on [0,π].
a) Find all the points of [0,π] 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,π].
d) Compute ∫0π(sinx−sin2x)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,π], and justify that at some x the distance is exactly that average. Compare with the average value of sinx−sin2x.
Show the solution
Answers
a)x=0, 3π, π: points (0,0), (3π,23), (π,0)
b)sin2x on top on (0,3π), sinx on top on (3π,π)
c)A=41+49=25
d)2, the net; it misses by 21, twice the small piece.
e)Average distance 2π5 (reached, by continuity of the distance); average difference π2.
a)
Write sin2x=2sinxcosx and bring everything to one side: 2sinxcosx−sinx=sinx(2cosx−1)=0. Either sinx=0, giving x=0 and x=π in [0,π], or cosx=21, giving x=3π (the other solution, −3π, is outside). The points are (0,0), (3π,23) and (π,0); check sin32π=23=sin3π. Dividing by sinx would have kept only 3π and lost the two ends of the region, the same slip as dividing by x in Exercise 2.
b)
The factored form decides: sin2x−sinx=sinx(2cosx−1). On (0,π), sinx>0, so the sign is that of 2cosx−1. It is positive on (0,3π), where cosx>21, and negative on (3π,π), where cosx<21. So sin2x is on top on the first piece and sinx on the second. On (2π,π) the curve sin2x is below the axis; as in Exercise 1, this changes nothing, the slice simply grows.
c)
With u=2x, ∫sin2xdx=−2cos2x+C (differentiate: sin2x). First piece: ∫0π/3(sin2x−sinx)dx=[−2cos2x+cosx]0π/3=(41+21)−(−21+1)=41. Second piece: ∫π/3π(sinx−sin2x)dx=[−cosx+2cos2x]π/3π=(1+21)−(−21−41)=49. Both positive, and the small one matches the thin sliver of the figure. A=41+49=25. The values cos32π=−21 and cos2π=1 are where signs get lost: write them on the copy before substituting.
d)
∫0πsinxdx=2 and ∫0πsin2xdx=[−2cos2x]0π=0, so the integral is 2. It is the NET: 49−41=2, the small piece subtracted. It misses the area by 25−2=21, twice that small piece. The trap has a tempting form here: since sin2x integrates to 0 over [0,π], a student concludes that it contributes nothing and that the area is the area under sinx. It does contribute, with a sign that changes at 3π.
e)
The vertical distance is d(x)=∣sinx−sin2x∣, and its integral over [0,π] is the area 25. So the average distance is π1⋅25=2π5, about 0.80. The function d is continuous on [0,π], as the absolute value of a continuous function, so the mean value theorem for integrals gives a c in [0,π] with d(c)=2π5; the values d(0)=0 and d(32π)=23+23=3≈1.73 bracket it, as they must. The average of the signed difference sinx−sin2x is π2, about 0.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.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.