Study Notes – “Average”
Quantitative Aptitude – Advanced University (MIT‑Level) Treatment
Audience: Students preparing for high‑level quantitative aptitude exams, competitive programming, or a first course in probability and statistics at the university level.
1. Introduction
The average (or mean) is the most fundamental measure of central tendency. While everyday usage often restricts us to arithmetic means of small data sets, the concept generalises to:
| Context | Mean |
|---|---|
| Finite list of numbers | Arithmetic mean |
| Weighted observations | Weighted mean |
| Time‑dependent series | Moving average |
| Random variable | Expectation |
| Function on a domain | Integral mean |
| Vector / matrix | Component‑wise mean |
| Sequence of functions | Cesàro mean |
These notes take the arithmetic mean as the starting point and then build up a rigorous, first‑principles treatment that spans linear algebra, analysis, and probability.
2. First Principles
2.1 Definition (Finite Arithmetic Mean)
For a finite set of real numbers (x_1, x_2, \dots, x_n),
[ \boxed{\displaystyle \bar{x} ;=; \frac{1}{n}\sum_{i=1}^{n} x_i} ]
Proof of Uniqueness:
Suppose (m) satisfies (\sum_{i=1}^{n}(x_i-m)=0).
Then (m = \frac{1}{n}\sum_{i=1}^n x_i) by solving the linear equation.
Thus, the arithmetic mean is the unique real number whose deviations from the data sum to zero.
2.2 Linear Operator
Define (A:\mathbb{R}^n \to \mathbb{R}) by (A(x_1,\dots,x_n) = \frac{1}{n}\sum_{i=1}^{n} x_i).
Then:
- Linearity: (A(\alpha \mathbf{x} + \beta \mathbf{y}) = \alpha A(\mathbf{x}) + \beta A(\mathbf{y})).
- Adjoint: The adjoint of (A) is the column vector (v = \frac{1}{n}(1,1,\dots,1)^T), i.e., (A(\mathbf{x}) = v^T \mathbf{x}).
This perspective will be useful when we discuss weighted means and matrix averages.
3. Key Properties
| Property | Statement | Proof Sketch |
|---|---|---|
| Commutativity | (\bar{x}) is invariant under permutations of the data. | Sum is commutative. |
| Homogeneity | (\overline{c x_i}=c,\bar{x}). | Factor (c) out of the sum. |
| Translation | (\overline{x_i + c}= \bar{x}+c). | Add (c) to every term. |
| Monotonicity | If (x_i \le y_i) for all (i), then (\bar{x}\le \bar{y}). | Subtract the sums. |
| Bounds | (\min x_i \le \bar{x} \le \max x_i). | Since each term lies in the range. |
| Median Inequality | (\bar{x} \ge \text{median}) if distribution is skewed right; conversely for left. | Requires Chebyshev’s sum inequality. |
4. Weighted Mean
4.1 Definition
Given weights (w_i \ge 0) with (\sum_{i=1}^n w_i = 1),
[ \boxed{\displaystyle \bar{x}w = \sum{i=1}^{n} w_i x_i} ]
If weights are not normalised, we use
[ \bar{x}_w = \frac{\sum w_i x_i}{\sum w_i} ]
4.2 Properties
- Linearity in (x) (keeping weights fixed).
- Homogeneity in weights: scaling all weights by a constant leaves (\bar{x}_w) unchanged.
- Cauchy–Schwarz Bound: ( |\bar{x}_w| \le |x|_2 |w|_2).
4.3 Edge Cases
- Zero total weight: undefined; corresponds to division by zero.
- Negative weights: mathematically permissible but break the interpretation as “average” (can produce values outside the convex hull).
- Infinite weights: leads to limits; e.g., Dirac measures in probability.
5. Moving (Running) Average
5.1 Definition
For a time series (x_t), the moving average of window size (k) is
[ \text{MA}k(t) = \frac{1}{k}\sum{i=0}^{k-1} x_{t-i} ]
5.2 Properties
- Smoothing: reduces high‑frequency noise.
- Lag: effect appears (k/2) periods ahead of changes.
- Relation to convolution: (\text{MA}_k = x * h_k) where (h_k(t) = 1/k) for (0 \le t < k).
5.3 Edge Cases
- Window size (k=1)