Step-by-step derivation
S001 · implies
Before
explicit real polynomial moment or constant integrand model
After
oriented I(a,b)=H(b)−H(a);do not sort endpoints
Conditions: none
Real polynomials are continuous and integrable;use termwise primitive endpoint differences for exact oriented integrals,not absolute area or a finite sum.
Step identifiers and dependencies
Rule: polynomial_moment_scope · Uses: G001
S002 · calculation
Before
interval width := sub(-1, -2)
After
interval width = 1
Conditions: none
Compute the nonnegative interval width,allowing zero width.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
partition step := div(1, 13)
After
partition step = 1/13
Conditions: none
Divide by positive integer N to get the exact step.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
left sample0 offset := mul(0, 1/13)
After
left sample0 offset = 0
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
left sample0 x := sum(-2, 0)
After
left sample0 x = -2
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
left sample0 mx := mul(13, -2)
After
left sample0 mx = -26
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
left sample0 value := sum(-26, 0)
After
left sample0 value = -26
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
left sample0 rectangle := mul(-26, 1/13)
After
left sample0 rectangle = -2
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
[-2, -26, -2]
After
finite left-sum term index=0
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S008
S010 · calculation
Before
left sample1 offset := mul(1, 1/13)
After
left sample1 offset = 1/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
left sample1 x := sum(-2, 1/13)
After
left sample1 x = -25/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
left sample1 mx := mul(13, -25/13)
After
left sample1 mx = -25
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
left sample1 value := sum(-25, 0)
After
left sample1 value = -25
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
left sample1 rectangle := mul(-25, 1/13)
After
left sample1 rectangle = -25/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · implies
Before
[-25/13, -25, -25/13]
After
finite left-sum term index=1
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S014
S016 · calculation
Before
left sample2 offset := mul(2, 1/13)
After
left sample2 offset = 2/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
left sample2 x := sum(-2, 2/13)
After
left sample2 x = -24/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
left sample2 mx := mul(13, -24/13)
After
left sample2 mx = -24
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
left sample2 value := sum(-24, 0)
After
left sample2 value = -24
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
left sample2 rectangle := mul(-24, 1/13)
After
left sample2 rectangle = -24/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · implies
Before
[-24/13, -24, -24/13]
After
finite left-sum term index=2
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S020
S022 · calculation
Before
left sample3 offset := mul(3, 1/13)
After
left sample3 offset = 3/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
left sample3 x := sum(-2, 3/13)
After
left sample3 x = -23/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
left sample3 mx := mul(13, -23/13)
After
left sample3 mx = -23
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
left sample3 value := sum(-23, 0)
After
left sample3 value = -23
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · calculation
Before
left sample3 rectangle := mul(-23, 1/13)
After
left sample3 rectangle = -23/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · implies
Before
[-23/13, -23, -23/13]
After
finite left-sum term index=3
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S026
S028 · calculation
Before
left sample4 offset := mul(4, 1/13)
After
left sample4 offset = 4/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · calculation
Before
left sample4 x := sum(-2, 4/13)
After
left sample4 x = -22/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S028
S030 · calculation
Before
left sample4 mx := mul(13, -22/13)
After
left sample4 mx = -22
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S029
S031 · calculation
Before
left sample4 value := sum(-22, 0)
After
left sample4 value = -22
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S030
S032 · calculation
Before
left sample4 rectangle := mul(-22, 1/13)
After
left sample4 rectangle = -22/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · implies
Before
[-22/13, -22, -22/13]
After
finite left-sum term index=4
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S032
S034 · calculation
Before
left sample5 offset := mul(5, 1/13)
After
left sample5 offset = 5/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · calculation
Before
left sample5 x := sum(-2, 5/13)
After
left sample5 x = -21/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · calculation
Before
left sample5 mx := mul(13, -21/13)
After
left sample5 mx = -21
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S035
S037 · calculation
Before
left sample5 value := sum(-21, 0)
After
left sample5 value = -21
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S036
S038 · calculation
Before
left sample5 rectangle := mul(-21, 1/13)
After
left sample5 rectangle = -21/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · implies
Before
[-21/13, -21, -21/13]
After
finite left-sum term index=5
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S038
S040 · calculation
Before
left sample6 offset := mul(6, 1/13)
After
left sample6 offset = 6/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S039
S041 · calculation
Before
left sample6 x := sum(-2, 6/13)
After
left sample6 x = -20/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S040
S042 · calculation
Before
left sample6 mx := mul(13, -20/13)
After
left sample6 mx = -20
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
left sample6 value := sum(-20, 0)
After
left sample6 value = -20
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · calculation
Before
left sample6 rectangle := mul(-20, 1/13)
After
left sample6 rectangle = -20/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · implies
Before
[-20/13, -20, -20/13]
After
finite left-sum term index=6
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S044
S046 · calculation
Before
left sample7 offset := mul(7, 1/13)
After
left sample7 offset = 7/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S045
S047 · calculation
Before
left sample7 x := sum(-2, 7/13)
After
left sample7 x = -19/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
left sample7 mx := mul(13, -19/13)
After
left sample7 mx = -19
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · calculation
Before
left sample7 value := sum(-19, 0)
After
left sample7 value = -19
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
left sample7 rectangle := mul(-19, 1/13)
After
left sample7 rectangle = -19/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · implies
Before
[-19/13, -19, -19/13]
After
finite left-sum term index=7
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S050
S052 · calculation
Before
left sample8 offset := mul(8, 1/13)
After
left sample8 offset = 8/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · calculation
Before
left sample8 x := sum(-2, 8/13)
After
left sample8 x = -18/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · calculation
Before
left sample8 mx := mul(13, -18/13)
After
left sample8 mx = -18
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S053
S055 · calculation
Before
left sample8 value := sum(-18, 0)
After
left sample8 value = -18
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S054
S056 · calculation
Before
left sample8 rectangle := mul(-18, 1/13)
After
left sample8 rectangle = -18/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S055
S057 · implies
Before
[-18/13, -18, -18/13]
After
finite left-sum term index=8
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S056
S058 · calculation
Before
left sample9 offset := mul(9, 1/13)
After
left sample9 offset = 9/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · calculation
Before
left sample9 x := sum(-2, 9/13)
After
left sample9 x = -17/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S058
S060 · calculation
Before
left sample9 mx := mul(13, -17/13)
After
left sample9 mx = -17
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S059
S061 · calculation
Before
left sample9 value := sum(-17, 0)
After
left sample9 value = -17
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S060
S062 · calculation
Before
left sample9 rectangle := mul(-17, 1/13)
After
left sample9 rectangle = -17/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · implies
Before
[-17/13, -17, -17/13]
After
finite left-sum term index=9
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S062
S064 · calculation
Before
left sample10 offset := mul(10, 1/13)
After
left sample10 offset = 10/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S063
S065 · calculation
Before
left sample10 x := sum(-2, 10/13)
After
left sample10 x = -16/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S064
S066 · calculation
Before
left sample10 mx := mul(13, -16/13)
After
left sample10 mx = -16
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S065
S067 · calculation
Before
left sample10 value := sum(-16, 0)
After
left sample10 value = -16
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
left sample10 rectangle := mul(-16, 1/13)
After
left sample10 rectangle = -16/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · implies
Before
[-16/13, -16, -16/13]
After
finite left-sum term index=10
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S068
S070 · calculation
Before
left sample11 offset := mul(11, 1/13)
After
left sample11 offset = 11/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S069
S071 · calculation
Before
left sample11 x := sum(-2, 11/13)
After
left sample11 x = -15/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S070
S072 · calculation
Before
left sample11 mx := mul(13, -15/13)
After
left sample11 mx = -15
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S071
S073 · calculation
Before
left sample11 value := sum(-15, 0)
After
left sample11 value = -15
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S072
S074 · calculation
Before
left sample11 rectangle := mul(-15, 1/13)
After
left sample11 rectangle = -15/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S073
S075 · implies
Before
[-15/13, -15, -15/13]
After
finite left-sum term index=11
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S074
S076 · calculation
Before
left sample12 offset := mul(12, 1/13)
After
left sample12 offset = 12/13
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S075
S077 · calculation
Before
left sample12 x := sum(-2, 12/13)
After
left sample12 x = -14/13
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S076
S078 · calculation
Before
left sample12 mx := mul(13, -14/13)
After
left sample12 mx = -14
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S077
S079 · calculation
Before
left sample12 value := sum(-14, 0)
After
left sample12 value = -14
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S078
S080 · calculation
Before
left sample12 rectangle := mul(-14, 1/13)
After
left sample12 rectangle = -14/13
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S079
S081 · implies
Before
[-14/13, -14, -14/13]
After
finite left-sum term index=12
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S080
S082 · calculation
Before
finite left sum := sum(-2, -25/13, -24/13, -23/13, -22/13, -21/13, -20/13, -19/13, -18/13, -17/13, -16/13, -15/13, -14/13)
After
finite left sum = -20
Conditions: none
Add all N contributions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S081
S083 · calculation
Before
affine integral primitive coefficient1 := div(0, 1)
After
affine integral primitive coefficient1 = 0
Conditions: none
The primitive coefficient for c·x^k is c/(k+1),with positive nonzero k+1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S082
S084 · calculation
Before
affine integral primitive coefficient2 := div(13, 2)
After
affine integral primitive coefficient2 = 13/2
Conditions: none
The primitive coefficient for c·x^k is c/(k+1),with positive nonzero k+1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S083
S085 · implies
Before
[0, 0, 13/2]
After
H′=the supplied polynomial;integrate from -2 to -1
Conditions: none
Termwise differentiation recovers the original coefficients;the integration constant cancels in the endpoint difference.
Step identifiers and dependencies
Rule: polynomial_primitive_identity · Uses: G001, S084
S086 · implies
Before
affine integral H(b) ascending coefficients=[0, 0, 13/2]
After
evaluate at x=-1
Conditions: none
Evaluate ascending coefficients by Horner from the highest nonzero term down;ignoring redundant top zero terms changes neither the function nor the retained original list.
Step identifiers and dependencies
Rule: polynomial_evaluation_order · Uses: G001, S085
S087 · calculation
Before
affine integral H(b) Horner multiply before degree1 := mul(13/2, -1)
After
affine integral H(b) Horner multiply before degree1 = -13/2
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S086
S088 · calculation
Before
affine integral H(b) Horner add degree1 := sum(-13/2, 0)
After
affine integral H(b) Horner add degree1 = -13/2
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S087
S089 · calculation
Before
affine integral H(b) Horner multiply before degree0 := mul(-13/2, -1)
After
affine integral H(b) Horner multiply before degree0 = 13/2
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S088
S090 · calculation
Before
affine integral H(b) Horner add degree0 := sum(13/2, 0)
After
affine integral H(b) Horner add degree0 = 13/2
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S089
S091 · implies
Before
affine integral H(a) ascending coefficients=[0, 0, 13/2]
After
evaluate at x=-2
Conditions: none
Evaluate ascending coefficients by Horner from the highest nonzero term down;ignoring redundant top zero terms changes neither the function nor the retained original list.
Step identifiers and dependencies
Rule: polynomial_evaluation_order · Uses: G001, S090
S092 · calculation
Before
affine integral H(a) Horner multiply before degree1 := mul(13/2, -2)
After
affine integral H(a) Horner multiply before degree1 = -13
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S091
S093 · calculation
Before
affine integral H(a) Horner add degree1 := sum(-13, 0)
After
affine integral H(a) Horner add degree1 = -13
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S092
S094 · calculation
Before
affine integral H(a) Horner multiply before degree0 := mul(-13, -2)
After
affine integral H(a) Horner multiply before degree0 = 26
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S093
S095 · calculation
Before
affine integral H(a) Horner add degree0 := sum(26, 0)
After
affine integral H(a) Horner add degree0 = 26
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S094
S096 · calculation
Before
affine integral oriented moment := sub(13/2, 26)
After
affine integral oriented moment = -39/2
Conditions: none
Subtract the starting primitive value from the ending value;reversing endpoints naturally reverses the sign.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S095
S097 · calculation
Before
integral minus left sum := sub(-39/2, -20)
After
integral minus left sum = 1/2
Conditions: none
The requested direction is I−S_N;a negative slope may give a negative difference,not absolute error.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S096
S098 · implies
Before
I=-39/2;S_N=-20;N=13
After
signed finite-sum difference=1/2
Conditions: none
This is the exact difference for finite N,not evidence of a general convergence rate or integrability of arbitrary functions.
Step identifiers and dependencies
Rule: finite_sum_vs_integral · Uses: G001, S097