This is the corrected exercise set for Taylor and Maclaurin series in MATH 205, Differential and Integral Calculus II, at Concordia University, section 10.8 of Thomas' Calculus.It covers the Taylor series generated by f at x=a and the Maclaurin series, the Taylor polynomial of order n, the reference series of ex, sinx, cosx, 1−x1, ln(1+x) and arctanx, the series obtained from them by substitution, multiplication by a power of x, differentiation and integration, limits computed with series, and integrals with no elementary antiderivative approximated with an error bound from the Alternating Series Estimation Theorem.
What the set covers, the traps it targets
It covers the Taylor series generated by f at x=a and the Maclaurin series, the Taylor polynomial of order n, the reference series of ex, sinx, cosx, 1−x1, ln(1+x) and arctanx, the series obtained from them by substitution, multiplication by a power of x, differentiation and integration, limits computed with series, and integrals with no elementary antiderivative approximated with an error bound from the Alternating Series Estimation Theorem.
At the end you can find a Taylor series by the definition or by the table, read a derivative from it, and answer the Maclaurin series question of the final.
One idea runs through the set: one formula, cn=n!f(n)(a), read in both directions, and a short table that is transformed rather than recomputed. The marks are lost in the algebra: the power of a product, (3x)2n=9nx2n, with the sign (−1)n kept apart; a quotient of factorials, n!(n+2)!=(n+1)(n+2); a constant factored out before the table applies; an index shifted to add two series; the interval of validity moved by the substitution; and the first unused term as the error.
The traps named in the solutions: the coefficient written without its n! (exercises 1 and 6), powers of x instead of x−a (1, 4 and 7), (2x)2n+1 written 2x2n+1 (2, 5 and 8), z=4+x2 put into ln(1+z) (2), two series subtracted without shifting the index (2), a coefficient read at the wrong n (3 and 8), the chain rule forgotten on sec2x (4), order taken for degree (4 and 8), (−4x)2 given a minus sign (5), the factorials of sinx given to arctanx (8), the last term used taken as the error bound, and a count of terms that forgets the index n=0 (9), the constant F(0) dropped when a series is integrated (6), and (4x)2n written 4x2n after a product-to-sum identity (10).
The homework without solutions, one exercise per page, and the solutions on their own: it comes with your free space. An email is enough, no password, and you come back here.
•Taylor series generated by f at x=a: ∑n=0∞n!f(n)(a)(x−a)n; Maclaurin series: a=0. Conversely f(n)(a)=n!cn.
•Taylor polynomial of order n: Pn(x)=∑k=0nk!f(k)(a)(x−a)k; its degree can be lower than n.
•ex=∑n!xn, sinx=∑(2n+1)!(−1)nx2n+1, cosx=∑(2n)!(−1)nx2n, for every x.
•1−x1=∑xn for ∣x∣<1; ln(1+x)=∑n≥1n(−1)n−1xn for −1<x≤1; arctanx=∑2n+1(−1)nx2n+1 for ∣x∣≤1.
•Substitution: (cxm)n=cnxmn; the series holds for the x that put cxm in the interval of the table.
•Alternating series ∑(−1)nun with un decreasing to 0: the error after stopping at n=N is at most uN+1, with the sign of the first unused term.
Part A: the basics (/50)
Exercise 1: Coefficients from the definition: the nth derivative at a, divided by n!
9 answers to check
Let f have derivatives of all orders on an interval containing a as an interior point. The Taylor series generated by f at x=a is ∑n=0∞n!f(n)(a)(x−a)n; the Maclaurin series generated by f is the case a=0 (Thomas 10.8). The method from the definition: differentiate until a pattern appears, check the pattern, evaluate at a, divide by n!, and simplify the quotient of factorials. The powers are powers of (x−a), never of x.
The calculator is allowed: give the coefficients exactly, and the values asked to four decimals.
a) Find the Maclaurin series generated by f(x)=2x, with its general term. Give c3.
b) For g(x)=x31, find g′, g′′, g′′′, then a formula for g(n)(x). Deduce the Taylor series generated by g at x=1, with its general term written without factorials. Give c3 and c4.
c) Find the radius and the interval of convergence of the series of b).
d) Find the Maclaurin series generated by h(x)=xex from the definition: show that h(n)(x)=(x+n)ex, then write the general term. Give h(4)(0) and c4.
e) Write the Taylor polynomial of order 2 of g at x=1, and compare P2(1.1) with g(1.1) at the calculator.
Pattern: the sign alternates, the exponent is −(n+3), and the constants 3, 12, 60 are 3, 3⋅4, 3⋅4⋅5, that is 2(n+2)!. So g(n)(x)=(−1)n2(n+2)!x−(n+3); differentiating once more multiplies by −(n+3), which gives the formula for n+1.
At 1: g(n)(1)=(−1)n2(n+2)!.
cn=n!g(n)(1)=(−1)n2n!(n+2)!=(−1)n2(n+1)(n+2), since (n+2)!=(n+2)(n+1)n!.
Pitfall: writing cn=g(n)(1), without the division by n!; the coefficient of (x−1)3 would be −60 instead of −10.
Pitfall: writing xn instead of (x−1)n. The coefficients describe g near 1; with powers of x the series would describe nothing.
c)
Ratio of consecutive terms: cn(x−1)ncn+1(x−1)n+1=(n+1)(n+2)(n+2)(n+3)∣x−1∣=n+1n+3∣x−1∣→∣x−1∣.
By the Ratio Test the series converges absolutely for ∣x−1∣<1 and diverges for ∣x−1∣>1: R=1.
At x=0 and at x=2, ∣(x−1)n∣=1 and the terms have size 2(n+1)(n+2)→∞: both series diverge by the nth-Term Test.
Interval of convergence: (0,2). The function x31 exists far beyond it, but its series at 1 stops at the distance of the point x=0, where g is not defined.
d)
Product rule: h′(x)=ex+xex=(x+1)ex. If h(n)(x)=(x+n)ex, then h(n+1)(x)=ex+(x+n)ex=(x+n+1)ex: the pattern carries on.
At 0: h(n)(0)=n, so h(4)(0)=4.
c0=0 and, for n≥1, cn=n!n=(n−1)!1, since n!=n(n−1)!.
xex=∑n=1∞(n−1)!xn=x+x2+2x3+6x4+⋯, and c4=3!1=61.
Exercise 3 finds the same series in one line, by multiplying the series of ex by x.
e)
P2(x)=c0+c1(x−1)+c2(x−1)2=1−3(x−1)+6(x−1)2.
P2(1.1)=1−0.3+0.06=0.76, and g(1.1)=1.3311≈0.7513.
The gap, about 0.0087, is close to the next term, ∣c3∣(0.1)3=0.01: near the centre each added term changes the value less.
Points are earned before the solution; after it, you can keep practising.
For you:
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: The table of reference series: substitute, keep the sign apart, move the interval
11 answers to check
Reference series, to know by heart: 1−x1=∑n=0∞xn for ∣x∣<1; ex=∑n=0∞n!xn, sinx=∑n=0∞(2n+1)!(−1)nx2n+1 and cosx=∑n=0∞(2n)!(−1)nx2n for every x; ln(1+x)=∑n=1∞n(−1)n−1xn for −1<x≤1; arctanx=∑n=0∞2n+1(−1)nx2n+1 for −1≤x≤1.
To get a new series, replace x by an expression z, never differentiate again. The algebra: (cxm)n=cnxmn, the sign (−1)n written apart; a factor xk adds k to every exponent; and the series holds for the x that put z in the interval of the table.
a) sinxcosx. Rewrite it with an identity first, then give the general term and the coefficients of x3 and x5.
b) ln(4+x2). Factor out 4 first. Give the general term, the constant term, the coefficient of x4 and the interval where the series equals the function.
c) xarctan(3x). Give the general term, the coefficient of x4 and the interval of validity.
d) (1−x)ex. Write it as the sum of two series, shift the index of one of them, and give the general term; then c1 and c3.
e) xsin(x3), completed by its limit 0 at x=0. Give the general term, the coefficient of x8, and say for which x the series is valid.
Show the solution
Answers
a)sinxcosx=21sin2x=∑n=0∞(2n+1)!(−1)n22nx2n+1; coefficients −32 and 152
b)ln4+∑n=1∞n4n(−1)n−1x2n; constant ln4≈1.3863; coefficient of x4: −321; valid on [−2,2]
c)∑n=0∞2n+1(−1)n32n+1x2n+2; coefficient of x4: −9; valid on [−31,31]
d)(1−x)ex=∑n=0∞n!1−nxn; c1=0, c3=−31
e)∑n=0∞(2n+1)!(−1)nx6n+2; coefficient of x8: −61; valid for every x
a)
sin2x=2sinxcosx, so sinxcosx=21sin2x.
With z=2x: sin2x=∑(2n+1)!(−1)n(2x)2n+1 and (2x)2n+1=22n+1x2n+1.
21⋅22n+1=22n: sinxcosx=∑n=0∞(2n+1)!(−1)n22nx2n+1=x−32x3+152x5−⋯, for every x.
Pitfall:(2x)2n+1=2x2n+1. The power applies to the 2 as well; the coefficient of x3 would become −61.
Multiplying the series of sinx and cosx term by term is not on the MATH 205 outline; the identity makes it unnecessary.
b)
ln(4+x2)=ln(4(1+4x2))=ln4+ln(1+4x2), by the law ln(ab)=lna+lnb.
With z=4x2 in the series of ln(1+z): (4x2)n=4nx2n, so ln(4+x2)=ln4+∑n=1∞n4n(−1)n−1x2n.
Constant term ln4≈1.3863; coefficient of x4 (n=2): 2⋅16−1=−321.
Validity: −1<4x2≤1, that is x2≤4, so −2≤x≤2, endpoints included since z=1 is included in the table.
Pitfall: putting z=4+x2 or z=3+x2 into ln(1+z). That z is never in (−1,1], and the series is false everywhere; the constant must be factored out first.
c)
With z=3x: arctan3x=∑2n+1(−1)n(3x)2n+1=∑2n+1(−1)n32n+1x2n+1.
Times x: xarctan3x=∑n=0∞2n+1(−1)n32n+1x2n+2=3x2−9x4+5243x6−⋯
Coefficient of x4 (n=1): −327=−9.
Validity: −1≤3x≤1, so −31≤x≤31. Multiplying by x does not change the interval.
d)
(1−x)ex=∑n=0∞n!xn−∑n=0∞n!xn+1.
Shift the index of the second sum, m=n+1: ∑n=0∞n!xn+1=∑m=1∞(m−1)!xm.
For n≥1, the coefficient of xn is n!1−(n−1)!1=n!1−n, since (n−1)!1=n!n; for n=0 it is 1=0!1−0.
(1−x)ex=∑n=0∞n!1−nxn=1−2x2−3x3−⋯, for every x. c1=0 and c3=−62=−31.
Pitfall: subtracting the two sums with the same index n; the terms n!xn and n!xn+1 are not of the same degree.
e)
With z=x3: sin(x3)=∑n=0∞(2n+1)!(−1)n(x3)2n+1=∑n=0∞(2n+1)!(−1)nx6n+3, since 3(2n+1)=6n+3.
Divide by x, which lowers every exponent by 1: xsin(x3)=∑n=0∞(2n+1)!(−1)nx6n+2=x2−6x8+120x14−⋯
Coefficient of x8: 6n+2=8 gives n=1, so −3!1=−61.
The series of sinz holds for every z, so this one holds for every x=0, and at x=0 it gives 0, the value chosen: valid for every x.
Pitfall: writing (x3)2n+1=x2n+4; a power of a power multiplies the exponents.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: Multiply by x, differentiate, integrate: one series gives three others
6 answers to check
Inside its interval of convergence, a power series can be multiplied by a power of x, differentiated term by term and integrated term by term (Thomas 10.7), and the new series converges to the product, the derivative or the integral. A Taylor series is unique: whatever the route, a power series equal to f near a has the coefficients n!f(n)(a).
The work of this exercise is in the exponents and the factorials: x⋅xn=xn+1, dxdxn+1=(n+1)xn, ∫01xn+1dx=n+21. Every series here comes from ex=∑n=0∞n!xn, valid for every x.
a) Write the Maclaurin series of xex by multiplying the series of ex by x. Compare with Exercise 1 d), and give the coefficient of x5.
b) Differentiate the series of a) term by term. Which function does the new series represent? Give its general term and the coefficient of x3.
c) Deduce the exact sum of ∑n=0∞n!n+1, then a decimal.
d) Integrate the series of a) from −1 to 0, evaluate ∫−10xexdx by parts, and deduce the sum of ∑n=0∞n!(n+2)(−1)n. Give also the sum of its first four terms.
e) What is the sum of ∑n=0∞n!(−1)n(n+1)? Justify that the value of x you use is allowed.
Show the solution
Answers
a)xex=∑n=0∞n!xn+1, the series of Exercise 1 d) after the shift m=n+1; coefficient of x5: 241
b)(1+x)ex=∑n=0∞n!(n+1)xn; coefficient of x3: 32
c)2e≈5.4366
d)∫−10xexdx=e2−1, so ∑n=0∞n!(n+2)(−1)n=1−e2≈0.2642; first four terms: 12031≈0.2583
e)0, the value of (1+x)ex at x=−1, allowed since the series converges for every x
a)
xex=xn=0∑∞n!xn=n=0∑∞n!xn+1=x+x2+2!x3+3!x4+⋯
With m=n+1: ∑m=1∞(m−1)!xm, the series of Exercise 1 d), found there with four derivatives and a pattern.
Coefficient of x5: n+1=5, so n=4 and 4!1=241.
Pitfall: reading the coefficient of x5 at n=5, which gives 1201. The exponent is n+1, not n.
b)
dxdn!xn+1=n!(n+1)xn, so ∑n=0∞n!(n+1)xn represents dxd(xex)=ex+xex=(1+x)ex.
Coefficient of x3: 3!4=64=32.
Check with Exercise 2 d) style: (1+x)ex=∑n!xn+∑n!xn+1, and for n≥1 the coefficient is n!1+n!n=n!n+1.
c)
At x=1: ∑n=0∞n!n+1=(1+1)e1=2e≈5.4366.
The series of ex converges for every x, so the differentiated series does too, and x=1 is allowed.
d)
Term by term on [−1,0]: ∫−10n!xn+1dx=n!1[n+2xn+2]−10=−n!(n+2)(−1)n+2=−n!(n+2)(−1)n, since (−1)n+2=(−1)n.
So ∫−10xexdx=−∑n=0∞n!(n+2)(−1)n.
By parts, u=x, dv=exdx, du=dx, v=ex: ∫−10xexdx=[xex]−10−∫−10exdx=e1−(1−e1)=e2−1.
Hence ∑n=0∞n!(n+2)(−1)n=1−e2≈0.2642.
First four terms: 21−31+81−301=12060−40+15−4=12031≈0.2583; the series alternates with decreasing sizes, and the gap is below the next term, 4!⋅61=1441≈0.0069.
Pitfall:(−1)n+2 written −(−1)n; the sign of every term would flip.
e)
The series is the one of b) at x=−1: (−1)n=xn for x=−1.
∑n=0∞n!(n+1)(−1)n=(1+(−1))e−1=0.
The value x=−1 is allowed because the series of b) converges to (1+x)ex for every real x.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: Taylor polynomials of tan x: order against degree, and how far to trust them
10 answers to check
The Taylor polynomial of order n generated by f at x=a is Pn(x)=∑k=0nk!f(k)(a)(x−a)k (Thomas 10.8). Thomas says order rather than degree because f(n)(a) can be 0: the polynomial of order n may have a lower degree. Pn agrees with f and its first n derivatives at a, so it is built for values of x near a.
Here f(x)=tanx. The figure shows y=tanx with its Taylor polynomials P1 (dashed) and P3 at x=0. Use the calculator in radian mode.
a) Compute f′, f′′ and f′′′ in terms of secx and tanx, then f(k)(0) for k=0 to 3. Write P1 and P3 at 0.
b) Show that f(4)(0)=0 without computing f(4), using the parity of tanx. What are the order and the degree of P4?
c) Compute P3(0.2) and compare with tan0.2, then compute tan1−P3(1). Using the figure, is P3(x) above or below tanx on the interval (0,2π)?
d) Compute the Taylor polynomial of order 2 generated by tanx at the centre a=4π, and use it to approximate tan0.8.
e) Why can no Taylor polynomial at 0 stay close to tanx on the whole interval (−2π,2π)?
x−4π=0.8−0.785398≈0.014602, so P2(0.8)≈1+0.029204+0.000426≈1.0296; the calculator gives tan0.8≈1.029639.
Pitfall: using (0.8)2 and 0.8 in place of the powers of x−4π. The polynomial is centred at 4π, and that is why it is accurate at 0.8.
e)
As x→2π−, tanx→+∞ (vertical asymptote).
A polynomial is continuous on [−2π,2π], so it is bounded there: its gap with tanx grows without bound near the asymptotes, whatever its order.
Raising the order improves the approximation near 0; it cannot remove the asymptotes.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: Limits by series: expand until a term survives
5 answers to check
At a 00 form, replace each function by its Maclaurin series, simplify, and read the limit on the lowest power that does not cancel. The only decision is how far to expand: until the numerator and the denominator each keep a nonzero term. L'Hôpital's Rule reaches the same limits, often after three rounds of derivatives.
The figure shows y=x3x−arctanx on [−4,4]: the formula has no value at 0, and the curve approaches a height marked by the open circle. Find each limit.
a) limx→0x3x−arctanx, and check it on the figure.
b) limx→0x4cos2x−1+2x2
c) limx→0x2ln(1−4x)+4x
d) limx→0xsinxe−x−1+x
e) limx→0x3sin3x−3x. A student writes sin3x=3x−63x3+⋯ and finds −21. Correct the expansion and the limit.
Show the solution
Answers
a)31, the height of the open circle
b)32
c)−8
d)21
e)sin3x=3x−627x3+⋯, limit −29
a)
arctanx=x−3x3+5x5−⋯, so x−arctanx=3x3−5x5+⋯
x3x−arctanx=31−5x2+⋯→31.
On the figure the open circle sits at y=31≈0.33, and the curve is symmetric: the function is even, as the series in powers of x2 shows.
b)
cosz=1−2z2+24z4−⋯ with z=2x: cos2x=1−2x2+2416x4−⋯=1−2x2+32x4−⋯
cos2x−1+2x2=32x4−454x6+⋯, so the limit is 32.
Expanding only to x2 leaves 0 on top: the x4 term is the one that survives.
c)
ln(1+z)=z−2z2+⋯ with z=−4x: ln(1−4x)=−4x−216x2−⋯=−4x−8x2−⋯
ln(1−4x)+4x=−8x2−364x3−⋯, so the limit is −8.
Pitfall:(−4x)2=−16x2. An even power of a negative number is positive, and the minus sign comes from the series: −2z2.
d)
e−x=1−x+2x2−6x3+⋯, so e−x−1+x=2x2−6x3+⋯
xsinx=x(x−6x3+⋯)=x2−6x4+⋯
Divide numerator and denominator by x2: 1−6x2+⋯21−6x+⋯→21.
e)
With z=3x: sin3x=3x−6(3x)3+⋯=3x−627x3+⋯=3x−29x3+⋯
x3sin3x−3x=−29+4081x2−⋯→−29.
Pitfall: the student cubed the x and not the 3. The substitution replaces the whole variable: z3=(3x)3=27x3.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: Reading the series backwards: the nth derivative is n! times the coefficient
8 answers to check
The coefficient formula works in both directions. Once a power series equal to f near a is known, by the table, a substitution or a term-by-term integration, every derivative at the centre is read from it: f(n)(a)=n!cn. A missing power means a zero derivative. This replaces a dozen differentiations by one line.
Here the function is defined by an integral: F(x)=2+∫0xcos(t3)dt. Its integrand has no elementary antiderivative, so F has no formula, and its series is the way to know it near 0.
a) Use the Fundamental Theorem of Calculus to write F′(x). Find the Maclaurin series of F′, then of F, with their general terms. Give F(0) and the coefficient of x7 in the series of F.
b) Give F(7)(0) and F(8)(0). Check F(7)(0) a second way, as the sixth derivative of F′ at 0, read on the series of F′.
c) For h(x)=(1−x)ex, use the series of Exercise 2 d) to give h(n)(0) for every n, then h(10)(0).
d) Give F(13)(0) as an integer.
e) Using the series of F′′, find the sign of F′′(x) for x close to 0, on each side. What does the graph of F have at the point (0,2)?
Show the solution
Answers
a)F′(x)=cos(x3)=∑n=0∞(2n)!(−1)nx6n; F(x)=2+∑n=0∞(6n+1)(2n)!(−1)nx6n+1=2+x−14x7+⋯; F(0)=2, coefficient of x7: −141
b)F(7)(0)=7!⋅(−141)=−360=6!⋅(−21); F(8)(0)=0
c)h(n)(0)=1−n; h(10)(0)=−9
d)F(13)(0)=31213!=19958400
e)F′′(x)=−3x5+2x11−⋯: positive for x<0, negative for x>0 near 0; a point of inflection at (0,2)
a)
The integrand cos(t3) is continuous, so by the Fundamental Theorem, Part 1: F′(x)=cos(x3).
With z=x3 in cosz: (x3)2n=x6n, so F′(x)=∑n=0∞(2n)!(−1)nx6n=1−2x6+24x12−⋯, for every x.
Term by term from 0: ∫0xt6ndt=6n+1x6n+1, so F(x)=2+∑n=0∞(6n+1)(2n)!(−1)nx6n+1=2+x−14x7+312x13−⋯
F(0)=2, and the coefficient of x7 (n=1) is −7⋅2!1=−141.
Pitfall: dropping the 2. The integral from 0 to x is 0 at x=0; the constant term of F is F(0)=2.
b)
F(7)(0)=7!c7=5040⋅(−141)=−360.
No power x8 appears: F(8)(0)=0.
Second way: F(7)=(F′)(6), and the coefficient of x6 in the series of F′ is −21, so (F′)(6)(0)=6!⋅(−21)=−360. The two routes agree.
Pitfall: answering F(7)(0)=−141. The coefficient is 7!F(7)(0), not the derivative itself.
c)
Exercise 2 d): (1−x)ex=∑n=0∞n!1−nxn, so cn=n!1−n.
Simplifying the 13 before multiplying keeps the numbers within the calculator's display.
e)
Differentiate the series of F′ term by term: F′′(x)=−26x5+2412x11−⋯=−3x5(1−6x6+⋯).
For x close to 0 the bracket is close to 1, so F′′(x) has the sign of −3x5: positive for x<0, negative for x>0.
Check by the rules: F′′(x)=−3x2sin(x3), and sin(x3) has the sign of x for ∣x∣<π1/3.
The concavity changes at x=0: the graph of F has a point of inflection at (0,2). The first nonzero term after x, of odd degree 7, is what decides it.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: A Taylor series away from 0: x e^x at x = -1, by two routes
10 answers to check
At a centre a=0, two routes lead to the same series: the definition, with the derivatives evaluated at a; or rewriting the function in powers of (x−a), then a reference series. The uniqueness of the Taylor series says they must agree, which makes each route a check of the other.
Here f(x)=xex and a=−1. The figure shows y=xex on [−3.5,0.35] and, dashed, its Taylor polynomial P2 at x=−1. Exact values are asked with e, decimals to four places.
a) Using f(n)(x)=(x+n)ex (Exercise 1 d)), give f(n)(−1), then f′′(−1) and f(5)(−1).
b) Write the Taylor series generated by f at x=−1, with its general term. Give c0, c1 and c2.
c) Second route: write x=(x+1)−1 and ex=e−1ex+1, expand with the series of ez for z=x+1, and collect the coefficient of (x+1)n. Give c3.
d) What do c1 and c2 say about f at x=−1? Compute P2(−0.5) and f(−0.5), and compare on the figure.
Pitfall:x−a with a=−1 is x+1; writing (x−1)n centres the series at the wrong point.
c)
xex=((x+1)−1)e−1ex+1=e−1[(x+1)−1]∑n=0∞n!(x+1)n.
=e−1[∑n=0∞n!(x+1)n+1−∑n=0∞n!(x+1)n].
Shift the first sum, m=n+1: it becomes ∑m=1∞(m−1)!(x+1)m.
For n≥1, the coefficient of (x+1)n is e−1((n−1)!1−n!1)=e−1n!n−1, since (n−1)!1=n!n; for n=0 it is −e−1.
The two routes agree. c3=6e2=3e1≈0.1226.
The rewriting ex=e−1ex+1 uses the law eu+v=euev; it is the algebra that makes the reference series usable at a=−1.
d)
c1=f′(−1)=0: x=−1 is a critical point. f′′(−1)=2c2=e1>0: by the Second Derivative Test it is a local minimum, of value f(−1)=−e1≈−0.3679.
P2(x)=−e1+2e1(x+1)2, a parabola with the same lowest point, the dashed curve of the figure.
P2(−0.5)=−e1+2e0.25≈−0.3219, and f(−0.5)=−0.5e−0.5≈−0.3033.
On the figure the parabola stays close to the curve near x=−1 and separates from it farther away, as the gap of about 0.019 at x=−0.5 shows.
e)
cncn+1=(n+1)!n⋅n−1n!=(n+1)(n−1)n→0 for n≥2.
By the Ratio Test, cncn+1∣x+1∣→0<1 for every x: the series converges for every real x, as the series of ez does.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
10 answers to check
Each statement below is false. Say what is wrong, give the correct statement, and settle it with a short computation: a coefficient compared, a value of x put in, or a counterexample.
a) The Maclaurin series of e−2x is ∑n=0∞n!−2xn.
b) The Taylor polynomial of order 4 generated by sinx at x=0 has degree 4.
c) arctanx=∑n=0∞(2n+1)!(−1)nx2n+1 for every x.
d) In the Maclaurin series of x3ex, the coefficient of x5 is 5!1.
e) If f(x)=∑n=0∞cn(x−3)n near x=3, then f′′(3)=c2.
Show the solution
Answers
a)False: e−2x=∑n=0∞n!(−2)nxn; the coefficient of x2 is 2, and the claim gives −2 for the value at 0 instead of 1
b)False: P4(x)=x−6x3, of degree 3, since sin(4)(0)=0
c)False: that is the series of sinx; arctanx=∑n=0∞2n+1(−1)nx2n+1 for ∣x∣≤1, coefficient of x5: 51
d)False: x3ex=∑n=0∞n!xn+3, and x5 comes from n=2: coefficient 21
e)False: f′′(3)=2!c2=2c2; for f(x)=(x−3)2, c2=1 and f′′(3)=2; with c2=5, f′′(3)=10
a)
False. With z=−2x, zn=(−2x)n=(−2)nxn: the power applies to −2 as well.
e−2x=n=0∑∞n!(−2)nxn=1−2x+2x2−34x3+⋯
Test at x=0: e0=1, while the claim gives 0!−2⋅1=−2. Coefficient of x2: 24=2, the claim gives −1.
b)
False. The derivatives of sinx at 0 are 0,1,0,−1,0: sin(4)(0)=sin0=0.
P4(x)=x−3!x3+4!0x4=x−6x3: order 4, degree 3, and P4=P3.
This is why Thomas says order: the order counts the derivatives used, the degree the highest power that survives.
c)
False. The factorials belong to sinx; the series of arctanx has the plain odd numbers 2n+1 in the denominators, and it holds only for −1≤x≤1.
Coefficient of x3: −31 for arctan, −61 in the claim. Coefficient of x5: 51, against 1201.
Test at x=1: the claim sums to sin1≈0.8415, while arctan1=4π≈0.7854.
d)
False. x3ex=∑n=0∞n!xn+3, and n+3=5 gives n=2.
The coefficient of x5 is 2!1=21.
Consequence for Exercise 6: the fifth derivative of x3ex at 0 is 5!⋅21=60, not 1.
e)
False. The coefficient is c2=2!f′′(3), so f′′(3)=2c2.
Counterexample: f(x)=(x−3)2 is its own Taylor series at 3, with c2=1; and f′′(x)=2, so f′′(3)=2=1.
In general f′′(3)=2c2: with c2=5, f′′(3)=10.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: The 68 and 95 percent rule: a normal probability computed by series
9 answers to check
In statistics, a standard normal variable Z has the density 2π1e−z2/2, and P(a≤Z≤b)=2π1∫abe−z2/2dz. The function e−z2/2 has no elementary antiderivative: the tables of the normal distribution, and the familiar rule “about 68% of the values within one standard deviation, about 95% within two”, come from computations like the one below.
The figure shows the density, with the area P(−1≤Z≤1) shaded. The department's calculator does not integrate: it adds terms. Work with the exact terms, then decimals.
a) Find the Maclaurin series of e−z2/2, with its general term, and the coefficient of z4.
b) Integrate term by term to write I1=∫01e−z2/2dz as an alternating numerical series ∑(−1)nun. Give u2 and u3 as fractions.
c) Check the conditions of the Alternating Series Test. How many terms guarantee an error on I1 below 5×10−5? Give the sum of these terms to four decimals.
d) Deduce P(−1≤Z≤1) to four decimals. Is your value an overestimate or an underestimate?
e) Same work for P(−2≤Z≤2): write ∫02e−z2/2dz as an alternating series, find how many terms guarantee an error on the probability below 5×10−5, and give the probability to four decimals. Why are more terms needed?
Show the solution
Answers
a)e−z2/2=∑n=0∞2nn!(−1)nz2n for every z; coefficient of z4: 81
b)I1=∑n=0∞2nn!(2n+1)(−1)n; u2=401, u3=3361
c)Five terms (n=0 to 4), since u5=422401<5×10−5<u4; I1≈0.8556
d)P(−1≤Z≤1)≈0.6827, an overestimate (by less than 2×10−5)
e)∑n=0∞n!(2n+1)(−1)n2n+1; ten terms (n=0 to 9); P(−2≤Z≤2)≈0.9545; the terms carry 22n+1 and shrink more slowly
a)
With x=−2z2 in ex=∑n!xn: (−2z2)n=2n(−1)nz2n.
e−z2/2=∑n=0∞2nn!(−1)nz2n=1−2z2+8z4−48z6+⋯, for every z.
Coefficient of z4 (n=2): 4⋅21=81.
b)
∫01z2ndz=2n+11, so I1=∑n=0∞2nn!(2n+1)(−1)n=1−61+401−3361+34561−⋯
u2=4⋅2⋅51=401 and u3=8⋅6⋅71=3361.
Term-by-term integration is allowed on [0,1] because the series of a) converges for every z.
c)
un=2nn!(2n+1)1 is positive; it decreases since each factor of the denominator increases with n; and un→0. The Alternating Series Test applies.
By the Alternating Series Estimation Theorem, stopping at n=N leaves an error at most uN+1.
u4=34561≈2.9×10−4 is too large; u5=32⋅120⋅111=422401≈2.4×10−5<5×10−5.
So stop at N=4: five terms, n=0 to 4, since the index starts at 0.
1−61+401−3361+34561≈0.855646, so I1≈0.8556.
Pitfall: taking the last term used, u4, as the bound; the bound is the first unused term.
d)
The integrand is even, so ∫−11=2∫01, and P(−1≤Z≤1)=2π2I1≈0.797885×0.855646≈0.682707.
The first unused term is −u5, negative: the five-term sum is an overestimate of I1, by at most u5.
The error on the probability is at most 0.797885×u5≈1.9×10−5, so 0.682688<P<0.682707, and P(−1≤Z≤1)≈0.6827: the 68% of the rule.
e)
∫02z2ndz=2n+122n+1, and 2n22n+1=2n+1: ∫02e−z2/2dz=∑n=0∞n!(2n+1)(−1)n2n+1=2−34+54−218+⋯
The sizes vn=n!(2n+1)2n+1 decrease from n=0 (ratio vnvn+1=(n+1)(2n+3)2(2n+1)<1) and tend to 0.
Error on the probability: 2π2vN+1<5×10−5 requires vN+1<6.27×10−5. At the calculator v9≈1.5×10−4 and v10≈2.7×10−5: N+1=10, so ten terms, n=0 to 9.
Their sum is ≈1.196265, and P(−2≤Z≤2)≈0.797885×1.196265≈0.954481, an underestimate by at most 2.2×10−5 (the first unused term is positive): P≈0.9545, the 95% of the rule.
Each term now carries 22n+1 from the upper bound: the farther the bound from the centre 0 of the series, the more terms a given accuracy costs.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: A final exam question: a product turned into a sum, then a limit and an exact sum
4 answers to check
(8 marks) Let f(x)=cosxcos3x. The figure shows its graph on [−23,23] and, dashed, the parabola y=1−5x2 near 0.
This is the format of the last question of the common final, in three hours: a Maclaurin series built from a known one, then uses of it. The marks are given per part; give exact values.
a) (4 marks) Use the identity cosAcosB=21[cos(A−B)+cos(A+B)] and the series of cosz to find the Maclaurin series of f, with its general term. Give its first three nonzero terms.
b) (2 marks) Use the series to evaluate limx→0x4cosxcos3x−1+5x2.
c) (2 marks) Find the exact sum of the series ∑n=0∞2(2n)!(−1)n[(2π)2n+π2n].
Show the solution
Answers
a)f(x)=21(cos2x+cos4x)=∑n=0∞2(2n)!(−1)n(4n+16n)x2n=1−5x2+317x4−⋯, for every x
b)317
c)f(4π)=cos4πcos43π=−21
a)
With A=x, B=3x: cosxcos3x=21[cos(−2x)+cos4x]=21(cos2x+cos4x), since cos is even (1 mark).
cos2x=∑(2n)!(−1)n(2x)2n=∑(2n)!(−1)n4nx2n and cos4x=∑(2n)!(−1)n16nx2n, since (4x)2n=16nx2n (1 mark).
Add and halve: f(x)=∑n=0∞2(2n)!(−1)n(4n+16n)x2n, for every x (1 mark).
n=0: 22=1; n=1: −2⋅220=−5; n=2: 2⋅24272=317. So f(x)=1−5x2+317x4−⋯ (1 mark).
Pitfall:(4x)2n=4x2n; the coefficient of x2 would come out as −44+4=−2 instead of −5, and the dashed parabola of the figure shows the curvature −5.
Multiplying the series of cosx and cos3x term by term is omitted by the MATH 205 outline; the identity turns the product into a sum.
b)
cosxcos3x−1+5x2=317x4−⋯, the next term being of degree 6 (1 mark).
Divide by x4: the quotient tends to 317 (1 mark).
c)
Compare with the general term of a): (4n+16n)x2n=(2x)2n+(4x)2n. With x=4π, 2x=2π and 4x=π: the series is f(4π) (1 mark).
f(4π)=cos4πcos43π=22⋅(−22)=−21, and x=4π is allowed since the series of a) converges for every x (1 mark).
Pitfall: taking x=2π because of the first power; then 4x=2π, and the terms do not match.
Points are earned before the solution; after it, you can keep practising.
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.
I tutor first-year calculus at Concordia and McGill, in English or in French, in Montreal or online, with the algebra behind every rule. Get in touch for a first session.