Explore related knowledge and questions →

Question 4542: Variance of a Shared-Model Difference

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 23

← Question derivation index · Original question batch

R0008-04542 · q-20261008-advance-20261010-r06-variance-0067

Original question and givens

S={0,…,2}, F=P(S), masses=[17, 2, 1], D=20, and w_i=mass_i/D. Masses are nonnegative and sum exactly to D; uniform weights are not assumed. X=[-16, 2, 17] in index order and Y=[1, -1, -16] on the same S and weights, with no independence premise. Find Var(X−Y), not Var(X)+Var(Y). Use exact reduced fractions with positive denominators, retaining /1 for integers.

  • G001 — S={0,…,2}, F=P(S), masses=[17, 2, 1], D=20, and w_i=mass_i/D. Masses are nonnegative and sum exactly to D; uniform weights are not assumed. X=[-16, 2, 17] in index order and Y=[1, -1, -16] on the same S and weights, with no independence premise. Find Var(X−Y), not Var(X)+Var(Y). Use exact reduced fractions with positive denominators, retaining /1 for integers.

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 · calculation

Before

total mass numerator := sum(17, 2, 1)

After

total mass numerator = 20

Conditions: none

Nonnegative masses must sum to D to give total probability1.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001

S002 · calculation

Before

probability weight0 := div(17, 20)

After

probability weight0 = 17/20

Conditions: none

Divide the indexed mass by the common positive denominator D.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S001

S003 · calculation

Before

probability weight1 := div(2, 20)

After

probability weight1 = 1/10

Conditions: none

Divide the indexed mass by the common positive denominator D.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S002

S004 · calculation

Before

probability weight2 := div(1, 20)

After

probability weight2 = 1/20

Conditions: none

Divide the indexed mass by the common positive denominator D.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · implies

Before

values=[-16, 2, 17];weights=[17/20, 1/10, 1/20]

After

known finite probability law,not a sampled estimate

Conditions: none

This is the complete normalized probability law,so variance uses its probability weights,not an n−1 sample estimate.Retain original indices of zero-mass outcomes.

Step identifiers and dependencies

Rule: probability_variance_scope · Uses: G001, S004

S006 · calculation

Before

pointwise difference0 := sub(-16, 1)

After

pointwise difference0 = -17

Conditions: none

First take X_i−Y_i at the shared outcome,without re-pairing two models.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · calculation

Before

pointwise difference1 := sub(2, -1)

After

pointwise difference1 = 3

Conditions: none

First take X_i−Y_i at the shared outcome,without re-pairing two models.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S006

S008 · calculation

Before

pointwise difference2 := sub(17, -16)

After

pointwise difference2 = 33

Conditions: none

First take X_i−Y_i at the shared outcome,without re-pairing two models.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S007

S009 · implies

Before

[-17, 3, 33]

After

compute the variance of this shared-model difference

Conditions: none

Without an independence premise,do not replace Var(X−Y) by Var(X)+Var(Y).Form the difference variable first and retain the original weights.

Step identifiers and dependencies

Rule: difference_variance_not_sum · Uses: G001, S008

S010 · calculation

Before

target variable weighted value0 := mul(17/20, -17)

After

target variable weighted value0 = -289/20

Conditions: none

Multiply aligned probabilities and values,retaining negative values and zero weights exactly.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S009

S011 · calculation

Before

target variable weighted value1 := mul(1/10, 3)

After

target variable weighted value1 = 3/10

Conditions: none

Multiply aligned probabilities and values,retaining negative values and zero weights exactly.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S010

S012 · calculation

Before

target variable weighted value2 := mul(1/20, 33)

After

target variable weighted value2 = 33/20

Conditions: none

Multiply aligned probabilities and values,retaining negative values and zero weights exactly.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S011

S013 · calculation

Before

target variable mean := sum(-289/20, 3/10, 33/20)

After

target variable mean = -25/2

Conditions: none

Add every weighted term to obtain the exact mean.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S012

S014 · calculation

Before

centered difference0 := sub(-17, -25/2)

After

centered difference0 = -9/2

Conditions: none

Subtract this variable's own exact mean.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S013

S015 · calculation

Before

centered square0 := square(-9/2)

After

centered square0 = 81/4

Conditions: none

The squared deviation is nonnegative;do not use a signed deviation itself as a variance term.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S014

S016 · calculation

Before

centered contribution0 := mul(17/20, 81/4)

After

centered contribution0 = 1377/80

Conditions: none

Multiply by the aligned probability;a zero weight contributes0 even for a large deviation.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S015

S017 · calculation

Before

centered difference1 := sub(3, -25/2)

After

centered difference1 = 31/2

Conditions: none

Subtract this variable's own exact mean.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S016

S018 · calculation

Before

centered square1 := square(31/2)

After

centered square1 = 961/4

Conditions: none

The squared deviation is nonnegative;do not use a signed deviation itself as a variance term.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S017

S019 · calculation

Before

centered contribution1 := mul(1/10, 961/4)

After

centered contribution1 = 961/40

Conditions: none

Multiply by the aligned probability;a zero weight contributes0 even for a large deviation.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S018

S020 · calculation

Before

centered difference2 := sub(33, -25/2)

After

centered difference2 = 91/2

Conditions: none

Subtract this variable's own exact mean.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S019

S021 · calculation

Before

centered square2 := square(91/2)

After

centered square2 = 8281/4

Conditions: none

The squared deviation is nonnegative;do not use a signed deviation itself as a variance term.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S020

S022 · calculation

Before

centered contribution2 := mul(1/20, 8281/4)

After

centered contribution2 = 8281/80

Conditions: none

Multiply by the aligned probability;a zero weight contributes0 even for a large deviation.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S021

S023 · implies

Before

[1377/80, 961/40, 8281/80]

After

all indexed centered-square contributions retained

Conditions: none

Retain one term for every outcome,including zeros.These are quantities of the complete probability law,not sample estimates.

Step identifiers and dependencies

Rule: complete_centered_variance_terms · Uses: G001, S022

S024 · calculation

Before

variance of the difference := sum(1377/80, 961/40, 8281/80)

After

variance of the difference = 579/4

Conditions: none

Sum every centered-square contribution of the difference variable.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S023

Reverse checks

  • S024 · premise_and_result_audit — Recompute variance of the difference with exact rational arithmetic, not rounded decimals.
  • S023 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S022 · premise_and_result_audit — Recompute centered contribution2 with exact rational arithmetic, not rounded decimals.
  • S021 · premise_and_result_audit — Recompute centered square2 with exact rational arithmetic, not rounded decimals.
  • S020 · premise_and_result_audit — Recompute centered difference2 with exact rational arithmetic, not rounded decimals.
  • S019 · premise_and_result_audit — Recompute centered contribution1 with exact rational arithmetic, not rounded decimals.
  • S018 · premise_and_result_audit — Recompute centered square1 with exact rational arithmetic, not rounded decimals.
  • S017 · premise_and_result_audit — Recompute centered difference1 with exact rational arithmetic, not rounded decimals.
  • S016 · premise_and_result_audit — Recompute centered contribution0 with exact rational arithmetic, not rounded decimals.
  • S015 · premise_and_result_audit — Recompute centered square0 with exact rational arithmetic, not rounded decimals.
  • S014 · premise_and_result_audit — Recompute centered difference0 with exact rational arithmetic, not rounded decimals.
  • S013 · premise_and_result_audit — Recompute target variable mean with exact rational arithmetic, not rounded decimals.
  • S012 · premise_and_result_audit — Recompute target variable weighted value2 with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Recompute target variable weighted value1 with exact rational arithmetic, not rounded decimals.
  • S010 · premise_and_result_audit — Recompute target variable weighted value0 with exact rational arithmetic, not rounded decimals.
  • S009 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S008 · premise_and_result_audit — Recompute pointwise difference2 with exact rational arithmetic, not rounded decimals.
  • S007 · premise_and_result_audit — Recompute pointwise difference1 with exact rational arithmetic, not rounded decimals.
  • S006 · premise_and_result_audit — Recompute pointwise difference0 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 probability weight2 with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Recompute probability weight1 with exact rational arithmetic, not rounded decimals.
  • S002 · premise_and_result_audit — Recompute probability weight0 with exact rational arithmetic, not rounded decimals.
  • S001 · premise_and_result_audit — Recompute total mass numerator with exact rational arithmetic, not rounded decimals.

Result

579/4

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: bd5e0c879980a22ca4c0bc9cd171e49e7d3fdc1b26b59093646dc04a48cfd03b
  • candidate record SHA-256: acfc17aa1d0ed1cfa76b245c584fa69fbae29895785fcb3179af0ac4f097febd
  • semantic review receipt SHA-256: b6e05a3e8193a93db505dbf337528fca72e2e41528b1e92b698a3f0683d74289
  • question-first witness SHA-256: caa8693baf0b91acd09a20215d1aa6954ae513fc0b0814f26ac1c8c834b60d67
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON