# Question 32604: Finite Left-Endpoint Sum of an Affine Function

[Return to catalogue page 164](https://ocme.evemisslab.com/en/questions/page/164/)

[← Question derivation index](https://ocme.evemisslab.com/en/questions/) · [Original question batch](https://ocme.evemisslab.com/en/practice/batch-20261007-advance-20261008-r07-definite-integral-foundations/#q-20261007-advance-20261008-r07-definite-integral-0079)

This teaching derivation has second-context AI mathematical and bilingual semantic review, limited to the model and assumptions stated in this question. It has no human review or new Lean proof and does not promote the original question or MKO to Canonical truth.

R0064-32604 · q-20261007-advance-20261008-r07-definite-integral-0079



## Original question and givens

On all R, f(x)=(-4)x+(-9). For a=1≤b=5 and N=1 uniform cells, compute the finite left-endpoint sum with Δx=(b−a)/N and x_i=a+iΔx for i=0,…,N−1. Give a reduced fraction with positive denominator, retaining /1 for integers.


- G001 — On all R, f(x)=(-4)x+(-9). For a=1≤b=5 and N=1 uniform cells, compute the finite left-endpoint sum with Δx=(b−a)/N and x_i=a+iΔx for i=0,…,N−1. Give a reduced fraction with positive denominator, retaining /1 for integers.





## Definition and scope

Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate.


- [mko-definite-integral](https://ocme.evemisslab.com/en/mko/mko-definite-integral/)





## Step-by-step derivation

S001 · impliesBefore

source roles = [qf-integral-affine-left-sum, affine_left_sum, reals, []]

After

derived = [[finite_left_sum_fraction_RETAIN1]]

Conditions: none

Legacy banks enforce their exact source keys/operation/domain.BASE integers retain metadata without treating it as an oracle.Distinguish NUMBER,string,fraction pair and vector equality formats;retain original bilingual data/AST/status.

Step identifiers and dependenciesRule: R64_SOURCE_exact_legacy_interface_BASE_metadata_AND_output_roles · Uses: G001





S002 · calculationBefore

Left sum ORIGINAL upper minus lower endpoint := sub(5, 1)

After

Left sum ORIGINAL upper minus lower endpoint = 4

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S001





S003 · calculationBefore

Left sum ORIGINAL width over positive cell count := div(4, 1)

After

Left sum ORIGINAL width over positive cell count = 4

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S002





S004 · calculationBefore

Left sum ORIGINAL sample0 index times width := mul(0, 4)

After

Left sum ORIGINAL sample0 index times width = 0

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S003





S005 · calculationBefore

Left sum ORIGINAL sample0 lower plus offset := sum(1, 0)

After

Left sum ORIGINAL sample0 lower plus offset = 1

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S004





S006 · calculationBefore

Left sum ORIGINAL sample0 slope times x := mul(-4, 1)

After

Left sum ORIGINAL sample0 slope times x = -4

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S005





S007 · calculationBefore

Left sum ORIGINAL sample0 affine value plus c := sum(-4, -9)

After

Left sum ORIGINAL sample0 affine value plus c = -13

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S006





S008 · calculationBefore

Left sum ORIGINAL sample0 value times cell width := mul(-13, 4)

After

Left sum ORIGINAL sample0 value times cell width = -52

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S007





S009 · calculationBefore

Left sum ORIGINAL accumulated term0 := sum(0, -52)

After

Left sum ORIGINAL accumulated term0 = -52

Conditions: none

Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.

Step identifiers and dependenciesRule: exact_rational_arithmetic · Uses: G001, S008





S010 · impliesBefore

source roles = [0, 1, -4, -9, 1, 5, 4/1]

After

derived = [1/1, -13/1, -52/1, -52/1]

Conditions: none

For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.

Step identifiers and dependenciesRule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S009





S011 · impliesBefore

source roles = [1, -4, -9, 1, 5]

After

derived = [4/1, -52/1]

Conditions: none

This is a FIXED-N finite left sum,generally not the integral.Constants/zero-width cases may agree,without proving arbitrary integrability or a limit as N→∞.

Step identifiers and dependenciesRule: LeftSum_FIXED_finite_partition_NOT_integral_or_limit_claim · Uses: G001, S010









## Reverse checks


- S011 · premise_and_result_audit — Reverse-check ORIGINAL data,field roles,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S010 · premise_and_result_audit — Reverse-check ORIGINAL data,field roles,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.
- S009 · premise_and_result_audit — Recompute Left sum ORIGINAL accumulated term0 with exact rational arithmetic, not rounded decimals.
- S008 · premise_and_result_audit — Recompute Left sum ORIGINAL sample0 value times cell width with exact rational arithmetic, not rounded decimals.
- S007 · premise_and_result_audit — Recompute Left sum ORIGINAL sample0 affine value plus c with exact rational arithmetic, not rounded decimals.
- S006 · premise_and_result_audit — Recompute Left sum ORIGINAL sample0 slope times x with exact rational arithmetic, not rounded decimals.
- S005 · premise_and_result_audit — Recompute Left sum ORIGINAL sample0 lower plus offset with exact rational arithmetic, not rounded decimals.
- S004 · premise_and_result_audit — Recompute Left sum ORIGINAL sample0 index times width with exact rational arithmetic, not rounded decimals.
- S003 · premise_and_result_audit — Recompute Left sum ORIGINAL width over positive cell count with exact rational arithmetic, not rounded decimals.
- S002 · premise_and_result_audit — Recompute Left sum ORIGINAL upper minus lower endpoint with exact rational arithmetic, not rounded decimals.
- S001 · premise_and_result_audit — Reverse-check ORIGINAL data,field roles,types,domain and premises;the conclusion need not uniquely recover its premises.Keep source-bound candidates,independent review,formal proof and publication separate.





## Result

-52/1

The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.





## This question review and source binding

Review date: 2026-10-26

Original questions, answers, step expressions, numeric ASTs and historical records are retained. Source candidate labels remain historical and are not overwritten as formal proof.

Source hashes and review receipts
- input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
- original question SHA-256: 9224277f4715ab82d19d0956f75f91c031c37e3392cf6df743abe611b5f98688
- candidate record SHA-256: 70744fd27f3b51b2d722651070cdf5ca559400ba02782a4ffaf3f3ce74bdecc8
- semantic review receipt SHA-256: 8b9ea3ddfab468e9e3f0a0fc0f7682987d5e030be0d7c8860fd85df19cbe183b
- question-first witness SHA-256: 066bfeab8fc279706861faade71b9a18a61a25235fc48700092f0488d2a6da6a
- Lean: NOT_RUN · human review: NOT_PERFORMED

[Same-source full JSON](https://ocme.evemisslab.com/data/question-derivations/questions/q-20261007-advance-20261008-r07-definite-integral-0079.json)




