CalcPath
ProgressProblem setsFeedback
← Question sheet

Calculus · Solutions

Integrals

12 questions · about 103 minutes

Work this sheet on paper, showing every step — the method is what is being tested, and the solutions are written so you can check your route rather than just your answer. Name every theorem you use (“by Part 1 of the Fundamental Theorem”, “by the comparison property”, “by the substitution rule with u=…”) and check its hypotheses, especially continuity of the integrand on the whole interval. No calculator is needed anywhere: every answer is an exact fraction, surd or multiple of π. Full worked solutions are on a separate page; each question also has its own reveal, so you can check one answer without seeing the rest.

  1. 1.Computation

    Sigma notation. Quote each power-sum formula as you use it, and say how many terms a sum has before you touch it.

    1. (a)Evaluate k=3∑7​(k2−2k) twice: once by writing out the terms, once by linearity and the power sums. The two must agree.
    2. (b)Find a closed form for i=1∑n​(2i−1)2, the sum of the first n odd squares, and factor it completely. Check your formula at n=3.
    3. (c)Compute n→∞lim​n31​i=1∑n​(2i−1)2, and identify the limit as a definite integral.

    Solution

    (a) Write out the terms. The sum runs over k=3,4,5,6,7: that is 7−3+1=5 terms, not 4. They are 9−6=3, 16−8=8, 25−10=15, 36−12=24, 49−14=35, and 3+8+15+24+35=85.

    By linearity. The power-sum formulas start at 1, so subtract the two missing terms:

    k=3∑7​k2=k=1∑7​k2−(12+22)=67⋅8⋅15​−5=140−5=135,k=3∑7​k=27⋅8​−3=25.

    Then ∑k=37​(k2−2k)=135−2⋅25=85, agreeing with the direct count.

    (b) Expand, then split by linearity. (2i−1)2=4i2−4i+1, so

    i=1∑n​(2i−1)2=4i=1∑n​i2−4i=1∑n​i+i=1∑n​1=4⋅6n(n+1)(2n+1)​−4⋅2n(n+1)​+n.

    The last term is n, not 1: a constant summed n times is counted n times. Factor out 3n​:

    3n​[2(n+1)(2n+1)−6(n+1)+3]=3n​[4n2+6n+2−6n−6+3]=3n(4n2−1)​=3n(2n−1)(2n+1)​.

    Check at n=3: 1+9+25=35, and 33⋅5⋅7​=35. (At n=1 the formula gives 31⋅1⋅3​=1, also correct.)

    (c) Divide by n3 and let n→∞.

    n31​⋅3n(2n−1)(2n+1)​=31​(2−n1​)(2+n1​)⟶31​⋅2⋅2=34​.

    To see the integral, rewrite the summand: n3(2i−1)2​=(n2i−1​)2⋅n1​=4(2n2i−1​)2⋅n1​. With Δx=n1​ on [0,1], the point 2n2i−1​ is the midpoint of the ith subinterval, so the sum is the midpoint Riemann sum Mn​ for ∫01​4x2dx, whose value is 4⋅31​=34​, as found.

  2. 2.Computation

    Let f(x)=4−x2 on [0,2]. Leave every value as an exact fraction.

    1. (a)With n=4, compute the left endpoint sum L4​, the right endpoint sum R4​ and the midpoint sum M4​. List the four sample points you use for each.
    2. (b)Without knowing the true area, explain which of L4​ and R4​ must be an overestimate and which an underestimate, and write the resulting sandwich for the area A. Confirm that the gap L4​−R4​ is the area of a single strip.
    3. (c)Find A exactly as n→∞lim​Rn​, using the power-sum formulas. Confirm that A lies inside your sandwich, and say which of the three estimates in (a) was closest.

    Solution

    (a) Set up the partition. Δx=42−0​=21​, with partition points 0,21​,1,23​,2 and function values 4,415​,3,47​,0.

    Left endpoints are the first four points, 0,21​,1,23​:

    L4​=21​(4+415​+3+47​)=21​⋅225​=425​.

    Right endpoints are the last four, 21​,1,23​,2:

    R4​=21​(415​+3+47​+0)=21​⋅217​=417​.

    Midpoints are 41​,43​,45​,47​, with values 4−161​=1663​, 4−169​=1655​, 4−1625​=1639​, 4−1649​=1615​. Their sum is 16172​=443​, so

    M4​=21​⋅443​=843​.

    Each sum has exactly four terms; using all five partition points would double-count a strip.

    (b) Monotonicity decides it. f′(x)=−2x≤0 on [0,2], so f is decreasing. On each subinterval the largest value of f is at the left endpoint and the smallest at the right, so every left rectangle contains its strip of the region and every right rectangle sits inside it. Hence

    R4​≤A≤L4​,that is417​≤A≤425​.

    The gap is L4​−R4​=425​−417​=2, and the single-strip formula gives [f(0)−f(2)]Δx=4⋅21​=2: all the rectangles except the outermost ones cancel in the difference.

    (c) The limit of Rn​. With n subintervals, Δx=n2​ and xi​=n2i​, so f(xi​)=4−n24i2​ and

    Rn​=i=1∑n​(4−n24i2​)n2​=n8​⋅n−n38​i=1∑n​i2=8−n38​⋅6n(n+1)(2n+1)​=8−34​(1+n1​)(2+n1​).

    As n→∞ the parentheses tend to 1 and 2, so A=8−38​=316​.

    Sandwich: 417​=1251​≤1264​≤1275​=425​. The errors are L4​−A=1211​, A−R4​=1213​ and M4​−A=24129​−24128​=241​. The midpoint sum is far closer than either endpoint sum, and it is a slight overestimate; the graph of 4−x2 is concave down, and the numerical-integration rules explain why midpoints overshoot on such a curve.

  3. 3.Sketch

    Let f(x)=∣x∣−2 on the interval [−3,4]. No antiderivative is needed anywhere in this question: every region involved is a triangle.

    1. (a)Sketch y=f(x) on [−3,4]. Mark the zeros of f and the values f(−3), f(0) and f(4), and shade the regions between the graph and the x-axis, distinguishing the ones above the axis from the one below.
    2. (b)From the sketch compute ∫−34​f(x)dx and the total area between the graph and the axis on [−3,4]. Explain in one sentence why the two numbers differ.
    3. (c)Without drawing anything new, write down ∫−34​(2−∣x∣)dx and the total area between y=2−∣x∣ and the axis on the same interval. Name the property that gets you there.

    Solution

    (a) Features of the drawing. The graph is a V with vertex (0,−2), slope −1 to the left of 0 and slope +1 to the right. Zeros: ∣x∣=2, so x=−2 and x=2. Endpoint values: f(−3)=1, f(4)=2, and the vertex f(0)=−2.

    So the graph runs from (−3,1) down through (−2,0), dips below the axis to (0,−2), climbs back through (2,0) and up to (4,2). Three triangles are shaded: a small one above the axis on [−3,−2], a large one below the axis on [−2,2] with its apex at the vertex, and a medium one above on [2,4]. Use two different shadings for above and below.

    (b) Triangles. Left triangle: legs 1 and 1, area 21​. Middle triangle: base 4 (from −2 to 2), height 2, area 21​⋅4⋅2=4. Right triangle: legs 2 and 2, area 2.

    Net area counts the region below the axis negatively:

    ∫−34​f(x)dx=21​−4+2=−23​.

    Total area counts every region positively:

    ∫−34​∣f(x)∣dx=21​+4+2=213​.

    They differ because f changes sign on the interval, so the integral cancels the part below the axis against the parts above, while the total area adds them. Check of the net value by linearity: ∫−34​∣x∣dx−∫−34​2dx=(29​+8)−14=−23​.

    (c) Reflect in the axis. 2−∣x∣=−f(x), so its graph is the graph of f reflected across the x-axis: the same three triangles, with the middle one now above and the outer two below. By linearity with the constant −1,

    ∫−34​(2−∣x∣)dx=−∫−34​f(x)dx=23​,

    while the total area is unchanged at 213​, since ∣−f∣=∣f∣.

  4. 4.Computation

    Constants of integration. Keep every constant until a condition removes it, and verify each final answer by differentiating it.

    1. (a)A particle moves on a line with acceleration a(t)=12t−6. Its velocity at t=1 is 3 and its position at t=2 is 5. Find the position function s(t).
    2. (b)Find the function g on (0,∞) with g′(x)=x1​ and g(1)=2. Then consider G(x)=ln∣x∣+2 for x>0 and G(x)=ln∣x∣+7 for x<0. Show that G is an antiderivative of x1​ on its whole domain, and explain why this does not contradict the theorem that antiderivatives differ by a constant.

    Solution

    (a) Velocity first. Velocity is an antiderivative of acceleration: v(t)=6t2−6t+C. The condition v(1)=3 gives 6−6+C=3, so C=3 and v(t)=6t2−6t+3.

    Then position. s(t)=2t3−3t2+3t+D. The condition s(2)=5 gives 16−12+6+D=10+D=5, so D=−5:

    s(t)=2t3−3t2+3t−5.

    Check: s′(t)=6t2−6t+3, so s′(1)=3; s′′(t)=12t−6=a(t); and s(2)=16−12+6−5=5. The two conditions are given at different times, but each still removes exactly one constant, provided the velocity constant is fixed before the second antidifferentiation is done.

    (b) On (0,∞). There ∣x∣=x, so ∫x1​dx=lnx+C, and g(1)=ln1+C=C=2 gives g(x)=lnx+2. Check: g′(x)=x1​ and g(1)=2.

    The two-piece function. For x>0, G′(x)=x1​ directly. For x<0, ln∣x∣=ln(−x), whose derivative is −x−1​=x1​; the constants differentiate to 0. So G′(x)=x1​ at every point of the domain (−∞,0)∪(0,∞), and G is an antiderivative of x1​ there.

    Yet G(x)−(ln∣x∣+2) equals 0 for x>0 and 5 for x<0: not a single constant. There is no contradiction, because the theorem is a statement about an interval. Its proof uses the corollary of the Mean Value Theorem that a function with zero derivative on an interval is constant, and that corollary needs the interval to connect any two points. The domain of x1​ is two disjoint intervals, and on each one separately G is ln∣x∣ plus a constant, exactly as the theorem says. The formula ∫x1​dx=ln∣x∣+C really carries one constant per interval.

  5. 5.Proof

    Let I=∫01​1+x3​dx. This integrand has no elementary antiderivative, so I must be estimated rather than computed. Name each property of the definite integral as you use it.

    1. (a)Show that 1≤I≤2​.
    2. (b)Prove that 1+x3​≤1+2x3​ for all x≥0, and use it to improve the upper bound to I≤89​.
    3. (c)Prove: if f is continuous on [a,b], f(x)≥0 for every x in [a,b], and ∫ab​f(x)dx=0, then f(x)=0 for every x in [a,b]. Then give an example showing that the conclusion can fail if f is allowed a single jump.

    Solution

    (a) The bounds property. On [0,1] we have 0≤x3≤1, so 1≤1+x3≤2, and since the square root is increasing, 1≤1+x3​≤2​. The integrand is continuous, so the integral exists by the integrability theorem, and the bounds property with m=1, M=2​ and b−a=1 gives

    1⋅1≤I≤2​⋅1.

    (b) The inequality. For x≥0 both sides are nonnegative, so it is enough to compare squares:

    (1+2x3​)2=1+x3+4x6​ ≥ 1+x3,

    and taking the (increasing) square root of both sides gives 1+x3​≤1+2x3​, with equality only at x=0.

    The comparison property now applies to the two continuous functions on [0,1]:

    I≤∫01​(1+2x3​)dx=[x+8x4​]01​=1+81​=89​,

    the right-hand integral being evaluated by linearity and Part 2 of the Fundamental Theorem. So 1≤I≤89​. (The true value is about 1.111.)

    (c) Proof. Suppose, for contradiction, that f(c)>0 for some c in [a,b]. Apply continuity at c with ε=2f(c)​: there is δ>0 such that ∣f(x)−f(c)∣<2f(c)​, hence f(x)>2f(c)​, for every x in [a,b] with ∣x−c∣<δ.

    Put p=max(a,c−2δ​) and q=min(b,c+2δ​). Then [p,q]⊆[a,b], its length ℓ=q−p is positive (even if c is an endpoint, the interval has room on at least one side), and f>2f(c)​ on all of [p,q].

    By additivity,

    ∫ab​f=∫ap​f+∫pq​f+∫qb​f.

    The first and third integrals are ≥0 by positivity, since f≥0 (and they are 0 if the interval is degenerate). By the bounds property with lower bound m=2f(c)​ on [p,q], the middle one satisfies ∫pq​f≥2f(c)​ℓ>0. Hence ∫ab​f>0, contradicting the hypothesis. So f(c)≤0 for every c, and together with f≥0 this forces f≡0. ■

    The example. Let f(x)=0 for 0≤x<1 and f(1)=1. This is bounded with a single jump, so it is integrable. Any Riemann sum ∑f(xi∗​)Δx has at most one nonzero term, the last, and only if the sample point xn∗​ is exactly 1; the sum is therefore either 0 or Δx=n1​, and both tend to 0. So ∫01​f=0 and f≥0, yet f(1)=1=0. The proof breaks at the very first step: without continuity there is no interval of positive length on which f stays away from 0, and a single point has no width for the integral to see.

  6. 6.Computation

    Find each indefinite integral. None of the integrands is a table entry as written, so rewrite first, integrate line by line, and check every answer by differentiating it.

    1. (a)∫x(x​−1)2​dx
    2. (b)∫cos2θsinθ​dθ
    3. (c)∫x2+12x2+3​dx
    4. (d)∫exe2x−1​dx, giving the answer once in terms of exponentials and once in terms of a hyperbolic function, and showing the two agree.

    Solution

    (a) Expand and divide through. For x>0, (x​−1)2=x−2x​+1, so

    x(x​−1)2​=1−2x−1/2+x−1.

    The first two are power-rule entries; the third is the one power the power rule cannot handle, and it is the logarithm:

    ∫(1−2x−1/2+x−1)dx=x−2⋅1/2x1/2​+ln∣x∣+C=x−4x​+lnx+C,

    where ∣x∣=x because the integrand lives on x>0. Check: dxd​(x−4x​+lnx)=1−x​2​+x1​.

    (b) Split the fraction into table factors.

    cos2θsinθ​=cosθ1​⋅cosθsinθ​=secθtanθ,

    which is a table entry: the integral is secθ+C. Check: dθd​secθ=secθtanθ.

    (c) Divide out the polynomial part. Since 2x2+3=2(x2+1)+1,

    x2+12x2+3​=2+1+x21​,so∫x2+12x2+3​dx=2x+arctanx+C.

    Check: dxd​(2x+arctanx)=2+1+x21​.

    (d) Divide by ex. exe2x−1​=ex−e−x. An antiderivative of e−x is −e−x, since dxd​(−e−x)=e−x. Hence

    ∫(ex−e−x)dx=ex+e−x+C.

    Alternatively, ex−e−x=2sinhx by definition of sinh, and the table gives ∫2sinhxdx=2coshx+C. The two agree because 2coshx=ex+e−x. Check: dxd​(ex+e−x)=ex−e−x.

  7. 7.Proof

    The Mean Value Theorem for integrals. State its hypotheses each time you apply it.

    1. (a)Find every value of c that the theorem guarantees for f(x)=x​ on [0,4], and describe the rectangle it produces.
    2. (b)Let f be continuous on [0,1] with ∫01​f(x)dx=21​. Prove that f(c)=c for some c in [0,1].
    3. (c)Exhibit a function on [0,2] that is integrable but not continuous and for which no c satisfies ∫02​f(x)dx=f(c)⋅2. Say exactly where the proof of the theorem uses continuity.

    Solution

    (a) Compute the integral, then solve for c. f(x)=x​ is continuous on [0,4], so the theorem applies. By Part 2 of the Fundamental Theorem,

    ∫04​x​dx=[32​x3/2]04​=32​⋅8=316​.

    The theorem asks for c with c​(4−0)=316​, so c​=34​ and c=916​. This lies in [0,4], and it is the only solution because x​ is one-to-one. The rectangle has base [0,4] and height f(916​)=34​, so its area is 316​, the same as the region under the curve; the curve passes through the top edge of the rectangle at x=916​. The height 34​ is the average value of x​ on [0,4].

    (b) Proof. Let g(x)=f(x)−x. It is continuous on [0,1] as the difference of two continuous functions, and by linearity

    ∫01​g(x)dx=∫01​f(x)dx−∫01​xdx=21​−21​=0.

    The Mean Value Theorem for integrals (hypothesis: g continuous on the closed interval [0,1]) supplies c in [0,1] with ∫01​g=g(c)(1−0), that is g(c)=0, that is f(c)=c. ■

    The number 21​ is exactly ∫01​xdx: the hypothesis says f and the identity function have the same average on [0,1], and two continuous functions with the same average must cross.

    (c) A jump defeats the theorem. Take f(x)=0 for 0≤x<1 and f(x)=1 for 1≤x≤2. It is bounded with one jump, hence integrable, and by additivity and geometry ∫02​f=0+1=1 (the second piece is a unit square). The theorem would need f(c)⋅2=1, so f(c)=21​, but f takes only the values 0 and 1. No such c exists.

    The proof uses continuity twice. First, the Extreme Value Theorem, to know that the minimum m and maximum M are values actually taken by f. Second, and decisively, the Intermediate Value Theorem, to pass from \"the average b−a1​∫ab​f lies between two values of f\" to \"the average is a value of f\". Here the average 21​ lies between the values 0 and 1, and the jump lets f step over it.

  8. 8.Sketch

    Let f be the continuous piecewise linear function on [0,6] given by

    f(t)=⎩⎨⎧​2,6−2t,−2,​0≤t≤2,2≤t≤4,4≤t≤6,​

    and let g(x)=∫0x​f(t)dt for 0≤x≤6.

    1. (a)Sketch y=f(t). Then compute g(0), g(1), g(2), g(3), g(4), g(5) and g(6) using areas of rectangles and triangles only.
    2. (b)Using Part 1 of the Fundamental Theorem, determine where g is increasing, where it is decreasing, where its graph is concave up or concave down, and where it has its maximum. On which subintervals is the graph of g a straight line?
    3. (c)Sketch y=g(x) on [0,6], and explain why the graph has no corner at x=2 or at x=4 even though the formula for f changes there. Finally, find the total area between y=f(t) and the t-axis on [0,6], and say how it can be read off each of your two sketches.

    Solution

    (a) The graph of f. A horizontal segment at height 2 on [0,2]; a straight segment from (2,2) down to (4,−2), crossing the axis at t=3; a horizontal segment at height −2 on [4,6]. The pieces join up, since 6−2⋅2=2 and 6−2⋅4=−2, so f is continuous.

    Values of g by area. g(0)=0. On [0,1] a 1×2 rectangle: g(1)=2. On [0,2] a 2×2 rectangle: g(2)=4. On [2,3] a triangle above the axis with base 1 and height 2, area 1: g(3)=5. On [3,4] the mirror-image triangle below the axis, area 1, counted negatively: g(4)=4. On [4,5] and [5,6] rectangles of area 2 below the axis: g(5)=2 and g(6)=0.

    (b) Read g off f. Since f is continuous on [0,6], Part 1 of the Fundamental Theorem gives g′(x)=f(x). Now f>0 on [0,3) and f<0 on (3,6], so g is increasing on [0,3], decreasing on [3,6], and has its maximum at x=3, where g(3)=5.

    Concavity comes from g′′=f′ wherever f′ exists: f′=0 on (0,2) and on (4,6), so g is a straight line on each of those (slopes 2 and −2); and f′=−2 on (2,4), so g is concave down there. Explicitly, g(x)=2x on [0,2]; on [2,4],

    g(x)=4+∫2x​(6−2t)dt=4+[6t−t2]2x​=6x−x2−4,

    a parabola with vertex at x=3 and g(3)=5; and on [4,6], g(x)=4−2(x−4)=12−2x. The formulas agree at the joins: 6⋅2−4−4=4 and 6⋅4−16−4=4.

    (c) The graph of g. It starts at the origin and rises as a straight line of slope 2 to (2,4); continues as a downward-opening parabolic arc through the maximum (3,5) to (4,4); then descends as a straight line of slope −2 through (5,2) to (6,0). Draw the parabola tangent to the incoming line at (2,4) and to the outgoing line at (4,4).

    There is no corner because the slope of g is f, and f is continuous. At x=2 the line has slope 2 and the parabola has slope 6−2⋅2=2; at x=4 the parabola has slope 6−2⋅4=−2 and the line has slope −2. A corner in g would require a jump in f; a change of formula is not a jump.

    Total area. ∫06​∣f(t)∣dt=4+1+1+4=10. On the sketch of f this is the sum of the two rectangles and the two triangles, regardless of side. On the sketch of g it is the total climb plus the total descent: g rises from 0 to 5 and then falls from 5 back to 0, and 5+5=10. The net area, by contrast, is the final height g(6)=0.

  9. 9.Computation

    Rates and net change. In each part, say whether the quantity asked for is the integral of the rate or the integral of its absolute value before you compute anything.

    1. (a)A particle moves on a line with velocity v(t)=3t2−12t+9 metres per second for 0≤t≤4. Find its displacement and the total distance it travels.
    2. (b)A tank contains 50 litres at time t=0. Water flows in at the net rate r(t)=12−3t​ litres per minute for 0≤t≤25, a negative rate meaning that water is leaving. Find the time at which the tank holds the most water, the volume at that moment, and the volume at t=25.

    Solution

    (a) Displacement is ∫v; distance is ∫∣v∣. By the net change theorem,

    displacement=∫04​(3t2−12t+9)dt=[t3−6t2+9t]04​=64−96+36=4 m.

    For distance, find where v changes sign: v(t)=3(t2−4t+3)=3(t−1)(t−3), which is positive on [0,1), negative on (1,3) and positive on (3,4]. With F(t)=t3−6t2+9t we have F(0)=0, F(1)=4, F(3)=27−54+27=0 and F(4)=4, so the three pieces are

    ∫01​v=4,∫13​v=−4,∫34​v=4.

    Distance =∫04​∣v(t)∣dt=4+4+4=12 m. Check: the signed pieces add to 4−4+4=4, the displacement. The particle goes forward 4 m, back 4 m, forward 4 m, and ends 4 m from where it started having travelled 12 m.

    (b) Volume is 50 plus the integral of the rate. Let V(t)=50+∫0t​r(s)ds. By Part 1 of the Fundamental Theorem, V′(t)=r(t), so V is largest where r changes from positive to negative. Now r(t)=0 when 3t​=12, that is t=16; r>0 on [0,16) and r<0 on (16,25]. So the tank is fullest at t=16 minutes, and

    V(16)=50+∫016​(12−3s​)ds=50+[12s−2s3/2]016​=50+(192−128)=114 litres.

    At t=25,

    V(25)=50+[12s−2s3/2]025​=50+(300−250)=100 litres.

    Check by additivity: ∫1625​r=50−64=−14, and 114−14=100. The question asked for volumes, which are integrals of r itself; the total amount of water that passed through the inlet, 64+14=78 litres, would be the integral of ∣r∣.

  10. 10.Critique

    Three arguments follow. Each is invalid, though one of them arrives at a correct number. For each argument, identify the exact step that is wrong and the rule or hypothesis it violates, then give a correct evaluation of the integral.

    1. (a)“To evaluate ∫02​x4−x2​dx, let u=4−x2, so du=−2xdx and the integral becomes −21​∫u1/2du=−31​u3/2. Evaluating from 0 to 2 gives −31​(23/2−0)=−322​​.”
    2. (b)“∫−22​(x3+x2)dx=0, because the interval is symmetric about 0 and integrals over symmetric intervals cancel.”
    3. (c)“Since ∫0π​sinxdx=2 and ∫0π​cosxdx=0, we get ∫0π​sinxcosxdx=2⋅0=0.”

    Solution

    (a) A u-antiderivative evaluated at x-limits. The substitution and the antiderivative −31​u3/2 are both correct. The wrong step is \"evaluating from 0 to 2\": those are the x-limits, and the expression is a function of u. The theorem on substitution in definite integrals says the limits must be converted to u-values, x=0↦u=4 and x=2↦u=0, or else one must return to x first. Mixing the two is the violation.

    The answer could have been rejected on sight: the integrand x4−x2​ is ≥0 on [0,2], so by positivity the integral cannot be negative.

    Correct evaluation, changing the limits:

    ∫02​x4−x2​dx=−21​∫40​u1/2du=21​∫04​u1/2du=21​⋅32​[u3/2]04​=31​⋅8=38​.

    Or back-substitute: [−31​(4−x2)3/2]02​=−31​(0−8)=38​. Check by differentiating: dxd​[−31​(4−x2)3/2]=−31​⋅23​(4−x2)1/2⋅(−2x)=x4−x2​.

    (b) Symmetry of the interval is only half the hypothesis. The theorem on even and odd functions needs a symmetric interval and an integrand of definite parity, and only an odd integrand gives 0. Here x3+x2 is neither even nor odd: at x=1 it is 2, at x=−1 it is 0. The sentence \"integrals over symmetric intervals cancel\" is simply false; ∫−22​1dx=4.

    Correct evaluation, splitting by linearity into the odd and even parts:

    ∫−22​x3dx=0  (odd),∫−22​x2dx=2∫02​x2dx=2⋅38​=316​  (even),

    so the integral is 316​. Direct check: [4x4​+3x3​]−22​=(4+38​)−(4−38​)=316​.

    (c) There is no product rule for integrals. The number 0 is right, but the step ∫fg=∫f⋅∫g is not a rule at all: linearity covers sums and constant multiples, nothing more. A counterexample on a different interval shows the step is unreliable: on [0,2π​], ∫sinxdx=∫cosxdx=1, while ∫0π/2​sinxcosxdx=[21​sin2x]0π/2​=21​=1⋅1.

    Correct evaluation: substitute u=sinx, du=cosxdx; the limits become sin0=0 and sinπ=0, so

    ∫0π​sinxcosxdx=∫00​udu=0

    by the convention ∫aa​=0. Equivalently [21​sin2x]0π​=0−0=0. The value is 0 for a reason the bad argument never touched: sinxcosx=21​sin2x is positive on (0,2π​) and negative on (2π​,π), with the two humps congruent, so the net area cancels. The total area between the curve and the axis is 21​+21​=1.

  11. 11.Proof

    Throughout, f is continuous on the whole real line and g(x)=∫0x​f(t)dt. Name every theorem you use.

    1. (a)Prove that if f is even, then g is odd. Give two proofs: one by the substitution t=−u, and one by differentiating h(x)=g(x)+g(−x).
    2. (b)Suppose instead that f is periodic with period p>0, so that f(x+p)=f(x) for all x. Prove that ∫aa+p​f(t)dt has the same value for every real number a.
    3. (c)Use (b) to evaluate ∫11+3π​∣sint∣dt exactly.

    Solution

    (a) First proof, by substitution. Fix x and write g(−x)=∫0−x​f(t)dt. Substitute t=−u, so dt=−du; the limits t=0 and t=−x become u=0 and u=x. The theorem on substitution in definite integrals applies, since the inner function u↦−u has continuous derivative and f is continuous everywhere:

    g(−x)=∫0x​f(−u)(−1)du=−∫0x​f(−u)du=−∫0x​f(u)du=−g(x),

    using f(−u)=f(u) in the last step. So g(−x)=−g(x) for every x: g is odd. ■

    Second proof, by differentiation. Let h(x)=g(x)+g(−x). By Part 1 of the Fundamental Theorem, g′(x)=f(x) for all x, and by the chain rule dxd​g(−x)=−g′(−x)=−f(−x)=−f(x), since f is even. Therefore

    h′(x)=f(x)−f(x)=0for every x.

    A function with zero derivative on an interval is constant (the corollary of the Mean Value Theorem), and the interval here is all of R. Since h(0)=g(0)+g(0)=0 (an integral from 0 to 0 is 0), the constant is 0, so g(−x)=−g(x). ■ The pair f=cos, g=sin is the model case.

    (b) Proof. Define φ(a)=∫aa+p​f(t)dt. By additivity, φ(a)=∫0a+p​f−∫0a​f=g(a+p)−g(a). Both terms are differentiable by Part 1 of the Fundamental Theorem together with the chain rule (the corollary on variable limits), and

    φ′(a)=f(a+p)⋅1−f(a)=f(a)−f(a)=0

    by periodicity. So φ′ vanishes on the whole real line, and by the Mean Value Theorem corollary φ is constant: ∫aa+p​f=∫0p​f for every a. ■ In words, a window of one full period captures the same amount wherever it is placed.

    (c) Apply (b) with p=π. The function ∣sint∣ is continuous and has period π, since ∣sin(t+π)∣=∣−sint∣=∣sint∣. By additivity, split [1,1+3π] into the three windows [1,1+π], [1+π,1+2π] and [1+2π,1+3π], each of length one period. By (b) each contributes ∫0π​∣sint∣dt, and on [0,π] the sine is nonnegative, so

    ∫0π​∣sint∣dt=∫0π​sintdt=[−cost]0π​=1+1=2.

    Hence ∫11+3π​∣sint∣dt=3⋅2=6.

    Cross-check the hard way. The sign changes of sin inside [1,1+3π] are at π, 2π and 3π. The pieces are ∫1π​sintdt=1+cos1, then 2 on [π,2π] and 2 on [2π,3π], and on [3π,3π+1] the sine is negative, giving ∫3π3π+1​(−sint)dt=[cost]3π3π+1​=−cos1−(−1)=1−cos1. The total is (1+cos1)+2+2+(1−cos1)=6: the cos1 terms cancel, exactly as (b) predicts they must.

  12. 12.Computation

    Let I=∫02​x3dx, whose exact value you should compute first by the Fundamental Theorem. Every approximation below must be left as an exact fraction; no decimals anywhere.

    1. (a)Compute T4​ and M4​. Find the errors I−T4​ and I−M4​, and check them against the two predictions made for a concave-up integrand: the sign of each error, and the ratio of their sizes.
    2. (b)Compute S4​ and show that it equals I exactly. Explain, from the error bound for Simpson's Rule, why this had to happen for this integrand. Then verify the identity S4​=31​T2​+32​M2​ numerically.
    3. (c)Compute the error bounds for ∣ET​∣ and ∣EM​∣ with n=4 and compare them with the actual errors from (a). Then find the smallest n for which the trapezoidal bound guarantees ∣ET​∣<10001​.

    Solution

    The exact value. I=[4x4​]02​=4.

    (a) Trapezoidal and midpoint. Δx=21​, endpoints 0,21​,1,23​,2 with cubes 0,81​,1,827​,8:

    T4​=21/2​[0+2(81​+1+827​)+8]=41​[2⋅836​+8]=41​⋅17=417​.

    Midpoints 41​,43​,45​,47​ have cubes 641​,6427​,64125​,64343​, which sum to 64496​=431​, so

    M4​=21​⋅431​=831​.

    Errors: I−T4​=4−417​=−41​ and I−M4​=4−831​=81​.

    Predictions: f′′(x)=6x>0 on (0,2], so the graph is concave up. Chords lie above such a curve, so T4​ overestimates and its error should be negative; tangents lie below, so M4​ underestimates and its error should be positive. Both signs check. The sizes are 81​ against 41​: the midpoint error is exactly half the trapezoidal error and of opposite sign, as predicted.

    (b) Simpson. With the coefficient pattern 1,4,2,4,1,

    S4​=31/2​[0+4⋅81​+2⋅1+4⋅827​+8]=61​[21​+2+227​+8]=61​⋅24=4=I.

    This is forced by the error bound: it involves ​f(4)​≤K, and for f(x)=x3 the fourth derivative is identically 0, so K=0 and ∣ES​∣≤0. Simpson's Rule is exact for every polynomial of degree at most 3: one degree better than the parabolas it is built from, because the cubic part of the error cancels by symmetry about the midpoint of each pair of subintervals.

    The identity: with Δx=1, T2​=21​[0+2⋅1+8]=5, and M2​=1⋅(81​+827​)=27​. Then 31​⋅5+32​⋅27​=35​+37​=4=S4​.

    (c) The bounds. ∣f′′(x)∣=6x≤12 on [0,2], so take K=12; also b−a=2, (b−a)3=8 and n=4:

    ∣ET​∣≤12⋅1612⋅8​=21​,∣EM​∣≤24⋅1612⋅8​=41​.

    The actual errors, 41​ and 81​, are each half of their bound: safely inside, as they must be, and the bound is a guarantee rather than a prediction of the error.

    For general n the trapezoidal bound is 12n212⋅8​=n28​, and n28​<10001​ exactly when n2>8000. Since 892=7921<8000 and 902=8100>8000, the smallest n that the bound certifies is n=90.

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout