A13 · Problem set 2
Problem set 2: Newton, convergence and polynomial roots
These problems use lessons 6 to 9: Newton's and the secant method, order of convergence, roots of polynomials, and the lab's floating-point and root-finding code. Several ask you to run a step or two of an iteration by hand; keep at least six significant digits in between.
Check
Newton's method for uses , starting at 1.
(a)
What is ?
(b)
What is ?
Check
Find without division using from 0.2.
(a)
What is ?
(b)
The relative error squares each step. What is it after the first step?
Check
Solve with one secant step from and , on .
(a)
What is ?
Check
Newton's method approaches a root of multiplicity 4.
(a)
By what factor does each step shrink the error?
(b)
How many steps reduce the error by ?
Check
A method's successive errors are 0.1, 0.01 and 5 × 10⁻⁵.
(a)
What is its estimated order?
Check
Newton costs one f and one f′ per step; the secant method costs one f. A derivative costs 2 times as much as f.
(a)
What is Newton's efficiency index, order to the power 1/(cost per step)?
(b)
And the secant method's?
Check
, evaluated by Horner's rule at x = 2.
(a)
What is p(x)?
(b)
Where does one Newton step from 2 land?
Check
The constant term of is changed by 0.005.
(a)
About how far does the root at 4 move?
(b)
And the root at 2?
Check
A monic cubic has roots 1, 3 and 5, and its companion matrix has first row .
(a)
What is , the trace?
(b)
What is the companion matrix's determinant?
Check
Divide by with Horner's rule.
(a)
What is the quotient's coefficient of x?
(b)
And its constant term?
Check
Solve without cancellation.
(a)
What is the small root?
Check
Doubles have 53 significant bits.
(a)
What is the spacing above x = 1000?
Check
You add 100000 positive numbers of similar size in double precision.
(a)
What relative error bounds the naive sum, at worst?
(b)
What size is typical, if the roundings behave like random signs?
Check
Near a root, Newton's error obeys , starting at 0.01.
(a)
What is ?
(b)
What is ?
Check
A safeguarded solver falls back to bisection on a bracket 1 wide.
(a)
At worst, how many steps bring the bracket below 1 × 10⁻⁶?
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.