Step-by-step derivation
S001 · implies
Before
source roles = [qf-mod50-newton-boundary, newton-boundary]
After
derived = [[mode, current_iterate, function_value, derivative_value, root_first_status, root_stop_qualified]]
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 boundary polynomial ORIGINAL derivative coefficient1 := mul(1, 1)
After
Newton boundary polynomial ORIGINAL derivative coefficient1 = 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, S001
S003 · implies
Before
source roles = [Newton boundary polynomial, [-7, 1]]
After
derived = [[-7, 1], [1]]
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, S002
S004 · calculation
Before
Newton boundary record f ORIGINAL Horner multiply degree1 := mul(0, 7)
After
Newton boundary record f 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, S003
S005 · calculation
Before
Newton boundary record f ORIGINAL Horner add coefficient1 := sum(0, 1)
After
Newton boundary record f ORIGINAL Horner add coefficient1 = 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, S004
S006 · calculation
Before
Newton boundary record f ORIGINAL Horner multiply degree0 := mul(1, 7)
After
Newton boundary record f ORIGINAL Horner multiply degree0 = 7
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 boundary record f ORIGINAL Horner add coefficient0 := sum(7, -7)
After
Newton boundary record f ORIGINAL Horner add coefficient0 = 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, S006
S008 · calculation
Before
Newton boundary record fprime ORIGINAL Horner multiply degree0 := mul(0, 7)
After
Newton boundary record fprime ORIGINAL Horner multiply degree0 = 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, S007
S009 · calculation
Before
Newton boundary record fprime ORIGINAL Horner add coefficient0 := sum(0, 1)
After
Newton boundary record fprime ORIGINAL Horner add coefficient0 = 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, S008
S010 · implies
Before
source roles = [Newton boundary record, [-7, 1], [1], 7]
After
derived = [0, 1, root_found, null]
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, S009