Choose derivative spacing using an error budget
A smaller finite difference can amplify measurement error even while its truncation error falls.
Learning outcome: Compare three spacings at one error bound, then zero versus nonzero error. Retain the error terms separately and choose a grid spacing by the combined bound.
Starting recap
Read derivatives as local rates and integrals as signed accumulation. Review power and chain rules, vector components, units and initial conditions where used.
All lessons are open directly. Your saved experiments remain when you leave and return.
Try
At h=.5 and epsilon=.05, the noiseless estimate12.25 has endpoint-error bound .10, giving12.15–12.35 m/s and total absolute error bound .35 m/s.
Open the experimentPredict
At h=.2 and epsilon=.05, the endpoint-error contribution is bounded by:
Experiment
Compare three spacings at one error bound, then zero versus nonzero error. Retain the error terms separately and choose a grid spacing by the combined bound.
Balance derivative truncation against bounded noise
Worked teaching model · synthetic values · Synthetic x(t)=t³ m with t in seconds, derivative evaluated at2 s using x(2±h). Each measured endpoint can independently differ by at most epsilon m. Bounds are worst-case feasible errors, not Gaussian confidence. Exact cubic scale coefficient1 m/s³ is supplied.
Reset keeps your prediction, captures and practice history.
Guaranteed error envelope for this cubic
Unlike graph quantities rescale independently; read units and values, not screen angles. 1: h²+epsilon/h (solid). Joined curves show the supplied model, not additional observations.
Equivalent numerical coordinates for Guaranteed error envelope for this cubic
h²+epsilon/h
| half-spacing h (s) | absolute error upper bound (m/s) |
|---|---|
| 0.1 | 0.51 |
| 0.11125 | 0.4618148 |
| 0.1225 | 0.4231695 |
| 0.13375 | 0.3917208 |
| 0.145 | 0.3658526 |
| 0.15625 | 0.3444141 |
| 0.1675 | 0.3265637 |
| 0.17875 | 0.3116718 |
| 0.19 | 0.2992579 |
| 0.20125 | 0.2889488 |
| 0.2125 | 0.2804504 |
| 0.22375 | 0.2735277 |
| 0.235 | 0.267991 |
| 0.24625 | 0.2636847 |
| 0.2575 | 0.260481 |
| 0.26875 | 0.2582731 |
| 0.28 | 0.2569714 |
| 0.29125 | 0.2565004 |
| 0.3025 | 0.2567955 |
| 0.31375 | 0.2578016 |
| 0.325 | 0.2594712 |
| 0.33625 | 0.2617629 |
| 0.3475 | 0.2646411 |
| 0.35875 | 0.2680744 |
| 0.37 | 0.2720351 |
| 0.38125 | 0.2764991 |
| 0.3925 | 0.2814448 |
| 0.40375 | 0.2868531 |
| 0.415 | 0.2927069 |
| 0.42625 | 0.2989911 |
| 0.4375 | 0.305692 |
| 0.44875 | 0.3127972 |
| 0.46 | 0.3202957 |
| 0.47125 | 0.3281774 |
| 0.4825 | 0.3364332 |
| 0.49375 | 0.3450549 |
| 0.505 | 0.3540349 |
| 0.51625 | 0.3633664 |
| 0.5275 | 0.373043 |
| 0.53875 | 0.383059 |
| 0.55 | 0.3934091 |
| 0.56125 | 0.4040884 |
| 0.5725 | 0.4150925 |
| 0.58375 | 0.4264172 |
| 0.595 | 0.4380586 |
| 0.60625 | 0.4500133 |
| 0.6175 | 0.4622779 |
| 0.62875 | 0.4748494 |
| 0.64 | 0.487725 |
| 0.65125 | 0.500902 |
| 0.6625 | 0.5143779 |
| 0.67375 | 0.5281506 |
| 0.685 | 0.5422177 |
| 0.69625 | 0.5565773 |
| 0.7075 | 0.5712276 |
| 0.71875 | 0.5861668 |
| 0.73 | 0.6013932 |
| 0.74125 | 0.6169052 |
| 0.7525 | 0.6327014 |
| 0.76375 | 0.6487805 |
| 0.775 | 0.6651411 |
| 0.78625 | 0.6817821 |
| 0.7975 | 0.6987022 |
| 0.80875 | 0.7159004 |
| 0.82 | 0.7333756 |
| 0.83125 | 0.7511269 |
| 0.8425 | 0.7691534 |
| 0.85375 | 0.7874542 |
| 0.865 | 0.8060285 |
| 0.87625 | 0.8248754 |
| 0.8875 | 0.8439943 |
| 0.89875 | 0.8633844 |
| 0.91 | 0.8830451 |
| 0.92125 | 0.9029756 |
| 0.9325 | 0.9231756 |
| 0.94375 | 0.9436442 |
| 0.955 | 0.964381 |
| 0.96625 | 0.9853855 |
| 0.9775 | 1.006657 |
| 0.98875 | 1.028195 |
| 1 | 1.05 |
At most 82 representative computed coordinates including endpoints; the plotted curve can use a finer grid. A table of a revealed generator is not independent measurement evidence.
| Quantity | Value | Unit |
|---|---|---|
| True derivative | 12 | m/s |
| Noise-free central estimate | 12.04 | m/s |
| Truncation bias | 0.04 | m/s |
| Endpoint-error contribution bound | 0.25 | m/s |
| Worst-case total absolute error bound | 0.29 | m/s |
| Lowest possible measured estimate | 11.79 | m/s |
| Highest possible measured estimate | 12.29 | m/s |
Smaller spacing reduces truncation but amplifies independent endpoint errors.
Expand (2+h)³−(2−h)³ and divide by2h: the noiseless estimate is12+h². Endpoint errors contribute (eplus−eminus)/(2h), bounded by epsilon/h. This is a worst-case sum, not a standard deviation. A common identical additive offset cancels, unlike independently bounded differences. The optimal supported grid depends on epsilon; h→0 is not automatically best.
Predict before inspecting the values. Save contrasting records with assumptions and one alternative explanation. This virtual display does not certify practical measurement technique.
Smaller spacing reduces truncation but amplifies independent endpoint errors.
Expand (2+h)³−(2−h)³ and divide by2h: the noiseless estimate is12+h². Endpoint errors contribute (eplus−eminus)/(2h), bounded by epsilon/h. This is a worst-case sum, not a standard deviation. A common identical additive offset cancels, unlike independently bounded differences. The optimal supported grid depends on epsilon; h→0 is not automatically best.
Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.
Understand
Apply
Public practice checks a specific claim. It does not establish independent mastery.
Why does more precise arithmetic not remove uncertain endpoint positions?
Continue
Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.
Skipping retains experiments and awards no mastery.
Save a science backup or import one
Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.
A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.
Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.
Complete file sets and course backups
A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.
The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.
0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.
Science storage: loading. No account or remote computation is required.