Exercises — Gradient as direction of steepest ascent
4.4.10 · D4· Maths › Multivariable Calculus › Gradient as direction of steepest ascent
Kuch quick reminders jo tumhare kaam aayenge (sab parent se liye gaye hain):
Level 1 — Recognition
L1·Q1
Diya gaya hai , point par likho.
Recall Solution
KYA: hume sirf do partial derivatives chahiye, phir point plug in karo. Partials kyun: gradient by definition yeh list hai ki kitni tezi se change hoti hai agar ek variable ko nudge karo aur doosre ko freeze karo. plug in karo: . Notice karo ki mein koi ya nahi bacha — yeh theek hai, ek partial constant ho sakta hai.
L1·Q2
ke liye, par humne nikala. Inme se steepest ascent ka unit vector kaun sa hai: , ya ?
Recall Solution
KYA: identify karo ki kaun sa candidate length ka hai. Yeh matter kyun karta hai: steepest ascent ki direction gradient hai apni length se divided — ek unit arrow. Raw gradient ki length hai, toh yeh ek direction aur ek rate dono ek saath hai, pure direction nahi. check karo: length . ✓ Answer: .
L1·Q3
True ya false: level curve ke saath-saath directional derivative zero hota hai.
Recall Solution
True. Ek level curve un points ka set hai jahan ka wahi height rehta hai (dekho Level Curves and Contour Maps). Agar tum iske saath-saath chalte waqt height change nahi hoti, toh change ki rate exactly hai.
Level 2 — Application
L2·Q1
par . Nikaalo (a) , (b) unit steepest-ascent direction, (c) maximum rate of increase.
Recall Solution
(a) Partials. Doosre variable ko frozen constant ki tarah treat karo. (b) Normalise karo. Length . (c) Max rate . Kyun: ki sabse badi possible value hai.
L2·Q2
par . se ki taraf direction mein nikalo.
Recall Solution
Step 1 — direction vector = tip minus tail: . Step 2 — normalise karo (warna rate galat length se scale ho jaayegi): , toh . Step 3 — gradient ke saath dot karo: Sanity check: , toh hum maximum se neeche hain — sahi hai, gradient direction ko koi nahi haraata.
L2·Q3
par . aur max rate of increase nikalo.
Recall Solution
kyun rehta hai aur kyun ban jaata hai: partial ko freeze karta hai, toh ek constant multiplier hai; partial ko freeze karta hai, toh ek constant multiplier hai. par: , , , toh . Max rate .
Level 3 — Analysis
L3·Q1
par . Is point se guzarne wali level curve hai. Dikhao ki par us curve ke perpendicular hai, aur picture draw karo.
Recall Solution
Step 1 — gradient: , toh . Step 2 — curve ki tangent. ko implicitly differentiate karo ( ko ka function maano): . slope ka matlab tangent direction hai (run , rise ). Step 3 — perpendicularity ke liye dot product test (do vectors tab hote hain jab unka dot product ho, from Dot Product and Angle): Toh gradient level curve ke perpendicular hai, exactly jaise theory predict karti hai.

L3·Q2
Ek point par gradient hai. Tum sirf unhi directions mein chal sakte ho jo gradient ke saath ka angle banayein. Rate kya milegi?
Recall Solution
Geometric form kyun: hume angle pata hai, ke components nahi, toh directly use karo. , . Interpretation: tum maximum steepness ka aadha pa rahe ho kyunki tum seedhe uphill line se hatke chal rahe ho.
L3·Q3
Origin par . compute karo. Result wahan steepest ascent ke baare mein kya batata hai, aur kyun?
Recall Solution
, toh — zero vector. Iska matlab: , toh maximum rate of increase hai. Har direction pehle order par flat hai — yeh ek critical point hai (yahan ek saddle). Koi unique steepest-ascent direction nahi hai, kyunki zero se divide karta hai aur undefined hai. Yeh degenerate case hai: steepest-ascent recipe tab hi ek direction deta hai jab ho.
Level 4 — Synthesis
L4·Q1
Temperature hai . par ek heat-seeking bug jitni jaldi ho sake garam hona chahta hai. (a) Use kaun si unit direction mein move karna chahiye? (b) Tab temperature kis rate se badhegi? (c) Agar woh east direction mein move kare, toh kya rate feel karega?
Recall Solution
Gradient: , toh . (a) Sabse tezi se garam hona gradient direction mein hai, normalised. . Bug neeche-aur-baayein ki taraf jaata hai (origin ki taraf, jahan sabse zyada garam hai — samajh mein aata hai, par peak karta hai). (b) Rate . (c) Due east already unit vector hai: . East mein chalte hue yeh per unit distance se thanda hota hai.
L4·Q2
Surface par ek hiker par khada hai. (a) Steepest-descent direction nikalo. (b) Yeh woh direction hai jo step size ke saath gradient descent ka ek step lega; update rule use karke agla point do.
Recall Solution
Gradient: , toh . (a) Steepest descent = , phir normalise karo: , length , toh unit direction . (b) Gradient descent apne update mein raw gradient (normalised nahi) use karta hai: Note: descent gradient ko subtract karta hai, aur kyunki uphill point karta hai, hume is dome ke peak ki taraf nudge karta hai — consistent hai ke origin ki taraf badhne se... ruko: yahan origin par peak karta hai, aur hum ki taraf door gaye. Iska matlab hum outer bowl climb kar rahe hain? Nahi — recheck karo: hume bade par le jaata hai, jahan chota hai. Toh decrease hua: gradient descent ne sahi se reduce kiya. ✓
L4·Q3
par . Max rate of increase nikalo.
Recall Solution
Andar chain rule kyun: inner function ka hai; har partial ko ke partial se multiply karta hai (dekho Multivariable Chain Rule). par: , toh . Max rate .
Level 5 — Mastery
L5·Q1
. Har woh point nikalo jahan steepest-ascent direction undefined ho, aur wahan ke behaviour ko classify karo.
Recall Solution
Steepest ascent exactly wahan undefined hai jahan ho (zero vector ko normalise nahi kar sakte, per L3·Q3). Solve karo: pehle se, ; doosre mein substitute karo: , hence . Sirf ek point: . Kyunki aur equality sirf origin par hai, yeh ek minimum hai. Toh exactly ek point hai jahan koi steepest-ascent direction nahi hai, aur woh bowl ka bottom hai.
L5·Q2
par par gradient hai. Sab unit directions par directional derivative hai. Calculus use karke prove karo ki ise maximize karta hai, aur confirm karo ki maximum ke barabar hai.
Recall Solution
Yeh parent ka key claim kyun reprove karta hai — lekin dot-product inequality ki jagah single-variable optimisation se. . Differentiate karo: . set karo ya . Second derivative: . par: → maximum. par: → minimum (yeh steepest descent hai). Maximum value . ✓ Gradient ki magnitude hi peak rate hai.

L5·Q3
Ek surface par point par hai jahan . Ek path direction mein mein enter karta hai. ke terms mein: (a) path ko kaun si rate milti hai, aur (b) aur ke beech kaun sa relationship hone par path momentarily level curve ke saath chal raha hoga?
Recall Solution
(a) (b) "Level curve ke saath" ka matlab height change nahi ho rahi: . Geometric read: jab ho toh gradient ke saath point karta hai, jo exactly ke perpendicular hai — toh walker constant height par hill ko skirt kar raha hai.
Connections
- Gradient as direction of steepest ascent (parent)
- Directional Derivative
- Partial Derivatives
- Multivariable Chain Rule
- Dot Product and Angle
- Level Curves and Contour Maps
- Gradient Descent (Machine Learning)
- Tangent Plane and Linearization