Tumhe sirf stationary points ko spot karna hai aur graph padhna hai.
Recall Solution L1.1
Kya karein: wahan dhundho jahan slope flat ho. Kyun: ek interior optimum f′=0 force karta hai.
f′(x)=2x−6. Set karo 2x−6=0⇒x=3.
Stationary point hai x=3 (aur f(3)=9−18+5=−4).
Recall Solution L1.2
(a) f′=2x, 0 par deta hai 0 — haan (ek minimum).
(b) f′=3x2, 0 par deta hai 0 — haan (lekin ek inflection, extremum nahi).
(c) f′=−sinx, 0 par deta hai 0 — haan (ek maximum, kyunki cos0=1 peak hai).
(d) ∇f=(2x,−2y), (0,0) par deta hai 0 — haan (ek saddle).
Chaaron stationary hain; sirf kuch extrema hain — bilkul wahi FONC ki warning hai.
Recall Solution L1.3
Galat.f′(a)=0 interior optimum ke liye zaroori hai, sufficient nahi. Counterexample f(x)=x3 at a=0: flat hai lekin na max na min.
FONC ko proof, constraints, aur algorithm ke saath combine karo.
Recall Solution L4.1
Errors: teen points par mxi+b−yi equals b−1, m+b−3, 2m+b−2.
S=(b−1)2+(m+b−3)2+(2m+b−2)2.
Kyun FONC: is smooth bowl ka minimum interior hai, toh ∇S=0.
∂m∂S=2(m+b−3)+2⋅2(2m+b−2)=2(5m+3b−7)=0,∂b∂S=2(b−1)+2(m+b−3)+2(2m+b−2)=2(3m+3b−6)=0.
System: 5m+3b=7 aur 3m+3b=6. Subtract karo: 2m=1⇒m=21. Phir 3(21)+3b=6⇒3b=4.5⇒b=1.5.
Best-fit line y=21x+23. (Yahi bilkul least-squares normal-equation logic hai.)
Recall Solution L4.2
(a) Substitute karo y=1−x: g(x)=x2+(1−x)2=2x2−2x+1. g′(x)=4x−2=0⇒x=21, toh y=21, f=41+41=21.
(b) Lagrangian L=x2+y2−λ(x+y−1). L par FONC: 2x−λ=0,2y−λ=0⇒x=y. x+y=1 ke saath: x=y=21. Same answer f=21.
Boundary gradient yahan vanish nahi hota — constraint λ bacha hua slope absorb karta hai, aur yahi reason hai kyun plain FONC constrained problems par fail karta hai.
Recall Solution L4.3
∇f=(2x,6y); (2,1) par woh hai (4,6). Descent rule: xnew=xold−η∇f.
xnew=2−0.1⋅4=1.6, ynew=1−0.1⋅6=0.4.
Naya point (1.6,0.4). Stationary point hai (0,0) jahan ∇f=0; distance 5≈2.236 se gir kar 1.62+0.42=2.72≈1.649 ho gaya. Karib. ✓
Left, h→0−: numerator ≤0, denominator <0 ⟹ quotient ≥0 ⟹ f′(x∗)≥0.
Dono ⟹ f′(x∗)=0. Differentiability dono one-sided limits ko equal banati hai, aur humne us common value ko 0 par trap kar liya. ■
Recall Solution L5.2
Yaad karo Duf(x∗)=∇f(x∗)⋅u (directional derivative).
Lo u=+∇f/∥∇f∥. Toh Duf=∥∇f∥>0, toh fu ke along increase karta hai — maximum ko beat karta hai.
Lo u=−∇f/∥∇f∥. Toh Duf=−∥∇f∥<0, toh fdecrease karta hai — minimum ko beat karta hai.
Kyunki hum dono max sense aur min sense mein strictly improve kar sakte hain, x∗ na to max hai na min. Contrapositive: kisi bhi interior extremum par ∇f=0 hoga. ■
Recall Solution L5.3
∇f=(4x3,4y3)=0 sirf (0,0) par.
Second slopes: fxx=12x2,fyy=12y2,fxy=0; origin par sab zero hain, toh D=0 — test fail karta hai.
Lekin seedha dekho f(x,y)=x4+y4≥0=f(0,0) sab (x,y) ke liye, equality sirf origin par. Toh (0,0) strict global minimum hai. Moral: jab D=0 ho, function khud inspect karo.
Recall Solution L5.4
Maano x∗ stationary hai, ∇f(x∗)=0. Convexity inequality mein x=x∗ daalo:
f(y)≥f(x∗)+=0∇f(x∗)⋅(y−x∗)=f(x∗)for all y.
Isliye f(y)≥f(x∗) har jagah — ek global minimum. Yahi reason hai kyun convexity mere "stationary" wali shortlist ko guaranteed winner mein convert karti hai. ■
Recall Feynman check: is poore page ne asal mein kya sikhaya?
FONC (∇f=0) ek net hai jo har interior peak, valley, aur saddle ko pakadta hai. Levels 1–2 ne tumhe net cast karna sikhaya (system solve karo). Level 3 ne catch sort karna sikhaya (Hessian D). Level 4 ne un machhliyon ko handle kiya jo deewaroon ke paas tairti hain (constraints, algorithms). Level 5 ne prove kiya kyun net kaam karta hai aur sort kab fail hota hai. Flat hona finalist hai — Hessian, convexity, ya direct inspection winner tay karta hai.