Our plan is as follows:
- Make a Taylor series for f(x)
- Calculate the tenth derivative of the Taylor series of f(x).
- Decide how many terms we need to add to achieve the desired accuracy.
- Approximate f(10)(51) with a partial sum.
We know that the Taylor series for arctanx is n=0∑∞(−1)n2n+1x2n+1, which converges for −1≤x≤1. So, the Taylor series for arctan(x3) is
f(x)=arctan(x3)=n=0∑∞(−1)n2n+1(x3)2n+1=n=0∑∞(−1)n2n+1x6n+3
It is much easier to differentiate this series many times than it is to differentiate arctan(x3) directly many times.
f′(x)f′′(x)f′′′(x)⋮f(10)(x)f(10)(51)=n=0∑∞(−1)n2n+1(6n+3)x6n+2=n=0∑∞(−1)n2n+1(6n+3)(6n+2)x6n+1=n=0∑∞(−1)n2n+1(6n+3)(6n+2)(6n+1)x6n=n=0∑∞(−1)n2n+1(6n+3)(6n+2)(6n+1)⋯(6n−6)x6n−7=n=2∑∞(−1)n2n+1(6n+3)(6n+2)(6n+1)⋯(6n−6)x6n−7=n=2∑∞(−1)n(2n+1)(6n−7)!(6n+3)!x6n−7=n=2∑∞(−1)n(2n+1)(6n−7)!⋅56n−7(6n+3)!
(Notice, after ten differentiations, the terms a0 and a1 are both zero.)
Since this is an alternating series, the absolute error involved in using the approximation SN is at most
∣aN+1∣=(2N+3)(6N−1)!⋅56N−1(6N+9)!
By testing a few values of N, we find
∣a6∣=∣a5+1∣=(13)(29!)⋅52939!≈0.00000095<10−6
So, S5 is a sufficient approximation. That is,
f(10)(51)≈n=2∑5(−1)n(2n+1)(6n−7)!⋅56n−7(6n+3)!=(−1)25⋅5!⋅5515!+(−1)37!⋅11!⋅51121!+(−1)49!⋅17!⋅51727!+(−1)511!⋅23!⋅52333!=5!⋅5615!−7!⋅11!⋅51121!+9!⋅17!⋅51727!−11!⋅23!⋅52333!
Remark: if we had calculated f(10)(1/5) directly, using derivative rules instead of series, we would have found an exact value; however, our value here is easier to find, and is highly accurate (if not exact).