{{short description|Mathematical approximation of a function}} {{good article}} thumb|300px|As the degree of the Taylor polynomial rises, it approaches the correct function. This image shows {{math|sin ''x''}} and its Taylor approximations by polynomials of degree <span style="color:red;">'''1'''</span>, <span style="color:orange;">'''3'''</span>, <span style="color:yellow;">'''5'''</span>, <span style="color:lime;">'''7'''</span>, <span style="color:blue;">'''9'''</span>, <span style="color:indigo;">'''11'''</span>, and <span style="color:violet;">'''13'''</span> at {{math|1=''x'' = 0}}.
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 {{math|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 {{math|''n'' + 1}} terms of a Taylor series is a polynomial of degree {{mvar|n}} that is called the {{mvar|n}}th '''Taylor polynomial''' of the function. Taylor polynomials are approximations of a function, which become generally more accurate as {{mvar|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 {{mvar|x}} if it is equal to the sum of its Taylor series in some open interval (or open disk in the complex plane) containing {{mvar|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 {{math|{{itco|''f''}}(''x'')}}, that is infinitely differentiable at a real or complex number {{math|''a''}}, is the power series <!-- Any changes to the following formula, without first obtaining consensus on the discussion page will be reverted. In particular, *DO NOT* add f(x)= here. --> <math display="block"> f(a) + \frac {f'(a)}{1!}(x-a) + \frac{f''(a)}{2!} (x-a)^2+ \cdots = \sum_{n=0} ^ {\infty} \frac {f^{(n)}(a)}{n!} (x-a)^{n}. </math> Here, {{math|''n''!}} denotes the factorial of {{mvar|n}}. The function {{math|{{itco|''f''}}{{sup|(''n'')}}(''a'')}} denotes the {{mvar|n}}th derivative of {{math|{{itco|''f''}}}} evaluated at the point {{mvar|a}}. The derivative of order zero of {{math|{{itco|''f''}}}} is defined to be {{math|{{itco|''f''}}}} itself and {{math|(''x'' − ''a'')<sup>0</sup>}} and {{math|0!}} are both defined to be {{math|1}}. This series can be written by using sigma notation, as in the right side formula.{{sfn|Banner|2007|p=[https://books.google.com/books?id=OrumDwAAQBAJ&pg=PA530 530]}} The corresponding Taylor polynomial of degree {{mvar|n}} is <math display="block"> T_n(x)=\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k!}(x-a)^k. </math> With {{math|''a'' {{=}} 0}}, the Maclaurin series takes the form:{{sfn|Thomas|Finney|1996|loc=See §8.9}} <math display="block"> f(0)+\frac {f'(0)}{1!} x+ \frac{f''(0)}{2!} x^2+ \cdots = \sum_{n=0} ^ {\infty} \frac {f^{(n)}(0)}{n!} x^{n}. </math>
== Basic properties == {{calculus |Series}} 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 <math>f(x)g(x)</math> around a point <math>x=a</math> is the Cauchy product of the Taylor series of <math>f(x)</math> and <math>g(x)</math> about <math>x=a</math>.{{sfn|Stewart|2008|loc=§11.10}} Compositions of functions having Taylor series likewise have Taylor series, obtained by substituting one convergent power series into another when the substitution is valid.{{sfn|Henrici|1974}}
A Taylor series may be differentiated and integrated term by term. Thus <math display="block"> \frac{d}{dx}\sum_{n=0}^{\infty} c_n (x-a)^n = \sum_{n=1}^{\infty} n c_n (x-a)^{n-1}, </math> and <math display="block"> \int \sum_{n=0}^{\infty} c_n (x-a)^n\,dx = C+\sum_{n=0}^{\infty} \frac{c_n}{n+1}(x-a)^{n+1}. </math> 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.{{sfn|Stewart|2008|loc=§11.9}}{{sfn|Ahlfors|1979|pp=38–40}}
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.{{sfn|Stewart|2008|loc=§11.10}}
== 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.{{sfn|Varberg|Purcell|Rigdon|2007|p=489}} 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.{{sfn|Thomas|Finney|1996}} 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.<ref>{{cite web |title=Taylor series |website=MathWorks Documentation |url=https://www.mathworks.com/help/symbolic/sym.taylor.html |access-date=2026-04-01 }}</ref>{{sfn|Enns|McGuire|2000|loc=Introduction, pp. 1–2}}
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.
{| class="wikitable" |+ Common Maclaurin series ! Function ! Maclaurin series ! Convergence |- | <math>e^x</math> | <math>\displaystyle \sum_{n=0}^{\infty}\frac{x^n}{n!} =1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots</math> | All <math>x</math> |- | <math>\sin x</math> | <math>\displaystyle \sum_{n=0}^{\infty}(-1)^n\frac{x^{2n+1}}{(2n+1)!} =x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots</math> | All <math>x</math> |- | <math>\cos x</math> | <math>\displaystyle \sum_{n=0}^{\infty}(-1)^n\frac{x^{2n}}{(2n)!} =1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots</math> | All <math>x</math> |- | <math>\frac{1}{1-x}</math> | <math>\displaystyle \sum_{n=0}^{\infty}x^n =1+x+x^2+x^3+\cdots</math> | <math>|x|<1</math> |} === 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 <math display="block">\frac1{1-x} = 1 + x + x^2 + x^3 + \cdots,\quad |x|<1, </math> one gets <math display="block">\frac{d}{dx}\frac{1}{1-x} = \frac{1}{(1-x)^2} = 0 + 1 + 2x + 3x^2 + \cdots, \quad |x|<1.</math> Thus <math display="block">\frac{1}{(1-x)^2} = \sum_{n=1}^\infty nx^{n-1},\quad |x|<1.</math> This process can be iterated, giving <math display="block">\frac{1}{(1-x)^3} = \sum_{n=2}^\infty n(n-1)x^{n-2},\quad |x|<1.</math> <math display="block">\frac{1}{(1-x)^4} = \sum_{n=3}^\infty n(n-1)(n-2)x^{n-3},\quad |x|<1.</math> and so forth.{{sfn|Stewart|2008|loc=Chapter 11}}
==== Term-by-term integration ==== Inside the region of convergence, a Taylor series can be integrated term-by-term. For example, integrating the geometric series <math display="block">\frac1{1-t} = 1 + t + t^2 + t^3 + \cdots,\quad |t|<1, </math> one gets <math display="block"> -\log(1-x) = \int_0^x \frac{dt}{1-t} = x + \frac{x^2}{2} + \frac{x^3}{3} + \frac{x^4}{4} + \cdots,\quad |x|<1.</math> This gives the Maclaurin series{{sfn|Stewart|2008|loc=Chapter 11}} <math display="block">\log(1-x)=-\sum_{n=1}^\infty \frac{x^n}{n},</math> valid for <math>|x|<1</math>.
==== Substitution ==== Taylor series can be composed, for example if the Taylor series of <math>f(t)</math> is known, then the Taylor series of <math>f(x^n)</math> is obtained by evaluating at <math>t=x^n</math> term by term. For instance, the geometric series <math>1/(1-t) = 1+t+t^2+\cdots</math> evaluated at <math>t=-x^2</math> gives <math display="block">\frac{1}{1+x^2} = 1 - x^2 + x^4 - x^6 + \cdots = \sum_{n=0}^\infty (-1)^n x^{2n}.</math> This last series can be integrated term-by-term to give{{sfn|Stewart|2008|loc=Chapter 11}} <math display="block">\arctan x = \int_0^x \frac{dt}{1+t^2} = \sum_{n=0}^\infty \frac{(-1)^n}{2n+1}x^{2n+1},</math> for <math>|x|<1</math>.
==== Composition ==== In order to compute the 7th-degree Maclaurin polynomial for the function <math display="block">f(x)=\ln(\cos x),\quad x\in\bigl({-\tfrac\pi2}, \tfrac\pi2\bigr),</math> one may first rewrite the function as <math display="block">f(x)={\ln}\bigl(1+(\cos x-1)\bigr),</math> the composition of two functions {{math|''x'' ↦ ln(1 + ''x'')}} and {{math|''x'' ↦ cos ''x'' − 1}}. The Taylor series for the natural logarithm is (using big O notation) <math display="block">\ln(1+x) = x - \frac{x^2}2 + \frac{x^3}3 + O{\left(x^4\right)}</math> and for the cosine function <math display="block">\cos x - 1 = -\frac{x^2}2 + \frac{x^4}{24} - \frac{x^6}{720} + O{\left(x^8\right)}.</math>
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:<ref name="DLMFLogCos">{{cite web |title=§4.19 Maclaurin Series and Laurent Series |website=NIST Digital Library of Mathematical Functions |publisher=National Institute of Standards and Technology |at=Equation 4.19.8 |url=https://dlmf.nist.gov/4.19.E8 |access-date=2026-05-20 }}</ref> <math display="block">\begin{align}f(x) &= \ln\bigl(1+(\cos x-1)\bigr) \\ &= (\cos x-1) - \tfrac12(\cos x-1)^2 + \tfrac13(\cos x-1)^3+ O{\left((\cos x-1)^4\right)} \\ &= - \frac{x^2}2 - \frac{x^4}{12} - \frac{x^6}{45}+O{\left(x^8\right)}. \end{align}</math>
Since the cosine is an even function, the coefficients for all the odd powers are zero.
==== Division ==== Given that the Taylor series at {{math|0}} of the function {{math|1=''g''(''x'') = {{sfrac|''e''<sup>''x''</sup>|cos ''x''}}}}. The Taylor series for the exponential function is <math display="block">e^x =1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \frac{x^4}{4!}+\cdots,</math> and the series for cosine is <math display="block">\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots.</math>
Assume the series for their quotient is <math display="block">\frac{e^x}{\cos x} = c_0 + c_1 x + c_2 x^2 + c_3 x^3 + c_4x^4 + \cdots</math> Multiplying both sides by the denominator {{math|cos ''x''}} and then expanding it as a series yields <math display="block">\begin{align} e^x &= \left(c_0 + c_1 x + c_2 x^2 + c_3 x^3 + c_4x^4 + \cdots\right)\left(1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots\right) \\[5mu] &= c_0 + c_1x + \left(c_2 - \frac{c_0}{2!}\right)x^2 + \left(c_3 - \frac{c_1}{2!}\right)x^3+\left(c_4-\frac{c_2}{2!}+\frac{c_0}{4!}\right)x^4 + \cdots \end{align}</math>
Comparing the coefficients of {{math|''g''(''x'') cos ''x''}} with the coefficients of {{math|''e''<sup>''x''</sup>}}, <math display="block"> c_0 = 1,\ \ c_1 = 1,\ \ c_2 - \tfrac12 c_0 = \tfrac12,\ \ c_3 - \tfrac12 c_1 = \tfrac16,\ \ c_4 - \tfrac12 c_2 + \tfrac1{24} c_0 = \tfrac1{24},\ \ldots. </math>
The coefficients {{math|''c''<sub>''i''</sub>}} of the series for {{math|''g''(''x'')}} can thus be computed one at a time, amounting to long division of the series for {{math|''e''<sup>''x''</sup>}} and {{math|cos ''x''}}: <math display="block">\frac{e^x}{\cos x}=1 + x + x^2 + \tfrac23 x^3 + \tfrac12 x^4 + \cdots.</math>
==== Non-elementary integrals ==== Term-by-term integration of Taylor series can be used to find the Taylor series of non-elementary integrals. For example, the Fresnel integral is <math display="block">S(x) = \int_0^x \sin(t^2)\,dt</math> and <math>S(x)</math> cannot be expressed in terms of elementary functions. Its Maclaurin series can be determined by termwise integration of the series <math display="block">\sin(t^2) = \sum_{n=0}^\infty \frac{(-1)^n}{(2n+1)!}t^{4n+2},</math> giving{{sfn|Thomas|Finney|1996|loc=§8.11}} <math display="block">S(x) = \sum_{n=0}^\infty \frac{(-1)^n}{(4n+3)(2n+1)!}x^{4n+3}.</math>
==== Differential equations ==== {{see also|Power series solution of differential equations}}
Taylor series can also be used to solve some ordinary differential equations. The method is to assume that the solution has a power series expansion, differentiate the series term by term, substitute the resulting series into the differential equation, and then determine the coefficients by equating like powers of the variable.<ref name="OpenStaxSeriesODE">{{cite web |title=17.4: Series Solutions of Differential Equations |website=Mathematics LibreTexts |publisher=LibreTexts |url=https://math.libretexts.org/Bookshelves/Calculus/Calculus_(OpenStax)/17%3A_Second-Order_Differential_Equations/17.04%3A_Series_Solutions_of_Differential_Equations |access-date=2026-05-20 }}</ref>
For example, to solve <math display="block">y''-y=0,</math> suppose that <math display="block">y=\sum_{n=0}^{\infty}a_nx^n.</math> Then <math display="block">y''=\sum_{n=2}^{\infty}n(n-1)a_nx^{n-2} =\sum_{n=0}^{\infty}(n+2)(n+1)a_{n+2}x^n.</math> Substitution into the differential equation gives <math display="block"> \sum_{n=0}^{\infty}\bigl((n+2)(n+1)a_{n+2}-a_n\bigr)x^n=0. </math> Since power series expansions are unique, each coefficient must vanish, so <math display="block"> a_{n+2}=\frac{a_n}{(n+2)(n+1)}. </math> The even and odd coefficients are therefore determined separately by the arbitrary constants <math>a_0</math> and <math>a_1</math>: <math display="block"> y=a_0\left(1+\frac{x^2}{2!}+\frac{x^4}{4!}+\cdots\right) +a_1\left(x+\frac{x^3}{3!}+\frac{x^5}{5!}+\cdots\right). </math> Thus <math display="block"> y=a_0\cosh x+a_1\sinh x, </math> or equivalently <math>y=C_1e^x+C_2e^{-x}</math>.
== Approximation error and Taylor's theorem == {{main|Taylor's theorem}} {{multiple image | image1 = Taylorsine.svg | image2 = LogTay.svg | footer = Pictured is an accurate approximation of {{math|sin ''x''}} around the point {{math|''x'' {{=}} 0}}. The pink curve is a polynomial of degree seven <math display="block">\sin{x} \approx x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!}.</math> The error in this approximation is no more than {{math|{{abs|''x''}}<sup>9</sup> / 9!}}. For a full cycle centered at the origin ({{math|−π < ''x'' < π}}), the error is less than 0.08215. In particular, for {{math|−1 < ''x'' < 1}}, the error is less than 0.000003.
In contrast, also shown is a picture of the natural logarithm function {{math|ln(1 + ''x'')}} and some of its Taylor polynomials around {{math|''a'' {{=}} 0}}. These approximations converge to the function only in the region {{math|−1 < ''x'' ≤ 1}}. Outside of this region, the higher-degree Taylor polynomials are ''worse'' approximations for the function. | total_width = 500 }}
The ''error'' incurred in approximating a function by its degree {{mvar|n}} Taylor polynomial is called the remainder and is denoted by the function {{math|''R''<sub>''n''</sub>(''x'')}}. Taylor's theorem can be used to obtain a bound on the size of the remainder.{{sfn|Knapp|2000|p=[http://books.google.com/books?id=DLfxd7StGw8C&pg=PA43 43–44]}}
In particular, Taylor's theorem writes a function, where the hypotheses of the theorem are satisfied, in the form <math display="block"> f(x)=\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k!}(x-a)^k+R_n(x). </math> The behavior of the remainder as {{mvar|n}} tends to infinity determines whether the Taylor series represents the original function, which are questions of convergence and analyticity.
== Generalization in finite differences == One form of the Gregory–Newton interpolation formula can be written as <math display="block">f(x)=\sum_{k=0}^\infty\frac{\Delta^k [f](a)}{k!} \,(x-a)_k </math> which interpolates a polynomial <math>f</math> in terms of its finite differences evaluated at a single point <math>a</math>, and where <math>(x-a)_k</math> is the falling factorial. For a polynomial, this series terminates and gives the polynomial exactly; more generally, a function admits a Gregory–Newton development under suitable analytic hypotheses, classically formulated by Niels Erik Nørlund in terms of holomorphy in a half-plane together with an exponential type growth condition.<ref>{{cite book |last=Nörlund |first=N. E. |title=Leçons sur les séries d'interpolation |publisher=Gauthier-Villars |location=Paris |year=1926 |language=fr }}</ref><ref>{{cite arXiv |last1=Aguech |first1=Rafik |last2=Jedidi |first2=Wissem |title=Completely monotone functions and kernels of the cut-off operator |year=2015 |eprint=1511.08345 |pages=14 |class=math.PR }}</ref>{{sfn|Hille|Phillips|1957|pp=231–235}}
One generalization of the Taylor series that does converge to the value of the function itself for any bounded continuous function on {{math|(0, ∞)}}, and this can be done by using the calculus of finite differences. Specifically, the following theorem, due to Einar Hille, that for any {{math|''t'' > 0}},<ref>{{multiref |{{harvnb|Feller|2003|p=230–232}} |{{harvnb|Hille|Phillips|1957|pp=300–327}} }}</ref> <math display="block" >\lim_{h\to 0^+}\sum_{n=0}^\infty \frac{t^n}{n!}\frac{\Delta_h^nf(a)}{h^n} = f(a+t).</math> Here {{math|Δ{{su|p=''n''|b=''h''}}}} is the {{mvar|n}}th finite difference operator with step size {{mvar|h}}. The series is precisely the Taylor series, except that divided differences appear in place of differentiation. When the function {{math|{{itco|''f''}}}} is analytic at {{mvar|a}}, the terms in the series converge to the terms of the Taylor series, and in this sense generalizes the usual Taylor series.
In general, for any infinite sequence {{math|''a''<sub>''i''</sub>}}, the following power series identity holds:{{sfn|Feller|2003|p=231}} <math display="block">\sum_{n=0}^\infty\frac{u^n}{n!}\Delta^na_i = e^{-u}\sum_{j=0}^\infty\frac{u^j}{j!}a_{i+j}.</math> So in particular,{{sfn|Feller|2003|p=231}} <math display="block">f(a+t) = \lim_{h\to 0^+} e^{-t/h}\sum_{j=0}^\infty f(a+jh) \frac{(t/h)^j}{j!}.</math>
The series on the right is the expected value of {{math|{{itco|''f''}}(''a'' + ''X'')}}, where {{mvar|X}} is a Poisson-distributed random variable that takes the value {{math|''jh''}} with probability {{math|''e''<sup>−''t''/''h''</sup>·{{sfrac|(''t''/''h''){{isup|''j''}}|''j''!}}}}. Hence,<ref>{{cite journal |last=Chung |first=Kai Lai |title=On the exponential formulas of semi-group theory |journal=Pacific Journal of Mathematics |volume=8 |number=4 |year=1958 |pages=847–857 }}</ref> <math display="block">f(a+t) = \lim_{h\to 0^+} \int_{-\infty}^\infty f(a+x)dP_{t/h,h}(x).</math>
The law of large numbers implies that the identity holds.{{sfn|Feller|2003|p=231}}
== Convergence and analyticity == {{main|Analytic function|Radius of convergence}}
A Taylor series is formed from the values of all derivatives of a function at a single point, but this does not by itself imply that the series converges to the function. In general, a Taylor series may fail to converge, or it may converge to a function different from the original one.
For example, the function <math display="block"> f(x) = \begin{cases} e^{-1/x^2} & \text{if } x \neq 0, \\[3mu] 0 & \text{if } x = 0 \end{cases} </math> is infinitely differentiable at <math>x=0</math>, and all of its derivatives at <math>0</math> are equal to zero. Its Taylor series at <math>0</math> is therefore the zero series, even though the function itself is not identically zero. This gives a standard example of a non-analytic smooth function.{{sfn|Grossman|1984|p=[http://books.google.com/books?id=eafiBQAAQBAJ&pg=PA750 750]}}
upright=1.4|thumb|right|The function {{math|1=<strong style="color:#803300">''e''<sup>(−1/''x''<sup>2</sup>)</sup></strong>}} is not analytic at {{math|1=''x'' {{=}} 0}}: the Taylor series is identically {{math|0}}, although the function is not.
More generally, the Taylor series of a function represents the function at a point <math>x</math> precisely when the remainder terms in Taylor's theorem tend to zero at that point. If <math display="block"> f(x)=\sum_{k=0}^n \frac{f^{(k)}(a)}{k!}(x-a)^k+R_n(x), </math> then the Taylor series converges to <math>f(x)</math> exactly when <math display="block"> \lim_{n\to\infty} R_n(x)=0. </math>
A function is called analytic at a point if it is equal to the sum of its Taylor series in some open interval around that point, or, in the complex case, in some open disk. Equivalently, a function is analytic in a region if it is locally given by a convergent power series. Thus, if <math display="block"> f(x)=\sum_{n=0}^{\infty}a_n(x-b)^n </math> near <math>b</math>, then differentiating the series term by term and setting <math>x=b</math> gives <math display="block"> a_n=\frac{f^{(n)}(b)}{n!}. </math> Thus the power series expansion of an analytic function is its Taylor series.{{sfn|Silverman|1974|p=[https://books.google.com/books?id=LIXBHcUrx-cC&pg=PA139 139]}}{{sfn|Choudhary|1992|p=[http://books.google.com/books?id=5K9i2YwgTjYC&pg=PA102 102]}}
In real analysis, infinite differentiability does not imply analyticity, as the example above shows. Borel's lemma implies that ''every'' power series is the Taylor series of some smooth function. In complex analysis, however, every holomorphic function is analytic.{{sfn|Campos|2011|p=[https://books.google.com/books?id=z6mNEQAAQBAJ&pg=PT558 558]}} A function whose Taylor series converges to the function throughout the whole complex plane is called an entire function. Polynomials, the exponential function, and the sine and cosine functions are entire functions.{{sfn|Markushevich|1966|p=[http://books.google.com/books?id=-rvSBQAAQBAJ&pg=PA6 6]}}
=== Radius of convergence ===
For any power series <math display="block"> \sum_{n=0}^\infty c_n(x-a)^n, </math> there is a number <math>R</math>, called the radius of convergence, such that the series converges absolutely for <math>|x-a|<R</math> and diverges for <math>|x-a|>R</math>.{{sfn|Stein|Shakarchi|2003|p=15}}{{sfn|Freitag|Busam|2005|pp=111–112}} The radius may be zero, finite and positive, or infinite. It is given by the Cauchy–Hadamard formula <math display="block"> \frac{1}{R}=\limsup_{n\to\infty}|c_n|^{1/n}, </math> with the usual conventions for <math>R=0</math> and <math>R=\infty</math>. When the limit exists, the ratio test often gives <math display="block"> R=\lim_{n\to\infty}\left|\frac{c_n}{c_{n+1}}\right|. </math>
Thus, when a Taylor series converges, it does so in an open interval centered at <math>a</math> in the real case, or in an open disk centered at <math>a</math> in the complex case. The behavior at the boundary points may vary: the series may converge at some, all, or none of them.{{sfn|Freitag|Busam|2005|pp=112–113, 124}}
For a complex analytic function, the radius of convergence of the Taylor series at <math>a</math> is the distance from <math>a</math> to the nearest point where the function cannot be continued holomorphically. In many common examples this is the distance to the nearest singularity in the complex plane.{{sfn|Freitag|Busam|2005|pp=116–117}}
This explains the different radii of convergence for familiar Taylor series. The series for <math>e^x</math>, <math>\sin x</math>, and <math>\cos x</math> have infinite radius of convergence because these functions are entire. By contrast, the Taylor series for <math>\log(1+x)</math> at <math>x=0</math> has radius of convergence <math>1</math>, because the nearest singularity is at <math>x=-1</math>.{{sfn|Stein|Shakarchi|2003|pp=98–100}}
Complex singularities can determine the radius of convergence even for functions that are smooth on the real line. For example, <math display="block"> \frac{1}{1+x^2} </math> is smooth for every real <math>x</math>, but its Taylor series at <math>0</math> has radius of convergence <math>1</math>, because the corresponding complex function has singularities at <math>x=i</math> and <math>x=-i</math>.{{sfn|Freitag|Busam|2005|pp=116–117}}
The radius of convergence should not be confused with the quality of approximation by a low-degree Taylor polynomial. A Taylor polynomial may approximate a function accurately near the center even if the full Taylor series has a small radius of convergence. Conversely, near the boundary of the interval or disk of convergence, the Taylor series may converge slowly. Outside the radius of convergence, the Taylor series does not represent the function.{{sfn|Stein|Shakarchi|2003|p=15}}{{sfn|Ahlfors|1979|p=38}}
=== Generalizations near singularities === {{main|Laurent series|Puiseux series}}
A Taylor series cannot be centered at a point where the function is not analytic. Some singularities, namely poles, can be accounted for by a Laurent series. If <math>f</math> has a pole of order <math>k</math> at <math>z=a</math>, then near <math>a</math> it has a Laurent series of the form <math display="block"> \sum_{n=-k}^{\infty} a_n (z-a)^n . </math> A meromorphic function is a function which is analytic except at isolated poles; near each pole it has a Laurent series with only finitely many negative-power terms.{{sfn|Lang|1999|p=166}}
More generally, a function analytic in an annulus <math display="block"> r<|z-a|<R </math> has a convergent Laurent series of the form <math display="block"> \sum_{n=-\infty}^{\infty} a_n (z-a)^n </math> in that annulus.{{sfn|Ahlfors|1979|pp=184–186}}
Other types of singularities, namely branch points, can occur for algebraic functions. If <math>f(z)</math> is an algebraic function of a complex variable <math>z</math> and <math>z=a</math> is a branch point, then <math>f(z)</math> need not have a Taylor series based at <math>z=a</math>. However, after a change of variables <math display="block"> z-a=t^e, </math> where <math>e</math> is a positive integer called the ramification index, a branch of the function becomes analytic as a function of <math>t</math>. The resulting expansion in fractional powers of <math>z-a</math> is known as a Puiseux series.{{sfn|Bliss|1933|loc=Chapter II}}
== Taylor series in multiple variables <span class="anchor" id="In several variables"></span> ==
The Taylor series may also be generalized to functions of more than one variable with<ref>{{multiref |{{harvnb|Hörmander|2002|loc=See Eqq. 1.1.7 and 1.1.7′}} |{{harvnb|Kolk|Duistermaat|2010|p=59–63}} }}</ref> <math display="block">\begin{align} T(x_1,\ldots,x_d) &= \sum_{n_1=0}^\infty \cdots \sum_{n_d = 0}^\infty \frac{(x_1-a_1)^{n_1}\cdots (x_d-a_d)^{n_d}}{n_1!\cdots n_d!}\,\left(\frac{\partial^{n_1 + \cdots + n_d}f}{\partial x_1^{n_1}\cdots \partial x_d^{n_d}}\right)(a_1,\ldots,a_d) \\ &= f(a_1, \ldots,a_d) + \sum_{j=1}^d \frac{\partial f(a_1, \ldots,a_d)}{\partial x_j} (x_j - a_j) + \frac{1}{2!} \sum_{j=1}^d \sum_{k=1}^d \frac{\partial^2 f(a_1, \ldots,a_d)}{\partial x_j \partial x_k} (x_j - a_j)(x_k - a_k) \\ & \qquad \qquad + \frac{1}{3!} \sum_{j=1}^d\sum_{k=1}^d\sum_{l=1}^d \frac{\partial^3 f(a_1, \ldots,a_d)}{\partial x_j \partial x_k \partial x_l} (x_j - a_j)(x_k - a_k)(x_l - a_l) + \cdots, \\ &= \sum_{|\alpha| \geq 0}\frac{(\mathbf{x}-\mathbf{a})^\alpha}{\alpha !} \left({\mathrm{\partial}^{\alpha}}f\right)(\mathbf{a}). \end{align}</math> The last expression is the multivariate Taylor series in terms of multi-index notation with a full analogy to the single variable case.
For example, for a function {{math|{{itco|''f''}}(''x'', ''y'')}} that depends on two variables, {{mvar|x}} and {{mvar|y}}, the Taylor series to second order about the point {{math|(''a'', ''b'')}} is <math display="block">f(a,b) +(x-a) f_x(a,b) +(y-b) f_y(a,b) + \frac{1}{2!}\Big( (x-a)^2 f_{xx}(a,b) + 2(x-a)(y-b) f_{xy}(a,b) +(y-b)^2 f_{yy}(a,b) \Big)</math> where the subscripts denote the respective partial derivatives.
=== Second-order Taylor series in several variables === {{see also|Linearization#Multivariable functions}}
A second-order Taylor series expansion of a scalar-valued function of more than one variable can be written compactly as <math display="block">T(\mathbf{x}) = f(\mathbf{a}) + (\mathbf{x} - \mathbf{a})^\mathsf{T} D f(\mathbf{a}) + \frac{1}{2!} (\mathbf{x} - \mathbf{a})^\mathsf{T} \left \{D^2 f(\mathbf{a}) \right \} (\mathbf{x} - \mathbf{a}) + \cdots,</math> where {{math|''D'' {{itco|''f''}}('''a''')}} is the gradient of {{math|{{itco|''f''}}}} evaluated at {{math|'''x''' {{=}} '''a'''}} and {{math|''D''<sup>2</sup> {{itco|''f''}}('''a''')}} is the Hessian matrix.
=== Example === 200px|thumb|right|Second-order Taylor series approximation (in orange) of a function {{math|{{itco|''f''}}(''x'', ''y'') {{=}} ''e<sup>x</sup>'' ln(1 + ''y'')}} around the origin. In order to compute a second-order Taylor series expansion around the point {{math|(''a'', ''b'') {{=}} (0, 0)}} of the function <math display="block">f(x,y)=e^x\ln(1+y),</math> one first computes all the necessary partial derivatives: <math display="block">\begin{align} f_x &= e^x\ln(1+y), & f_y &= \frac{e^x}{1+y}, \\ f_{xx} &= e^x\ln(1+y), & f_{yy} &= -\frac{e^x}{(1+y)^2}, \\ f_{xy} &= f_{yx} = \frac{e^x}{1+y}. \end{align}</math>
Evaluating these derivatives at the origin gives the Taylor coefficients <math display="block">\begin{align} f_x(0,0) &= 0, & f_y(0,0) &= 1, \\ f_{xx}(0,0) &= 0, & f_{yy}(0,0) &= -1, \\ f_{xy}(0,0) &= 1. \end{align}</math>
Substituting these values in to the general formula <math display="block">\begin{align} T(x,y) &= f(a,b) +(x-a) f_x(a,b) +(y-b) f_y(a,b) \\ &\qquad {}+\frac{1}{2!}\left( (x-a)^2f_{xx}(a,b) + 2(x-a)(y-b)f_{xy}(a,b) +(y-b)^2 f_{yy}(a,b) \right)+ \cdots \end{align}</math> produces <math display="block">\begin{align} T(x,y) &= 0 + 0(x-0) + 1(y-0) + \frac{1}{2}\big( 0(x-0)^2 + 2(x-0)(y-0) + (-1)(y-0)^2 \big) + \cdots \\ &= y + xy - \tfrac12 y^2 + \cdots \end{align}</math>
Since {{math|ln(1 + ''y'')}} is analytic in {{math|{{abs|''y''}} < 1}}, we have <math display="block">e^x\ln(1+y)= y + xy - \tfrac12 y^2 + \cdots, \qquad |y| < 1.</math>
== Applications == Taylor polynomials are used to approximate functions near a point. Keeping only the first nonzero terms often gives a simpler model of a more complicated expression. For example, the small-angle approximation <math display="block">\sin x \approx x</math> comes from the first term of the Taylor series for sine, and higher-order approximations are obtained by retaining more terms. This approximation is widely used: for example, in Gaussian optics where the behavior of light rays making small angles with an axis is studied by replacing the sine function with its linear approximation.
Such approximations are used throughout mathematics, physics, and engineering. In perturbation theory, a complicated quantity is often expanded in powers of a small parameter, and the first few terms are used as an approximate solution. Taylor expansions also occur in the analysis of the simple pendulum and in numerical methods for approximating functions.{{sfn|Sandler|2011|p=[http://books.google.com/books?id=6wtw2c5Cj0QC&pg=PA258 258]}}<ref>{{multiref |{{harvnb|Enns|McGuire|2000|p=[http://books.google.com/books?id=sJbVsRYbeMoC&pg=PA187 187]}} |{{harvnb|Saha|2026|p=[https://books.google.com/books?id=ZkF-EQAAQBAJ&pg=PA227 227]}} }}</ref>
== History == The ancient Greek philosopher Zeno of Elea considered the problem of summing an infinite series to achieve a finite result, but rejected it as an impossibility; the result was Zeno's paradox.{{sfn|Lindberg|2007|p=33}} Later, Aristotle proposed a philosophical resolution of the paradox, but the mathematical content was apparently unresolved until taken up by Archimedes, as it had been prior to Aristotle by the Presocratic Atomist Democritus. It was through Archimedes's method of exhaustion that an infinite number of progressive subdivisions could be performed to achieve a finite result.{{sfn|Kline|1990|p=[https://archive.org/details/mathematicalthou00klin/page/n437 35]–37}} Liu Hui independently employed a similar method a few centuries later.{{sfn|Boyer|Merzbach|1991|p=[https://archive.org/details/historyofmathema00boye/page/202 202–203]}}<!--I'm sure there are better refs than this. Hui gave fairly "rigorous" bounds on the convergence, if I recall. But it isn't addressed here.-->
In the 14th century, the earliest examples of specific Taylor series (but not the general method) were given by the Indian mathematician Madhava of Sangamagrama.{{sfn|Dani|2012}} Though no record of his work survives, writings of his followers in the Kerala school of astronomy and mathematics suggest that he found the Taylor series for the trigonometric functions of sine, cosine, and arctangent; see Madhava series. During the following two centuries, his followers developed further series expansions and rational approximations.{{sfn|Gupta|2019|p=[https://books.google.com/books?id=AEe9DwAAQBAJ&pg=PA417 417–442]}}
In late 1670, James Gregory was shown in a letter from John Collins several Maclaurin series ({{math|sin ''x''}}, {{math|cos ''x''}}, {{math|arcsin ''x''}}, and {{math|''x'' cot ''x''}}) derived by Isaac Newton, and told that Newton had developed a general method for expanding functions in series. Newton had in fact used a cumbersome method involving long division of series and term-by-term integration, but Gregory did not know it and set out to discover a general method for himself. In early 1671 Gregory discovered something like the general Maclaurin series and sent a letter to Collins including series for {{math|arctan ''x''}}, {{math|tan ''x''}}, {{math|sec ''x''}}, {{math|ln sec ''x''}} (the integral of {{math|tan}}), {{math|ln tan {{sfrac|1|2}}({{sfrac|1|2}}''π'' + ''x'')}} (the integral of {{math|sec}}, the inverse Gudermannian function), {{math|arcsec({{sqrt|2}} ''e''<sup>''x''</sup>)}}, and {{math|2 arctan ''e''<sup>''x''</sup> − {{sfrac|1|2}}''π''}} (the Gudermannian function). However, thinking that he had merely redeveloped a method by Newton, Gregory never described how he obtained these series, and it can only be inferred that he understood the general method by examining scratch work he had scribbled on the back of another letter from 1671.<ref>{{multiref |{{harvnb|Turnbull|1939|pp=168–174}} |{{harvnb|Roy|1990}} |{{harvnb|Malet|1993}} }}</ref>
In 1691–1692, Newton wrote down an explicit statement of the Taylor and Maclaurin series in an unpublished version of his work ''De Quadratura Curvarum''. It was the earliest explicit formulation of the general Taylor series.<ref>{{multiref |{{harvnb|Edwards|1994|p=[https://books.google.com/books?id=ilrlBwAAQBAJ&pg=PA289 289]}} |{{harvnb|Rowlands|2017|p=48}} }}</ref> However, this work by Newton was never completed and the relevant sections were omitted from the portions published in 1704 under the title ''Tractatus de Quadratura Curvarum''.{{sfn|Newton|1761}}
It was not until 1715 that a general method for constructing these series for all functions for which they exist was finally published by Brook Taylor, after whom the series are now named.<ref>{{multiref |{{harvnb|Taylor|1715|pp=21–23, see Prop. VII, Thm. 3, Cor. 2}}. See {{harvnb|Struik|1969|pp=329–332}} for English translation, and {{harvnb|Bruce|2007}} for re-translation. |{{harvnb|Feigenbaum|1985}} }}</ref>
The Maclaurin series was named after Colin Maclaurin, a Scottish mathematician, who published a special case of the Taylor result in the mid-18th century.{{sfn|Grossman|1984|p=[http://books.google.com/books?id=eafiBQAAQBAJ&pg=PA748 748]}}
== List of Maclaurin series of some common functions == {{see also|List of mathematical series}} Several important Maclaurin series expansions follow. All these expansions are valid for complex arguments {{mvar|x}}. For multivalued complex functions, such as logarithms, fractional powers, and inverse trigonometric functions, a principal branch is understood.
=== Exponential function === [[File:Exp series.gif|right|thumb|The exponential function {{math|''e''<sup>''x''</sup>}} (in blue), and the sum of the first {{math|''n'' + 1}} terms of its Taylor series at {{math|0}} (in red)]] The exponential function {{math|''e''<sup>''x''</sup>}} (with base {{mvar|e}}) has Maclaurin series{{sfn|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA69 69]}} <math display="block"> e^{x} = \sum^{\infty}_{n=0} \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots. </math> It converges for all {{mvar|x}}.
The exponential generating function of the Bell numbers is the exponential function of the predecessor of the exponential function: <math display="block">\exp(\exp{x}-1) = \sum_{n=0}^{\infty} \frac{B_n}{n!}x^{n}</math>
=== Natural logarithm === The natural logarithm (with base {{mvar|e}}) has Maclaurin series<ref name="bileodeau-abramowitz">{{multiref |{{harvnb|Bilodeau|Thie|Keough|2010|p=[https://books.google.com/books?id=nsHisqNlsuIC&pg=PA252 252]}} |{{harvnb|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA15 15]}} }}</ref> <math display="block"> \begin{align} \ln(1-x) &= - \sum^{\infty}_{n=1} \frac{x^n}n = -x - \frac{x^2}2 - \frac{x^3}3 - \cdots , \\ \ln(1+x) &= \sum^\infty_{n=1} (-1)^{n+1}\frac{x^n}n = x - \frac{x^2}2 + \frac{x^3}3 - \cdots . \end{align}</math>
The last series is known as Mercator series, named after Nicholas Mercator since it was published in his 1668 treatise ''Logarithmotechnia''.{{sfn|Hofmann|1939}} Both of these series converge for {{math|{{abs|''x''}} < 1}}. In addition, the series for {{math|ln(1 − ''x'')}} converges for {{math|''x'' {{=}} −1}}, and the series for {{math|ln(1 + ''x'')}} converges for {{math|''x'' {{=}} 1}}.<ref name="bileodeau-abramowitz" />
=== Geometric series ===
The geometric series and its derivatives have Maclaurin series <math display="block">\begin{align} \frac{1}{1-x} &= \sum^\infty_{n=0} x^n \\ \frac{1}{(1-x)^2} &= \sum^\infty_{n=1} nx^{n-1} \\ \frac{1}{(1-x)^3} &= \sum^\infty_{n=2} \frac{(n-1)n}{2} x^{n-2}. \end{align}</math>
All are convergent for {{math|{{abs|''x''}} < 1}}. These are special cases of the binomial series given in the next section.
=== Binomial series === The binomial series is the power series
<math display="block">(1+x)^\alpha = \sum_{n=0}^\infty \binom{\alpha}{n} x^n</math>
whose coefficients are the generalized binomial coefficients{{sfn|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA14 14]}}
<math display="block">\binom{\alpha}{n} = \prod_{k=1}^n \frac{\alpha-k+1}k = \frac{\alpha(\alpha-1)\cdots(\alpha-n+1)}{n!}.</math>
(If {{math|1= ''n'' = 0}}, this product is an empty product and has value {{math|1}}.) It converges for {{math|{{abs|''x''}} < 1}} for any real or complex number {{mvar|α}}.
When {{math|1=''α'' = −1}}, this is essentially the infinite geometric series mentioned in the previous section. The special cases {{math|1=''α'' = {{sfrac|1|2}}}} and {{math|1=''α'' = −{{sfrac|1|2}}}} give the square root function and its inverse:{{sfn|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA15 15]}} <math display="block">\begin{align} (1+x)^\frac{1}{2} &= 1 + \frac{1}{2}x - \frac{1}{8}x^2 + \frac{1}{16}x^3 - \frac{5}{128}x^4 + \frac{7}{256}x^5 - \cdots &= \sum^{\infty}_{n=0} \frac{(-1)^{n-1}(2n)!}{4^n (n!)^2 (2n-1)} x^n, \\ (1+x)^{-\frac{1}{2}} &= 1 -\frac{1}{2}x + \frac{3}{8}x^2 - \frac{5}{16}x^3 + \frac{35}{128}x^4 - \frac{63}{256}x^5 + \cdots &= \sum^{\infty}_{n=0} \frac{(-1)^n(2n)!}{4^n (n!)^2} x^n. \end{align} </math>
When only the linear term is retained, this simplifies to the binomial approximation.
=== Trigonometric functions === The usual trigonometric functions and their inverses have the following Maclaurin series:{{sfn|Abramowitz|Stegun|1970|pp=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA75 75], [https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA81 81]}} <math display="block">\begin{align} \sin x &= \sum^{\infty}_{n=0} \frac{(-1)^n}{(2n+1)!} x^{2n+1} &&= x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots && \text{for all } x\\[6pt] \cos x &= \sum^{\infty}_{n=0} \frac{(-1)^n}{(2n)!} x^{2n} &&= 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots && \text{for all } x\\[6pt] \tan x &= \sum^{\infty}_{n=1} \frac{B_{2n} (-4)^n \left(1-4^n\right)}{(2n)!} x^{2n-1} &&= x + \frac{x^3}{3} + \frac{2 x^5}{15} + \cdots && \text{for }|x| < \frac{\pi}{2}\\[6pt] \sec x &= \sum^{\infty}_{n=0} \frac{(-1)^n E_{2n}}{(2n)!} x^{2n} &&=1+\frac{x^2}{2}+\frac{5x^4}{24}+\cdots && \text{for }|x| < \frac{\pi}{2}\\[6pt] \arcsin x &= \sum^{\infty}_{n=0} \frac{(2n)!}{4^n (n!)^2 (2n+1)} x^{2n+1} &&=x+\frac{x^3}{6}+\frac{3x^5}{40}+\cdots && \text{for }|x| \le 1\\[6pt] \arccos x &=\frac{\pi}{2}-\arcsin x&&=\frac{\pi}{2}-x-\frac{x^3}{6}-\frac{3x^5}{40}-\cdots&& \text{for }|x| \le 1\\[6pt] \arctan x &= \sum^{\infty}_{n=0} \frac{(-1)^n}{2n+1} x^{2n+1} &&=x-\frac{x^3}{3} + \frac{x^5}{5}-\cdots && \text{for }|x| \le 1,\ x\neq\pm i \end{align}</math>
All angles are expressed in radians. The numbers {{math|''B<sub>k</sub>''}} appearing in the expansions of {{math|tan ''x''}} are the Bernoulli numbers. The {{math|''E''<sub>''k''</sub>}} in the expansion of {{math|sec ''x''}} are Euler numbers.{{sfn|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA75 75]}}
=== Hyperbolic functions === The hyperbolic functions have Maclaurin series closely related to the series for the corresponding trigonometric functions:{{sfn|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA85 85]}} <math display="block">\begin{align} \sinh x &= \sum^{\infty}_{n=0} \frac{x^{2n+1}}{(2n+1)!} &&= x + \frac{x^3}{3!} + \frac{x^5}{5!} + \cdots && \text{for all } x\\[6pt] \cosh x &= \sum^{\infty}_{n=0} \frac{x^{2n}}{(2n)!} &&= 1 + \frac{x^2}{2!} + \frac{x^4}{4!} + \cdots && \text{for all } x\\[6pt] \tanh x &= \sum^{\infty}_{n=1} \frac{B_{2n} 4^n \left(4^n-1\right)}{(2n)!} x^{2n-1} &&= x-\frac{x^3}{3}+\frac{2x^5}{15}-\frac{17x^7}{315}+\cdots && \text{for }|x| < \frac{\pi}{2}\\[6pt] \operatorname{arsinh} x &= \sum^{\infty}_{n=0} \frac{(-1)^n (2n)!}{4^n (n!)^2 (2n+1)} x^{2n+1} &&=x - \frac{x^3}{6} + \frac{3x^5}{40} - \cdots && \text{for }|x| \le 1\\[6pt] \operatorname{artanh} x &= \sum^{\infty}_{n=0} \frac{x^{2n+1}}{2n+1} &&=x + \frac{x^3}{3} + \frac{x^5}{5} +\cdots && \text{for }|x| \le 1,\ x\neq\pm 1 \end{align}</math>
The numbers {{math|''B<sub>k</sub>''}} appearing in the series for {{math|tanh ''x''}} are the Bernoulli numbers.{{sfn|Abramowitz|Stegun|1970|p=[https://books.google.com/books?id=MtU8uP7XMvoC&pg=PA85 85]}}
=== Polylogarithmic functions === The polylogarithms have these defining identities: <math display="block">\begin{align} \text{Li}_{2}(x) &= \sum_{n = 1}^{\infty} \frac{1}{n^2} x^{n} \\\text{Li}_{3}(x) &= \sum_{n = 1}^{\infty} \frac{1}{n^3} x^{n} \end{align}</math>
The Legendre chi functions are defined as follows: <math display="block">\begin{align} \chi_{2}(x) &= \sum_{n = 0}^{\infty} \frac{1}{(2n + 1)^2} x^{2n + 1} \\ \chi_{3}(x) &= \sum_{n = 0}^{\infty} \frac{1}{(2n + 1)^3} x^{2n + 1} \end{align}</math>
And the formulas presented below are called ''inverse tangent integrals'': <math display="block">\begin{align} \text{Ti}_{2}(x) &= \sum_{n = 0}^{\infty} \frac{(-1)^{n}}{(2n + 1)^2} x^{2n + 1} \\ \text{Ti}_{3}(x) &= \sum_{n = 0}^{\infty} \frac{(-1)^{n}}{(2n + 1)^3} x^{2n + 1} \end{align}</math>
These formulas occur in statistical mechanics. Integrals encountered in Bose–Einstein and Fermi–Dirac statistics can be expressed in terms of polylogarithms.<ref>{{cite web|url=https://dlmf.nist.gov/25.12#E14 |title=§25.12 Polylogarithms |website=Digital Library of Mathematical Functions |publisher=NIST |access-date=2026-04-01}}</ref> The inverse tangent integral value <math>\text{Ti}_2(1/\sqrt{3})</math> appears in the per-site entropy of spanning trees on a large triangular lattice.<ref>{{cite journal|first1=L. C. |last1=Chen |first2=F. Y. |last2=Wu |title=The random cluster model and new summation and integration identities |journal=J. Phys. A |volume=38 |pages=6271–6276 |year=2005 |doi=10.1088/0305-4470/38/28/001 |arxiv=cond-mat/0501228}}</ref>
=== Elliptic functions ===
The complete elliptic integrals of first kind K and of second kind E can be defined as follows: <math display="block">\begin{align} \frac{2}{\pi}K(x) &= \sum_{n = 0}^{\infty} \frac{[(2n)!]^2}{16^{n}(n!)^4}x^{2n} \\ \frac{2}{\pi}E(x) &= \sum_{n = 0}^{\infty} \frac{[(2n)!]^2}{(1 - 2n)16^{n}(n!)^4}x^{2n} \end{align}</math>
The Jacobi theta functions describe the world of the elliptic modular functions and they have these Taylor series: <math display="block">\begin{align} \vartheta_{00}(x) &= 1 + 2\sum_{n = 1}^{\infty} x^{n^2} \\ \vartheta_{01}(x) &= 1 + 2\sum_{n = 1}^{\infty} (-1)^{n} x^{n^2} \end{align}</math>
== See also == {{portal|Mathematics}} * Asymptotic expansion * Newton polynomial * Padé approximant – best approximation by a rational function * Puiseux series – power series with rational exponents * Approximation theory * Function approximation
== Notes == {{reflist|30em}}
== References == {{refbegin|30em}} * {{citation | last1 = Ahlfors | first1 = Lars V. |author-link=Lars Ahlfors | title = Complex analysis | edition = 3rd | publisher = McGraw-Hill | location = New York | year = 1979 | isbn = 978-0-07-000657-7 }}. * {{cite book | last1 = Abramowitz | first1 = Milton | author1-link = Milton Abramowitz | last2 = Stegun | first2 = Irene A. | author2-link = Irene Stegun | title = Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables | publisher = Dover Publications | location = New York | id = Ninth printing | year = 1970 }} * {{cite book | last = Banner | first = Adrian | year = 2007 | title = The Calculus Lifesaver: All the Tools You Need to Excel at Calculus | publisher = Princeton University Press | url = https://books.google.com/books?id=OrumDwAAQBAJ | isbn = 978-0-691-13088-0 }} * {{cite book | last1 = Bilodeau | first1 = Gerald | last2 = Thie | first2 = Paul | last3 = Keough | first3 = G. E. | year = 2010 | title = An Introduction to Analysis | publisher = Jones & Bartlett Publisher | isbn = 978-0-7637-7492-9 }} * {{citation | last = Bliss | first = Gilbert Ames | author-link = Gilbert Ames Bliss | title = Algebraic Functions | publisher = Dover Publications | year = 1933 | isbn = 978-0-486-49568-2 }}. * {{cite book | last1 = Boyer | first1 = C. | last2 = Merzbach | first2 = U. | author2-link = Uta Merzbach | year = 1991 | title = A History of Mathematics | url = https://archive.org/details/historyofmathema00boye | url-access = registration | publisher = John Wiley and Sons | edition = 2nd | isbn = 0-471-09763-2 }} * {{cite web | last = Bruce | first = Ian | year = 2007 | url = https://17centurymaths.com/contents/taylorscontents.html | title = Methodus Incrementorum Directa & Inversa] | website = 17centurymaths.com }} * {{cite book | last = Campos | first = Luis Manuel Braga da Costa | title = Complex Analysis with Applications to Flows and Fields | year = 2011 | publisher = CRC Press | isbn = 978-1-040-17268-1 | url = https://books.google.com/books?id=z6mNEQAAQBAJ }} * {{cite book | last = Choudhary | first = B. | year = 1992 | title = The Elements of Complex Analysis | publisher = New Age International Limited | isbn = 978-81-224-0399-2 | url = https://books.google.com/books?id=5K9i2YwgTjYC }} Note that this source is reprinted in 2003. * {{citation | last1 = Conway | first1 = John B. |author-link=John B. Conway | title = Functions of one complex variable. I | series = Graduate Texts in Mathematics | volume = 11 | edition = 2nd | publisher = Springer-Verlag | location = New York | year = 1978 | isbn = 978-0-387-90328-6 }}. * {{cite journal | last = Dani | first = S. G. | title = Ancient Indian Mathematics – A Conspectus | journal = Resonance | volume = 17 | issue = 3 | year = 2012 | pages = 236–246 | doi = 10.1007/s12045-012-0022-y | s2cid = 120553186 }} * {{cite book | last = Edwards | first = C. Henry | url = https://books.google.com/books?id=ilrlBwAAQBAJ | title = The Historical Development of the Calculus | year = 1994 | publisher = Springer | isbn = 978-0-387-94313-8 | series = Springer study edition }} * {{cite book | last1 = Enns | first1 = Richard H. | last2 = McGuire | first2 = George C. | year = 2000 | title = Nonlinear Physics with Maple for Scientists and Engineers | url = https://books.google.com/books?id=rxadEAAAQBAJ | edition = 2nd | publisher = John Wiley & Sons | isbn = 978-0-471-25709-7 }} * {{cite journal | last = Feigenbaum | first = L. | year = 1985 | title= Brook Taylor and the method of increments | journal = Archive for History of Exact Sciences | volume = 34 | issue = 1–2 | pages = 1–140 | doi = 10.1007/bf00329903 | s2cid = 122105736 }} * {{cite book | last = Feller | first = William | author-link = William Feller | title = An introduction to probability theory and its applications | volume = 2 | edition = 3rd | publisher = Wiley | orig-year = 1971 | date = 2003 | oclc = 818811840 | isbn = 9789971512989 | url = https://archive.org/details/introductiontopr0000fell/mode/2up }} * {{citation | last1 = Freitag | first1 = Eberhard | last2 = Busam | first2 = Rolf | title = Complex analysis | publisher = Springer | location = Berlin | year = 2005 | isbn = 978-3-540-93983-2 }}. * {{cite book | last = Grossman | first = Stanley I. | year = 1984 | title = Calculus | edition = 3rd | url = https://books.google.com/books?id=eafiBQAAQBAJ | publisher = Academic Press | isbn = 978-1-4832-6239-0 }} * {{cite book | last = Gupta | first = Radha Charan | editor-last = Ramasubramanian | editor-first = K. | year = 2019 | title = Gaṇitānanda: Selected Works of Radha Charan Gupta on History of Mathematics | publisher = Springer | doi = 10.1007/978-981-13-1229-8_40 | s2cid = 213756968 }} * {{citation | last = Henrici | first = Peter | author-link = Peter Henrici (mathematician) | title = Applied and Computational Complex Analysis | volume = 1 | publisher = Wiley-Interscience | location = New York | year = 1974 }}. * {{cite book | last1 = Hille | first1 = Einar | author-link1 = Einar Hille | last2 = Phillips | first2 = Ralph S. | author-link2 = Ralph S. Phillips | title = Functional analysis and semi-groups | publisher = American Mathematical Society | series = AMS Colloquium Publications | volume = 31 | year = 1957 | url = https://archive.org/details/bwb_T2-CGU-824_31/mode/2up }} * {{cite journal | last = Hofmann | first = Josef Ehrenfried | year = 1939 | title = On the Discovery of the Logarithmic Series and Its Development in England up to Cotes | journal = National Mathematics Magazine | volume = 14 | issue = 1 | pages = 33–45 | doi = 10.2307/3028095 | jstor = 3028095 }} * {{cite book | last = Hörmander | first = Lars | author-link = Lars Hörmander | title = The Analysis of Partial Differential Operators I | at = §{{nbsp}}1.1, {{pgs|5–13}} | orig-year = 1990 | publisher = Springer | chapter = A Review of Differential Calculus | isbn = 978-3-642-61497-2 | date = 2002 | doi = 10.1007/978-3-642-61497-2_2 | edition = 2nd | chapter-url = https://link.springer.com/chapter/10.1007/978-3-642-61497-2_2 }} * {{cite book | last = Kline | first = M. | year = 1990 | title = Mathematical Thought from Ancient to Modern Times | url = https://archive.org/details/mathematicalthou00klin | url-access = registration | location = New York | publisher = Oxford University Press | isbn = 0-19-506135-7 }} * {{cite book | last = Knapp | first = Anthony W. | title = Basic Real Analysis | year = 2000 | url = https://books.google.com/books?id=DLfxd7StGw8C | publisher = Springer | isbn = 978-0-8176-4441-3 }} * {{cite book | last1 = Kolk | first1 = Johan A.C. | last2 = Duistermaat | first2 = J.J. | isbn = 978-0-8176-4672-1 | title = Distributions: Theory and applications | publisher = Birkhauser | year = 2010 | chapter = Taylor Expansion in Several Variables | chapter-url = https://link.springer.com/chapter/10.1007/978-0-8176-4675-2_6 | doi = 10.1007/978-0-8176-4675-2_6 }} * {{cite book | last = Kreyszig | first = Erwin | year = 2011 | title = Advanced Engineering Mathematics | url = https://books.google.com/books?id=w4T3DwAAQBAJ | publisher = John Wiley & Sons | isbn = 978-1-119-45592-9 }} * {{citation | last1 = Lang | first1 = Serge | title = Complex analysis | series = Graduate Texts in Mathematics | volume = 103 | edition = 4th | publisher = Springer | location = New York | year = 1999 | isbn = 978-0-387-98592-3 }}. * {{cite book | last = Lindberg | first = David | title = The Beginnings of Western Science | date = 2007 | publisher = University of Chicago Press | isbn = 978-0-226-48205-7 | edition = 2nd }} * {{cite journal | last = Malet | first = Antoni | year = 1993 | title = James Gregorie on Tangents and the "Taylor" Rule for Series Expansions | journal = Archive for History of Exact Sciences | volume = 46 | number = 2 | pages = 97–137 | jstor = 41133959 | doi = 10.1007/BF00375656 | s2cid= 120101519 }} * {{cite book | last = Markushevich | first = A. I. | title = Entire Functions | year = 1966 | url = https://books.google.com/books?id=-rvSBQAAQBAJ | publisher = Elsevier | isbn = 978-1-4832-7490-4 }} * {{cite book | last = Newton | first = Isaac | author-link = Isaac Newton | year = 1761 | title = Tractatus de quadratura curvarum: in usum studiosae iuventutis mathematicae explicationibus illustratus }} * {{cite book | last = Rowlands | first = Peter | title = Newton and the Great World System | publisher = World Scientific Publishing | year = 2017 | isbn = 978-1-78634-372-7 | page = 40 | doi = 10.1142/q0108 }} * {{cite journal | last = Roy | first = Ranjan | year = 1990 | title = The Discovery of the Series Formula for {{mvar|π}} by Leibniz, Gregory and Nilakantha | journal = Mathematics Magazine | volume = 63 | number = 5 | pages = 291–306 | url = https://www.maa.org/sites/default/files/images/upload_library/22/Allendoerfer/1991/0025570x.di021167.02p0073q.pdf | doi = 10.1080/0025570X.1990.11977541 | access-date = 2023-02-18 | archive-date = 2023-03-14 | archive-url = https://web.archive.org/web/20230314224252/https://www.maa.org/sites/default/files/images/upload_library/22/Allendoerfer/1991/0025570x.di021167.02p0073q.pdf | url-status = dead }} * {{citation | last1 = Rudin | first1 = Walter | title = Principles of mathematical analysis | edition = 3rd | publisher = McGraw-Hill | location = New York | year = 1976 | isbn = 978-0-07-054235-8 }}. * {{cite book | last = Rudin | first = Walter | author-link = Walter Rudin | title = Real and Complex Analysis | place = New Delhi | publisher = McGraw-Hill | year = 1980 | isbn = 0-07-099557-5 }} * {{cite book | last = Saha | first = Swapan K. | year = 2026 | title = Paradigm of Optical Imaging | url = https://books.google.com/books?id=ZkF-EQAAQBAJ | publisher = CRC Press | isbn = 978-1-040-44735-2 }} * {{cite book | last = Sandler | first = Stanley I. | year = 2011 | title = An Introduction to Applied Statistical Thermodynamics | publisher = John Wiley & Sons | isbn = 978-0-470-91347-5 | url = https://books.google.com/books?id=6wtw2c5Cj0QC }} * {{cite book | last = Silverman | first = Richard A. | year = 1974 | publisher = Dover Publications | title = Complex Analysis with Applications }} * {{citation | last1 = Stein | first1 = Elias M. |author-link=Elias M. Stein | last2 = Shakarchi | first2 = Rami | title = Complex analysis | series = Princeton Lectures in Analysis | volume = 2 | publisher = Princeton University Press | location = Princeton, New Jersey | year = 2003 | isbn = 978-0-691-11385-2 }}. * {{citation | last = Stewart | first = James | author-link = James Stewart (mathematician) | title = Calculus: Early Transcendentals | edition = 6th | publisher = Thomson Brooks/Cole | year = 2008 | isbn = 978-0-495-38273-7 }}. * {{cite book | last = Struik | first = D. J. |author-link=Dirk Jan Struik | title = A Source Book in Mathematics 1200–1800 | publisher = Harvard University Press | date = 1969 | url = {{GBurl|XmRsZhJZGhEC|pg=PR11}} | isbn = 978-0-674-82355-6 }} * {{cite book | language = la | last = Taylor | first = Brook | title = Methodus Incrementorum Directa et Inversa | url = https://archive.org/details/UFIE003454_TO0324_PNI-2529_000000 | trans-title = Direct and Reverse Methods of Incrementation | location = London | date = 1715 }} * {{cite book | last1 = Thomas | first1 = George B. Jr. | last2 = Finney | first2 = Ross L. | title = Calculus and Analytic Geometry | edition = 9th | publisher = Addison Wesley | year = 1996 | isbn = 0-201-53174-7 }} * {{citation | last1 = Titchmarsh | first1 = E. C. | title = The theory of functions | edition = 2nd | publisher = Oxford University Press | location = London | year = 1939 }}. * {{cite book | editor-last = Turnbull | editor-first = Herbert Westren | year = 1939 | title = James Gregory; Tercentenary Memorial Volume | publisher = G. Bell & Sons }} * {{cite book | last1 = Varberg | first1 = Dale E. | last2 = Purcell | first2 = Edwin J. | last3 = Rigdon | first3 = Steven E. | year = 2007 | title = Calculus | edition = 9th | publisher = Pearson Prentice Hall | isbn = 9780131469686 }} {{refend}}
==Further reading==
* {{cite journal | last = Bressoud | first = David | year = 2002 | title = Was Calculus Invented in India? | journal = The College Mathematics Journal | volume = 33 | issue = 1 | pages = 2–13 | doi = 10.2307/1558972 | jstor = 1558972 }} * {{cite book | last = Greenberg | first = Michael | title = Advanced Engineering Mathematics | edition = 2nd | publisher = Prentice Hall | year = 1998 | isbn = 0-13-321431-1 | url-access = registration | url = https://archive.org/details/advancedengineer0000gree }} * {{cite book | last = Roy | first = Ranjan | year = 2021 | orig-year = 2011 | title = Series and Products in the Development of Mathematics | edition = 2nd | volume = 1 | publisher = Cambridge University Press }}
== External links == {{sister project links |wikt=Taylor series |commons=Category:Taylor series |b=Calculus/Taylor series |v=Taylor's series |n=no |q=no |s=no |species=no |d=Q131187}} * {{springer|title=Taylor series|id=p/t092320}} * {{MathWorld| urlname= TaylorSeries| title= Taylor Series}} {{series (mathematics)}} {{Authority control}}
Category:Complex analysis Category:Differential calculus Category:Integral calculus Category:Real analysis Category:Series expansions