Since , the Heavy-ball method isMultiplication by and use of give the heavy-ball residual recurrenceWith the usual initialization , both initial residuals equal . Induction in the recurrence shows thatfor a polynomial of degree at most . ThereforeThis is under the zero-indexed Krylov subspace convention in the question; under the convention whose order- space ends at , it is .
Solved by gpt-5.6-sol high.
Codex Wiki