We assume that you have completed the “Lab 1: Introduction” on the preceding screen. If you have not, please do so now in order to understand the steps below.
2. What are the approximations?
To approximate the instantaneous rate of change, we use the average rates of change for the function over an interval that starts or ends with $x_1 =1.$
\[\text{average rate of change}_{[x_1,\, x_2]} = \text{slope of line segment} = \frac{\color{purple}{\Delta
y}}{\color{green}{\Delta x}} = \frac{\color{purple}{f(x_2)\,-\, f(x_1)}}{\color{green}{x_2\, -\, x_1}}
\]
If we take the other endpoint of the interval to the right of $x=1$ (so $x_2 \gt 1$), then we obtain an overestimate. And if we take the other endpoint to the left of $x=1$ (so $x_2
\lt 1$), then we obtain an underestimate.
3. What are the errors?
The error in a given approximation is the difference between the instantaneous rate of change $\left. \dfrac{df}{dx} \right|_{x=1}$ and our current estimates of the average rate of change. Above, we determined that
\[0.79202823 \le \left. \dfrac{df}{dx} \right|_{x=1} \le 1.65685425 \]
Hence the size (absolute value) of our current error for the underestimate and the error for our overestimate are
\begin{align*}
\text{current error for the underestimate } &= \left| \overbrace{\left( \left. \frac{df}{dx} \right|_{x=1}\right)}^\text{true value}\, -\, \overbrace{0.79202823}^\text{our underestimate}\right| \\[8px]
\text{current error for the overestimate } &= \quad\left| \overbrace{\left( \left. \frac{df}{dx} \right|_{x=1}\right)}^\text{true value}\, -\, \overbrace{1.65685425}^\text{our overestimate}\right|
\end{align*}
Note that we do not know the exact value of either of those errors; if we did, we would know the value of $\left. \frac{df}{dx} \right|_{x=1}$ itself!
More generally, for any average rate of change we compute as an estimate, the size (absolute value) of the error is
\[\text{error } = \left|\left( \left. \frac{df}{dx} \right|_{x=1}\right)\, -\, \dfrac{\color{purple}{f(x_2)\,-\,f(x_1)}}{\color{green}{x_2\, -\, x_1}}\right| \]
4. What is the bound on the size of the errors?
While we don’t know the size of either of the errors, we do know that they can be no larger than the overall error bound we found above, which is the difference between the overestimate value and the underestimate value. Currently that error bound value is
Hence we know
$\left| \left( \left. \frac{df}{dx} \right|_{x=1}\right) – 0.79202823\right| \le 0.86482602 \quad$ and $\quad\left|
\left( \left. \frac{df}{dx} \right|_{x=1}\right) – 1.65685425\right| \le 0.86482602$
5. How can the error be made smaller than any predetermined bound?
If we want a smaller error bound, we simply shrink the size of the interval $\left[x_1, x_2 \right]$ over which we compute the average rate of change. We will take this very approach below.
The graph below is the same as that on the preceding screen, except you now control the value of $x_2$ and hence the size of the interval we’re examining. Here in Part I, we require $x_2 \gt x_1 (=1)$ so we know we’re currently generating only overestimates of $\left. \frac{df}{dx} \right|_{x=1}.$
Start by moving $x_2$ to be closer to $x_1.$ Then click the box underneath the graph “to use the selected interval and calculate the line segment’s slope value.” Make sure the resulting calculation makes sense to you.
Then when you’re ready, add the resulting data to your table with the “Add data to table” button.
You can then change the value of $x_2$ and add more data, or continue to the next part. You can return to this calculator and add more data whenever you’d like.
You are using the interval that has $(x_1, y_1) = (1, 2)$ and $(x_2, y_2) = $$(2.2, 4.59479342)$.
The slope of the line segment that passes through the interval’s end-points,
and hence the average rate of change for the interval, is:
After you’ve added your data, uncheck the box above to choose a different point $(x_2, y_2).$
Note: If you see a value like “$\Delta x = 5.4e- 7,$” that is JavaScript’s representation of what you’re probably more used to seeing as “$5.4 \times 10^{-7}$.” (JavaScript is the programming language your browser is using to do all of these calculations.)
Data Point | $(x_2, y_2)$ | $\Delta x$ | Average Rate of Change over Interval = Line Segment’s Slope: $\dfrac{\Delta y}{\Delta x} = \dfrac{f(x_2)\, -\, f(1)}{x_2\, -\, 1}$ |
---|---|---|---|
1 | (2.2, 4.59479342) | 1.2 | 2.16232785 |
2 | (1.5, 2.82842712) | 0.5 | 1.65685425 |
After you’ve collected some data, you can use the “Sort data” button above so that your smallest interval $\Delta x$ is at the bottom of the table. The value for the Average Rate of Change for that smallest interval, in the last row, is your (current) best estimate for $\left. \dfrac{df}{dx} \right|_{x=1},$ and we will use this value – the one from the bottom row – later in “Part III: Bounding the error.”
Proceed as you did before — now with the second “free end” point of the line segment constrained to values less than 1, so we’re shrinking our interval from the left.
You are using the interval that has $(x_1, y_1) = (1, 2)$ and $(x_2, y_2)$ = $(-0.80, 0.57434918)$.
The slope of the line segment that passes through the interval’s end-points,
and hence the average rate of change for the interval, is:
After you’ve added your data, uncheck the box above to choose a different point $(x_2, y_2).$
Data Point | $(x_2, y_2)$ | $\Delta x$ | Average Rate of Change over Interval = Line Segment’s Slope: $\dfrac{\Delta y}{\Delta x} = \dfrac{f(x_2)\, -\, f(1)}{x_2\, -\, 1}$ |
---|---|---|---|
1 | (-0.8, 0.57434918) | -1.8 | 0.79202823 |
After you’ve collected some data, you can use the “Sort data” button above so that your smallest interval $\Delta x$ is at the bottom of the table. The value for the Average Rate of Change for that smallest interval, in the last row, is your (current) best estimate for $\left. \dfrac{df}{dx} \right|_{x=1},$ and we will use this value – the one from the bottom row – next in “Part III: Bounding the error.”
We explained what this graph shows on the preceding screen .
Said differently, the size of your current error bound, the difference between the largest and smallest possible values, is
\begin{align*}
\text{error bound} &= 0.456 – 0.123 \\[8px]
&= 0.333
\end{align*}
Nice! Now, here’s what you’re aiming for: We want to determine $ \left. \dfrac{df}{dx} \right|_{x=1}$ to within an error bound of 0.05. Said differently, we are allowing an (error) tolerance of 0.05.
Currently your error bound is
\[1.37029962 \ge 0.05 \]
greater than our pre-set tolerance level.
Hence you need to shrink your interval(s) to be smaller.
Once you have, use the “Update error bounds” button above to display your new results here in Part III. You can repeat this process as many times as you need to in order to achieve the desired error bound, and hence accuracy for our value.
[Concluding text will appear here after you’ve determined the value
of $\left. \dfrac{df}{dx} \right|_{x=1}$ within the desired error bound.]
How small can we make $\Delta x$??
We know it can’t be exactly zero, because we can’t divide by zero in the slope calculation.
So how small can we make it?
We will take up this key question – arguably THE key question – when we explore THE key tool in Calculus in the next Chapter, on “Limits”.
Reference for Oehrtman’s Five Questions: Oehrtman, M. (2008). Layers of abstraction: Theory and design for the instruction of limit concepts. In M. P. Carlson & C. Rasmussen (Eds.), Making the Connection: Research and Teaching in Undergraduate Mathematics Education, (MAA Notes, Vol. 73, pp. 65-80). Washington, DC: Mathematical Association of America.
☕ Buy us a coffee We're working to add more,
and would appreciate your help
to keep going! 😊
What are your thoughts or questions?