Before Markowitz (1952), people picked "good stocks" one at a time. The problem: two stocks can each be risky, yet combined be calmer than either — because they don't move together. Ignoring how assets co-move (covariance) means you overpay in risk. Markowitz gave the first math that treats return and risk jointly and shows diversification is a free lunch (up to a limit).
Portfolio return is just the money-weighted average of the pieces. If you put fraction wi in asset i:
Rp=∑iwiRi⇒μp=E[Rp]=∑iwiμi=w⊤μWhy? Expectation is linear — no covariances appear in the mean.
Portfolio variance — derive for two assets, then generalize.
σp2=Var(w1R1+w2R2)
Use Var(aX+bY)=a2Var(X)+b2Var(Y)+2abCov(X,Y):
σp2=w12σ12+w22σ22+2w1w2σ12Why this step? The cross term 2w1w2σ12 is the whole point: if σ12<0, it subtracts risk. That's diversification.
General n-asset form (stacking into a covariance matrix Σ):
σp2=∑i∑jwiwjσij=w⊤Σw
Build the Lagrangian with multipliers λ,γ:
L=21w⊤Σw−λ(w⊤μ−μ∗)−γ(w⊤1−1)
Set ∂L/∂w=0:
Σw−λμ−γ1=0⇒w∗=Σ−1(λμ+γ1)Why? The gradient of 21w⊤Σw is Σw; setting it against the constraint gradients gives the optimum. Solve the two constraints for λ,γ. The set of all such w∗ (over every μ∗) traces a parabola in (σp2,μp) space — the minimum-variance frontier.
The upper half (higher return for same risk) is the efficient frontier. Its leftmost tip is the global minimum-variance portfolio.
Assets: μ1=8%,σ1=10%; μ2=12%,σ2=20%; correlation ρ=0 so σ12=0.
Try 50/50: w1=w2=0.5.
μp=0.5(8)+0.5(12)=10%. Why? Linear average of means.
σp2=0.25(100)+0.25(400)+0=125⇒σp=11.18%.
Why remarkable? A naive average of the two risks would be 15%. Because they're uncorrelated, real risk is only 11.18% — risk fell below the average for free.
Minimize σp2=w2σ12+(1−w)2σ22+2w(1−w)σ12. Take d/dw=0:
w∗=σ12+σ22−2σ12σ22−σ12Why this step? Differentiate, collect w, solve linearly. With numbers above (σ12=0):
w∗=100+400−0400−0=0.8
So 80% in the safe asset gives the lowest-risk mix: σp2=0.64(100)+0.04(400)=80⇒σp=8.94% — lower than either asset's 10% or 20%!
Same assets but ρ=−1 (perfectly opposite), so σ12=ρσ1σ2=−1(10)(20)=−200.
w∗=100+400−2(−200)400−(−200)=900600=0.667σp2=0.444(100)+0.111(400)+2(0.667)(0.333)(−200)=44.4+44.4−88.8=0.
Why zero? With perfect negative correlation you can fully cancel risk — a riskless portfolio from two risky assets.
Imagine packing an ice-cream cart. Umbrellas sell on rainy days, ice cream on sunny days. Each alone is a gamble — bad weather ruins it. But sell both and you win every day: when one drops, the other rises. Markowitz just wrote the math for "mix things that don't fail at the same time," so your total earnings stay smooth. The best mixes — smoothest earnings for a chosen average profit — sit on a special curved line, and smart people only pick from that line.
Dekho, Markowitz ka core idea simple hai: kisi bhi stock ko akele mat judge karo — dekho wo poore portfolio ke risk ko kya karta hai. Do stock alag-alag risky ho sakte hain, par agar wo ulti direction mein move karte hain (negative covariance), to mix karke total risk kam ho jaata hai. Isko diversification kehte hain, aur yahi "free lunch" hai investing mein.
Formula yaad rakho: portfolio ka return to seedha weighted average hai (μp=∑wiμi), lekin risk mein ek twist hai. Variance = "squares plus a cross" — har asset ka apna variance, aur ek cross term 2w1w2σ12. Yeh cross term hi magic hai: agar covariance negative hai to yeh risk ko minus kar deta hai. Isliye standard deviations kabhi seedhe add nahi hote.
Optimization ka game yeh hai: ek target return fix karo, aur us return ko dete hue minimum possible variance wala portfolio dhoondo. Sab aise best portfolios ko join karo to ek curve banti hai — efficient frontier. Smart investor sirf isi curve par baithta hai, kyunki uske neeche koi bhi point "wasteful risk" hai (utna hi return kam risk mein mil sakta tha).
Exam aur real life dono mein: agar do assets ka correlation −1 ho jaye, to tum poori tarah risk cancel karke riskless portfolio bana sakte ho — theoretically σp=0. Yahi baat proof karti hai ki covariance kitna powerful hai. Toh mantra: mix cheezein jo saath mein fail na hon.