Difference between revisions of "Taylor series"
DavidB4-bot (talk | contribs) (clean up & uniformity) |
|||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Math-h}} | ||
| + | |||
The '''Taylor series''' of a function is useful for approximating a [[function|mathematical function]] near to some particular point. For a function <math>f(x)</math>, the Taylor series about the point <math>x_0</math> is | The '''Taylor series''' of a function is useful for approximating a [[function|mathematical function]] near to some particular point. For a function <math>f(x)</math>, the Taylor series about the point <math>x_0</math> is | ||
<math>f(x)=f(x_0)+(x-x_0)\frac{df(x)}{dx}+\frac{(x-x_0)^2}{2!}\frac{d^2f(x)}{dx^2}+\ldots+\frac{(x-x_0)^N}{N!}\frac{d^Nf(x)}{dx^N}</math> | <math>f(x)=f(x_0)+(x-x_0)\frac{df(x)}{dx}+\frac{(x-x_0)^2}{2!}\frac{d^2f(x)}{dx^2}+\ldots+\frac{(x-x_0)^N}{N!}\frac{d^Nf(x)}{dx^N}</math> | ||
| − | where each of the derivatives is to be evaluated at <math>x=x_0</math>. If as <math>N\rightarrow\infty</math> the series converges | + | where each of the derivatives is to be evaluated at <math>x=x_0</math>. If as <math>N\rightarrow\infty</math> the [[series (mathematics)|series]] converges, then it is exact. Otherwise, it can be used as an approximation. Often, Taylor series are performed around <math>x_0=0</math>, in which case they are sometimes also known as a [[Maclaurin series]]. |
| − | + | ==Examples of common Taylor series== | |
| − | <math>e^x=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\ldots</math> | + | <math>e^x=\sum_{n=0}^{\infin} \frac{x^{n}}{n!}=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\ldots</math> |
| − | <math>\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\ldots</math> | + | <math>\sin x=\sum_{n=0}^{\infin} (-1)^n\frac{x^{2n+1}}{(2n+1)!}=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\ldots</math> |
| − | <math>\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\ldots</math> | + | <math>\cos x=\sum_{n=0}^{\infin} (-1)^n\frac{x^{2n}}{(2n)!}=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\ldots</math> |
| − | + | ===Extensions of the Exponential Function=== | |
Consider the exponential of [[imaginary number]] <math>yi</math>, | Consider the exponential of [[imaginary number]] <math>yi</math>, | ||
| − | <math>e^{yi}=1+yi+\frac{(yi)^2}{2!}+\frac{(yi)^3}{3!}+\frac{(yi)^4}{4!}+\frac{(yi)^5}{5!}+\ldots</math> | + | <math>e^{yi}=1+yi+\frac{(yi)^2}{2!}+\frac{(yi)^3}{3!}+\frac{(yi)^4}{4!}+\frac{(yi)^5}{5!}+\ldots</math> |
| + | :<math>=1+yi-\frac{y^2}{2!}-i\frac{y^{3}}{3!}+\frac{y^4}{4!}+i\frac{y^5}{5!}-\ldots</math> | ||
| − | : | + | :<math>=(1-\frac{y^2}{2!}+\frac{y^4}{4!}-\ldots)+i(y-\frac{y^{3}}{3!}+\frac{y^5}{5!}-\ldots)</math> |
| − | |||
| − | |||
:<math>=\cos y+i\sin y</math> | :<math>=\cos y+i\sin y</math> | ||
| − | By the power laws then, | + | By the power laws then all [[complex numbers]] have an exponential, |
<math>e^{x+yi}=e^{x}(\cos y+i\sin y)</math>. | <math>e^{x+yi}=e^{x}(\cos y+i\sin y)</math>. | ||
| − | [[ | + | [[Category:Calculus]] |
Latest revision as of 20:06, July 13, 2016
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{d}{dx} \sin x=?\,} | This article/section deals with mathematical concepts appropriate for late high school or early college. |
The Taylor series of a function is useful for approximating a mathematical function near to some particular point. For a function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)} , the Taylor series about the point Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_0} is
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=f(x_0)+(x-x_0)\frac{df(x)}{dx}+\frac{(x-x_0)^2}{2!}\frac{d^2f(x)}{dx^2}+\ldots+\frac{(x-x_0)^N}{N!}\frac{d^Nf(x)}{dx^N}}
where each of the derivatives is to be evaluated at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=x_0} . If as Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N\rightarrow\infty} the series converges, then it is exact. Otherwise, it can be used as an approximation. Often, Taylor series are performed around Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_0=0} , in which case they are sometimes also known as a Maclaurin series.
Examples of common Taylor series
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^x=\sum_{n=0}^{\infin} \frac{x^{n}}{n!}=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\ldots}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin x=\sum_{n=0}^{\infin} (-1)^n\frac{x^{2n+1}}{(2n+1)!}=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\ldots}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos x=\sum_{n=0}^{\infin} (-1)^n\frac{x^{2n}}{(2n)!}=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\ldots}
Extensions of the Exponential Function
Consider the exponential of imaginary number Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle yi} ,
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{yi}=1+yi+\frac{(yi)^2}{2!}+\frac{(yi)^3}{3!}+\frac{(yi)^4}{4!}+\frac{(yi)^5}{5!}+\ldots}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =1+yi-\frac{y^2}{2!}-i\frac{y^{3}}{3!}+\frac{y^4}{4!}+i\frac{y^5}{5!}-\ldots}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =(1-\frac{y^2}{2!}+\frac{y^4}{4!}-\ldots)+i(y-\frac{y^{3}}{3!}+\frac{y^5}{5!}-\ldots)}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =\cos y+i\sin y}
By the power laws then all complex numbers have an exponential,
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{x+yi}=e^{x}(\cos y+i\sin y)} .