Foundations — Gradient vector ∇f — definition, properties
Before you can trust that one arrow, you must be able to read every mark on the page. Below is every symbol the parent note uses, built from the ground up, each one earning the next.
0. The stage: a function
Picture a flat table (the – plane). Above every point on the table there is a height. Sweep over all points and those heights trace out a hill — a curved surface floating above the table.

- and ::: the two coordinates of where you stand on the flat map (east–west and north–south).
- ::: the height of the hill directly above where you stand.
Why we need this: the whole topic is about slopes of this hill, and you cannot talk about a slope until you have a surface to slope.
1. The point and bold letters
So when the parent writes it just means "the height at the spot ." Bold letters like , , each secretly hold two numbers.
- ::: where you are standing (a point).
- ::: a nearby general point you might move to.
- ::: the arrow from to — subtract coordinate by coordinate.
Why we need this: writing everywhere is noisy. One bold letter keeps formulas readable.
2. The limit
Picture the fraction as a stick touching the hill at two points apart. As shrinks, the stick pivots and settles onto the true tangent slope at one point.
- ::: a tiny step size, heading to zero.
- ::: "approaches."
Why we need this: slope is "rise over run," and true slope needs an infinitesimally small run. The limit is the only honest way to say "small run."
3. Partial derivatives
Now hold one coordinate frozen so the two-variable hill becomes a simple one-variable curve.

The curly (say "partial dee") is a warning flag: "other variables are being held still." Contrast with the straight of ordinary one-variable calculus, where there's nothing else to hold.
- ::: "derivative, but other variables held constant."
- ::: how fast the height climbs if you walk due east only.
- ::: how fast the height climbs if you walk due north only.
Why the topic needs this: and are literally the two components of the gradient. Build these and the gradient is half-built. See Partial derivatives.
4. A unit direction
You can walk in any compass direction, not just east or north. We name a direction with an arrow.

Why length must be 1: a "rate of climb per step" only makes sense if every step is the same size. A length-1 arrow guarantees one unit of walking, so the rate is honest. Feed in a length-2 arrow and every rate doubles — a classic mistake the parent warns about.
- (the bars) ::: the length of the arrow , from .
- Normalise ::: shrink an arrow to length 1 by dividing by its own length: .
5. The dot product
This is the machine that turns "gradient + direction" into "climb rate."

Geometrically, the dot product measures how much one arrow points along the other — the length of the shadow of on , scaled by .
- Same direction (): , dot is biggest.
- Perpendicular (): , dot is zero.
- Opposite (): , dot is most negative.
Why the topic lives on this: the directional derivative is a dot product. So "which way is steepest?" becomes "which direction makes ?" — and the answer is forced: point the same way as the gradient. This single fact powers steepest ascent, descent, and the perpendicular-to-level-curve property. See Directional derivative.
Recall Why
and not ? Why does the dot product use ? ::: Because it measures alignment (shadow length along the other arrow); alignment is maximal when the angle is 0, and — would wrongly say aligned arrows have zero projection.
6. The angle and
(theta) is just the Greek letter we use for the angle between two arrows. Here it is the angle between your walking direction and the gradient. is the number, between and , that says how aligned they are (Section 5). That's all the parent's means: gradient length, dimmed by how off-direction you are.
7. The gradient symbol
Now every part exists, so we can assemble the star.
- ::: the arrow of all partial slopes at a point.
- ::: its length = the steepest possible climb rate.
- ::: your actual climb rate when walking in direction .
Why one symbol: packing into lets the whole directional-derivative story shrink to one clean line, .
8. The chain rule (the glue)
The parent derives the dot-product formula using the chain rule. In one variable it says: if depends on and depends on , then — rates multiply along a chain. In many variables, walking in direction changes both and at once, so the rates add up: Why we need it: it is the bridge that shows the climb rate is a dot product. See Chain rule (multivariable).
9. Level curve
Along a contour the height never changes, so climb rate is zero, so for the along-contour direction — meaning sits perpendicular to the contour. That is the parent's third big property. See Level curves and surfaces.
Prerequisite map
Equipment checklist
Test yourself — you are ready for the parent note if you can answer each without peeking.
What does picture as?
What does the bold hold?
What does actually do?
What does signal that does not?
What is in plain words?
Why must have length 1?
How do you normalise a vector ?
Give both formulas for the dot product.
When is the dot product largest / zero?
What does mean and what does return?
What is ?
Why is perpendicular to a level curve?
Connections
- Yeh note Hinglish mein padho →
- Partial derivatives — the components built here.
- Directional derivative — the dot product assembled here.
- Chain rule (multivariable) — the glue behind the dot-product formula.
- Level curves and surfaces — where the perpendicularity picture lives.
- Tangent plane and linearisation — next step once the gradient is built.
- Gradient descent — uses .
- Lagrange multipliers — uses gradient normals.