Power Series, Taylor Expansion and the Remainder

A power series can represent a function on an interval. Its Taylor coefficients are built from the derivatives at a point. The Lagrange remainder bounds the error of a truncation and shows whether the series represents the function at all.

Definition

Power series. ∑ n = 0 ∞ c n ( x − a ) n converges on an interval centred at a , whose half-width is the radius of convergence R , usually found by the ratio test. Endpoints must be checked separately.

Taylor series. If f has derivatives of all orders at a ,

f ( x ) ∼ ∑ n = 0 ∞ f ( n ) ( a ) n ! ( x − a ) n ,

called the Maclaurin series when a = 0 . The n th Taylor polynomial T n truncates this at degree n .

The remainder. f ( x ) − T n ( x ) = R n ( x ) , and Lagrange's form gives

| R n ( x ) | ≤ M | x − a | n + 1 ( n + 1 ) ! ,

where M bounds | f ( n + 1 ) | between a and x . The series represents f exactly where R n → 0 , which is not automatic, and is the step that makes the expansion a theorem rather than a formal manipulation.

Assumptions and scope

  • A power series' endpoints must be tested separately. The ratio test gives the radius and says nothing about x = a ± R .

  • A function may have a Taylor series that converges everywhere and equals the function nowhere except the centre. Convergence of the series and representation of the function are different claims, separated by whether R n → 0 .

Worked material

Example

The series worth knowing by heart

1 1 − x = ∑ n = 0 ∞ x n for | x | < 1 . The geometric series, and the only one with an elementary closed form. Everything else in this list can be obtained from it by differentiating, integrating or substituting. At x = 0.5 the sum is 2, at x = 0.9 it is 10, and at x = 1.5 the terms grow and the series diverges.

e x = ∑ n = 0 ∞ x n n ! for all x . Every derivative is e x , so every coefficient is 1 / n ! . The factorial in the denominator is what gives an infinite radius of convergence. It eventually outgrows x n for any fixed x .

sin ⁡ x = x − x 3 3 ! + x 5 5 ! − ⋯ for all x . Odd powers only, because sin is odd. At x = 0.5 the successive truncations give 0.5 , 0.47917 , 0.47943 against the exact 0.47943 , three terms already agree to five decimals. At x = 1 they give 1 , 0.83333 , 0.84167 against 0.84147 , converging more slowly since x is larger.

cos ⁡ x = 1 − x 2 2 ! + x 4 4 ! − ⋯ for all x . Even powers only, being the derivative of the sin series term by term.

ln ⁡ ( 1 + x ) = x − x 2 2 + x 3 3 − ⋯ for − 1 < x ≤ 1 . Obtained by integrating the geometric series for 1 1 + x . The radius is 1, and the endpoints differ: at x = 1 the series is the alternating harmonic, converging to ln ⁡ 2 ; at x = − 1 it is the negative harmonic series and diverges. One endpoint in, one out, which is why endpoints are always checked separately.

∑ n = 1 ∞ x n n , radius 1. The ratio test gives | x | n n + 1 → | x | , so R = 1 . Inside, the sum is − ln ⁡ ( 1 − x ) : at x = 0.5 a 2000-term partial sum gives 0.69314718 against ln ⁡ 2 = 0.69314718 , and at x = 0.99 it gives 4.60517019 against − ln ⁡ ( 0.01 ) = 4.60517019 .

∑ 1 n p — the p -series. Converges exactly when p > 1 , by the integral test. At p = 2 the sum is π 2 / 6 ; at p = 1 it is the harmonic series and diverges. Useful mainly as the comparison standard, since many series can be bounded against it.

Three have infinite radius because of a factorial; three have radius 1 because their coefficients decay only polynomially. The factorial is the difference between a series that converges everywhere and one that converges on an interval, and reading which case applies is usually a one-line ratio test.

Non-example

Invalid inferences from a Taylor expansion

A power series says nothing about its endpoints. For ∑ x n / n the ratio test gives R = 1 , and the two endpoints behave differently: at x = 1 the series is harmonic and diverges, at x = − 1 it is alternating harmonic and converges. Reporting convergence on [ − 1 , 1 ] or on ( − 1 , 1 ) without checking is wrong in one case each way.

A Taylor series may converge without representing the function. Let

f ( x ) = { e − 1 / x 2 x ≠ 0 0 x = 0 .

Every derivative at 0 is zero, so every Maclaurin coefficient is zero and the series is identically 0. It converges for every x , to the zero function, while f ( x ) > 0 for all x ≠ 0 . The series represents f at exactly one point.

Nothing miscomputed: the coefficients are correct and the series converges. What fails is R n → 0 , which is the separate condition that turns a Taylor polynomial into a representation. This is why the theorem includes a remainder term instead of an equals sign.

A Taylor polynomial is local. T 3 for e x about 0 has error 2.9 × 10 − 3 at x = 0.5 and about 7.1 at x = 3 . The bound M | x | 4 4 ! grows with the fourth power of the distance. An approximation validated near the centre says nothing about behaviour far from it.

Comparison needs the inequality in the right direction. Bounding a n below by a convergent series establishes nothing, and bounding it above by a divergent one establishes nothing either. Only above-by-convergent and below-by-divergent carry information.

Related units

Requires

Learn this topic

Used in

Sources

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Layout

Simple is one plain column with nothing that moves or redraws, for older or slower devices. Auto uses it on Firefox 143 and earlier. Changing it reloads the page.

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.