Explore related knowledge and questions →

Question 1015: Exact Absolute Value

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 6

← Question derivation index · Original question batch

R0001-01015 · q-20260928-absolute-value-exact-evaluation-0015

Original question and givens

Using the piecewise definition over the real numbers, compute |2| exactly.

  • G001 — Using the piecewise definition over the real numbers, compute |2| exactly.

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

x∈R

After

|x|=x if x≥0; |x|=−x if x<0

Conditions: none

The sign branches cover every real number, with0 in the nonnegative branch.

Step identifiers and dependencies

Rule: absolute_definition · Uses: G001

S002 · implies

Before

x=2

After

x≥0: Yes

Conditions: none

Determine the sign of the given value rather than guessing from a picture.

Step identifiers and dependencies

Rule: sign_test · Uses: G001, S001

S003 · implies

Before

x=2

After

nonnegative branch x

Conditions: none

Zero satisfies the nonnegative condition; only negative values use −x.

Step identifiers and dependencies

Rule: select_absolute_branch · Uses: G001, S002

S004 · calculation

Before

absolute value := mul(1, 2)

After

absolute value = 2

Conditions: none

Multiply by1 or −1 according to the selected branch to obtain a nonnegative value.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · implies

Before

|x|=2

After

result≥0: Yes

Conditions: none

Verify nonnegativity to avoid a negative result from the negative branch.

Step identifiers and dependencies

Rule: absolute_result_guard · Uses: G001, S004

Reverse checks

  • 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 absolute value with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S002 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S001 · premise_and_result_audit — Use ≥0 rather than >0 so that0 is not omitted.

Result

2

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: 5622f75f3d779d7ad91926457a522437f35dc576b0f1f086dfc0a58c89a9adae
  • candidate record SHA-256: 8beed1811a857b4d45e5a945d55ef001e88f7ce6710415b586464a9567a0ca99
  • semantic review receipt SHA-256: c3b44ce8ed60ada6902fb206627537d5f90ba2a867eaba43a36f903280c496cc
  • question-first witness SHA-256: 3e91602adc7f81a2671a2a3ffaf6a447028b56abc5853e8271673d76f30cd7ad
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON