Back to Extending local linearization

Activity 8.1.4

Avg difficulty 2.5

We continue to work with f(x)=exf(x)=e^x and the four approximations of degree 11, 22, 33, and 44 given by T1(x)T_1(x), T2(x)T_2(x), T3(x)T_3(x), and T4(x)T_4(x).

  1. In Preview Activity, we built a spreadsheet that computed the differences between f(x)f(x) and T1(x)T_1(x) for xx-values between −1-1 and 11, spaced 0.10.1 units apart. Your spreadsheet started like the one shown in the table in Preview Activity.

    Next, we build an updated version of this spreadsheet that computes similar differences between ff and the three higher degree approximations we have found. In particular, we now want to have columns for Δx\Delta x, xx, f(x)f(x), T1(x)T_1(x), T2(x)T_2(x), T3(x)T_3(x), and T4(x)T_4(x), plus the absolute differences ∣f(x)−T1(x)∣|f(x) - T_1(x)|, ∣f(x)−T2(x)∣|f(x) - T_2(x)|, ∣f(x)−T3(x)∣|f(x) - T_3(x)|, and ∣f(x)−T4(x)∣|f(x) - T_4(x)|. Hint: when building your entries, note that you can think of T2(x)T_2(x) as T2(x)=T1(x)+12x2T_2(x) = T_1(x) + \frac{1}{2}x^2, and similarly view T3(x)T_3(x) as “T2(x)T_2(x) plus one more term”.

    Include at least 55 digits of accuracy beyond the decimal. The first seven columns of your spreadsheet might start like this:

    Comparing f(x)=exf(x) = e^x and its degree 11, 22, 33, 44 and approximations near a=0a = 0.
    Δx\Delta xxxf(x)f(x)T1(x)T_1(x)T2(x)T_2(x)T3(x)T_3(x)T4(x)T_4(x)
    0.10.1−1.0-1.00.367870.367870.000000.000000.500000.500000.333330.333330.375000.37500
    0.10.1−0.9-0.90.406570.406570.100000.100000.505000.505000.383500.383500.410830.41083

    The next four columns of your spreadsheet should begin as follows:

    The absolute error between f(x)=exf(x) = e^x and its degree 11, 22, 33, and 44 approximations at x=−1x=-1 and x=−0.9x=-0.9.
    ∣f(x)−T1(x)∣|f(x)-T_1(x)|∣f(x)−T2(x)∣|f(x)-T_2(x)|∣f(x)−T3(x)∣|f(x)-T_3(x)|∣f(x)−T4(x)∣|f(x)-T_4(x)|
    0.367870.367870.132120.132120.034540.034540.007120.00712
    0.306570.306570.098430.098430.023070.023070.004260.00426
  2. We call the value of ∣f(x)−T2(x)∣|f(x) - T_2(x)| the absolute error of the quadratic approximation of ff at the value xx. What is the absolute error of the quadratic approximation at x=−1x = -1? at x=1x = 1?

  3. What is the absolute error of the cubic (degree 33) approximation, T3(x)T_3(x), at x=−1x = -1? at x=1x = 1?

  4. What is the absolute error of the quartic (degree 44) approximation, T4(x)T_4(x), at x=−1x = -1? at x=1x = 1?

  5. Study your spreadsheet for trends that you notice as the value of xx changes or the degree nn of the approximation changes. What are your observations?

  6. Investigate the errors in the various approximations for a wider interval of xx-values. For example, you might consider starting at x=−2x = -2 with Δx=0.2\Delta x = 0.2. What do you notice?

Boelkins, Active Calculus, §8.1 Extending local linearization, Activity 8.1.4

AI Tutor

Adapted from Active Calculus © 2012–2025 Matthew Boelkins. Licensed under CC BY-SA 4.0. Source: Active Calculus. Imported at revision dc86ba3.