Goal and scope
(1) For a specified function f with f(2)=7 and f(−4)=3: check eligibility, compute the average rate of change as a reduced fraction with positive denominator, and show that swapping both endpoints does not change it. (2) Prove that f(x)=mx+b has average rate m, and check it with ℓ(x)=−3x+7 between −2 and 4. (3) Prove that q(x)=a(x−h)²+k (a≠0) has average rate a(x₀+x₁−2h), check it with q(x)=−2(x−3)²+5 between 1 and 4, and use symmetric endpoints, a changed second endpoint and equal inputs to show that it is not a derivative and that 0 must not be assigned when the inputs coincide.
Inside the MKO: both endpoints are permitted inputs of the same specified function with x₀≠x₁, integer endpoints and coefficients, answers as reduced fractions with positive denominators (a1, a2), and a≠0 in the quadratic slice (a3). The affine and quadratic formulas are proved by algebraic identities for all eligible endpoints. This guide neither defines nor computes derivatives; it only shows that the average rate is not a quantity of a single point; the canonical MKO and its English edition are not changed.
Main derivation
S01 · definition
Before
f(x_0)=y_0,\ f(x_1)=y_1
After
R=\frac{y_1-y_0}{x_1-x_0}\ \ \text{only if}\ x_0\neq x_1Conditions: x_0\neq x_1
Rule: mko_rate · Uses: G1, mko_rate
Leaf basis: mko_rate + def_intro
Define the average rate as in the MKO: the output difference divided by the input difference. There are two eligibility conditions: both endpoints are permitted inputs of the same specified function, and x₀≠x₁, so the denominator is nonzero. In the representative fraction (b−a)/(d−c), a, b are outputs and c, d inputs, not to be confused with the vertex-form a, h, k.
S02 · implies
Before
x_0=2,\ x_1=-4
After
x_1-x_0=-6\neq0
Conditions: none
Rule: numeric_evaluation · Uses: S01, G2
Leaf basis: numeric_evaluation
Both endpoints are inputs of the same f and −4−2=−6≠0, so the pair is eligible. A negative denominator does not violate eligibility; it only has to be made positive when simplifying.
S03 · equivalent
Before
R=\frac{3-7}{-4-2}After
\frac{2}{3}Conditions: -6\neq0
Rule: frac_rules · Uses: S02, G2
Leaf basis: frac_rules + numeric_evaluation
Using only the given outputs f(2)=7 and f(−4)=3 (MKO a1): R=(3−7)/(−4−2). Sub-steps S03.1 and S03.2 first get (−4)/(−6) and then reduce it to the fraction 2/3 with positive denominator.
S04 · equivalent
Before
\frac{y_0-y_1}{x_0-x_1}=\frac{7-3}{2-(-4)}After
\frac{4}{6}=\frac{2}{3}Conditions: x_0\neq x_1
Rule: L_swap · Uses: S03
Leaf basis: frac_rules + neg_mul
By Lemma L_swap, swapping both endpoints together (numerator and denominator both change sign) leaves the quotient unchanged: (7−3)/(2−(−4))=4/6=2/3, the same as S03. The proof is in S04.1.
S05 · equivalent
Before
\frac{(mx_1+b)-(mx_0+b)}{x_1-x_0}After
m
Conditions: x_0\neq x_1
Rule: L_linear_rate · Uses: S01
Leaf basis: distributive + mul_inverse_nonzero
By Lemma L_linear_rate, an affine function has average rate equal to its slope m between any two different inputs. The proof is in S05.1 and S05.2; m=0 gives 0, the constant-function case.
S06 · implies
Before
\ell(-2)=13,\ \ell(4)=-5
After
\frac{-5-13}{4-(-2)}=\frac{-18}{6}=-3=mConditions: 4\neq-2
Rule: L_linear_rate · Uses: S05, G3
Leaf basis: mko_rate + numeric_evaluation
ℓ(−2)=−3·(−2)+7=13 and ℓ(4)=−3·4+7=−5. Direct computation gives (−5−13)/(4−(−2))=−18/6=−3, agreeing with m=−3 from S05.
S07 · equivalent
Before
\frac{q(x_1)-q(x_0)}{x_1-x_0}After
a(x_0+x_1-2h)
Conditions: x_0\neq x_1; a\neq0
Rule: L_quad_rate · Uses: S01
Leaf basis: distributive + diff_squares + mul_inverse_nonzero
By Lemma L_quad_rate, the average rate of a quadratic is a(x₀+x₁−2h), depending on both endpoints. The proof is in S07.1 to S07.3: k cancels, the difference of squares factors, and x₁−x₀ cancels.
S08 · implies
Before
q(1)=-3,\ q(4)=3
After
\frac{3-(-3)}{4-1}=\frac{6}{3}=2Conditions: 4\neq1
Rule: mko_rate · Uses: S01, G4
Leaf basis: mko_rate + numeric_evaluation
q(1)=−2·(−2)²+5=−3 and q(4)=−2·1²+5=3. Direct computation: (3−(−3))/(4−1)=6/3=2.
S09 · implies
Before
a(x_0+x_1-2h)\ \text{at}\ a=-2,\ h=3,\ x_0=1,\ x_1=4After
-2(1+4-6)=2
Conditions: none
Rule: L_quad_rate · Uses: S07, S08
Leaf basis: numeric_evaluation
Substitute into the formula: −2·(1+4−6)=−2·(−1)=2, agreeing with the direct computation in S08.
S10 · implies
Before
x_0=1,\ x_1=5=2h-1
After
R=-2(1+5-6)=0,\ \text{yet}\ q(3)=5\neq-3=q(1)Conditions: none
Rule: L_quad_rate · Uses: S07, G4
Leaf basis: numeric_evaluation + quantifier_negation
Symmetric endpoints 1 and 5 (mirror images about h=3): R=−2·0=0, and directly q(5)−q(1)=−3−(−3)=0. But q is not constant, for example q(3)=5≠−3. A zero average rate only says the two endpoint outputs are equal; it says nothing about what happens in between.
S11 · implies
Before
x_0=1,\ x_1=2
After
R=-2(1+2-6)=6\neq2
Conditions: none
Rule: L_quad_rate · Uses: S07, S09
Leaf basis: numeric_evaluation + quantifier_negation
Keep x₀=1 and change the second endpoint to 2: R=−2·(−3)=6; directly (q(2)−q(1))/(2−1)=(3−(−3))/1=6. This differs from the value 2 for x₁=4, so the average rate is not a quantity belonging to the single point x₀=1; it is a finite difference quotient between two endpoints, no limit is taken, and it may not be called a derivative.
S12 · implies
Before
x_0=x_1=2
After
x_1-x_0=0:\ \text{ineligible, no value assigned}Conditions: none
Rule: mko_rate · Uses: S01, G4
Leaf basis: mko_rate + numeric_evaluation
Equal inputs x₀=x₁=2: the denominator 2−2=0, so the pair is ineligible. The numerator q(2)−q(2)=0, so formally it is 0/0, which is not a number; by the MKO it is not replaced by 0 or 0/0, and this entry assigns no value to this pair.
S13 · implies
Before
\text{S02 to S12}After
R=\tfrac23;\ R_{\ell}=m=-3;\ R_q=a(x_0+x_1-2h),\ R_q(1,4)=2;\ x_0=x_1\ \text{ineligible}Conditions: none
Rule: and_intro_elim · Uses: S03, S04, S05, S06, S07, S09, S10, S11, S12
Leaf basis: and_intro_elim
Summary: the direct two-point rate is 2/3 and does not change when both endpoints are swapped; an affine function always has rate m; a quadratic has rate a(x₀+x₁−2h), equal to 2 between 1 and 4; symmetric endpoints can give 0 although the function is not constant; changing the second endpoint changes the result, so it is not a derivative; equal inputs get no value.
Substeps and lemmas
S03.1 · equivalent
Before
\frac{3-7}{-4-2}After
\frac{-4}{-6}Conditions: none
Rule: numeric_evaluation · Uses: S02
Leaf basis: numeric_evaluation
Numerator 3−7=−4, denominator −4−2=−6.
S03.2 · equivalent
Before
\frac{-4}{-6}After
\frac{4}{6}=\frac{2}{3}Conditions: none
Rule: frac_rules · Uses: S03.1, frac_rules
Leaf basis: frac_rules + numeric_evaluation
Multiply numerator and denominator by −1 (nonzero) to get 4/6 with a positive denominator; then divide both by gcd(4,6)=2 to get 2/3. gcd(2,3)=1 and the denominator 3>0, so this is the reduced form with positive denominator.
S04.1 · equivalent
Before
\frac{y_0-y_1}{x_0-x_1}After
\frac{-(y_1-y_0)}{-(x_1-x_0)}=\frac{y_1-y_0}{x_1-x_0}Conditions: x_1-x_0\neq0
Rule: frac_rules · Uses: frac_rules, neg_mul
Leaf basis: frac_rules + neg_mul
y₀−y₁=−(y₁−y₀) and x₀−x₁=−(x₁−x₀); then use a/b=(a·(−1))/(b·(−1)) (−1≠0, b≠0). This step proves Lemma L_swap. Swapping only one of the two pairs would change the sign of the quotient.
S05.1 · equivalent
Before
(mx_1+b)-(mx_0+b)
After
m(x_1-x_0)
Conditions: none
Rule: distributive · Uses: distributive
Leaf basis: distributive + add_inverse + add_comm
The b terms cancel, leaving mx₁−mx₀, and distributivity factors out m.
S05.2 · equivalent
Before
\frac{m(x_1-x_0)}{x_1-x_0}After
m
Conditions: x_1-x_0\neq0
Rule: mul_inverse_nonzero · Uses: S05.1, mul_inverse_nonzero
Leaf basis: mul_inverse_nonzero + mul_assoc + mul_one
Since x₁−x₀≠0, it cancels: m(x₁−x₀)·1/(x₁−x₀)=m. If x₁=x₀ it could not be cancelled, which is exactly what the eligibility condition is for. S05.1 and S05.2 together prove Lemma L_linear_rate.
S07.1 · equivalent
Before
q(x_1)-q(x_0)
After
a\bigl[(x_1-h)^2-(x_0-h)^2\bigr]
Conditions: none
Rule: distributive · Uses: distributive
Leaf basis: distributive + add_inverse + add_comm
(a(x₁−h)²+k)−(a(x₀−h)²+k): k cancels (it only shifts the output), and distributivity factors out a.
S07.2 · equivalent
Before
(x_1-h)^2-(x_0-h)^2
After
(x_1-x_0)(x_0+x_1-2h)
Conditions: none
Rule: diff_squares · Uses: S07.1, diff_squares
Leaf basis: diff_squares + distributive + add_inverse
Take u=x₁−h, v=x₀−h: u−v=x₁−x₀ and u+v=x₀+x₁−2h, so by the difference of squares u²−v²=(u−v)(u+v).
S07.3 · equivalent
Before
\frac{a(x_1-x_0)(x_0+x_1-2h)}{x_1-x_0}After
a(x_0+x_1-2h)
Conditions: x_1-x_0\neq0
Rule: mul_inverse_nonzero · Uses: S07.2, mul_inverse_nonzero
Leaf basis: mul_inverse_nonzero + mul_comm + mul_one
Since x₁−x₀≠0, the factor cancels. S07.1 to S07.3 together prove Lemma L_quad_rate. The simplified expression is still the difference quotient between two endpoints, not an instantaneous rate at either endpoint.