4.10.17 · D3 · HinglishAdvanced Topics (Elite Level)

Worked examplesConvex optimization — convex sets, convex functions

3,218 words15 min read↑ Read in English

4.10.17 · D3 · Maths › Advanced Topics (Elite Level) › Convex optimization — convex sets, convex functions


Scenario matrix

Cell Case class Kya mushkil hai Example
A Convex set, definition se prove karo general segment ko handle karna padega, saare ke liye Ex 1
B Not convex set — counterexample banao specific exhibit karne honge jo escape karte hain Ex 2
C 1-D function, smooth, test ka sign, aur edge case Ex 3
D 1-D function, non-smooth (kink) — no Hessian definition pe wapas jaana padega Ex 4
E Multivariable, Hessian PSD test, saare cases eigenvalues / definiteness incl. degenerate Ex 5
F Composition / combination rules kaun se operations convexity preserve karte hain Ex 6
G Real-world word problem (optimization) words → convex program translate karo, global-min theorem use karo Ex 7
H Exam twist — ek false-looking claim ko disprove karo limiting/degenerate behaviour Ex 8

Figure s01 (below). Violet disk ball hai; do navy dots ek arbitrary pair hain; magenta segment unhe join karta hai; orange dot hai, disk ke andar baitha hua — step 4 ki picture. Centre se arrow radius ko mark karta hai jise step 3 kabhi exceed nahi karta.

Figure — Convex optimization — convex sets, convex functions

Figure s02 (below). Sirf violet rim set hai (beech khali hai). Magenta chord aur ko join karta hai; uska orange midpoint origin pe land karta hai — ek point rim pe nahi, exactly woh escape jo step 3 mein mili.

Figure — Convex optimization — convex sets, convex functions



Figure s03 (below). ka ek contour map. Orange dashed line flat valley hai (zero-eigenvalue direction, jahan poori jagah); magenta arrow eigenvalue- direction mein uphill point karta hai jahan curvature positive hai. Har jagah convex, lekin dashed line ke along flat — hence strictly convex nahi.

Figure — Convex optimization — convex sets, convex functions




Examples matrix ko kaise tile karte hain

Convexity questions

Sets

Functions

Prove convex - Ex1

Disprove - Ex2

Smooth 1D - Ex3

Non smooth - Ex4

Multivariable Hessian - Ex5

Combination rules - Ex6

Word problem - Ex7

Exam twist - Ex8

Recall Aage badhne se pehle self-check karo

Jab function mein corner ho toh kaun sa test use karte hain? ::: Definition (chord inequality), kyunki Hessian test ke liye twice-differentiability chahiye. Eigenvalues aur wala Hessian matlab function hai...? ::: Convex lekin not strictly — zero-eigenvalue direction mein flat (minima ki valley). Do convex functions ka product — hamesha convex? ::: Nahi — e.g. pe convex nahi hai. Square sabse saste perimeter wala rectangle guaranteed global kyun hai? ::: pe strictly convex hai, isliye uska unique stationary point global min hai. Strictly convex ki precise definition? ::: for all — chord graph ke strictly upar except endpoints pe.


Connections

  • Parent topic — woh definitions jinhe yeh examples exercise karte hain.
  • Norms and Inner Products — triangle inequality jo Ex 1 aur Ex 4 ko power deti hai.
  • Positive Definite Matrices — Ex 5 ka Hessian eigenvalue test.
  • Gradient Descent — Ex 7 ka convex objective globally converge karta hai.
  • Linear Programming — half-spaces ke intersections ke roop mein polyhedra (Ex 6 ka intersection idea).
  • Jensen's Inequality — Ex 3/Ex 4 ki chord inequality averages tak generalize hoti hai.