📈 Average – Advanced Study Notes (UPSQIS – Quantitative Aptitude)
Target Exam: UPSC Geo‑Scientist (Quantitative Aptitude Section)
Exam Body: UPSC (Union Public Service Commission) – Indian Civil Services
Difficulty Level: MIT‑level, first‑principles, rigorous reasoning, edge cases, and a challenging problem
1. What is an Average?
| Symbol | Definition | Formula |
|---|---|---|
| ( \bar{x} ) | Mean (arithmetic average) of a set of real numbers (x_1,x_2,\dots ,x_n) | (\displaystyle \bar{x} = \frac{1}{n}\sum_{i=1}^{n}x_i) |
| ( A ) | Arithmetic mean of a continuous distribution with density (f(x)) over interval ([a,b]) | (\displaystyle A = \frac{\int_a^b x f(x),dx}{\int_a^b f(x),dx}) |
Key Insight: The average is the centroid (center of mass) of the data if each datum is assigned equal weight.
2. Fundamental Properties
| Property | Statement | Proof Sketch |
|---|---|---|
| Linearity | ( \overline{c\cdot x} = c,\bar{x} ) for any constant (c). | (\displaystyle \frac{1}{n}\sum c x_i = c\frac{1}{n}\sum x_i). |
| Additivity | ( \overline{x+y} = \bar{x} + \bar{y} ). | (\displaystyle \frac{1}{n}\sum (x_i+y_i)=\frac{1}{n}\sum x_i+\frac{1}{n}\sum y_i). |
| Monotonicity | If (x_i \le y_i) for all (i), then (\bar{x}\le \bar{y}). | Direct from additivity and linearity. |
| Median vs. Mean | For a symmetric distribution, mean = median. | Symmetry ensures equal mass on both sides. |
| Variance Relation | ( \sum (x_i-\bar{x})^2 = \sum x_i^2 - n\bar{x}^2 ). | Expand ((x_i-\bar{x})^2) and sum. |
3. Advanced Concepts
3.1 Weighted Mean
Used when observations have different importances.
[ \bar{x}w = \frac{\sum{i=1}^n w_i x_i}{\sum_{i=1}^n w_i} ]
- Edge case: All weights zero → undefined (division by zero).
- Special case: Weights proportional to frequencies → reduces to ordinary mean.
3.2 Harmonic and Geometric Means
| Mean | Formula | Applicability |
|---|---|---|
| Harmonic | (H = \frac{n}{\sum_{i=1}^n \frac{1}{x_i}}) | Rates, speeds, resistances |
| Geometric | (G = \left(\prod_{i=1}^n x_i\right)^{1/n}) | Multiplicative processes, growth rates |
Inequality: (H \le \bar{x} \le G) for positive (x_i).
Proof: By AM–GM–HM inequalities.
3.3 Continuum (Integral) Mean
For a continuous random variable (X) with pdf (f(x)):
[ E[X] = \int_{-\infty}^{\infty} x f(x),dx ]
- Edge case: Improper integrals (heavy tails). Need convergence criteria (e.g., (E[|X|] < \infty)).
- Connection to statistics: Sample mean is an unbiased estimator of (E[X]).
3.4 Mean of a Function over an Interval
Given (g(x)) defined on ([a,b]):
[ \bar{g} = \frac{1}{b-a}\int_a^b g(x),dx ]
- Example: Average temperature over a day.
4. Edge Cases & Pitfalls
| Situation | Pitfall | Remedy |
|---|---|---|
| Zero or negative values | Harmonic mean undefined (division by zero). | Exclude zeros or shift data; use geometric mean if all positive. |
| Outliers | Mean is highly sensitive. | Use trimmed mean or median. |
| Large sample size | Computational overflow when summing large numbers. | Use incremental algorithm or double precision. |
| Discrete vs. Continuous | Mixing units leads to wrong mean. | Ensure consistent units; use density function for continuous. |
| Weight sum zero | Weighted mean undefined. | Verify weights; avoid zero-total weight. |
5. Sample Problems & Solutions
5.1 Straightforward Mean
Problem: A survey records the number of rainfall days in 10 consecutive months:
( {31, 28, 30, 29, 31, 30, 28, 29, 30, 31} ).
Find the average number of rainfall days.
Solution:
[ \bar{x} = \frac{31+28+30+29+31+30+28+29+30+31}{10} = \frac{297}{10} = 29.7 ]
5.2 Weighted Mean (Advanced)
Problem: For a geological survey, 3 regions report average mineral concentrations:
Region A: 12 ppm (weight 0.4), Region B: 18 ppm (weight 0.35), Region C: 15 ppm (weight 0.25).
Compute the overall weighted average concentration.
Solution:
[ \bar{x}_w = \frac{0.4\times12 + 0.35\times18 + 0.25\times15}{0.4+0.35+0.25} = \frac{4.8+6.3+3.75}{1} = 14.85~\text{ppm} ]
5.3 Continuous Mean (Integration)
Problem: Temperature (T(t) = 20 + 10\sin\left(\frac{\pi t}{12}\right)) (°C) varies over a day (t\in[0,24]).