Maths4UBETA

Maths4U · Learning together

Reverse moments, feasible summaries and all valid branches

← Coded totals, origins and scale changesChanged records and pooled variation →

Notes

Objective

Use variance to reconstruct missing information, retaining every feasible count or sign before applying extra conditions.

Before you start

Use exact totals, order raw observations, and distinguish a frequency from a measurement. Review Measures of central tendency if you need to recover a mean or decode an origin.

Key ideas

An unknown count occurs more than once

If the sum is S, square-total T and variance v, then

vn2−Tn+S2=0.vn^2-Tn+S^2=0.

Solve for every positive integer count. Check n=1 separately when v is positive, because one observation cannot have positive variance. Real-valued observations do not have to be integer counts themselves.

Recovering a mean can introduce two signs

xˉ 2=Tn−v.\bar{x}^{\,2}=\frac{T}{n}-v.

Both square roots may be possible. An original condition such as a positive mean can select one; do not silently add it.

Check consistency before taking a square root

∑x2≥(∑x)2n.\sum x^2\ge\frac{(\sum x)^2}{n}.

This follows from non-negative variance. Equality means all values equal the mean. For n≥2 real observations, this inequality is also sufficient; extra restrictions such as non-negative integers may impose more conditions.

A hidden reference must satisfy both moments

Recover c from ∑(x−c)=n(xˉ−c)\sum(x-c)=n(\bar{x}-c), then use the squared coded total for spread. Recheck both original equations. A quadratic candidate is a possibility to test, not an automatically valid answer.

Method

  1. Identify whether the observations are raw, grouped or coded.
  2. Recover the count, first total and square-total on one consistent scale.
  3. Find the requested spread without premature rounding.
  4. Restore all original conditions and give every valid result.

Common mistakes

  • A positive quadratic root need not be an integer count.
  • Do not drop the negative mean without a stated condition.
  • A negative implied variance is not a real SD.
  • Keep all feasible branches before using extra information.

Worked examples

Two counts can fit one pair of moments

Real observations have ∑x=20\sum x=20, ∑x2=120\sum x^2=120 and variance 8. Find all possible counts. Then use xˉ>3\bar{x}>3.

Follow the solution8n2−120n+400=0.8n^2-120n+400=0.8(n−5)(n−10)=0.8(n-5)(n-10)=0.

The possibilities are n=5 and n=10, with means 4 and 2. Both moments are feasible for real observations; the extra condition selects n=5.

A square-total does not determine the sign of the mean

Six real observations have square-total 150 and variance 9. Find all means, then select the positive mean and its sum.

Follow the solutionxˉ 2=150/6−9=16.\bar{x}^{\,2}=150/6-9=16.

The means are −4 and 4. The positive choice is 4, giving sum 24. It would be incomplete to give only 4 before using the extra condition.

Recover an unrecorded origin

Five observations have mean 12, ∑(x−c)=−15\sum(x-c)=-15, ∑(x−c)2=80\sum(x-c)^2=80. Find c and the SD.

Follow the solution5(12−c)=−15⇒c=15.5(12-c)=-15\quad\Rightarrow\quad c=15.σ2=80/5−(−15/5)2=7.\sigma^2=80/5-(-15/5)^2=7.

The SD is 7\sqrt7. The negative coded mean describes the origin, not a negative spread.

Reject an impossible summary

A report claims n=6, ∑x=30\sum x=30, ∑x2=140\sum x^2=140. Explain the contradiction and find the smallest feasible square-total.

Follow the solutionσ2=140/6−52=−5/3.\sigma^2=140/6-5^2=-5/3.

A real data set cannot have negative variance.

∑x2≥302/6=150.\sum x^2\ge30^2/6=150.

The minimum 150 is attained when all six observations equal 5.

Practise this topic