4.1.31 · HinglishCalculus I — Limits & Derivatives

Optimization — constrained, unconstrained, real-world problems

1,569 words7 min readRead in English

4.1.31 · Maths › Calculus I — Limits & Derivatives


KYUN vanish hoti hai derivative ek extremum par?


Classification test ko scratch se derive karna

Hum ek peak aur valley mein fark karna chahte hain. Critical point ke paas Taylor expansion use karo (jahan ):

Kyunki hai, leading change yeh hai:

Yeh step kyun? kisi bhi chote ke liye, isliye ka sign akela decide karta hai ki dono sides par upar jaata hai ya neeche.


Unconstrained vs Constrained — FARK kya hai?

Lagrange multipliers kyun? (geometric derivation)

Ek constrained optimum par hum curve ke along chalte hain. Hum tabhi nahi badha sakte jab curve ke along badalna band kar de — yaani mein ke tangent mein koi component nahi hota. Iska matlab , ke parallel hai:

Yeh step kyun? constraint curve ke perpendicular hota hai; agar bhi perpendicular hai, toh koi bhi tangent direction ko improve nahi kar sakta. Scalar measure karta hai ki agar constraint thoda dhila ho toh optimum kitna badlega.


Universal recipe (80/20 core)

Figure — Optimization — constrained, unconstrained, real-world problems

Worked Example 1 — Maximum volume ka box (constrained → 1-D)

Ek 12 cm × 12 cm ki sheet hai jisme har corner se side ke equal squares kaate jaate hain; flaps fold hokar ek open box banaate hain. Volume maximize karo.

  • Fold karne ke baad dimensions: base , height .
  • , valid hai ke liye. Kyun? meaningless hai, se negative base milta hai.

Differentiate karo (product rule): Factor kyun? Yeh turant roots reveal karta hai.

Endpoints se classify karo: . Toh se maximum volume milta hai.


Worked Example 2 — Closest point (substitution)

Line par origin ke sabse paas wala point dhundo.

Distance minimize karo, lekin ki jagah minimize karo. Kyun? increasing hai, isliye minimizer same hoga aur algebra cleaner hogi. → minimum. Phir .

Nearest point: , distance . Sanity check: is point tak ka segment line ke perpendicular hona chahiye (slope vs line slope , product ✓).


Worked Example 3 — Lagrange multipliers

ko subject maximize karo.

ke saath set karo: Kyun? ke dono partials hain, isliye . Constraint se , toh max product .

Yeh famous result recover karta hai: fixed sum wale numbers mein, product tab sabse bada hota hai jab woh equal hoon (AM–GM in disguise).


Recall Feynman: 12-saal ke bachche ko explain karo

Ek roller-coaster track socho. Ek hill ke bilkul top par track ek pal ke liye flat hota hai — woh flatness hi hai "slope equals zero." Toh sabse uuche ya sabse neeche wale spots dhundhne ke liye, woh jagah dhundo jahan track flat ho, phir dekho ki woh hilltop hai ya dip. Agar tum ek path par stuck ho (ek fence jiske along tum chalna padega), tab tum tabhi aur upar nahi chadh sakte jab "upar" wali direction seedha fence ke aarpaar point kare — yahi Lagrange ka idea hai.


Flashcards

Ek differentiable function ke interior extremum par ko kya satisfy karna chahiye?
(Fermat's Theorem).
Kya har critical point ek extremum hota hai?
Nahi — jaise mein par inflection hai; critical points sirf candidates hote hain.
Second-derivative test: ka matlab?
Local minimum.
Second-derivative test: ka matlab?
Local maximum.
Jab 2nd-derivative test fail ho (), tab kya use karte hain?
First-derivative sign test.
Distance problems mein ki jagah minimize kyun karte hain?
increasing hai, isliye minimizers same hote hain aur algebra simpler hoti hai.
ko s.t. optimize karne ki Lagrange condition kya hai?
with .
ka geometric matlab kya hai?
constraint curve ke perpendicular hai, isliye koi bhi tangent move ko improve nahi karta.
Open-box problem mein ko kaun sa domain restrict karta hai?
(base ).
Fixed sum wale do numbers ka max product kab hota hai?
Jab woh equal hon, har ek .
par global extremum ke liye kin teen categories ke points compare karne chahiye?
Critical points, aur dono endpoints.
Multiplier physically kya measure karta hai?
Constraint ko relax karne par optimum ki sensitivity.

Connections

Concept Map

smooth extremum needs

defines

justified by

only candidates

classified via

sign of f'' gives

type A

type B

check crit pts and endpoints

route 1

route 2

reduces to

grad f parallel grad g

Optimization: max or min

Derivative = 0

Critical point

Fermat's Theorem

Taylor expansion near c

Second-derivative test

Unconstrained

Constrained

Closed Interval Method

Substitution

Lagrange multipliers