Step-by-step derivation
S001 · implies
Before
source roles = [qf-mod50-newton-step, newton-step]
After
derived = [[coefficients_low_to_high, current_iterate, function_value, derivative_value, status, next_iterate_or_null, root_first_convention]]
Conditions: none
List this scalar/label/set/point answer role or mode-specific ordered fields,not an imposed universal tuple.Retain legacy domain/underscore operation and integer fractions with/1;original bilingual snapshots stay unchanged.
Step identifiers and dependencies
Rule: source_answer_roles_or_ordered_fields_without_JS · Uses: G001
S002 · calculation
Before
Newton ORIGINAL polynomial ORIGINAL derivative coefficient1 := mul(1, 0)
After
Newton ORIGINAL polynomial ORIGINAL derivative coefficient1 = 0
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Newton ORIGINAL polynomial ORIGINAL derivative coefficient2 := mul(2, 1)
After
Newton ORIGINAL polynomial ORIGINAL derivative coefficient2 = 2
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · implies
Before
source roles = [Newton ORIGINAL polynomial, [-22, 0, 1]]
After
derived = [[-22, 0, 1], [0, 2]]
Conditions: none
Require raw length2..6 before trimming trailing zeros,and remain nonconstant.Differentiate every monomial to i*c_i*x^(i-1).Source derivative coefficients must pass their1e8 profile even if a root later stops or steps=0.
Step identifiers and dependencies
Rule: Newton_polynomial_raw_arity_trim_nonconstant_AND_ALL_derivative_coefficients · Uses: G001, S003
S005 · calculation
Before
Newton ORIGINAL step f ORIGINAL Horner multiply degree2 := mul(0, 3)
After
Newton ORIGINAL step f ORIGINAL Horner multiply degree2 = 0
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Newton ORIGINAL step f ORIGINAL Horner add coefficient2 := sum(0, 1)
After
Newton ORIGINAL step f ORIGINAL Horner add coefficient2 = 1
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Newton ORIGINAL step f ORIGINAL Horner multiply degree1 := mul(1, 3)
After
Newton ORIGINAL step f ORIGINAL Horner multiply degree1 = 3
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Newton ORIGINAL step f ORIGINAL Horner add coefficient1 := sum(3, 0)
After
Newton ORIGINAL step f ORIGINAL Horner add coefficient1 = 3
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Newton ORIGINAL step f ORIGINAL Horner multiply degree0 := mul(3, 3)
After
Newton ORIGINAL step f ORIGINAL Horner multiply degree0 = 9
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Newton ORIGINAL step f ORIGINAL Horner add coefficient0 := sum(9, -22)
After
Newton ORIGINAL step f ORIGINAL Horner add coefficient0 = -13
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Newton ORIGINAL step fprime ORIGINAL Horner multiply degree1 := mul(0, 3)
After
Newton ORIGINAL step fprime ORIGINAL Horner multiply degree1 = 0
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Newton ORIGINAL step fprime ORIGINAL Horner add coefficient1 := sum(0, 2)
After
Newton ORIGINAL step fprime ORIGINAL Horner add coefficient1 = 2
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Newton ORIGINAL step fprime ORIGINAL Horner multiply degree0 := mul(2, 3)
After
Newton ORIGINAL step fprime ORIGINAL Horner multiply degree0 = 6
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Newton ORIGINAL step fprime ORIGINAL Horner add coefficient0 := sum(6, 0)
After
Newton ORIGINAL step fprime ORIGINAL Horner add coefficient0 = 6
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Newton ORIGINAL step ORIGINAL f over fprime := div(-13, 6)
After
Newton ORIGINAL step ORIGINAL f over fprime = -13/6
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Newton ORIGINAL step ORIGINAL tangent zero update := sub(3, -13/6)
After
Newton ORIGINAL step ORIGINAL tangent zero update = 31/6
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · implies
Before
source roles = [Newton ORIGINAL step, [-22, 0, 1], [0, 2], 3]
After
derived = [-13, 6, updated, 31/6]
Conditions: none
Evaluate BOTH f and f_prime completely,then test f=0 FIRST.An exact root stops even at slope0,without0/0.Only a nonroot requires nonzero slope;the tangent-line zero solves z=x-f/f_prime.
Step identifiers and dependencies
Rule: Newton_EACH_f_AND_fprime_ROOT_FIRST_then_nonzero_derivative_division · Uses: G001, S016