This Quantum World/Appendix/Taylor series

From testwiki
Revision as of 15:45, 24 June 2017 by imported>Strange quark (Fix categorization)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Taylor series

A well-behaved function can be expanded into a power series. This means that for all non-negative integers k there are real numbers ak such that

f(x)=k=0akxk=a0+a1x+a2x2+a3x3+a4x4+

Let us calculate the first four derivatives using (xn)=nxn1:

f(x)=a1+2a2x+3a3x2+4a4x3+5a5x4+
f(x)=2a2+23a3x+34a4x2+45a5x3+
f(x)=23a3+234a4x+345a5x2+
f(x)=234a4+2345a5x+

Setting x equal to zero, we obtain

f(0)=a0,f(0)=a1,f(0)=2a2,f(0)=2×3a3,f(0)=2×3×4a4.

Let us write f(n)(x) for the n-th derivative of f(x). We also write f(0)(x)=f(x) — think of f(x) as the "zeroth derivative" of f(x). We thus arrive at the general result f(k)(0)=k!ak, where the factorial k! is defined as equal to 1 for k=0 and k=1 and as the product of all natural numbers nk for k>1. Expressing the coefficients ak in terms of the derivatives of f(x) at x=0, we obtain

f(x)=k=0f(k)(0)k!xk=f(0)+f(0)x+f(0)x22!+f(0)x33!+

This is the Taylor series for f(x).

A remarkable result: if you know the value of a well-behaved function f(x) and the values of all of its derivatives at the single point x=0 then you know f(x) at all points x. Besides, there is nothing special about x=0, so f(x) is also determined by its value and the values of its derivatives at any other point x0:

f(x)=k=0f(k)(x0)k!(xx0)k.

Template:BookCat