Explore related knowledge and questions →

Question 8120: 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-08120 · q-20261012-advance-20261017-r02-inverse-function-0095

Original question and givens

Declare f:R→R by f(x)=a*x+b with a=-5≠0, b=7; ordered rational inputs y=[7/3, 20/4] 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=-5≠0, b=7; ordered rational inputs y=[7/3, 20/4] 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=-5;b=7;raw ys=[[7, 3], [20, 4]]

After

normalized ys=[7/3, 5/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, -5)

After

inverse slope = -1/5

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, 7)

After

negative intercept = -7

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(-7, -5)

After

inverse intercept = 7/5

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(7/3, 7)

After

query0 y-b = -14/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(-14/3, -5)

After

query0 recovered x = 14/15

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(-5, 14/15)

After

query0 a*x = -14/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(-14/3, 7)

After

query0 f(x) = 7/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=7/3;x=14/15

After

f(x)=7/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(5, 7)

After

query1 y-b = -2

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(-2, -5)

After

query1 recovered x = 2/5

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(-5, 2/5)

After

query1 a*x = -2

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(-2, 7)

After

query1 f(x) = 5

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=5/1;x=2/5

After

f(x)=5/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/5, 7/5], [14/15, 2/5], [7/3, 5/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: 8bf390f4b8a091bf11fb44682e8e3408699c015a50730e4fd126ef6b670cdeb4
  • candidate record SHA-256: 3a5c05158b592520c004077acf39933f873ec28727b2214b98742cafdfd11d47
  • semantic review receipt SHA-256: 6ecad9d909199221a07e923f87425e80b3bdec3eed46fe5910d04fca694cae18
  • question-first witness SHA-256: e8f00458977a09493b5f9f05ab9e6feec72debaf4c7d1c609d1fc95900a35a1b
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON