Chapter 8: Performance Surfaces and Optimum Points: Brandon Morgan 1/14/2021
Chapter 8: Performance Surfaces and Optimum Points: Brandon Morgan 1/14/2021
Chapter 8: Performance Surfaces and Optimum Points: Brandon Morgan 1/14/2021
Brandon Morgan
1/14/2021
E8.1
We are given the following scalar function
1
F (x) =
x3 − 0.75x − 0.5
The second-order Taylor series approximation for a scalar function, F (x), is given by:
d 1 d2
F (x) = F (x∗ ) + F (x)|x=x∗ (x − x∗ ) + F (x)|x=x∗ (x − x∗ )2
dx 2 dx2
Here we get the following first and second derivatives of the function:
3x2 − 0.75
F 0 (x) = −
(x3 − 0.75x − 0.5)2
1
3
We can now plot our scalar function and its second order Taylor expansion at each point to obersve its
accuracy.
library(ggplot2)
0
y
−4
2
As we can see from the plot above, our second order Taylor approximation does a very good job of approxi-
mating our function at the point x = −0.5 within a small interval.
−40
y
−80
−120
3
4e+07
3e+07
y
2e+07
1e+07
0e+00
Unfortunately, I was unable to plot both functions on top of each other; however, we can see that our function
approaches infinity as x → 1.1 from both sides. Because this point is undefined, our Taylor approximation
does a poor job at approximating this point, as one can tell from its graph.