Average – Advanced Quantitative Aptitude Study Notes
(MIT‑level treatment, first principles, rigorous reasoning, edge‑cases, & a challenging problem)
1. What is an “Average”?
| Symbol | Definition | Example |
|---|---|---|
| (\bar{x}) | Arithmetic mean of a finite set ({x_1,\dots,x_n}) | (\displaystyle \bar{x}= \frac{1}{n}\sum_{i=1}^{n}x_i) |
| (E[X]) | Expectation of a random variable (X) (continuous or discrete) | (\displaystyle E[X] = \int_{-\infty}^{\infty} x,f(x),dx) |
| (\tilde{x}) | Weighted mean of ({x_i}) with weights ({w_i}) | (\displaystyle \tilde{x}= \frac{\sum_{i=1}^{n}w_i x_i}{\sum_{i=1}^{n}w_i}) |
First principle: The average is the unique number that balances the set.
For numbers (x_i), the sum of deviations from (\bar{x}) is zero: [ \sum_{i=1}^{n}(x_i-\bar{x})=0. ]
2. Derivation from Basic Algebra
Let the sum of all numbers be (S=\sum_{i=1}^{n}x_i).
By definition, (\bar{x}) satisfies
[ n\bar{x}=S \quad\Longrightarrow\quad \bar{x}= \frac{S}{n}. ]
Why does this work?
- Linearity: For any constants (a,b), [ \overline{aX+b} = a\bar{X}+b. ]
- Additivity: For disjoint sets (A,B), [ \overline{A\cup B} = \frac{|A|\bar{A}+|B|\bar{B}}{|A|+|B|}. ]
3. Properties & Theorems
| Property | Statement | Proof Sketch |
|---|---|---|
| Linearity | (\overline{cX} = c\bar{X}) for (c\in\mathbb{R}). | (c\bar{X} = c\frac{S}{n} = \frac{cS}{n} = \overline{cX}). |
| Shift Invariance | (\overline{X+d} = \bar{X}+d). | (\frac{\sum (x_i+d)}{n} = \frac{S+nd}{n} = \bar{X}+d). |
| Mediation | (\bar{X}) lies between the min and max of ({x_i}). | If (m=\min x_i) and (M=\max x_i), then (m\le \bar{X}\le M). |
| Effect of Outliers | One extreme value can pull (\bar{X}) arbitrarily far. | Add (x_{n+1}=K) large; (\bar{X}' = \frac{S+K}{n+1}). As (K\to\infty), (\bar{X}'\to K). |
| Weighted Mean as Center of Mass | With masses (w_i), the weighted mean is the center of mass. | Physical interpretation: (x)-coordinate of center of mass is (\tilde{x}). |
| Variance–Mean Relation | (\displaystyle \frac{1}{n}\sum (x_i-\bar{x})^2 = \frac{1}{n}\sum x_i^2 - \bar{x}^2). | Expand ((x_i-\bar{x})^2) and sum. |
4. Advanced Concepts
4.1. Expected Value as “Average” of a Distribution
- For a discrete random variable (X) taking values (x_i) with probabilities (p_i), [ E[X] = \sum_{i} p_i x_i. ]
- For a continuous variable with density (f(x)), [ E[X] = \int_{-\infty}^{\infty} x,f(x),dx. ]
Why is this “average”?
The integral is the continuous analogue of the sum. In both cases,
[
E[X] = \frac{\text{Total “mass” of }x}{\text{Total probability mass}}.
]
4.2. Law of Large Numbers (LLN)
[ \overline{X}n = \frac{1}{n}\sum{i=1}^{n}X_i \xrightarrow[n\to\infty]{\text{a.s.}} E[X]. ]
Implication: With many independent observations, the sample average converges to the true mean.
4.3. Barycentric Coordinates
Given points (P_1,\dots,P_n) in (\mathbb{R}^d) and positive weights (w_i), the barycenter is
[ G = \frac{\sum_{i=1}^{n} w_i P_i}{\sum_{i=1}^{n} w_i}. ]
Thus