Explore related knowledge and questions →

Question 8101: 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-08101 · q-20261012-advance-20261017-r02-inverse-function-0076

Original question and givens

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

After

normalized ys=[-1/2, -3/2];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, -2)

After

inverse slope = -1/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, S001

S003 · calculation

Before

negative intercept := sub(0, 1)

After

negative intercept = -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, S002

S004 · calculation

Before

inverse intercept := div(-1, -2)

After

inverse intercept = 1/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, 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(-1/2, 1)

After

query0 y-b = -3/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, S005

S007 · calculation

Before

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

After

query0 recovered x = 3/4

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

After

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

S009 · calculation

Before

query0 f(x) := sum(-3/2, 1)

After

query0 f(x) = -1/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, S008

S010 · implies

Before

query0:y=-1/2;x=3/4

After

f(x)=-1/2;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(-3/2, 1)

After

query1 y-b = -5/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(-5/2, -2)

After

query1 recovered x = 5/4

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

After

query1 a*x = -5/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(-5/2, 1)

After

query1 f(x) = -3/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, S013

S015 · implies

Before

query1:y=-3/2;x=5/4

After

f(x)=-3/2;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/2, 1/2], [3/4, 5/4], [-1/2, -3/2], 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: 65a9c1100c612d1620e7e5b03e787cba7a57ef80e3a66ab96bd95e2861845785
  • candidate record SHA-256: 677a860ba0177f456265b977f1d4f66c9fbdc0583ecee5ee38b22d1fcb47f6c6
  • semantic review receipt SHA-256: 6ecad9d909199221a07e923f87425e80b3bdec3eed46fe5910d04fca694cae18
  • question-first witness SHA-256: e8f00458977a09493b5f9f05ab9e6feec72debaf4c7d1c609d1fc95900a35a1b
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON