We already have crude spread measures: range (max − min) uses only two points, and mean absolute deviation uses ∣x−xˉ∣. Variance improves on both by squaring deviations.
Why can't we just average (xi−xˉ) without squaring?
Because ∑(xi−xˉ)=0 always — positives and negatives cancel, giving 0 regardless of spread.
Population variance formula
σ2=n1∑(xi−xˉ)2
Standard deviation in terms of variance
σ=σ2; it restores the original units.
Shortcut formula for variance
σ2=x2−(xˉ)2 = mean of squares minus square of mean.
Why divide by n−1 for a sample?
Bessel's correction — the sample mean makes deviations too small, so n−1 corrects the downward bias.
Effect of adding constant c to all data on variance?
No change; variance is shift-invariant.
Effect of multiplying all data by c on variance and SD?
Variance ×c2, SD ×∣c∣.
When is variance exactly 0?
Only when every data value is identical.
Is x2≥(xˉ)2?
Yes, always, since their difference is the variance ≥0.
Units of variance vs SD if data is in cm?
Variance in cm², SD in cm.
Recall Feynman: explain to a 12-year-old
Imagine your class throws darts at a bullseye. The average tells you where the darts land on average. But two classes can have the same average landing spot — one with all darts tightly bunched, another with darts scattered all over the wall. Standard deviation is a number that says "how scattered are the darts?" To get it: measure how far each dart is from the middle, square those distances (so left and right don't cancel out), average them, and take the square root to get back to normal distance. Small number = neat shooters; big number = wild throws.
Dekho, sirf "average" (mean) se poori kahani samajh nahi aati. Do classes ka average marks 60 ho sakta hai, par ek class mein sab log 58–62 ke beech hain aur doosri mein aadhe log 30 par aur aadhe 90 par. Dono ka centre same, par spread bilkul alag. Yeh spread naapne ke liye hum variance aur standard deviation use karte hain.
Idea simple hai: har value ka mean se distance nikalo (xi−xˉ). Ab agar seedhe add karein toh plus aur minus cancel hokar zero ho jaata hai — isliye hum har distance ko square karte hain (sign hata dega aur bade deviations ko zyada weight milega). In squares ka average = variance (σ2). Lekin variance ka unit square ho jaata hai (jaise marks²), toh usse samajhna mushkil. Isliye square root lete hain — wahi hai standard deviation (σ), jo original units mein hota hai.
Ek aur trick yaad rakho: "mean of squares minus square of mean" yaani σ2=x2−(xˉ)2. Yeh calculation fast karta hai. Aur haan, agar data ek sample hai (poori population nahi), toh n ki jagah n−1 se divide karo — ise Bessel's correction kehte hain, kyunki sample mean deviations ko thoda chhota bana deta hai.
Kyu important hai? Kyunki real life mein consistency matter karti hai — ek batsman ka average 45 ho sakta hai, par kam SD wala batsman zyada reliable hai. Standard deviation risk, quality control, aur normal distribution (68-95-99.7 rule) sab mein base hai. Isliye yeh topic strong banao.