Explore related knowledge and questions →

Question 4188: Product Expectation versus Product of Means

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 21

← Question derivation index · Original question batch

R0007-04188 · q-20261008-advance-20261010-r05-expectation-0063

Original question and givens

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

  • G001 — S={0,…,2}, F=P(S), masses=[13, 2, 1], D=16, and w_i=mass_i/D. Masses are nonnegative and sum exactly to D; uniform weights are not assumed. X=[-12, 2, 13] in index order and Y=[14, -1, 2] on the same S and weights, with no independence premise. Give (E[XY], E[X]E[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(13, 2, 1)

After

total mass numerator = 16

Conditions: none

Nonnegative integer masses must sum to D for normalized weights.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001

S002 · implies

Before

indexed masses=[13, 2, 1];D=16

After

probabilities=[13/16, 1/8, 1/16]

Conditions: none

Outcome indices start at0 and align masses with X and Y values.Retain zero-mass outcomes;negative random-variable values are allowed.

Step identifiers and dependencies

Rule: indexed_normalized_expectation_model · Uses: G001, S001

S003 · calculation

Before

X weighted numerator0 := mul(13, -12)

After

X weighted numerator0 = -156

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S002

S004 · calculation

Before

X contribution0 := div(-156, 16)

After

X contribution0 = -39/4

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · calculation

Before

X weighted numerator1 := mul(2, 2)

After

X weighted numerator1 = 4

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S004

S006 · calculation

Before

X contribution1 := div(4, 16)

After

X contribution1 = 1/4

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · calculation

Before

X weighted numerator2 := mul(1, 13)

After

X weighted numerator2 = 13

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S006

S008 · calculation

Before

X contribution2 := div(13, 16)

After

X contribution2 = 13/16

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S007

S009 · calculation

Before

X expectation := sum(-39/4, 1/4, 13/16)

After

X expectation = -139/16

Conditions: none

Add every indexed expectation contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S008

S010 · calculation

Before

Y weighted numerator0 := mul(13, 14)

After

Y weighted numerator0 = 182

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S009

S011 · calculation

Before

Y contribution0 := div(182, 16)

After

Y contribution0 = 91/8

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S010

S012 · calculation

Before

Y weighted numerator1 := mul(2, -1)

After

Y weighted numerator1 = -2

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S011

S013 · calculation

Before

Y contribution1 := div(-2, 16)

After

Y contribution1 = -1/8

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S012

S014 · calculation

Before

Y weighted numerator2 := mul(1, 2)

After

Y weighted numerator2 = 2

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S013

S015 · calculation

Before

Y contribution2 := div(2, 16)

After

Y contribution2 = 1/8

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S014

S016 · calculation

Before

Y expectation := sum(91/8, -1/8, 1/8)

After

Y expectation = 91/8

Conditions: none

Add every indexed expectation contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S015

S017 · calculation

Before

pointwise XY0 := mul(-12, 14)

After

pointwise XY0 = -168

Conditions: none

First multiply X_iY_i at the same outcome,then apply its original weight.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S016

S018 · calculation

Before

pointwise XY1 := mul(2, -1)

After

pointwise XY1 = -2

Conditions: none

First multiply X_iY_i at the same outcome,then apply its original weight.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S017

S019 · calculation

Before

pointwise XY2 := mul(13, 2)

After

pointwise XY2 = 26

Conditions: none

First multiply X_iY_i at the same outcome,then apply its original weight.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S018

S020 · calculation

Before

XY weighted numerator0 := mul(13, -168)

After

XY weighted numerator0 = -2184

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S019

S021 · calculation

Before

XY contribution0 := div(-2184, 16)

After

XY contribution0 = -273/2

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S020

S022 · calculation

Before

XY weighted numerator1 := mul(2, -2)

After

XY weighted numerator1 = -4

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S021

S023 · calculation

Before

XY contribution1 := div(-4, 16)

After

XY contribution1 = -1/4

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S022

S024 · calculation

Before

XY weighted numerator2 := mul(1, 26)

After

XY weighted numerator2 = 26

Conditions: none

Multiply the mass by the value at the same index;deleting zero masses must not shift alignment.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S023

S025 · calculation

Before

XY contribution2 := div(26, 16)

After

XY contribution2 = 13/8

Conditions: none

Divide by the common positive denominator,retaining the index position of a zero contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S024

S026 · calculation

Before

XY expectation := sum(-273/2, -1/4, 13/8)

After

XY expectation = -1081/8

Conditions: none

Add every indexed expectation contribution.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S025

S027 · calculation

Before

product of means := mul(-139/16, 91/8)

After

product of means = -12649/128

Conditions: none

Compute the product of means separately;do not substitute it for the expectation of the product.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S026

S028 · implies

Before

E[XY]=-1081/8;E[X]E[Y]=-12649/128

After

report in this order;no independence inferred

Conditions: none

Independence implies this moment equality,but one moment equality alone does not establish general independence;compute only the two values in the declared joint model.

Step identifiers and dependencies

Rule: mixed_moment_not_independence · Uses: G001, S027

Reverse checks

  • S028 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S027 · premise_and_result_audit — Recompute product of means with exact rational arithmetic, not rounded decimals.
  • S026 · premise_and_result_audit — Recompute XY expectation with exact rational arithmetic, not rounded decimals.
  • S025 · premise_and_result_audit — Recompute XY contribution2 with exact rational arithmetic, not rounded decimals.
  • S024 · premise_and_result_audit — Recompute XY weighted numerator2 with exact rational arithmetic, not rounded decimals.
  • S023 · premise_and_result_audit — Recompute XY contribution1 with exact rational arithmetic, not rounded decimals.
  • S022 · premise_and_result_audit — Recompute XY weighted numerator1 with exact rational arithmetic, not rounded decimals.
  • S021 · premise_and_result_audit — Recompute XY contribution0 with exact rational arithmetic, not rounded decimals.
  • S020 · premise_and_result_audit — Recompute XY weighted numerator0 with exact rational arithmetic, not rounded decimals.
  • S019 · premise_and_result_audit — Recompute pointwise XY2 with exact rational arithmetic, not rounded decimals.
  • S018 · premise_and_result_audit — Recompute pointwise XY1 with exact rational arithmetic, not rounded decimals.
  • S017 · premise_and_result_audit — Recompute pointwise XY0 with exact rational arithmetic, not rounded decimals.
  • S016 · premise_and_result_audit — Recompute Y expectation with exact rational arithmetic, not rounded decimals.
  • S015 · premise_and_result_audit — Recompute Y contribution2 with exact rational arithmetic, not rounded decimals.
  • S014 · premise_and_result_audit — Recompute Y weighted numerator2 with exact rational arithmetic, not rounded decimals.
  • S013 · premise_and_result_audit — Recompute Y contribution1 with exact rational arithmetic, not rounded decimals.
  • S012 · premise_and_result_audit — Recompute Y weighted numerator1 with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Recompute Y contribution0 with exact rational arithmetic, not rounded decimals.
  • S010 · premise_and_result_audit — Recompute Y weighted numerator0 with exact rational arithmetic, not rounded decimals.
  • S009 · premise_and_result_audit — Recompute X expectation with exact rational arithmetic, not rounded decimals.
  • S008 · premise_and_result_audit — Recompute X contribution2 with exact rational arithmetic, not rounded decimals.
  • S007 · premise_and_result_audit — Recompute X weighted numerator2 with exact rational arithmetic, not rounded decimals.
  • S006 · premise_and_result_audit — Recompute X contribution1 with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Recompute X weighted numerator1 with exact rational arithmetic, not rounded decimals.
  • S004 · premise_and_result_audit — Recompute X contribution0 with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Recompute X weighted numerator0 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute total mass numerator with exact rational arithmetic, not rounded decimals.

Result

(-1081/8, -12649/128)

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: 4c0d9398c2f1cc378550223b116ba7aea55720928b751dfe0c43a6a76b7b29d1
  • candidate record SHA-256: 0b612eced0b85c20650d7c63e58908a834dc2f2f2f785ff177dbf792c7b5c7f5
  • semantic review receipt SHA-256: faf0582c0184613e6fae207374056133eae600883a29c67d8438113bbe3c485a
  • question-first witness SHA-256: 4b283b6ff424b1d22caa36f3552b0fa21b1b66a0a883d7cbe9cedc8dd77b2e42
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON