4.10.17 · HinglishAdvanced Topics (Elite Level)

Convex optimization — convex sets, convex functions

1,687 words8 min readRead in English

4.10.17 · Maths › Advanced Topics (Elite Level)


1. Convex Sets

WHAT hai ? Jaise-jaise se tak jaata hai, yeh point (jab ) se (jab ) tak seedhe segment par chalata hai. Yeh do points ka convex combination hai.

WHY yeh definition? "Koi dent nahi, koi hole nahi." Ek disk convex hai; ek crescent moon nahi hai (ek chord bahar ja sakta hai). Ek donut nahi hai (ek chord hole se cross karta hai).

Figure — Convex optimization — convex sets, convex functions

2. Convex Functions

WHY yeh inequality? LHS = function ki actual height midpoint-jaisi jagah par. RHS = wahan chord ki height. Convex matlab bowl apne khud ke chords ke upar kabhi bulge nahi karta.

Curvature tests (practice mein HOW check karein)


Recall Feynman: 12-saal ke bachche ko explain karo

Socho ek skate ramp jo bowl ki shape mein hai. Koi bhi marble andar kahin bhi giraa do — woh hamesha ek hi sabse neeche wale point par aata hai. Yahi convex function hai: sirf ek bottom hai, isliye tum kabhi ek nakli "low spot" par nahi rukoge. Ek convex set woh region hai jisme koi dent nahi, koi hole nahi: koi bhi do jagah chuno usme, unke beech seedha string kheecho, string kabhi region se bahar nahi jaayegi. Optimization hai "bottom dhundo"; convexity guarantee karta hai ki bottom dhoondna aasaan hai aur sirf ek hi hai.


Connections

  • Linear Programming — feasible region = half-spaces ka intersection = convex polyhedron.
  • Gradient Descent — ek convex objective ke liye yeh global min par converge karta hai (na ki local par), provided usual algorithmic conditions hold karein: sensible step-size rule aur smoothness/Lipschitz-gradient assumptions. Convexity local-min traps hataati hai; yeh akele convergence guarantee nahi karta.
  • Lagrange Multipliers and KKT Conditions — KKT convexity ke under sufficient ban jaata hai (sirf necessary nahi).
  • Positive Definite Matrices — Hessian test .
  • Jensen's Inequality — convexity inequality ko expectations tak generalize kiya.
  • Norms and Inner Products — har norm ek convex function hai.

Flashcards

Ek convex set define karo.
Sabhi ke liye, — poora segment andar rehta hai.
Ek convex function define karo.
; chord graph ke upar/uspar rehta hai.
Convex set aur convex function ke beech geometric link kya hai?
convex uska epigraph ek convex set hai.
First-order convexity condition kya hai?
— graph har tangent ke upar rehta hai.
Second-order convexity condition kya hai?
Hessian sabhi ke liye (1-D mein: ).
Convexity global minima kyun guarantee karta hai?
Paas mein ek better point + segment-staying-inside + chord inequality local-minimality ka contradiction karta hai, isliye local = global.
Kya circle convex hai?
Nahi — ek chord khaali interior se guzarta hai. Closed disk convex hai.
Sets ki convexity kya preserve karta hai?
Intersection aur affine images (aur isliye polyhedra ).
Functions ki convexity kya preserve karta hai?
Nonnegative weighted sums, convex functions ka max, affine map ke saath composition.
Kya strict convexity ke liye har jagah zaroori hai?
Nahi — har jagah sufficient hai lekin necessary nahi; jaise strictly convex hai lekin . Non-strict convex ko sirf chahiye.

Concept Map

splits into

splits into

defined by

defined by

example of

preserves

preserves

of half-spaces gives

feasible region of

combined with

combined with

enables

Convexity

Convex set

Convex function

Segment stays inside set

Chord lies above graph

Half-spaces and balls

Polyhedron Ax<=b

Intersection preserved

Affine image preserved

Every local min is global

Reliable large-scale solving