Explore related knowledge and questions →

Question 8121: Nonzero-Slope Real Affine Inverse and Two Rational Round Trips

On this page
  1. Original question and givens
  2. Definition and scope
  3. Step-by-step derivation
  4. Reverse checks
  5. Result
  6. This question review and source binding

Return to catalogue page 41

← Question derivation index · Original question batch

R0015-08121 · q-20261012-advance-20261017-r02-inverse-function-0096

Original question and givens

Declare f:R→R by f(x)=a*x+b with a=1≠0, b=8; ordered rational inputs y=[8/3, 21/1] have nonzero original denominators. Give ([inverse slope, inverse constant], recovered x values, f(x) values, do both return their original y?). Use reduced positive-denominator fractions, including /1.

  • G001 — Declare f:R→R by f(x)=a*x+b with a=1≠0, b=8; ordered rational inputs y=[8/3, 21/1] have nonzero original denominators. Give ([inverse slope, inverse constant], recovered x values, f(x) values, do both return their original y?). Use reduced positive-denominator fractions, including /1.

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.

Step-by-step derivation

S001 · implies

Before

a=1;b=8;raw ys=[[8, 3], [21, 1]]

After

normalized ys=[8/3, 21/1];a!=0

Conditions: none

For the declared affine map R→R,a nonzero slope permits solving a*x+b=y.Negative original denominators are legal and normalized first.An inverse function is not1/f(x).

Step identifiers and dependencies

Rule: affine_nonzero_slope_guard · Uses: G001

S002 · calculation

Before

inverse slope := div(1, 1)

After

inverse slope = 1

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S001

S003 · calculation

Before

negative intercept := sub(0, 8)

After

negative intercept = -8

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S002

S004 · calculation

Before

inverse intercept := div(-8, 1)

After

inverse intercept = -8

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · implies

Before

g(y)=(y-b)/a;f(x)=a*x+b;a!=0

After

g(f(x))=((a*x+b)-b)/a=x;f(g(y))=a*((y-b)/a)+b=y

Conditions: none

Simplify the two composition identities separately.Nonzero a permits cancellation.The two evaluations below audit instances rather than infer a global law from two points.

Step identifiers and dependencies

Rule: affine_both_global_identities · Uses: G001, S004

S006 · calculation

Before

query0 y-b := sub(8/3, 8)

After

query0 y-b = -16/3

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · calculation

Before

query0 recovered x := div(-16/3, 1)

After

query0 recovered x = -16/3

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S006

S008 · calculation

Before

query0 a*x := mul(1, -16/3)

After

query0 a*x = -16/3

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S007

S009 · calculation

Before

query0 f(x) := sum(-16/3, 8)

After

query0 f(x) = 8/3

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S008

S010 · implies

Before

query0:y=8/3;x=-16/3

After

f(x)=8/3;matches=Yes

Conditions: none

Substitute the recovered preimage into the original a and b,not into the inverse itself.Retain each of the two ordered queries.

Step identifiers and dependencies

Rule: affine_original_map_roundtrip · Uses: G001, S009

S011 · calculation

Before

query1 y-b := sub(21, 8)

After

query1 y-b = 13

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S010

S012 · calculation

Before

query1 recovered x := div(13, 1)

After

query1 recovered x = 13

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S011

S013 · calculation

Before

query1 a*x := mul(1, 13)

After

query1 a*x = 13

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S012

S014 · calculation

Before

query1 f(x) := sum(13, 8)

After

query1 f(x) = 21

Conditions: none

Substitute the source data exactly in the stated operand order;division requires a nonzero denominator.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S013

S015 · implies

Before

query1:y=21/1;x=13/1

After

f(x)=21/1;matches=Yes

Conditions: none

Substitute the recovered preimage into the original a and b,not into the inverse itself.Retain each of the two ordered queries.

Step identifiers and dependencies

Rule: affine_original_map_roundtrip · Uses: G001, S014

Reverse checks

  • S015 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S014 · premise_and_result_audit — Recompute query1 f(x) with exact rational arithmetic, not rounded decimals.
  • S013 · premise_and_result_audit — Recompute query1 a*x with exact rational arithmetic, not rounded decimals.
  • S012 · premise_and_result_audit — Recompute query1 recovered x with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Recompute query1 y-b with exact rational arithmetic, not rounded decimals.
  • S010 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S009 · premise_and_result_audit — Recompute query0 f(x) with exact rational arithmetic, not rounded decimals.
  • S008 · premise_and_result_audit — Recompute query0 a*x with exact rational arithmetic, not rounded decimals.
  • S007 · premise_and_result_audit — Recompute query0 recovered x with exact rational arithmetic, not rounded decimals.
  • S006 · premise_and_result_audit — Recompute query0 y-b with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S004 · premise_and_result_audit — Recompute inverse intercept with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Recompute negative intercept with exact rational arithmetic, not rounded decimals.
  • S002 · premise_and_result_audit — Recompute inverse slope with exact rational arithmetic, not rounded decimals.
  • S001 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.

Result

([1/1, -8/1], [-16/3, 13/1], [8/3, 21/1], Yes)

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: 75444640361949ca88741ec88eb34f84db296978158da252b912c54a7c97b56d
  • candidate record SHA-256: 36b80d2a75fdb95c1e7dd565bebda6a1b793987dc3ad99897f275e8359e39a8f
  • semantic review receipt SHA-256: 6ecad9d909199221a07e923f87425e80b3bdec3eed46fe5910d04fca694cae18
  • question-first witness SHA-256: e8f00458977a09493b5f9f05ab9e6feec72debaf4c7d1c609d1fc95900a35a1b
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON