4.9.4 · HinglishProbability Theory & Statistics

Expected value, variance, standard deviation — properties

1,720 words8 min readRead in English

4.9.4 · Maths › Probability Theory & Statistics


1. Expected Value — WHAT, WHY, HOW

WHY yeh formula? Probability ko mass ki tarah socho. Number line par position pe mass rakh do. Us mass distribution ka balance point (center of mass) exactly hota hai. Isliye ko mean kehte hain — yeh woh point hai jahan distribution ek knife edge par balance karega.

HOW hum isse use karte hain (sabse important tool): Law of the Unconscious Statistician (LOTUS). Kisi function of ka average lene ke liye, tumhe ki distribution nahi chahiye:

Linearity of expectation (the workhorse)

ki derivation scratch se (discrete): Har step kyun? Pehle humne LOTUS use kiya ke saath. Phir sum ko split kiya (sums linear hote hain). Phir constants bahar nikale, aur use kiya (probabilities ka sum ek hota hai). Done.


2. Variance — spread measure karna

WHY squared, sirf kyun nahi? Agar hum directly average karte toh milta (positives, negatives ko cancel karte hain — literally yahi mean hoti hai). Squaring se sab kuch positive ho jaata hai, bade deviations zyada punish hote hain, aur algebra clean rehta hai (yeh differentiable hai, unlike ).

First principles se derivation:

Har step kyun? Square expand karo (algebra). Linearity apply karo — note karo ek constant hai, isliye bahar aa jaata hai. Phir substitute karo. Beech ke do terms mein collapse ho jaate hain.

Standard deviation


3. How Variance behaves under scaling & shifting

Derivation. Maano . Tab . To

Kyun? cancel ho jaata hai — poori distribution ko slide karna uska spread nahi badalta. factor out ho jaata hai aur square ho jaata hai kyunki variance squared units mein hoti hai. Root lene par milta hai (absolute value, kyunki SD ≥ 0).

Figure — Expected value, variance, standard deviation — properties

4. Variance of a sum (jahan independence matter karta hai)

Derivation sketch. Maano means hain.

Pehle do terms variances hain; aakhri term hai. Independence isse kyun khatam karta hai? Kyunki independent variables ke liye , jisse covariance ho jaata hai.


5. Worked examples


6. Common mistakes (Steel-manned)


7. Active recall

Recall Self-test (hide karke answer karo)
  1. Variance ki computational formula batao aur derive karo.
  2. kya hai aur kyun vanish ho jaata hai?
  3. kab hota hai?
  4. SD lene ke liye hum square root kyun lete hain?
  5. Kya linearity of expectation dependent variables ke liye bhi true hai?
Recall Feynman: ek 12-saal ke bachche ko explain karo

Socho tum ek number line par darts phenko. Jis average jagah tum hit karte ho woh expected value hai — tumhare cluster ka middle. Variance poochta hai: mere darts us middle ke aas-paas kitne scattered hain? Hum har dart ki middle se distance measure karte hain, use square karte hain (taaki left aur right dono misses "bure" count hon), aur unka average lete hain. Standard deviation wahi scatter hai jo normal distance units mein measure hoti hai. Agar tum poora target sideways slide karo, tumhara scatter nahi badlta — lekin agar tum target picture ko twice as wide zoom karo, tumhara scatter double ho jaata hai (aur squared scatter, yaani variance, four-times ho jaata hai).


Flashcards

What is the definition of expected value for a discrete RV?
— probability-weighted average (center of mass).
State the computational formula for variance.
.
Why do we square deviations in variance?
aur deviations ka cancellation rokne ke liye (woh sum karte) aur clean differentiable algebra ke liye.
What is ?
cancel ho jaata hai (shift), square ho jaata hai.
What is ?
.
Is always true?
Haan — linearity of expectation dependent variables ke liye bhi hold karta hai.
When does ?
Jab ho (e.g. independent).
General formula for ?
.
Define covariance.
.
Variance of a fair die?
.
Variance of a Bernoulli()?
, par maximum.
Why is ?
Unka difference hai (Jensen's inequality for convex ).
What is LOTUS?
ki distribution nikale bina ke function ka average lo.

Connections

Concept Map

summarized by

summarized by

balance point of mass

average function via

obeys

gives

gives

defined as

square avoids cancelling

derived via linearity

square root gives

restores units of

Random variable X

Expected value

Variance

Center of mass

LOTUS

Linearity

E aX+b = aE X +b

E X+Y = E X + E Y always

E of squared distance from mean

Positives cancel negatives

Var = E X^2 - E X ^2

Standard deviation

Deep Dive