Taylor’s theorem
Taylor’s theorem describes the margin of error for a Taylor series.
It states that if
where
Therefore a maximum error is given by the maximum of
Proof 1
Let
𝐴 = 𝑓 ( 𝑥 ) − 𝑇 𝑓 𝑛 , 𝑎 ( 𝑥 ) ( 𝑥 − 𝑎 ) 𝑛 + 1 ( 𝑛 + 1 ) ! i.e. so that
𝑓 ( 𝑥 ) = 𝑇 𝑓 𝑛 , 𝑎 ( 𝑥 ) + 𝐴 ( 𝑛 + 1 ) ! ( 𝑥 − 𝑎 ) 𝑛 + 1 We want to show there exists a
such that 𝑧 ∈ ( 𝑎 , 𝑏 ) . Now define 𝐴 = 𝑓 ( 𝑛 + 1 ) ( 𝑧 ) 𝐹 ( 𝜉 ) = 𝑓 ( 𝑥 ) − 𝑇 𝑓 𝑛 , 𝜉 ( 𝑥 ) − 𝐴 ( 𝑛 + 1 ) ! ( 𝑥 − 𝜉 ) 𝑛 + 1 Then
, so by Rolle’s theorem there exists some 𝐹 ( 𝑥 ) = 𝐹 ( 𝑎 ) = 0 such that 𝑧 ∈ ( 𝑥 , 𝑎 ) . Now 𝐹 ′ ( 𝑧 ) = 0 𝐹 ′ ( 𝜉 ) = − 𝑑 𝑑 𝜉 ( 𝑓 ( 𝜉 ) + 𝑛 ∑ 𝑖 = 1 𝑓 ( 𝑖 ) ( 𝜉 ) 𝑖 ! ( 𝑥 − 𝜉 ) 𝑖 + 𝐴 ( 𝑛 + 1 ) ! ( 𝑥 − 𝜉 ) 𝑛 + 1 ) = − ( 𝑓 ′ ( 𝜉 ) + 𝑛 ∑ 𝑖 = 1 ( 𝑓 ( 𝑖 + 1 ) ( 𝜉 ) 𝑖 ! ( 𝑥 − 𝜉 ) 𝑖 − 𝑓 ( 𝑖 ) ( 𝜉 ) ( 𝑖 − 1 ) ! ( 𝑥 − 𝜉 ) 𝑖 − 1 ) − 𝐴 𝑛 ! ( 𝑥 − 𝜉 ) 𝑛 ) = − ( 𝑓 ′ ( 𝜉 ) + 𝑛 ∑ 𝑖 = 1 𝑓 ( 𝑖 + 1 ) ( 𝜉 ) 𝑖 ! ( 𝑥 − 𝜉 ) 𝑖 − 𝑛 − 1 ∑ 𝑖 = 0 𝑓 ( 𝑖 + 1 ) ( 𝜉 ) 𝑖 ! ( 𝑥 − 𝜉 ) 𝑖 − 𝐴 𝑛 ! ( 𝑥 − 𝜉 ) 𝑛 ) = − ( 𝑓 ′ ( 𝜉 ) + 𝑓 ( 𝑛 + 1 ) ( 𝜉 ) 𝑛 ! − 𝑓 ′ ( 𝜉 ) − 𝐴 𝑛 ! ( 𝑥 − 𝜉 ) 𝑛 ) = − 𝑓 ( 𝑛 + 1 ) ( 𝜉 ) + 𝐴 𝑛 ! ( 𝑥 − 𝜉 ) 𝑛 so
for 𝐹 ′ ( 𝑧 ) = 0 implies 𝑧 ∈ ( 𝑥 , 𝑎 ) , as required. 𝑓 ( 𝑛 + 1 ) ( 𝑧 ) = 𝐴