Taylor series: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Catherine Woodgold
(→‎General formula: Intuitive explanation of Taylor series)
imported>Catherine Woodgold
(→‎General formula: if it converges.)
Line 6: Line 6:
==Series==
==Series==
===General formula===
===General formula===
An intuitive explanation of the Taylor series is that, in order to approximate the value of <math>f(x)</math>, as a first approximation we use the value at another point <math>a</math>, i.e. <math>f(a)</math>.  If <math>x</math> and <math>a</math> are close together and <math>f</math> varies only slowly, this can be a good approximation.  Then we refine the approximation step by step.  The derivative of <math>f</math> is used to calculate approximately how much <math>f</math> would be expected to change between <math>a</math> and <math>x</math>, and this amount is added as a correction.  But we assume we only know the derivative of <math>f</math> at <math>a</math>, and the derivative may change between the two numbers, so another correction is needed, involving the second derivative which is a measure of how much the first derivative changes.  So it continues, adding corrections to corrections, and in the limit it converges to the actual value of <math>f(x)</math> even if <math>x</math> and <math>a</math> are far apart.
An intuitive explanation of the Taylor series is that, in order to approximate the value of <math>f(x)</math>, as a first approximation we use the value at another point <math>a</math>, i.e. <math>f(a)</math>.  If <math>x</math> and <math>a</math> are close together and <math>f</math> varies only slowly, this can be a good approximation.  Then we refine the approximation step by step.  The derivative of <math>f</math> is used to calculate approximately how much <math>f</math> would be expected to change between <math>a</math> and <math>x</math>, and this amount is added as a correction.  But we assume we only know the derivative of <math>f</math> at <math>a</math>, and the derivative may change between the two numbers, so another correction is needed, involving the second derivative which is a measure of how much the first derivative changes.  So it continues, adding corrections to corrections, and in the limit, if it converges then it converges to the actual value of <math>f(x)</math> even if <math>x</math> and <math>a</math> are far apart.
:<math>
:<math>
f(x)=f(a)+f'(a)(x-a)+\frac{f''(a)}{2}(x-a)^2+\frac{f'''(a)}{3!}(x-a)^3+\cdots+\frac{f^{(r)}(a)}{r!}(x-a)^r+\cdots  
f(x)=f(a)+f'(a)(x-a)+\frac{f''(a)}{2}(x-a)^2+\frac{f'''(a)}{3!}(x-a)^3+\cdots+\frac{f^{(r)}(a)}{r!}(x-a)^r+\cdots  

Revision as of 10:24, 5 May 2007

A Taylor series is an infinite sum of polynomial terms to approximate a function in the region about a certain point . This is only possible if the function is behaving analytically in this neighbourhood. Such series about the point are known as Maclaurin series, after Scottish mathematician Colin Maclaurin. They work by ensuring that the approximate series matches up to the nth derivative of the function being approximated when it is approximated by a polynomial of degree .

Proof

See Taylor's theorem

Series

General formula

An intuitive explanation of the Taylor series is that, in order to approximate the value of , as a first approximation we use the value at another point , i.e. . If and are close together and varies only slowly, this can be a good approximation. Then we refine the approximation step by step. The derivative of is used to calculate approximately how much would be expected to change between and , and this amount is added as a correction. But we assume we only know the derivative of at , and the derivative may change between the two numbers, so another correction is needed, involving the second derivative which is a measure of how much the first derivative changes. So it continues, adding corrections to corrections, and in the limit, if it converges then it converges to the actual value of even if and are far apart.

where is the first derivative of the function , and is the second derivative, and so on.

Exponential & Logarithmic functions



Trigonometric functions






where Bk=kth Bernoulli number.



Inverse trigonometric functions



Hyperbolic functions





Inverse hyperbolic functions



Calculation of Taylor series for more complicated functions