Use the degree-two Taylor polynomial of ex at 0 to approximate e0.2, and bound the error.
e0.2≈P2(0.2)
1
Find the derivatives at 0
Every derivative of ex is ex, and e0=1, so the value and the first two derivatives at 0 are all 1.
f(0)=f′(0)=f′′(0)=1
2
Divide by the factorials
The coefficients are 1/0!=1,1/1!=1 and 1/2!=1/2. Multiply each by the matching power of x and add.
P2(x)=1+x+2x2
3
Evaluate
Substitute x=0.2. The terms are 1,0.2 and 0.04/2=0.02.
P2(0.2)=1+0.2+0.02=1.22
4
Bound the error
The third derivative is ex, which on [0,0.2] is at most e0.2. Since e<3,e0.2<30.2<1.25, because 1.255≈3.05. With M=1.25 the error is below 1.25(0.2)3/3!=1/600≈0.00167.
61.25(0.2)3=6001
5
Compare with the true value
e0.2=1.2214, so the actual error is 0.0014, inside the bound. The bound is a guarantee, and the actual error is smaller.
Result
e0.2≈1.22, with error below 0.00167. The actual error is 0.0014.
e0.2≈1.22
Your turn
1. One like the example
Use the degree-three Taylor polynomial of ex at 0 to approximate e0.2.
Show the answer and explanation
1.221333…
The next coefficient is 1/3!=1/6, so P3(x)=1+x+x2/2+x3/6. Then P3(0.2)=1+0.2+0.02+0.008/6=1.221333…, within 0.00007 of e0.2=1.221403.
P(x)=1+x+2x2+6x3P(0.2)=375458P(0.2)≈1.221333
2. A variation
Use the degree-two Taylor polynomial of ex at 0 to approximate e−0.1, and bound the error.
Show the answer and explanation
e−0.1≈0.905, with error below 1/6000≈0.000167.
P2(−0.1)=1−0.1+0.01/2=0.905.Between −0.1 and 0 the third derivative ex is at most e0=1, so M=1 and the error is below (0.1)3/3!=1/6000. The true value is 0.904837, which is 0.000163 away.
P(x)=1+x+2x2P(−0.1)=0.9056(0.1)3=60001
3. Somewhere new
Use the degree-two Taylor polynomial of √x centered at 4 to approximate √4.1.
Show the answer and explanation
√4.1≈2.0248438, within 0.000002 of √4.1=2.0248457.
f(4)=2.f′(x)=1/(2√x) gives f′(4)=1/4, and f′′(x)=−1/(4x3/2) gives f′′(4)=−1/32, which divided by 2!is −1/64.P2(x)=2+(x−4)/4−(x−4)2/64, and P2(4.1)=2+0.025−0.00015625=2.02484375.