MATH 141 practice final exam with full solutions (McGill)
This is a practice final examination for MATH 141, Calculus 2, the integral calculus course of the first year at McGill University. It covers the whole course and is weighted like a real cumulative final: about a quarter on the integrals and techniques already examined at the midterm, a third on the applications of the integral (areas, centroids, volumes by two methods, work, arc length and surface area, probability densities), and a little more than a third on sequences and series, from the convergence tests to power series and Taylor polynomials with their error. Twelve questions, one hundred points, three parts.
Sit it as an exam: three hours on a timer, no calculator, no notes. Every answer is exact, ln23, 332π, 3227, 4π+40019, and every mark goes to the method: name the substitution and its new bounds, write the limit of each improper integral, measure each radius from the axis, name each convergence test and CHECK its hypotheses, test each endpoint on its own. Not one question repeats an exercise of the twenty-four chapter sets of this site or of the practice midterm: the gestures are those of every MATH 141 final, the integrands, regions and series are new, so the paper measures what you can do and not what you remember. Each question carries its Answers box for a first quick marking, and the full reasoning underneath.
The traps named in the solutions: splitting a convergent improper integral into ∞−∞, missing the second endpoint where an integrand blows up, squaring the difference in a moment instead of taking the difference of the squares, measuring a shell radius from the wrong side of the axis, keeping the wrong root when a parabola is inverted, lifting a layer of water by y instead of 4−y, using the radius y for a rotation about the y-axis, reading (n+1n)n as 1, testing the first term instead of the first OMITTED one, forgetting the 2 of a second derivative, and evaluating a Maclaurin series outside its radius.
Exercise 1: Four integrals, and the move that opens each one
Evaluate each integral exactly. Three points each: the first line must NAME the move (the substitution with its differential and its new bounds, the choice of u and dv, the identity or the algebra used), then the computation follows. No technique is announced.
a) ∫01xln(1+x)dx
b) ∫0π/21+sinxcos3xdx
c) ∫0ln3ex+3e−xdx
d) ∫38xx+1dx
Show the solution
Answers
a)41
b)21
c)63π=18π3
d)ln23
a) Move: integration by parts with u=ln(1+x), du=1+xdx, and dv=xdx. The logarithm is u because differentiating it turns it into a rational function. For v, ANY antiderivative of x is allowed, and the one that factors is the smart one: v=2x2−1=2(x−1)(x+1). Then ∫01xln(1+x)dx=[2x2−1ln(1+x)]01−∫012(1+x)(x−1)(x+1)dx=0−0−21∫01(x−1)dx=−21(21−1)=41. The bracket vanishes at both bounds: x2−1=0 at x=1 and ln1=0 at x=0.
With the usual v=2x2 the answer is the same but longer: 2ln2−21∫011+xx2dx, and long division gives 1+xx2=x−1+1+x1, so the value is 2ln2−21(21−1+ln2)=41: the ln2 cancels. Size check: on [0,1], the concave ln(1+x) lies between its chord xln2 and its tangent x, so the integral lies between 3ln2≈0.23 and 31, and 0.25 does.
b) Move: simplify BEFORE integrating. cos3x=cosx(1−sin2x)=cosx(1−sinx)(1+sinx), and 1+sinx>0 on [0,2π], so the fraction reduces to cosx(1−sinx)=cosx−sinxcosx. Then ∫0π/2(cosx−sinxcosx)dx=[sinx−2sin2x]0π/2=1−21=21. The same through u=sinx, du=cosxdx, bounds 0 and 1: ∫011+u1−u2du=∫01(1−u)du=21. Treating cos3x as an odd power is right, but forgetting to cancel 1+u afterwards sends people into a needless long division.
c) Move: multiply top and bottom by ex, so the integrand becomes e2x+3ex, then u=ex, du=exdx, bounds x=0↦u=1 and x=ln3↦u=3. Now ∫13u2+3du=31[arctan3u]13=31(arctan3−arctan31)=31(3π−6π)=63π. The factor 31 in front and the 3u inside both come from u2+3=3(1+(3u)2); forgetting either is the classic slip. Size check: ex+3e−x≥23 (sum of two positive numbers with product 3) and ≤4 on the interval, so the value lies between 4ln3 and 23ln3, about 0.27 and 0.32; 18π3≈0.30.
d) Move: the root blocks everything, so rationalize with u=x+1, x=u2−1, dx=2udu, bounds x=3↦u=2 and x=8↦u=3. Then ∫38xx+1dx=∫23(u2−1)u2udu=∫23u2−12du. Now partial fractions: (u−1)(u+1)2=u−11−u+11 (cover-up at u=1 and u=−1). The value is [lnu+1u−1]23=ln42−ln31=ln23. Two chapters in a row: the rationalizing substitution turns a root into a rational function, and the rational function is then decomposed.
Exercise 2: Improper integrals: two values, two verdicts
For each integral, say first WHERE it is improper and write the limit or limits. Evaluate a) and b); decide c) and d) by comparison, without an antiderivative. The figure shows the integrand of b).
a) ∫1∞x2(x+1)dx. A classmate splits the integrand into partial fractions and writes one limit per fraction. What goes wrong?
b) ∫044x−x2dx
c) ∫1∞x5+1xdx. Show that it converges, and prove that its value I satisfies 2≤I≤2.
d) ∫0π/2sinxdx
Show the solution
Answers
a)Converges to 1−ln2; taken one fraction at a time, it is −∞+∞
b)Improper at 0 and at 4; converges to 2π+2π=π
c)21x−3/2≤x5+1x≤x−3/2 on [1,∞): converges, 2≤I≤2
d)Improper at 0; sinx1≥x1 there: diverges
a) Improper at ∞ only: the integrand is continuous on [1,∞). Decompose, with one term per power of the repeated factor: x2(x+1)1=xA+x2B+x+1C, so 1=Ax(x+1)+B(x+1)+Cx2. At x=0: B=1. At x=−1: C=1. The x2 coefficient: 0=A+C, so A=−1. An antiderivative is −lnx−x1+ln(x+1)=lnxx+1−x1, with the two logarithms COMBINED before any limit is taken.
Then ∫1tx2(x+1)dx=ln(1+t1)−t1−(ln2−1), and as t→∞ the first two terms tend to 0: the integral converges to 1−ln2≈0.31. It is below ∫1∞x3dx=21, as it must be. The classmate writes −∫1∞xdx+∫1∞x2dx+∫1∞x+1dx: the first and the last are divergent, −∞ and +∞, and ∞−∞ is not a number. Splitting a convergent improper integral is legal only into pieces that each converge.
b) Complete the square: 4x−x2=4−(x−2)2, which vanishes at x=0 and at x=4. The integrand blows up at BOTH endpoints (the figure shows the two branches going up), so split at an interior point, 2 is natural, and take one limit on each side: ∫04=lims→0+∫s2+limt→4−∫2t. With x−2=2sinθ, dx=2cosθdθ and 4−4sin2θ=2cosθ (positive for −2π<θ<2π), the integrand becomes dθ: an antiderivative is arcsin2x−2.
Left piece: arcsin0−lims→0+arcsin2s−2=0−arcsin(−1)=2π. Right piece: limt→4−arcsin2t−2−0=2π. Both converge, so the integral converges to π. The unbounded region of the figure has a finite area because the branches blow up like 2x1, an exponent 21<1 on (0,1].
c) Improper at ∞ only, and the integrand is positive. For x≥1: x5<x5+1≤2x5, so x5<x5+1≤2x5/2, and dividing x by these, 2x−3/2≤x5+1x<x−3/2. The upper bound is a p-integral with p=23>1: ∫1∞x−3/2dx=limt→∞(2−t2)=2. By the comparison test the integral converges, and I≤2. Integrating the lower bound: I≥22=2. The direction matters: the upper bound proves convergence, the lower bound only gives the bracket.
d) Improper at 0, where sinx=0; the integrand is positive on (0,2π]. For 0<x≤2π, 0<sinx≤x (the graph of sin lies under its tangent at 0), so sinx1≥x1. And ∫0π/2xdx=lims→0+(ln2π−lns)=∞, the p-integral with p=1 on (0,a]. An integral ABOVE a divergent one diverges: ∫0π/2sinxdx diverges. Confirmation: ln(tan2x) is an antiderivative, and it tends to −∞ as x→0+.
Part B: applications of the integral (/38)
Exercise 3: One region: its area, its centroid, and the volume Pappus gives for free
Let R be the region enclosed by y=x and y=x3, shown in the figure with its centroid.
a) Find the points where the curves meet and the area A of R.
b) Find the centroid (xˉ,yˉ) of R. Check that the red point of the figure is plausible.
c) R is rotated about the line y=−1. Use the theorem of Pappus to find the volume of the solid, then check it with washers.
Show the solution
Answers
a)x=0 and x=1; A=32−41=125
b)xˉ=2512, yˉ=73
c)V=2π(73+1)125=2125π, confirmed by washers
a) x=x3 gives x=x6 for x≥0, so x(x5−1)=0: x=0 or x=1, at the points (0,0) and (1,1). On (0,1), x>x3 (at x=41: 21 against 641), so the top is x. A=∫01(x1/2−x3)dx=32−41=125.
b) A vertical strip at x has area (x−x3)dx, its arm about the y-axis is x, and its midpoint sits at height 2x+x3. So My=∫01x(x1/2−x3)dx=52−51=51 and Mx=∫0121((x)2−(x3)2)dx=21∫01(x−x6)dx=21(21−71)=285. Divide by the area: xˉ=5/121/5=2512=0.48 and yˉ=5/125/28=2812=73≈0.43.
The trap in Mx is to square the difference, 21(x−x3)2, instead of taking the difference of the squares: the strip is a washer-like band from x3 to x, and its moment is 21(f2−g2). Plausibility: the red point (0.48,0.43) lies inside R, as it must, since R is convex (it lies under the concave curve x and over the convex curve x3) and the centroid of a convex region is inside it. Its abscissa is also close to where the strip height x−x3 is largest: the derivative 2x1−3x2 vanishes when x5/2=61, a little below 21.
c) Pappus: the volume is the area times the distance travelled by the centroid. The centroid is at height 73, so its distance to the axis y=−1 is 73+1=710, and it travels 2π⋅710. V=2π⋅710⋅125=84100π=2125π.
Check with washers perpendicular to the x-axis: the radii are measured FROM the axis y=−1, so Rout=x+1 and Rin=x3+1. V=π∫01[(x+1)2−(x3+1)2]dx=π∫01(x+2x−x6−2x3)dx=π(21+34−71−21)=2125π. The two routes agree; with the radii x and x3, forgetting the shift, one would get the volume about the x-axis, 145π.
Exercise 4: One solid, two methods: shells, then washers that force an inverse
Let R be the region between the parabolas y=x2 and y=4x−x2. The figure shows R, one vertical strip, and the axis x=3. The solid S is obtained by rotating R about the line x=3.
a) Find the volume of S by cylindrical shells.
b) Set up and evaluate the volume of S with washers. Explain why the inner and outer radii require solving y=4x−x2 for x, and which root to keep.
c) Find the volume of the solid obtained by rotating R about the line x=−1 instead. Explain the result with a symmetry of R.
Show the solution
Answers
a)V=2π∫02(3−x)(4x−2x2)dx=332π
b)x=2−4−y on the left, x=y on the right; V=π∫04[(1+4−y)2−(3−y)2]dy=332π
c)332π again: the height 4x−2x2 is symmetric about x=1, which is at distance 2 from both axes
a) Intersections: x2=4x−x2 gives 2x(x−2)=0, so x=0 and x=2, at (0,0) and (2,4); between them 4x−x2≥x2 (at x=1: 3 against 1). A vertical strip at x, parallel to the axis, sweeps a shell of height h(x)=(4x−x2)−x2=4x−2x2 and radius equal to its distance to the axis. The region lies to the LEFT of x=3, so the radius is 3−x, not x and not x−3. V=2π∫02(3−x)(4x−2x2)dx=2π∫02(12x−10x2+2x3)dx=2π(24−380+8)=2π⋅316=332π.
b) Washers need slices PERPENDICULAR to the axis, so horizontal slices at height y, 0≤y≤4. A horizontal line at height y crosses R between the right branch of y=4x−x2 on the left and y=x2 on the right, so both curves must be solved for x. From y=x2 with x≥0: x=y. From x2−4x+y=0: x=2±4−y, and on R the x runs over [0,2], so the root to keep is x=2−4−y (the + root is the other half of the parabola, for 2≤x≤4, outside R). Check at y=3: the slice runs from x=1 to x=3, and indeed 4⋅1−1=3 and (3)2=3.
Both radii are measured from x=3: the far edge is the left one, Rout=3−(2−4−y)=1+4−y, and Rin=3−y. Expanding, Rout2−Rin2=(5−y+24−y)−(9−6y+y)=−4−2y+24−y+6y. Then V=π∫04(−4−2y+2(4−y)1/2+6y1/2)dy=π(−16−16+34⋅8+4⋅8)=π(332), since ∫04(4−y)1/2dy=∫04y1/2dy=316. Same volume, twice the work: this is why shells are the method of choice when the axis is vertical and the curves are given as y=f(x).
c) Shells again, with radius x−(−1)=x+1 since R is to the RIGHT of x=−1: V=2π∫02(x+1)(4x−2x2)dx=2π∫02(4x+2x2−2x3)dx=2π(8+316−8)=332π. The same value is no accident: the height h(x)=2x(2−x) is symmetric about x=1, so the centroid of R has xˉ=1, at distance 2 from both x=3 and x=−1. With A=∫02(4x−2x2)dx=38, Pappus gives 2π⋅2⋅38=332π for both axes, although the two solids have different shapes.
Exercise 5: Pumping out a bowl shaped like a paraboloid
A tank is the surface obtained by rotating the parabola y=x2, 0≤x≤2, about the y-axis (lengths in metres). It is full of water, of density 1000 kg/m3; take g=9.8 m/s2. The figure shows a cross-section and one horizontal layer of water. Give exact answers, in terms of π.
a) Find the work needed to pump all the water out over the rim.
b) Find the work needed to pump out only enough water to lower the level from 4 m to 2 m. Compare the fraction of the work and the fraction of the water.
c) The water must in fact be pumped to a spout 1 m above the rim. Find the new total work.
Show the solution
Answers
a)W=9800π∫04y(4−y)dy=3313600π J
b)9800π⋅316=3156800π J: half the work for three quarters of the water
c)9800π(332+8)=3548800π J
a) Measure y upward from the bottom of the bowl. The layer at height y, of thickness dy, is a disc of radius x=y (the tank wall is y=x2), so its volume is π(y)2dy=πydy, its mass 1000πydy kg and its weight 9800πydy N. It must rise from height y to the rim at height 4: a distance 4−y, not y. So W=∫049800πy(4−y)dy=9800π[2y2−3y3]04=9800π(32−364)=9800π⋅332=3313600π J, about 3.3×105 J.
b) Only the layers between y=2 and y=4 leave, each still lifted to the rim: Wtop=9800π∫24y(4−y)dy=9800π(332−(8−38))=9800π⋅316=3156800π J, exactly HALF of a). The water removed is π∫24ydy=6π m3 out of π∫04ydy=8π m3: three quarters of the water for half of the work. The bowl is wide at the top, so most of the water is near the rim, where it has little distance to travel; the last quarter, at the narrow bottom, costs the other half. Treating the bowl as a cylinder, with a constant layer area, would miss exactly this.
c) Every layer now travels 5−y instead of 4−y: one extra metre for each. W=9800π∫04y(5−y)dy=9800π(40−364)=9800π⋅356=3548800π J. The difference with a) is 9800π⋅8 J, the total weight of the water, 9800⋅8π N, times the extra metre: the extra lift is the same for every layer, so it simply multiplies the total weight.
Exercise 6: A curve whose length element opens, and the surface it sweeps
Let C be the curve y=8x4+4x21 for 1≤x≤2.
a) Show that 1+(dxdy)2 is a perfect square, and find the length of C exactly. Compare with the length of the chord joining its endpoints.
b) C is rotated about the y-axis. Find the area of the surface generated.
Show the solution
Answers
a)1+(y′)2=(2x3+2x31)2; L=1633, longer than the chord 16985
b)S=2π∫12x(2x3+2x31)dx=1067π
a) dxdy=2x3−2x31. Write it a−b with a=2x3 and b=2x31, whose product is ab=41. Then 1+(a−b)2=a2−2ab+b2+1=a2+21+b2=(a+b)2, because 1−2ab=21=2ab. So 1+(y′)2=2x3+2x31, positive on [1,2], and L=∫12(2x3+2x−3)dx=[8x4−4x21]12=(2−161)−(81−41)=1631+81=1633.
The endpoints are (1,83) and (2,1633), a rise of 1627 over a run of 1, so the chord is 1+256729=16985. Since 985<332=1089, the chord is shorter than 1633, as a chord must be. Notice the antiderivative: 8x4−4x21 is y with one sign changed, the signature of these designed curves.
b) About the y-axis the radius of the circle described by a point of C is its distance to that axis, x, not y. So S=∫122πxds=2π∫12x(2x3+2x31)dx=2π∫12(2x4+2x21)dx=2π[10x5−2x1]12=2π(1032−41−101+21)=2π⋅2067=1067π. Two errors cost the mark here: writing 2πxdx instead of 2πxds, which gives the area of a flat ring, and taking the radius y, which rotates about the other axis.
Exercise 7: How far from the target does the drone land?
A delivery drone aims at a target on the ground. In a model of its precision, the distance X, in metres, between the target and the landing point has the density f(x)=(1+x2)2kx for x≥0, and f(x)=0 for x<0. The figure shows f for k=2.
a) Find k.
b) Find the cumulative distribution function F, the probability that the drone lands more than 2 m from the target, and the median distance.
c) Find the mean distance, and explain why it is larger than the median.
Show the solution
Answers
a)∫0∞(1+x2)2xdx=21, so k=2
b)F(x)=1−1+x21 for x≥0; P(X>2)=51; median 1 m
c)μ=∫0∞(1+x2)22x2dx=2π m, about 1.57 m
a) A density must be nonnegative, which holds for k>0 and x≥0, and have total area 1. With u=1+x2, du=2xdx: ∫0t(1+x2)2xdx=21[−u1]11+t2=21(1−1+t21)→21 as t→∞. So k⋅21=1 and k=2.
b) For x≥0, F(x)=∫0x(1+t2)22tdt=1−1+x21, and F(x)=0 for x<0. Then P(X>2)=1−F(2)=1+41=51: one landing in five misses by more than 2 m, the shaded tail of the figure. The median m solves F(m)=21: 1+m21=21, so m2=1 and m=1 m, the positive root since X≥0. The median is NOT the peak of the density, which is at x=31: it is the point that splits the AREA in two.
c) μ=∫0∞xf(x)dx=∫0∞(1+x2)22x2dx, an improper integral; it converges because the integrand behaves like x22 at infinity. By parts with u=x and dv=(1+x2)22xdx, v=−1+x21: ∫0t(1+x2)22x2dx=[−1+x2x]0t+∫0t1+x2dx=−1+t2t+arctant→0+2π. So μ=2π≈1.57 m. (With x=tanθ the integrand becomes 2sin2θdθ on [0,2π], the same 2π.) The mean exceeds the median 1 because the density has a long right tail: the rare landings far from the target pull the average up, but not the middle value.
Part C: sequences and series (/38)
Exercise 8: Five series, five verdicts, five tests
Decide whether each series converges or diverges. Two points each: name the test, CHECK its hypotheses, and state the conclusion. A verdict without its test earns nothing.
a) n=1∑∞nn+3n+1
b) n=1∑∞n!nn(2n)!
c) n=1∑∞(n+1n)n2
d) n=2∑∞nlnn1
e) n=1∑∞(n1−sinn1)
Show the solution
Answers
a)Limit comparison with n1, limit 1: diverges
b)Ratio test, L=e4>1: diverges
c)Root test, L=e1<1: converges
d)Integral test, ∫2∞xlnxdx=∞: diverges
e)Terms positive; limit comparison with n31, limit 61: converges
a) Positive terms. For large n the numerator behaves like n and the denominator like n⋅n1/2, so compare with bn=n1: bnan=nn+3(n+1)n=1+n31+n1→1, a finite positive limit. ∑n1 is a p-series with p=21≤1, divergent, so the series diverges by the limit comparison test. The terms do tend to 0: the divergence test says nothing here.
b) Factorials: the ratio test. anan+1=(2n)!(2n+2)!⋅(n+1)!n!⋅(n+1)n+1nn=n+1(2n+2)(2n+1)⋅(n+1)n+1nn=n+12(2n+1)⋅(n+1n)n. The first factor tends to 4; the second is (1+1/n)n1→e1. So L=e4, and L>1 because e<4: the series diverges, its terms even tend to infinity. The two traps: writing (2n)!(2n+2)!=2n+2, forgetting the factor 2n+1, and reading (n+1n)n as 1 because its base tends to 1.
c) The whole term is an n-th power, an=[(n+1n)n]n: the root test. nan=(n+1n)n=(1+n1)n1→e1<1, so the series converges. Same trap as in b), one level up: the base n+1n tends to 1, but 1∞ is an indeterminate form, and here the exponent n2 wins.
d) Let f(x)=xlnx1 on [2,∞). Hypotheses: f is continuous and positive there (lnx≥ln2>0), and decreasing, since x and lnx are positive and increasing, so their product increases. With u=lnx, du=xdx: ∫2txlnxdx=[2lnx]2t=2lnt−2ln2→∞. The integral diverges, so the series diverges by the integral test, however slowly. Comparing with n1 is useless here: nlnn1<n1 for n≥3, and being smaller than a divergent series proves nothing.
e) Sign first: for 0<t≤1, sint<t, so every term n1−sinn1 is positive. Size: with t=n1 and the Maclaurin series sint=t−6t3+120t5−⋯, t−sint=6t3−120t5+⋯, so compare with bn=n31: bnan=t3t−sint=61−120t2+⋯→61 as n→∞. The limit is finite and positive and ∑n31 converges (p=3), so the series converges. Comparing with n1, the natural first guess, gives the limit 0, which decides nothing for a divergent benchmark.
Exercise 9: Two alternating series: a late decrease, then an error to control
Parts a) and b) are independent. The figure shows the partial sums S1,…,S8 of the series of b), with its sum dashed.
a) Show that n=1∑∞(−1)nn3+4n2 converges, checking that its terms decrease in absolute value from some rank on (give the rank). Does it converge absolutely?
b) Let S=n=1∑∞n3n(−1)n−1. How many terms guarantee an error of at most 10−3? Give that partial sum as a fraction, say whether it is too large or too small, and give an interval that contains S.
c) Find S exactly, and check it against b).
Show the solution
Answers
a)f′(x)=(x3+4)2x(8−x3)<0 for x>2: decreasing from n=2; converges, conditionally (n3+4n2∼n1)
b)b5=12151<10−3<b4=3241: four terms; S4=10831, too small; 10831<S<10831+12151
c)S=ln(1+31)=ln34≈0.2877
a) Here bn=n3+4n2>0 and bn=1+4/n31/n→0. The decrease is not obvious, numerator and denominator both grow, so study f(x)=x3+4x2: f′(x)=(x3+4)22x(x3+4)−x2⋅3x2=(x3+4)28x−x4=(x3+4)2x(8−x3), negative exactly when x3>8, that is x>2. So (bn) decreases from n=2 on: b1=51<b2=31, then b3=319<31, and so on. The alternating series test only needs the decrease EVENTUALLY, since the first term does not affect convergence: the series converges.
Absolutely? ∑bn against n1: 1/nbn=n3+4n3→1, and the harmonic series diverges, so ∑bn diverges by limit comparison. The series converges conditionally, not absolutely.
b) bn=n3n1 is positive, decreasing (both n and 3n increase) and tends to 0, so the alternating series estimate applies: ∣S−SN∣≤bN+1. The first omitted term is the one to test: b4=4⋅811=3241>10−3, while b5=5⋅2431=12151<10−3. So N=4 terms suffice (and three do not guarantee it). S4=31−181+811−3241=324108−18+4−1=32493=10831.
The error S−S4 has the sign of the first omitted term, +12151: S4 is too SMALL. Hence 10831<S<10831+12151. The figure shows it: the odd partial sums sit above the dashed line, the even ones below, and S4 is an even one.
c) For −1<x≤1, ln(1+x)=∑n=1∞n(−1)n−1xn. At x=31, inside the interval, this is exactly our series: S=ln34. Check: ln34=2ln2−ln3≈1.3863−1.0986=0.2877, while 10831≈0.2870: the difference, about 0.0006, is positive and below 12151≈0.0008, as b) promised.
Exercise 10: An interval with its two endpoints, and a series found by differentiating
Parts a) and b) are independent.
a) Find the centre, the radius and the interval of convergence of n=1∑∞3nn2+1(x+1)n. Test each endpoint with its own test.
b) Starting from the geometric series of 1+x1, find a power series for (1+x)31 centred at 0, with its radius. Deduce the exact sum of n=0∑∞(−1)n3n(n+1)(n+2).
Show the solution
Answers
a)Centre −1, radius 3; diverges at x=2, converges conditionally at x=−4: interval [−4,2)
b)(1+x)31=∑n=0∞(−1)n2(n+1)(n+2)xn, R=1; the sum is (4/3)32=3227
a) Centre a=−1, read in the power (x−(−1))n. Ratio test on the absolute values, x=−1 fixed: anan+1=3∣x+1∣⋅(n+1)2+1n2+1→3∣x+1∣. The series converges absolutely when ∣x+1∣<3 and diverges when ∣x+1∣>3: radius R=3, and the open interval is (−4,2). The ratio test is silent at the two endpoints, where the limit is exactly 1, so each is tested separately.
At x=2: x+1=3 and the series is ∑n2+11, positive terms. Limit comparison with n1: n2+1n=1+1/n21→1, and the harmonic series diverges, so the series diverges at x=2. At x=−4: x+1=−3 and the series is ∑n2+1(−1)n. Alternating series test: bn=n2+11 is positive, decreasing because n2+1 increases, and tends to 0: it converges, conditionally by the computation at x=2. The interval of convergence is [−4,2).
b) For ∣x∣<1, 1+x1=∑n=0∞(−1)nxn. Differentiate twice, term by term, which keeps the radius 1: (1+x)2−1=∑n=1∞(−1)nnxn−1 and (1+x)32=∑n=2∞(−1)nn(n−1)xn−2. Shift the index with m=n−2, so (−1)n=(−1)m: (1+x)32=∑m=0∞(−1)m(m+2)(m+1)xm, hence (1+x)31=∑m=0∞(−1)m2(m+1)(m+2)xm for ∣x∣<1. Check the first terms against the binomial series: 1−3x+6x2−⋯.
The numerical series is ∑(−1)n(n+1)(n+2)(31)n=2⋅(1+1/3)31, evaluated at x=31, which is inside the interval ∣x∣<1. So the sum is 2⋅6427=3227. Forgetting the factor 2 of the second derivative, or evaluating at x=−31 because of the sign (−1)n, are the two ways to lose this mark.
Exercise 11: A Maclaurin series from the table, read three ways
Let f(x)=xln(1+x2). Use the Maclaurin series of the table; no derivative of f is to be computed by hand.
a) Find the Maclaurin series of f, its general term, and its interval of convergence.
b) Find f(7)(0) and f(8)(0).
c) Compute x→0limx5xln(1+x2)−xsin2x.
Show the solution
Answers
a)f(x)=∑n=1∞n(−1)n−1x2n+1=x3−2x5+3x7−⋯ on [−1,1]
b)f(7)(0)=37!=1680; f(8)(0)=0
c)−21+31=−61
a) The table gives ln(1+u)=∑n=1∞n(−1)n−1un for −1<u≤1. Substitute u=x2: ln(1+x2)=∑n=1∞n(−1)n−1x2n, then multiply by x: f(x)=∑n=1∞n(−1)n−1x2n+1=x3−2x5+3x7−⋯. The interval moves with the variable: the condition is −1<x2≤1, and x2>−1 always holds, so it is ∣x∣≤1. At x=±1 the series is ±∑n(−1)n−1, the alternating harmonic series, convergent, which confirms both endpoints. For ∣x∣>1 the terms n∣x∣2n+1 tend to infinity. Interval: [−1,1].
b) The series of f at 0 IS its Taylor series, so the coefficient of xk is k!f(k)(0). The coefficient of x7 is the term n=3, 3(−1)2=31, so f(7)(0)=37!=35040=1680. There is no x8: every power is odd, as it must be for the odd function f, so f(8)(0)=0. Seven differentiations of xln(1+x2) by the product and chain rules would take a page.
c) Expand both terms up to x5. From a): xln(1+x2)=x3−2x5+O(x7). For sin2x, use sin2x=21−cos2x and the series of cosine: cos2x=1−2x2+32x4−⋯, so sin2x=x2−3x4+O(x6) and xsin2x=x3−3x5+O(x7). The x3 terms cancel, which is why the expansion must go one step further: the numerator is −2x5+3x5+O(x7)=−6x5+O(x7), and the limit is −61. Stopping at x3 gives x50 and no answer; squaring only the first term of sinx loses the −3x4.
Exercise 12: Taylor's inequality away from zero: arctan 1.1 by hand
The figure shows y=arctanx and its Taylor polynomial T2 of degree 2 centred at a=1 (dashed).
a) Compute T2(x) for f(x)=arctanx at a=1.
b) Use it to approximate arctan1.1, then bound the error with Taylor's inequality, justifying your M without a calculator.
c) Is the approximation too large or too small? Give an interval that contains arctan1.1.
d) Why not simply use the Maclaurin series x−3x3+5x5−⋯ at x=1.1?
Show the solution
Answers
a)T2(x)=4π+2x−1−4(x−1)2
b)arctan1.1≈4π+40019; f′′′≤1 on [1,1.1], ∣R2∣≤6(0.1)3=60001
c)f′′′>0: too small; 4π+40019<arctan1.1<4π+40019+60001
d)That series has radius 1 and diverges at 1.1
a) f(x)=arctanx, f′(x)=1+x21, f′′(x)=−(1+x2)22x. At a=1: f(1)=4π, f′(1)=21, f′′(1)=−42=−21. So T2(x)=f(1)+f′(1)(x−1)+2!f′′(1)(x−1)2=4π+2x−1−4(x−1)2. The division by 2! is the usual slip: without it, the last coefficient would be −21.
b) With x=1.1, x−1=0.1: T2(1.1)=4π+0.05−0.0025=4π+40019. The answer keeps π: it is exact up to the Taylor error, and no calculator is needed. For the bound, f′′′(x)=(1+x2)36x2−2. On the WHOLE interval [1,1.1]: the numerator is at most 6(1.21)−2=5.26 and the denominator at least 23=8, so 0<f′′′(x)≤85.26<1. Take M=1: ∣R2(1.1)∣≤3!M∣1.1−1∣3=61⋅10001=60001.
c) Taylor's formula with the Lagrange remainder writes R2(1.1)=6f′′′(c)(0.1)3 for some c between 1 and 1.1, and f′′′(c)>0 there since 6c2−2≥4. So the error is positive: T2(1.1) is too SMALL, and 4π+40019<arctan1.1<4π+40019+60001. With π≈3.1416 that is between 0.8328 and 0.8331. The figure agrees: just to the right of 1 the dashed parabola passes under the curve. No alternating series is in sight here, so Taylor's inequality, with the sign of f′′′, is the tool that gives both the bound and the side.
d) The series ∑2n+1(−1)nx2n+1 has radius 1: at x=1.1 its terms 2n+1(1.1)2n+1 tend to infinity, so it DIVERGES, although arctan1.1 is a perfectly good number. A series centred at 0 says nothing beyond its radius. This is why the polynomial is centred at a=1, the nearest point where arctan and its derivatives are known exactly, and why the error bound shrinks with ∣x−a∣3=10−3.