Taylor series
December 25, 2022
Útulek Series, 5 | CF1761D Chapter, 5
I have been reviewing the Taylor series, which are defined for f(x) about a as
fi(x)=i=0∑jai(x−a)i
with the property that fi(a)=f(a), fi′(a)=f′(a), and so on, as long as f is differentiable at a. This forces the ai to be the values of the derivatives themselves,
ai=f(i)(a)/i!,
and intuitively, the Taylor series is simply a deriviative-based approximation around a and its neighborhood. We assume, perhaps with overconfidence, that any function is the limit of a series of polynomials, and by that definition, these polynomials necessarily satisfy the form of a sum of ai(x−a)i. Tony provides an intuitive derivation of Taylor series via the Fundamental Theorem of Calculus, which supports this intuition.
Indeed, the limit of the Taylor series, f∞(x), is f(x), while the error of the series in general can be bounded by what’s known as Taylor’s remainder theorem.
1 Taylor Series of f(x)=lnx at a=1
We have
a0a1a2a3=f(a)/0!=0,=f′(a)/1!=1,=f′′(a)/2!=−a−2/2=−1/2,=f′′′(a)/3!=a−3/3=1/3,
and indeed as we claimed last time,
f∞,1(x)=lnx=(x−1)−(x−1)2/2+(x−1)3/3−….
2 Proof for ζ(2)=π2/6
Take f(x)=sin(x). We have for a=0
a0a1a2a3=f(a)/0!=0,=f′(a)/1!=1,=f′′(a)/2!=0,=f′′′(a)/3!=−1,
and hence
f∞,0=sinx=x−x3/3!+x5/5!−…=x(1−x2/3!+x4/5!−…).
Recalling that sinx has roots at kπ, we must be able to factor f∞,0 similarly with these roots:
f∞,0/x=(1−x2/3!+x4/5!−…)=C(x−π)(x+π)(x−2π)(x+2π)…=(1−x/π)(1+x/π)(1−x/2π)(1+x/2π)…=(1−x2/π2)(1−x2/4π2)…
where we see the first inklings of ζ(2) on the RHS. In fact, the coefficient of x2 in this representation of f∞,0 is exactly −ζ(2)/π2. Since we know this coefficient is −1/6, we have ζ(2)=π2/6.
3 Proof of the Wallis Product
In The Recurrence Detanglement Conjecture and the Harmonic Series, I introduced the Wallis product
i=1∏∞4i2−14i2=(12⋅32)(34⋅54)(56⋅76)⋯.
Again, we have for f(x)=xsinx,
f∞,0/x=2/π=(1−1/4)(1−1/16)(1−1/36)…=i=1∏∞4i2−14i2.