ArticleslgStudy

mathematics

Taylor series

Taylor series is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Taylor series rather than just read about it. In short: In mathematical analysis, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor series are equal near this point.

Taylor series — main illustration
Taylor series — illustration

Key takeaways

  • Taylor series belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Taylor series to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Taylor series from memory before moving on to harder problems.

Reference excerpt

In mathematical analysis, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor series are equal near this point. Taylor series are named after Brook Taylor, who introduced them in 1715. A Taylor series is also called a Maclaurin series when 0 is the point where the derivatives are considered, after Colin Maclaurin, who made extensive use of this special case of Taylor series in the 18th century. The partial sum formed by the first n + 1 terms of a Taylor series is a polynomial of degree n that is called the nth Taylor polynomial of the function. Taylor polynomials are approximations of a function, which become generally more accurate as n increases. Taylor's theorem gives quantitative estimates on the error introduced by the use of such approximations. If the Taylor series of a function is convergent, its sum is the limit of the infinite sequence of the Taylor polynomials. A function may differ from the sum of its Taylor series, even if its Taylor series is convergent. A function is analytic at a point x if it is equal to the sum of its Taylor series in some open interval (or open disk in the complex plane) containing x. This implies that the function is analytic at every point of the interval (or disk).

Definition The Taylor series of a real or complex-valued function f(x), that is infinitely differentiable at a real or complex number a, is the power series f(a)+f′(a)1!(x−a)+f″(a)2!(x−a)2+⋯=∑n=0∞f(n)(a)n!(x−a)n. Here, n! denotes the factorial of n. The function f(n)(a) denotes the nth derivative of f evaluated at the point a. The derivative of order zero of f is defined to be f itself and (x − a)0 and 0! are both defined to be 1. This series can be written by using sigma notation, as in the right side formula. The corresponding Taylor polynomial of degree n is Tn(x)=∑k=0nf(k)(a)k!(x−a)k. When a = 0, the series is also called a Maclaurin series and takes the form: f(0)+f′(0)1!x+f″(0)2!x2+⋯=∑n=0∞f(n)(0)n!xn.

Basic properties

Taylor series inherit the basic properties of power series. Taylor series can also be combined algebraically. Sums, differences, products, and scalar multiples of Taylor series are obtained by the corresponding operations on power series. In particular, the Taylor series of f(x)g(x) around a point x=a is the Cauchy product of the Taylor series of f(x) and g(x) about x=a. Compositions of functions having Taylor series likewise have Taylor series, obtained by substituting one convergent power series into another when the substitution is valid. A Taylor series may be differentiated and integrated term by term. Thus ddx∑n=0∞cn(x−a)n=∑n=1∞ncn(x−a)n−1, and ∫∑n=0∞cn(x−a)ndx=C+∑n=0∞cnn+1(x−a)n+1. The differentiated and integrated series have the same radius of convergence as the original power series, although the convergence behavior at the boundary may be different. These properties sometimes allow the Taylor series of functions, such as the arctangent, to be computed in terms of simpler series, such as the geometric series.

Calculation of Taylor series Several methods can be used to calculate Taylor series. One may apply the definition directly, although this often requires first identifying a general formula for the derivatives or coefficients. In many cases, Taylor series can also be obtained from known expansions by algebraic manipulations of power series, such as substitution, multiplication, division, addition, or subtraction, as well as termwise differentiation and integration of known Taylor series. In some cases, they may also be derived by repeated integration by parts. In practice, Taylor series are often computed with the aid of computer algebra systems. A number of standard Maclaurin series are frequently used as starting points for calculating other Taylor series. Some fundamental examples are listed below; a more comprehensive listing appears later in the article.

Examples

Term-by-term differentiation Inside the region of convergence, a Taylor series can be differentiated term-by-term. For example, differentiating the geometric series 11−x=1+x+x2+x3+⋯,|x|<1, one gets ddx11−x=1(1−x)2=0+1+2x+3x2+⋯,|x|<1. Thus 1(1−x)2=∑n=1∞nxn−1,|x|<1. This process can be iterated, giving 2(1−x)3=∑n=2∞n(n−1)xn−2,|x|<1. 6(1−x)4=∑n=3∞n(n−1)(n−2)xn−3,|x|<1. and so forth.

Term-by-term integration Inside the region of convergence, a Taylor series can be integrated term-by-term. For example, integrating the geometric series 11−t=1+t+t2+t3+⋯,|t|<1, one gets −log⁡(1−x)=∫0xdt1−t=x+x22+x33+x44+⋯,|x|<1. This gives the Maclaurin series log⁡(1−x)=−∑n=1∞xnn, valid for |x|<1.

Substitution Taylor series can be composed, for example if the Taylor series of f(t) is known, then the Taylor series of f(xn) is obtained by evaluating at t=xn term by term. For instance, the geometric series 1/(1−t)=1+t+t2+⋯ evaluated at t=−x2 gives 11+x2=1−x2+x4−x6+⋯=∑n=0∞(−1)nx2n. This last series can be integrated term-by-term to give arctan⁡x=∫0xdt1+t2=∑n=0∞(−1)n2n+1x2n+1, for |x|<1.

Composition In order to compute the 7th-degree Maclaurin polynomial for the function f(x)=ln⁡(cos⁡x),x∈(−π2,π2), one may first rewrite the function as f(x)=ln(1+(cos⁡x−1)), the composition of two functions x ↦ ln(1 + x) and x ↦ cos x − 1. The Taylor series for the natural logarithm is (using big O notation) ln⁡(1+x)=x−x22+x33+O(x4) and for the cosine function cos⁡x−1=−x22+x424−x6720+O(x8). The first several terms from the second series can be substituted into each term of the first series. Because the first term in the second series has degree 2, three terms of the first series suffice to give a polynomial of degree 7: f(x)=ln⁡(1+(cos⁡x−1))=(cos⁡x−1)−12(cos⁡x−1)2+13(cos⁡x−1)3+O((cos⁡x−1)4)=−x22−x412−x645+O(x8). Since the cosine is an even function, the coefficients for all the odd powers are zero.

… excerpt ends here. Continue reading the full article.

Illustrations

Taylor series: As the degree of the Taylor polynomial rises, it approaches the correct function. This image shows .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}sin x and its Taylor approximations by polynomials of degree @media screen{html.skin-theme-clientpref-night .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}1, 3, 5, 7, 9, 11, and 13 at x = 0.
As the degree of the Taylor polynomial rises, it approaches the correct function. This image shows .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}sin x and its Taylor approximations by polynomials of degree @media screen{html.skin-theme-clientpref-night .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}1, 3, 5, 7, 9, 11, and 13 at x = 0.
Taylor series illustration
Taylor series illustration
Taylor series: The function e(−1/x2) is not analytic at x = 0: the Taylor series is identically 0, although the function is not.
The function e(−1/x2) is not analytic at x = 0: the Taylor series is identically 0, although the function is not.
Taylor series: Second-order Taylor series approximation (in orange) of a function f(x, y) = ex ln(1 + y) around the origin.
Second-order Taylor series approximation (in orange) of a function f(x, y) = ex ln(1 + y) around the origin.

Worked examples

Example 1 — a first encounter with Taylor series

Start with the simplest possible case. Write down what Taylor series claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Taylor series before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Taylor series ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Taylor series

In research
Taylor series appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Taylor series in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Taylor series is common in secondary-school and first-year university syllabi. It links to neighbouring topics Complex analysis, Differential calculus, Integral calculus, so understanding it makes those chapters shorter.
In everyday life
Look for Taylor series outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Taylor series” →

How to study Taylor series in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Taylor series means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Taylor series out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Taylor series in simple terms?

In mathematical analysis, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor series are equal near this point.

Why does Taylor series matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Taylor series?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Taylor series.

Tags

  • Complex analysis
  • Differential calculus
  • Integral calculus
  • Real analysis
  • Series expansions

Keep exploring