Chalk−1

Math · Calculus II · Worked example

Approximate e to the power 0.2

Use the degree-two Taylor polynomial of ex at 0 to approximate e0.2, and bound the error.

e0.2≈P2(0.2)

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

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+x22

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

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.

1.25⁢(0.2)36=1600

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+x22+x36P⁢(0.2)=458375P⁢(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+x22P⁢(−0.1)=0.905(0.1)36=16000

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⁢/⁢(2x) 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.

f⁡(x)=xf′(x)=12xf′′(x)=−14x3⁢/2f′(4)=14f′′(4)=−132P⁢(x)=2+x−44−(x−4)264P⁢(4.1)=2.02484375

Keep exploring

In Taylor Approximation, raise the degree to 3. The sampled error on [0,0.2] drops from 0.0014 to 0.00007.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Study it, then try it

Practice the key terms as flashcards, then open the example in its tool, change a value and keep a useful result on your board.

Study the 7 key terms Open Taylor Approximation Check the value in Math Open worked example on a board Taylor Approximation in Math Reference

Your existing work stays on this device. Examples open as editable copies.