Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2023/discrete-mathematics-probability-and-continuous-mathematics/6/f/solution

Choose (iii), . Here the root has magnitude between and . Machine epsilon measures relative precision near unity; the spacing of representable floating-point numbers near the root is therefore of order . A step tolerance scaled to that magnitude is consistent with the attainable absolute positional accuracy. For IEEE binary64, using , , comparable to the local spacing. A fixed numerical constant cannot promise an exact correctly rounded root, but this is the most sensible of the three proposals.
Condition (ii) asks for a step below , a scale appropriate near one rather than near this root. A nonzero representable change near the root is normally much larger. The test may trigger only after exact stagnation, and rounding-induced oscillation can prevent that; it asks for unnecessarily fine absolute resolution.
Condition (i) measures a residual, not a position error. It changes if the same root problem is multiplied by a constant. Moreover, evaluating can involve cancellation among quantities of order , so an absolute residual of order need not be meaningful or attainable. Here , making residual and position errors comparable in exact arithmetic, but their requested absolute scale is still too small. A practical scale-aware stopping criterion for Newton iteration should also detect stagnation or a cycle rather than assuming exact arithmetic persists indefinitely.

New to topics? Read the docs here!