Skip to content
Back to exploration
Calculus / English

Directional derivative

Khan Academy · YouTube · 7:14

Open original
READ & KEEP

The explanation, unpacked.

Reviewed learning material · Video analysis · English
Read the full overview

This 180-second whiteboard clip introduces the directional derivative by first reviewing partial derivatives for a scalar function f(x,y)f(x,y). The speaker draws the input plane and output line, explains ∂f/∂x(1,2)x(1,2) as a tiny horizontal nudge and the y-partial as a vertical nudge, then generalizes to an arbitrary direction vector v⃗=[−1,2]\vec{v}=[-1,2]. The key conceptual step is replacing the full vector by an infinitesimal scaled step hv⃗h\vec{v} with h→0h\to 0, so the directional derivative measures the resulting output change when the input is nudged slightly in that chosen direction. This video segment explains the concept of the directional derivative. Starting with a specific example of a function f(x,y)=x2yf(x,y)=x^2y and a direction vector v=[−1,2]v=[-1, 2], it demonstrates how a small 'nudge' in that direction translates to changes in x and y. The speaker introduces the notation ∇_v f and shows how to calculate the directional derivative by weighting the partial derivatives by the vector's components. This method is then generalized for any vector w=[a,b]w=[a, b], leading to the formula a(∂f/∂x) + b(∂f/∂y). Finally, the segment reveals that this expression is equivalent to the dot product of the direction vector and the gradient vector, providing a compact and powerful way to compute directional derivatives. This 74-second whiteboard segment explains the directional derivative of a two-variable function by starting from the expanded formula ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}, recognizing the partial-derivative vector as the gradient ∇f\nabla f, and rewriting the result compactly as w⃗⋅∇f\vec w\cdot\nabla f. The board also shows the specific case v⃗=(−1,2)\vec v=(-1,2) giving ∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec v} f(x,y)=-\frac{\partial f}{\partial x}+2\frac{\partial f}{\partial y}, plus a small-step picture with hv⃗h\vec v. The speaker emphasizes that this dot-product notation generalizes to higher dimensions and previews a formal definition in the next video.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Topic introduction: directional derivative0:05Setting up a two-variable scalar function0:32Input plane and output line picture0:53Partial derivative as a coordinate nudge1:33Introducing an arbitrary direction vector2:02Infinitesimal step hv⃗h\vec{v} and the directional derivative idea3:00Concept of Directional Derivative via Nudge3:30Notation for Directional Derivative4:00Calculation Method for Specific Vector4:38General Formula for Arbitrary Vector5:25Connection to Gradient and Dot Product6:00Expanded directional derivative formula6:18Recognizing the gradient and writing w⃗⋅∇f\vec w\cdot\nabla f6:36Why the notation generalizes to higher dimensions6:52Interpreting directional change as a tiny move along a vector

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The clip opens by naming the topic: the directional derivative, presented as an extension of the partial derivative.

To keep the setting simple, the speaker considers a function f(x,y)f(x,y) with two inputs and one real-number output, explicitly postponing vector-valued outputs.

The geometry is then laid out: the left side is the input plane with axes x and y, and the right side is a separate output line labeled f, connected by a mapping arrow.

Within that picture, ∂f/∂x(1,2)x(1,2) is explained as choosing the point (1,2), nudging it slightly in the positive x-direction, and comparing the induced change on the output line.

The speaker contrasts this with a vertical nudge in the y-direction, showing that partial derivatives correspond to coordinate-axis directions specifically.

Next, an arbitrary direction is introduced through the vector v⃗=[−1,2]\vec{v}=[-1,2], drawn from the same base point (1,2) as a slanted arrow toward the upper-left.

The crucial refinement is that the directional derivative does not use the full finite vector as the step; instead, it uses a very small scaled displacement hv⃗h\vec{v} and takes the limit as h→0h\to 0.

By the end of the clip, the directional derivative has been defined conceptually as the output change produced by an infinitesimal nudge in the chosen direction of v⃗\vec{v}.

We begin by visualizing the directional derivative as a slight nudge along a vector. For the vector v=[−1,2]v = [-1, 2], scaling by a small amount h gives the displacement [-h, 2h]. This corresponds to moving -1 unit in x and +2 units in y for every unit of h.

The standard notation for this operation is ∇_v f(x,y)f(x,y), combining the gradient operator with the direction vector subscript. While other notations like ∂f/∂v exist, this form clearly indicates the dependence on both the function and the direction.

To calculate the value, we apply the components of v as weights to the partial derivatives. Specifically, we take -1 times the partial derivative with respect to x, plus 2 times the partial derivative with respect to y. This yields the expression -∂f/∂x+2x + 2∂f/∂y.

Generalizing this process, consider an arbitrary direction vector w=[a,b]w = [a, b]. The directional derivative is simply the linear combination of the partial derivatives using these new components: a(∂f/∂x) + b(∂f/∂y). This formula holds for any direction in 2D space.

Finally, observe that this sum of products matches the definition of a dot product. We can rewrite the directional derivative as the dot product of the direction vector w and the gradient vector ∇f = [∂f/∂x, ∂f/∂y]. This compact form extends naturally to higher dimensions.

The clip opens on a full whiteboard already containing the example function f(x,y)=x2yf(x,y)=x^2y, the specific direction vector v⃗=[−12]\vec v=\begin{bmatrix}-1\\2\end{bmatrix}, the general direction vector w⃗=[ab]\vec w=\begin{bmatrix}a\\b\end{bmatrix}, and the expanded directional-derivative formula ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}.

The speaker then guides attention to the structure of that formula: the coefficients aa and bb are exactly the components of the original vector w⃗\vec w, while the two partial derivatives form another vector.

At this point the key recognition happens: the vector of partial derivatives is identified as the gradient, ∇f=[∂f∂x∂f∂y]\nabla f=\begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix}, so the directional derivative can be rewritten compactly as w⃗⋅∇f\vec w\cdot\nabla f.

The notation is motivated not just as shorthand but as a reminder of the computation itself: take the direction vector, take the gradient, and dot them together.

The explanation broadens from the two-variable board example to higher dimensions. If the input had five variables, the same pattern would persist: both the direction vector and the gradient would simply have five components.

Finally, the speaker returns to interpretation. A directional derivative corresponds to moving a tiny amount along a chosen direction vector—visually represented by hv⃗h\vec v with h=0.001h=0.001—and asking how the output changes relative to that small displacement.

The segment closes by announcing that the next video will give the formal definition of the directional derivative.

Knowledge cards

01

Directional derivative as an extension of partial derivative

The video introduces the directional derivative by first recalling partial derivatives for a scalar function of two variables. A partial derivative is tied to a coordinate direction: x for ∂f/∂x and y for the vertical analogue. The directional derivative keeps the same infinitesimal-comparison idea but allows the input nudge to point in any chosen direction in the plane.

02

Scalar two-variable function setup

For this explanation the speaker restricts attention to f(x,y)f(x,y), a function with two real inputs and one real output. This choice makes it possible to draw the domain as a plane and the codomain as a line, which is the visual foundation for the later derivative discussion.

f(x,y)f(x,y)
03

Input plane and output line picture

The function is represented geometrically as a map from the xy-plane to a one-dimensional output space labeled f. The left diagram shows the input coordinates, the right diagram shows the output values, and a curved arrow indicates that each input point is sent to a real number.

04

Partial derivative ∂f/∂x(1,2)x(1,2) as a horizontal nudge

At the point (1,2), the speaker interprets ∂f/∂x(1,2)x(1,2) as follows: move a tiny amount in the x-direction from that point and observe the corresponding tiny movement on the output line. The derivative is the ratio of output change to input change in that infinitesimal limit.

∂f∂x(1,2)\frac{\partial f}{\partial x}(1,2)
05

Contrast with the y-direction partial idea

The same reasoning is then applied vertically: instead of nudging right, one nudges straight up in the y-direction. This contrast emphasizes that partial derivatives are direction-specific and tied to the coordinate axes.

06

Arbitrary direction vector v⃗=[−1,2]\vec{v}=[-1,2]

To generalize beyond axes, the speaker introduces a vector v⃗=[−1,2]\vec{v}=[-1,2] and draws it from (1,2). This vector represents a step left by 1 and up by 2 in the input plane, giving a concrete non-axis direction for the upcoming definition.

v⃗=[−12]\vec{v} = \begin{bmatrix}-1\\2\end{bmatrix}
07

Use hv⃗h\vec{v}, not the full vector, for the infinitesimal step

A key clarification is that the directional derivative is not about literally moving by the whole vector v⃗\vec{v}. Instead, one scales the direction by a very small scalar h and studies the limit as h→0h\to 0. This turns the finite arrow into an infinitesimal displacement in the same direction.

hv⃗,h→0h\vec{v},\quad h\to 0
08

Conceptual definition of the directional derivative

By the end of the clip, the directional derivative is described as the resulting change in the output when the input receives a slight nudge in the direction of a chosen vector. The clip establishes the concept and geometric motivation, but it does not yet present a completed algebraic formula or compute a numerical value.

09

Directional Derivative Concept

Defined as the rate of change of a function in a specific direction, visualized as a small 'nudge' along a vector.

∇v⃗f\nabla_{\vec{v}} f
10

Notation Variations

Multiple notations exist, including ∇_v f, ∂f/vf/v, and ∂_v f. The choice often depends on context or preference.

∇v⃗f(x,y)≡∂f∂v⃗\nabla_{\vec{v}} f(x,y) \equiv \frac{\partial f}{\partial \vec{v}}
11

Calculation via Components

Compute by multiplying each partial derivative by the corresponding component of the direction vector and summing the results.

∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec{w}} f = a \frac{\partial f}{\partial x} + b \frac{\partial f}{\partial y}
12

Gradient Dot Product Form

The directional derivative equals the dot product of the direction vector and the gradient vector, offering a compact geometric interpretation.

∇w⃗f=w⃗⋅∇f\nabla_{\vec{w}} f = \vec{w} \cdot \nabla f
13

Directional derivative in direction w⃗=(a,b)\vec w=(a,b)

For a two-variable scalar field, the directional derivative in the direction of w⃗=[ab]\vec w=\begin{bmatrix}a\\b\end{bmatrix} is written as a weighted sum of the partial derivatives, with weights given by the components of w⃗\vec w.

∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}
14

Gradient vector

The gradient collects the partial derivatives of a scalar field into a vector. In two dimensions, it is the vector whose entries are ∂f∂x\frac{\partial f}{\partial x} and ∂f∂y\frac{\partial f}{\partial y}.

∇f=[∂f∂x∂f∂y]\nabla f = \begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix}
15

Compact formula: directional derivative as dot product

Once the partial-derivative vector is recognized as the gradient, the directional derivative can be written concisely as the dot product of the direction vector with the gradient. This is the textbook-style compact notation emphasized in the clip.

∇w⃗f=w⃗⋅∇f\nabla_{\vec w} f = \vec w \cdot \nabla f
16

Specific example with v⃗=(−1,2)\vec v=(-1,2)

Substituting the components of v⃗=[−12]\vec v=\begin{bmatrix}-1\\2\end{bmatrix} into the directional-derivative pattern gives a concrete two-variable example shown on the board.

∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec v} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}
17

Tiny-step interpretation

The directional derivative is interpreted as the result of moving a very small distance along a chosen direction vector and comparing the resulting change in output. The board illustrates this with a scaled vector hv⃗h\vec v.

hv⃗=[−h2h],h=0.001h\vec v = \begin{bmatrix}-h\\2h\end{bmatrix},\quad h=0.001
18

Higher-dimensional flexibility

The dot-product formulation is not tied to two variables. In a five-dimensional input space, the same structure persists: the direction vector and the gradient both expand to five components.

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 28

f

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:05.000 the board shows f(x,y)f(x,y).

  2. Audio
    Observation

    The speaker refers to a function with two inputs and a single-variable real-number output.

Symbol

f

Meaning

A scalar-valued multivariable function used as the example object for discussing derivatives.

Domain

Function of two variables; in this clip the speaker restricts attention to a single real-number output.

x

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:05.000 x appears inside f(x,y)f(x,y).

  2. Diagram
    Observation

    At 00:32.000 the horizontal axis is labeled x.

Symbol

x

Meaning

First input variable of f and coordinate along the horizontal axis of the input plane.

Domain

Real coordinate in the input space.

y

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:05.000 y appears inside f(x,y)f(x,y).

  2. Diagram
    Observation

    At 00:32.000 the vertical axis is labeled y.

Symbol

y

Meaning

Second input variable of f and coordinate along the vertical axis of the input plane.

Domain

Real coordinate in the input space.

∂f∂x(1,2)\frac{\partial f}{\partial x}(1,2)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:53.000 the board shows ∂f/∂x(1,2)x(1,2).

  2. Audio
    Observation

    The speaker says partial derivative of f with respect to x at a point like one two.

Symbol

∂f∂x(1,2)\frac{\partial f}{\partial x}(1,2)

Meaning

Partial derivative of f with respect to x evaluated at the input point (1,2).

Domain

Scalar value associated with nudging the input in the x-direction at (1,2).

v⃗\vec{v}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 01:33.000 the board shows v⃗=[−1,2]\vec{v} = [-1, 2].

  2. Audio
    Observation

    The speaker introduces some vector v and says let's say it's negative one two.

Symbol

v⃗\vec{v}

Meaning

A chosen direction vector in the input plane.

Domain

Two-dimensional vector; here explicitly given as [-1, 2].

h

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 02:35.000 the board shows hv⃗h\vec{v}.

  2. Audio
    Observation

    The speaker says you'd be thinking of taking a step along say h multiplied by that vector.

Symbol

h

Meaning

A very small scalar multiplier used to turn the direction vector into an infinitesimal step.

Domain

Scalar approaching 0 in the limiting discussion.

f(x,y)f(x,y)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    f(x,y)=x2yf(x,y) = x^2y

Symbol

f(x,y)f(x,y)

Meaning

Scalar function of two variables

Domain

R2R^2

v

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    v=[−1,2]v = [-1, 2]

Symbol

v

Meaning

Specific direction vector with components -1 and 2

Domain

R2R^2

h

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    hv=[−h,2h]h v = [-h, 2h]

Symbol

h

Meaning

Small scalar step size

Domain

R

w

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    w=[a,b]w = [a, b]

Symbol

w

Meaning

General direction vector with abstract components a and b

Domain

R2R^2

a, b

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    w=[a,b]w = [a, b]

Symbol

a, b

Meaning

Components of the general direction vector w

Domain

R

∇_v f

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    ∇_v f(x,y)f(x,y)

Symbol

∇_v f

Meaning

Directional derivative of f in the direction of v

Domain

R2R^2 -> R

Knowledge points · 15

Multivariable scalar function setup

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:05.000 the board writes f(x,y)f(x,y).

  2. Audio
    Observation

    From 00:05.000 to 00:32.000 the speaker says partial derivatives have to do with functions with some kind of multivariable input, uses two inputs because that's easiest, and focuses on a single-variable ordinary real number output.

Definition
Explanation

The clip begins by fixing the setting for directional derivatives: a function with two input variables and one real-number output. The speaker explicitly narrows the discussion from possible vector-valued outputs to a scalar-valued function so the geometric picture stays simple.

Formula
f(x,y)f(x,y)
Conditions
  1. Two input variables are used for simplicity.

  2. The output is treated as a single real number in this clip.

  3. Vector-valued outputs are mentioned but not developed here.

Input plane and output line representation

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    At 00:32.000 a coordinate plane labeled x and y is drawn on the left.

  2. Diagram
    Observation

    At 00:39.000 a separate horizontal line labeled f is drawn on the right.

  3. Audio
    Observation

    From 00:32.000 to 00:53.000 the speaker describes the input space as the x and y plane and says this outputs to just the real numbers.

Definition
Explanation

The function is visualized as a map from an input plane to an output line. The left side represents the domain coordinates (x,y), while the right side represents the scalar output space labeled f.

Formula
Conditions
  1. Used as a geometric interpretation of a scalar-valued function of two variables.

Prerequisites
  1. Multivariable scalar function setup

Partial derivative as a directional nudge along coordinate axes

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:53.000 the board shows ∂f/x(1,2)f/x(1,2).

  2. Diagram
    Observation

    At 01:07.000 a yellow arrow points horizontally right from the point (1,2) in the input plane.

  3. Diagram
    Observation

    At 01:10.000 a yellow arrow appears on the output line.

  4. Audio
    Observation

    From 00:53.000 to 01:20.000 the speaker explains nudging in the x direction and taking the ratio between the resulting output nudge and the original one.

  5. Audio
    Observation

    From 01:20.000 to 01:33.000 the speaker contrasts this with moving straight up in the y direction.

Method
Explanation

The partial derivative is presented operationally: choose a point in the input plane, make a tiny displacement along one coordinate direction, and compare the induced change in the output. For ∂f/∂x the displacement is horizontal; for the y-partial it is vertical.

Formula
∂f∂x(1,2)\frac{\partial f}{\partial x}(1,2)
Conditions
  1. Evaluated at a specific input point, here (1,2).

  2. The displacement is along a coordinate axis direction.

  3. The idea is based on an infinitesimal nudge rather than a finite step.

Prerequisites
  1. Multivariable scalar function setup
  2. Input plane and output line representation

Introducing an arbitrary direction vector

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 01:33.000 the board writes v⃗=[−1,2]\vec{v} = [-1, 2].

  2. Diagram
    Observation

    At 01:51.000 a purple arrow is drawn from the point (1,2) toward the upper-left.

  3. Audio
    Observation

    From 01:33.000 to 01:58.000 the speaker says what if you have some vector v ... negative one two ... a step of negative one in the x direction and then two more in the y direction.

Definition
Explanation

The lecture generalizes from axis-aligned nudges to a chosen direction in the input plane. The vector v⃗=[−1,2]\vec{v}=[-1,2] is used as a concrete example of a non-axis direction, interpreted as moving left by 1 and up by 2 from the base point.

Formula
v⃗=[−12]\vec{v} = \begin{bmatrix}-1\\2\end{bmatrix}
Conditions
  1. The vector is attached to the point (1,2) in the visual explanation.

  2. It represents a direction in the input space, not yet the infinitesimal step itself.

Prerequisites
  1. Partial derivative as a directional nudge along coordinate axes

Directional derivative concept

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 01:58.000 to 02:02.000 the speaker asks what does a nudge in that direction do to the function itself.

  2. Audio
    Observation

    From 02:02.000 to 02:28.000 the speaker stresses that the relevant step is really something very very small and formally involves a limit approaching zero.

  3. Formula
    Observation

    At 02:35.000 the board writes hv⃗h\vec{v}.

  4. Audio
    Observation

    From 02:28.000 to 02:51.000 the speaker says you'd be thinking of taking a step along say h multiplied by that vector, where h might represent some really really small number, and formally the limit as h goes to zero.

  5. Audio
    Observation

    From 02:51.000 to 02:58.000 the speaker summarizes: when you take a slight nudge in the direction of that vector, what is the resulting change to the output?

Definition
Explanation

The directional derivative is introduced as the analogue of a partial derivative but for an arbitrary direction vector. Instead of moving exactly by v⃗\vec{v}, one considers an infinitesimal step hv⃗h\vec{v} with h→0h\to 0 and asks how the output changes relative to that tiny input displacement.

Formula
hv⃗h\vec{v}
Conditions
  1. The direction is specified by a vector v⃗\vec{v}.

  2. The actual displacement considered is scaled by a small scalar h.

  3. The formal idea uses the limit as h approaches 0.

  4. This clip gives the concept and setup, not a completed formula or worked computation.

Prerequisites
  1. Partial derivative as a directional nudge along coordinate axes
  2. Introducing an arbitrary direction vector

Definition of Directional Derivative via Nudge

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    slight nudge of the vector if we actually expand things out... negative h, negative one times that component, and then 2h here.

  2. Formula
    Observation

    hv=[−h,2h]h v = [-h, 2h]

Definition
Explanation

The directional derivative can be understood by taking a small step (nudge) in the direction of a vector. For a vector v=[−1,2]v = [-1, 2], a step of size h results in a displacement of [-h, 2h], meaning a change of -h in the x-direction and +2h in the y-direction.

Formula
hv⃗=[−h2h]h\vec{v} = \begin{bmatrix} -h \\ 2h \end{bmatrix}
Conditions
  1. v is a direction vector

  2. h is a small scalar step

Notation for Directional Derivative

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    notation by the way is um you take that same nabla from the gradient but then you put the vector down here... whole bunch of other notations too... partial with a little subscript vector

  2. Formula
    Observation

    ∇_v f, ∂f/∂v, ∂_v f

Definition
Explanation

There are multiple notations for the directional derivative. The speaker prefers ∇_v f(x,y)f(x,y), using the nabla symbol with the direction vector as a subscript. Other common notations include ∂f/vf/v and ∂_v f.

Formula
∇v⃗f(x,y),∂f∂v⃗,∂v⃗f\nabla_{\vec{v}} f(x,y), \quad \frac{\partial f}{\partial \vec{v}}, \quad \partial_{\vec{v}} f
Prerequisites
  1. Definition of Directional Derivative via Nudge

Calculating Directional Derivative from Components

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    good guess that you might have is to say well we take a negative step in the x direction... do the negative of that... two steps in the y direction... two times partial f partial y

  2. Formula
    Observation

    ∇_v f(x,y)f(x,y) = -∂f/x+2f/x + 2∂f/∂y

Method
Explanation

To calculate the directional derivative for a specific vector, multiply each partial derivative by the corresponding component of the direction vector. For v=[−1,2]v = [-1, 2], this means taking -1 times the partial derivative with respect to x, plus 2 times the partial derivative with respect to y.

Formula
∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec{v}} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}
Conditions
  1. v=[−1,2]v = [-1, 2]

Prerequisites
  1. Definition of Directional Derivative via Nudge
  2. ∂f/xf/x
  3. ∂f/yf/y

General Formula for Directional Derivative

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    let's say we've got a vector w... call it a and b... directional derivative in the direction of w... is equal to a times the partial derivative of f with respect to x plus b times the partial derivative of f with respect to y

  2. Formula
    Observation

    ∇_w f=af = a ∂f/x+bf/x + b ∂f/∂y

Formula
Explanation

For a general direction vector w=[a,b]w = [a, b], the directional derivative is the dot product of the vector components and the partial derivatives: a * (∂f/∂x) + b * (∂f/∂y).

Formula
∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec{w}} f = a \frac{\partial f}{\partial x} + b \frac{\partial f}{\partial y}
Conditions
  1. w=[a,b]w = [a, b]

Prerequisites
  1. Calculating Directional Derivative from Components
  2. w

Directional Derivative as Dot Product with Gradient

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    sometimes you see this written... with respect to the gradient... makes it much more compact... looks like a dot product... dot product of the vectors a b and the one that has the partial derivatives in it

  2. Formula
    Observation

    ∇_w f=[a,b]f = [a, b] · [∂f/xf/x, ∂f/∂y]

Formula
Explanation

The general formula for the directional derivative can be expressed compactly as the dot product of the direction vector w=[a,b]w = [a, b] and the gradient vector ∇f = [∂f/∂x, ∂f/∂y]. This form is more general and works for higher dimensions.

Formula
∇w⃗f=[ab]⋅[∂f∂x∂f∂y]\nabla_{\vec{w}} f = \begin{bmatrix} a \\ b \end{bmatrix} \cdot \begin{bmatrix} \frac{\partial f}{\partial x} \\ \frac{\partial f}{\partial y} \end{bmatrix}
Conditions
  1. w=[a,b]w = [a, b]

  2. ∇f is the gradient vector

Prerequisites
  1. General Formula for Directional Derivative
  2. ∇f

Directional derivative in a general vector direction

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Red box: ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}.

  2. Audio
    Observation

    Speaker explains that the coefficients come from the vector components and the partials from the gradient.

Definition
Explanation

For a scalar field f(x,y)f(x,y) and a direction vector w⃗=[ab]\vec w=\begin{bmatrix}a\\b\end{bmatrix}, the directional derivative shown on the board is the weighted sum of the partial derivatives, with weights equal to the components of w⃗\vec w.

Formula
∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}
Conditions
  1. ff is a differentiable scalar field of two variables in the context shown.

  2. w⃗\vec w is treated as the direction vector with components a,ba,b.

  3. The video does not explicitly state whether w⃗\vec w must be normalized.

Prerequisites
  1. Gradient vector of a two-variable function
  2. Partial derivatives as components of the gradient

Gradient vector of a two-variable function

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Column vector [∂f∂x∂f∂y]\begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix} is written next to w⃗\vec w.

  2. Audio
    Observation

    Speaker says, "That's just the gradient. That is the gradient of f."

Definition
Explanation

The gradient of ff is the vector whose components are the partial derivatives of ff with respect to each input variable. In two dimensions it is written as a column vector of ∂f∂x\frac{\partial f}{\partial x} and ∂f∂y\frac{\partial f}{\partial y}.

Formula
∇f=[∂f∂x∂f∂y]\nabla f = \begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix}
Conditions
  1. ff has partial derivatives with respect to its input variables.

  2. The displayed form is for a function of two variables.

Prerequisites
  1. Partial derivatives as components of the gradient
Claims and conditions · 2

Equivalence of expanded directional derivative and dot product with gradient

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Board shows both ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y} and w⃗⋅∇f\vec w\cdot\nabla f.

  2. Audio
    Observation

    Speaker identifies the column of partials as the gradient and says this is the compact textbook notation.

Proposition
Statement

In the two-variable setting shown, ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y} is equivalent to w⃗⋅∇f\vec w\cdot\nabla f when w⃗=[ab]\vec w=\begin{bmatrix}a\\b\end{bmatrix} and ∇f=[∂f∂x∂f∂y]\nabla f=\begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix}.

Hypotheses
  1. ff is a scalar field of two variables.

  2. w⃗\vec w has components a,ba,b.

  3. The gradient is formed from the corresponding partial derivatives.

Quantifiers

For the displayed two-variable setup.

The dot-product notation extends to higher dimensions

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says, "if we were talking about something that has like a five dimensional input ... the gradient would have five components and the vector itself would have five components."

Uncertainties
  1. The video states this verbally but does not write the five-dimensional formula on screen.

Proposition
Statement

The compact notation w⃗⋅∇f\vec w\cdot\nabla f remains flexible in higher dimensions; for a five-dimensional input, both the direction vector and the gradient have five components.

Hypotheses
  1. The function has a higher-dimensional input.

  2. The directional derivative is expressed using the same dot-product structure.

Quantifiers

Illustrated by a five-dimensional example.

Derivations and proofs · 4

From coordinate partial derivatives to a directional derivative

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 00:53.000 to 01:33.000 the speaker explains partial derivatives as nudges in x and y directions.

  2. Audio
    Observation

    From 01:33.000 to 02:58.000 the speaker generalizes to an arbitrary vector direction and introduces hv⃗h\vec{v} with h→0h\to 0.

  3. Diagram
    Observation

    At 01:07.000 and 01:25.000 axis-aligned arrows are shown; at 01:51.000 a slanted vector is shown from the same base point.

Intuitive argument
Steps
  1. Expression
    ∂f∂x(1,2)\frac{\partial f}{\partial x}(1,2)
    Explanation

    Start with the partial derivative at the point (1,2) in the x-direction.

    Justification

    Directly stated in the audio and written on the board at 00:53.000.

    Shown in the video
  2. Expression
    nudge in x direction⇒output change\text{nudge in }x\text{ direction} \Rightarrow \text{output change}
    Explanation

    Interpret the partial derivative as comparing a tiny input displacement along x with the resulting displacement in the output line.

    Justification

    Spoken explanation from 00:53.000 to 01:20.000, supported by the yellow arrows at 01:07.000 and 01:10.000.

    Shown in the video
  3. Expression
    nudge in y direction⇒different output change\text{nudge in }y\text{ direction} \Rightarrow \text{different output change}
    Explanation

    Repeat the same idea for the y-direction to show that the direction of the input nudge matters.

    Justification

    Spoken contrast from 01:20.000 to 01:33.000, supported by the red upward arrow at 01:25.000.

    Shown in the video
  4. Expression
    v⃗=[−12]\vec{v} = \begin{bmatrix}-1\\2\end{bmatrix}
    Explanation

    Replace the coordinate directions with an arbitrary direction vector in the input plane.

    Justification

    Introduced verbally and visually at 01:33.000 and 01:51.000.

    Shown in the video
  5. Expression
    hv⃗,h→0h\vec{v},\quad h\to 0
    Explanation

    Do not use the full vector as the step; instead scale it by a very small scalar h and take the limit as h goes to zero.

    Justification

    Explicitly stated from 02:28.000 to 02:51.000 and written on the board at 02:35.000.

    Shown in the video
  6. Expression
    directional derivative=resulting output change for a slight nudge in the direction of v⃗\text{directional derivative} = \text{resulting output change for a slight nudge in the direction of }\vec{v}
    Explanation

    Conclude that the directional derivative measures the infinitesimal output change caused by moving in the chosen direction.

    Justification

    Summary sentence from 02:51.000 to 02:58.000.

    Shown in the video
Conclusion

The clip motivates the directional derivative by generalizing the partial-derivative nudge picture from the coordinate axes to an arbitrary vector direction, with the infinitesimal step represented as hv⃗h\vec{v} and h tending to 0.

Derivation of General Formula from Specific Example

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    And this is actually how you calculate it. And if I was going to be more general...

  2. Formula
    Observation

    Transition from ∇_v f = -∂f/∂x+2x + 2∂f/∂y to _w f=aff = a f/∂x+bx + b ∂f/∂y

Intuitive argument
Steps
  1. Expression
    ∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec{v}} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}
    Explanation

    Start with the calculation for the specific vector v=[−1,2]v = [-1, 2].

    Justification

    Based on the components of v acting as multipliers for the partial derivatives.

    Shown in the video
  2. Expression
    w⃗=[ab]\vec{w} = \begin{bmatrix} a \\ b \end{bmatrix}
    Explanation

    Introduce a general vector w with abstract components a and b.

    Justification

    To generalize the result beyond the specific numbers -1 and 2.

    Shown in the video
  3. Expression
    ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec{w}} f = a \frac{\partial f}{\partial x} + b \frac{\partial f}{\partial y}
    Explanation

    Replace the specific components -1 and 2 with general components a and b.

    Justification

    The structure of the calculation remains the same: component times corresponding partial derivative.

    Shown in the video
Conclusion

The directional derivative in the direction of any vector w=[a,b]w=[a,b] is given by the linear combination of partial derivatives weighted by the vector's components.

Rewriting Directional Derivative as Dot Product

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    If you look at this expression, it looks like a dot product.

  2. Formula
    Observation

    ∇_w f=[a,b]f = [a, b] · [∂f/xf/x, ∂f/yf/y]

Intuitive argument
Steps
  1. Expression
    ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec{w}} f = a \frac{\partial f}{\partial x} + b \frac{\partial f}{\partial y}
    Explanation

    Begin with the general algebraic formula for the directional derivative.

    Justification

    Established in the previous derivation.

    Shown in the video
  2. Expression
    [ab]⋅[∂f∂x∂f∂y]\begin{bmatrix} a \\ b \end{bmatrix} \cdot \begin{bmatrix} \frac{\partial f}{\partial x} \\ \frac{\partial f}{\partial y} \end{bmatrix}
    Explanation

    Recognize the sum of products as the definition of a dot product between two vectors.

    Justification

    The first vector contains the components of the direction, and the second contains the partial derivatives (the gradient).

    Shown in the video
Conclusion

The directional derivative can be computed as the dot product of the direction vector and the gradient vector.

Deriving the compact directional-derivative notation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board shows [ab]⋅[∂f∂x∂f∂y]\begin{bmatrix}a\\b\end{bmatrix}\cdot\begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix} and then the compact form w⃗⋅∇f\vec w\cdot\nabla f.

  2. Audio
    Observation

    Speaker walks through matching a,ba,b to the vector and the partials to the gradient.

Proof
Steps
  1. Expression
    ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}
    Explanation

    Start from the directional derivative formula already written in the red box.

    Justification

    Observed directly on the board.

    Shown in the video
  2. Expression
    [ab]⋅[∂f∂x∂f∂y]\begin{bmatrix}a\\b\end{bmatrix}\cdot\begin{bmatrix}\frac{\partial f}{\partial x}\\\frac{\partial f}{\partial y}\end{bmatrix}
    Explanation

    Recognize the coefficients a,ba,b as the components of w⃗\vec w and the two partial derivatives as the components of a vector.

    Justification

    Audio identifies a,ba,b as the original vector and the partials as the gradient.

    Shown in the video
  3. Expression
    w⃗⋅∇f\vec w\cdot\nabla f
    Explanation

    Replace the component vector by w⃗\vec w and the partial-derivative vector by ∇f\nabla f.

    Justification

    Definition of w⃗\vec w and gradient notation.

    Shown in the video
Conclusion

The expanded directional derivative is equivalently written as the dot product of the direction vector with the gradient.

Worked examples · 4

Worked visual example at (1,2) with direction vector [-1,2]

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:53.000 the board shows ∂f/∂x(1,2)x(1,2).

  2. Diagram
    Observation

    At 01:01.000 the point (1,2) is marked in the input plane.

  3. Formula
    Observation

    At 01:33.000 the board shows v⃗=[−1,2]\vec{v} = [-1, 2].

  4. Diagram
    Observation

    At 01:51.000 a purple vector is drawn from (1,2).

  5. Formula
    Observation

    At 02:35.000 the board shows hv⃗h\vec{v}.

Uncertainties
  1. No numerical value for the directional derivative is computed in this clip.

  2. The example remains conceptual; the function rule for f is not specified beyond the symbolic form f(x,y)f(x,y).

Problem

Explain how a partial derivative at (1,2) is visualized and how the same idea extends to a directional derivative using the vector v⃗=[−1,2]\vec{v}=[-1,2].

Given
  1. A scalar function f(x,y)f(x,y).

  2. Evaluation point (1,2) in the input plane.

  3. Direction vector v⃗=[−1,2]\vec{v}=[-1,2].

  4. Small scalar multiplier h with h→0h\to 0.

Goal

Describe the geometric meaning of the partial derivative and the directional derivative at the chosen point and direction.

Steps
  1. Expression
    ∂f∂x(1,2)\frac{\partial f}{\partial x}(1,2)
    Explanation

    Mark the point (1,2) and consider a tiny horizontal displacement in the x-direction.

    Justification

    Shown on the board at 00:53.000 and illustrated by the yellow rightward arrow at 01:07.000.

    Shown in the video
  2. Expression
    output-line arrow\text{output-line arrow}
    Explanation

    Show the corresponding tiny change on the output line labeled f.

    Justification

    Drawn at 01:10.000 and described in the audio as the resulting nudge in the output space.

    Shown in the video
  3. Expression
    v⃗=[−12]\vec{v} = \begin{bmatrix}-1\\2\end{bmatrix}
    Explanation

    Introduce a non-axis direction by drawing a vector from (1,2) that moves left 1 and up 2.

    Justification

    Written at 01:33.000 and drawn at 01:51.000.

    Shown in the video
  4. Expression
    hv⃗h\vec{v}
    Explanation

    Replace the full vector step with an infinitesimal scaled step in the same direction.

    Justification

    Written at 02:35.000 and explained verbally from 02:28.000 to 02:51.000.

    Shown in the video
  5. Expression
    h→0h\to 0
    Explanation

    Take the limit as the scalar step size shrinks to zero to define the directional rate of change.

    Justification

    Stated verbally from 02:14.000 to 02:51.000.

    Shown in the video
Answer

The example shows that ∂f/∂x(1,2)x(1,2) corresponds to an infinitesimal horizontal input nudge and its induced output change, while the directional derivative generalizes this to an infinitesimal nudge in the direction of v⃗\vec{v} via hv⃗h\vec{v} with h→0h\to 0.

Verification

Verification is geometric and verbal only: the board consistently marks the base point (1,2), draws the axis-aligned and slanted directions from that point, and the narration matches the drawn input-output picture. No algebraic check is performed in the clip.

Directional Derivative for v=[−1,2]v = [-1, 2]

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    f(x,y)=x2yf(x,y) = x^2y, v=[−1,2]v = [-1, 2]

  2. Audio
    Observation

    negative h, negative one times that component, and then 2h here... good guess... negative step in the x direction... two steps in the y direction

Problem

Find the expression for the directional derivative of f(x,y)=x2yf(x,y)=x^2y in the direction of v=[−1,2]v=[-1, 2].

Given
  1. f(x,y)=x2yf(x,y) = x^2y

  2. v=[−1,2]v = [-1, 2]

Goal

Express ∇_v f in terms of partial derivatives.

Steps
  1. Expression
    hv⃗=[−h2h]h\vec{v} = \begin{bmatrix} -h \\ 2h \end{bmatrix}
    Explanation

    Calculate the small displacement vector by scaling v by h.

    Justification

    Definition of scalar multiplication of a vector.

    Shown in the video
  2. Expression
    ∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec{v}} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}
    Explanation

    Multiply the partial derivative with respect to x by the x-component (-1) and the partial derivative with respect to y by the y-component (2), then sum them.

    Justification

    Method for calculating directional derivative from vector components.

    Shown in the video
Answer

-\frac{∂f\partial f}{∂x\partial x} + 2∂f∂y2\frac{\partial f}{\partial y}

Verification

Matches the general formula when a=−1a=-1 and b=2b=2.

Directional derivative in the specific direction v⃗=(−1,2)\vec v=(-1,2)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Top-center vector is v⃗=[−12]\vec v=\begin{bmatrix}-1\\2\end{bmatrix}.

  2. Formula
    Observation

    Yellow formula reads ∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec v} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}.

Uncertainties
  1. The clip does not evaluate this expression numerically at a point.

Problem

Given f(x,y)=x2yf(x,y)=x^2y and v⃗=[−12]\vec v=\begin{bmatrix}-1\\2\end{bmatrix}, express the directional derivative in the direction of v⃗\vec v.

Given
  1. f(x,y)=x2yf(x,y)=x^2y

  2. v⃗=[−12]\vec v=\begin{bmatrix}-1\\2\end{bmatrix}

Goal

Write ∇v⃗f(x,y)\nabla_{\vec v} f(x,y) in terms of the partial derivatives.

Steps
  1. Expression
    v⃗=[−12]\vec v = \begin{bmatrix}-1\\2\end{bmatrix}
    Explanation

    Identify the components of the direction vector.

    Justification

    Shown on the board.

    Shown in the video
  2. Expression
    ∇v⃗f(x,y)=(−1)∂f∂x+(2)∂f∂y\nabla_{\vec v} f(x,y) = (-1)\frac{\partial f}{\partial x} + (2)\frac{\partial f}{\partial y}
    Explanation

    Substitute the components of v⃗\vec v into the general directional-derivative pattern.

    Justification

    Uses the same coefficient-by-component rule shown for w⃗\vec w.

    Derived from the video
  3. Expression
    ∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec v} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}
    Explanation

    Simplify the coefficients.

    Justification

    Algebraic simplification.

    Shown in the video
Answer

∇v⃗f(x,y)=−∂f∂x+2∂f∂y\nabla_{\vec v} f(x,y) = -\frac{\partial f}{\partial x} + 2\frac{\partial f}{\partial y}

Verification

Matches the yellow formula written on the board.

Tiny displacement along a direction vector

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Red annotation shows hv⃗=[−h2h]h\vec v = \begin{bmatrix}-h\\2h\end{bmatrix} with h=0.001h=0.001 nearby.

  2. Audio
    Observation

    Speaker describes moving along the vector by a tiny nudge and asking how the output changes.

Uncertainties
  1. The clip does not compute the resulting change in ff or the ratio explicitly.

Problem

Interpret the meaning of multiplying a direction vector by a small scalar step.

Given
  1. v⃗=[−12]\vec v=\begin{bmatrix}-1\\2\end{bmatrix}

  2. h=0.001h=0.001

Goal

Express the small displacement vector and connect it to the idea of a directional derivative.

Steps
  1. Expression
    hv⃗=0.001[−12]h\vec v = 0.001\begin{bmatrix}-1\\2\end{bmatrix}
    Explanation

    Scale the direction vector by a small positive number.

    Justification

    Shown on the board.

    Shown in the video
  2. Expression
    hv⃗=[−h2h]h\vec v = \begin{bmatrix}-h\\2h\end{bmatrix}
    Explanation

    Distribute the scalar into each component.

    Justification

    Componentwise scalar multiplication.

    Shown in the video
Answer

The small displacement is [−h2h]\begin{bmatrix}-h\\2h\end{bmatrix}, representing a tiny move in the direction of v⃗\vec v.

Verification

Consistent with the speaker's verbal interpretation of moving along the vector by a tiny nudge.

Visual events · 9

Domain-to-codomain diagram

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    At 00:32.000 a blue coordinate plane with axes labeled x and y is drawn on the left.

  2. Diagram
    Observation

    At 00:39.000 a separate horizontal blue line labeled f is drawn on the right.

  3. Diagram
    Observation

    At 00:44.000 a curved blue arrow connects the input plane to the output line.

Objects
  1. x-axis

  2. y-axis

  3. input plane

  4. output line labeled f

  5. curved mapping arrow

Changes
  1. The input space is drawn first.

  2. The output space is added second.

  3. A connecting arrow is drawn last to indicate mapping from inputs to outputs.

Invariants
  1. The left object represents the two-variable input space.

  2. The right object represents the one-dimensional output space.

Interpretation

The picture encodes f as a transformation from a point (x,y) in the plane to a real number on the output line.

Horizontal partial-derivative visualization

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    At 01:01.000 the point (1,2) is marked in the input plane.

  2. Diagram
    Observation

    At 01:07.000 a yellow arrow points horizontally right from that point.

  3. Diagram
    Observation

    At 01:10.000 a yellow arrow appears on the output line.

Objects
  1. point (1,2)

  2. yellow horizontal input arrow

  3. yellow output arrow

Changes
  1. A base point is selected in the input plane.

  2. A rightward input displacement is shown.

  3. A corresponding displacement on the output line is shown.

Invariants
  1. The input displacement is aligned with the x-axis.

  2. The output displacement remains on the one-dimensional output line.

Interpretation

The paired arrows illustrate that changing only x produces a corresponding change in f, which is the geometric meaning of ∂f/∂x at that point.

Vertical partial-derivative visualization

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    At 01:25.000 a red arrow points vertically upward from the point (1,2).

  2. Diagram
    Observation

    At 01:28.000 a red arrow appears on the output line.

Objects
  1. point (1,2)

  2. red vertical input arrow

  3. red output arrow

Changes
  1. The direction of the input nudge changes from horizontal to vertical.

  2. A new output displacement is indicated in red.

Invariants
  1. The base point remains (1,2).

  2. The output remains represented on the same line.

Interpretation

This visual contrast shows that a different input direction yields a different induced output change, distinguishing the y-partial from the x-partial.

Slanted direction vector from the base point

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 01:33.000 the board writes v⃗=[−1,2]\vec{v} = [-1, 2].

  2. Diagram
    Observation

    At 01:51.000 a purple arrow is drawn from (1,2) toward the upper-left.

Objects
  1. formula v⃗=[−1,2]\vec{v} = [-1,2]

  2. purple vector arrow

  3. base point (1,2)

Changes
  1. A new symbolic vector is introduced.

  2. A slanted arrow is drawn from the same base point used for the partial derivatives.

Invariants
  1. The vector is anchored at (1,2).

  2. The direction is no longer aligned with either coordinate axis.

Interpretation

The purple arrow concretizes the idea of moving in an arbitrary direction in the input plane, setting up the directional derivative.

Scaled step notation hv⃗h\vec{v}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 02:35.000 the board writes hv⃗h\vec{v}.

  2. Audio
    Observation

    From 02:28.000 to 02:51.000 the speaker says h might represent some really really small number and mentions the limit as h goes to zero.

Uncertainties
  1. No explicit limit expression is fully written on the board within this clip.

  2. The numeric example 0.001 is spoken but not clearly established as a written board item in the available visual evidence.

Objects
  1. symbol h

  2. vector v⃗\vec{v}

  3. product hv⃗h\vec{v}

Changes
  1. The discussion shifts from the full direction vector to a scaled version.

  2. The scalar h is identified as very small and tending to zero.

Invariants
  1. The direction remains that of v⃗\vec{v}.

  2. The construction is still an input-space displacement used to infer output change.

Interpretation

Writing hv⃗h\vec{v} signals that the directional derivative concerns an infinitesimal step in the direction of v⃗\vec{v}, not the finite vector itself.

Blackboard Visual Layout

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Black background with handwritten equations and diagrams in various colors (green, purple, red, yellow, blue).

Objects
  1. Coordinate system with vectors

  2. Function definition f(x,y)=x2yf(x,y)=x^2y

  3. Vector v definition

  4. Scaled vector hv calculation

  5. Directional derivative notation

  6. General vector w definition

  7. General formula

  8. Dot product representation

Changes
  1. Writing appears sequentially as the speaker explains concepts.

  2. Arrows connect related concepts (e.g., from input space to output space).

  3. Colors distinguish different mathematical objects (vectors, scalars, operators).

Invariants
  1. The core function f(x,y)=x2yf(x,y)=x^2y remains visible throughout.

  2. The initial setup of the coordinate system and vector v stays on screen.

Interpretation

The visual progression mirrors the logical development from a specific numerical example to a general algebraic formula, and finally to a geometric interpretation using the gradient.

Overall whiteboard arrangement

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Static blackboard-style layout with function at top left, vectors at top center/right, formulas across middle, and compact notation added at bottom right.

Objects
  1. Coordinate axes

  2. Function f(x,y)=x2yf(x,y)=x^2y

  3. Vectors v⃗\vec v and w⃗\vec w

  4. Directional derivative formulas

  5. Gradient column vector

  6. Compact dot-product notation

Changes
  1. New writing appears at the bottom right during the clip: first w⃗\vec w, then w⃗⋅∇f\vec w\cdot\nabla f.

Invariants
  1. The main formulas and diagrams already on the board remain visible throughout the clip.

Interpretation

The visual progression emphasizes rewriting the expanded directional derivative in compact gradient-dot-product form.

Arrow linking vector picture to one-dimensional change line

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A curved blue arrow points from the upper-left vector diagram toward a horizontal line labeled ff with red and yellow arrows on it.

Uncertainties
  1. The exact semantic mapping of the red/yellow arrows on the horizontal line is not fully explained in this clip.

Objects
  1. Curved blue arrow

  2. Horizontal line labeled ff

  3. Red arrow

  4. Yellow arrow

Changes
  1. The arrow visually connects movement in the input plane to change along the output line.

Invariants
  1. The line and arrows remain static once shown.

Interpretation

This supports the speaker's later verbal idea of moving along a direction and observing how the output changes.

Stepwise appearance of compact notation

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    At the bottom right, new purple writing appears progressively: first w⃗\vec w, then the dot, then ∇f\nabla f.

Objects
  1. w⃗\vec w

  2. ⋅\cdot

  3. ∇f\nabla f

Changes
  1. The compact expression is built piece by piece rather than appearing all at once.

Invariants
  1. The surrounding formulas stay unchanged while the new notation is added.

Interpretation

The animation highlights the transition from componentwise expression to the concise dot-product form.

Misconceptions · 5

Confusing the direction vector with the actual infinitesimal displacement

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 02:02.000 to 02:28.000 the speaker says you're not really thinking of it as a large step; you're really thinking of it as something very very small.

  2. Audio
    Observation

    From 02:28.000 to 02:35.000 the speaker says you're not thinking of the actual vector actually taking a step along that.

Misconception

One might think the directional derivative means literally moving by the full vector v⃗\vec{v}.

Clarification

The clip stresses that v⃗\vec{v} gives the direction, while the relevant displacement is a very small scaled step hv⃗h\vec{v} with h→0h\to 0.

Treating partial derivatives as purely symbolic without geometric direction

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    At 01:07.000 and 01:25.000 arrows show input nudges along x and y.

  2. Audio
    Observation

    From 00:53.000 to 01:33.000 the speaker repeatedly describes partial derivatives in terms of nudging the input and observing the output change.

Misconception

One might regard ∂f/∂x and the y-partial only as formulas, missing that they correspond to specific coordinate directions in the input space.

Clarification

The video presents partial derivatives as direction-specific infinitesimal changes: horizontal for x and vertical for y.

Variety of Notations for Directional Derivative

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    There's a whole bunch of other notations too... some people will just write like partial with a little subscript vector... but this is the one I like.

Misconception

Students might be confused seeing different symbols (∇_v, ∂/∂v, ∂_v) for the same concept in different textbooks or lectures.

Clarification

The speaker acknowledges multiple valid notations exist. The key is understanding they all represent the rate of change in a specific direction, regardless of the symbol used.

Confusing ∇f\nabla f with ∇w⃗f\nabla_{\vec w} f

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says, "here ... it's nabla without that little w at the bottom."

Misconception

One might think the plain gradient symbol and the directional-derivative symbol are the same object.

Clarification

The video distinguishes ∇w⃗f\nabla_{\vec w} f (directional derivative in direction w⃗\vec w) from ∇f\nabla f (the gradient vector itself); the compact formula uses the dot product of the two.

Thinking the formula only works in two dimensions

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker explicitly discusses a five-dimensional input as an example of flexibility.

Misconception

Because the board shows only xx and yy, one may infer the method is limited to two variables.

Clarification

The speaker states that the dot-product formulation generalizes; in five dimensions, both the direction vector and gradient simply have five components.

Concept relations · 11

Partial derivative as a directional nudge along coordinate axes → Directional derivative concept

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 00:01.000 to 00:05.000 the speaker says the directional derivative extends the idea of a partial derivative.

  2. Audio
    Observation

    From 01:33.000 onward the speaker replaces coordinate-axis nudges with an arbitrary vector direction.

Generalizes
Explanation

The directional derivative is presented as a generalization of the partial derivative from coordinate-axis directions to an arbitrary vector direction.

Multivariable scalar function setup → Partial derivative as a directional nudge along coordinate axes

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:05.000 f(x,y)f(x,y) is written before any derivative notation appears.

  2. Audio
    Observation

    From 00:05.000 to 00:53.000 the speaker first defines the function setting and only then discusses partial derivatives.

Prerequisite
Explanation

Understanding the partial derivative in this clip depends on first viewing f as a scalar function of two input variables.

Input plane and output line representation → Partial derivative as a directional nudge along coordinate axes

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    At 00:32.000 and 00:39.000 the input plane and output line are drawn before the derivative arrows.

  2. Diagram
    Observation

    At 01:07.000 and 01:10.000 the partial-derivative explanation uses those same two spaces.

Application
Explanation

The input-plane/output-line representation is the visual framework used to explain what a partial derivative does.

Introducing an arbitrary direction vector → Directional derivative concept

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 01:33.000 v⃗=[−1,2]\vec{v} = [-1,2] is introduced.

  2. Audio
    Observation

    From 01:58.000 to 02:58.000 the speaker asks what a nudge in that direction does and then defines the infinitesimal step hv⃗h\vec{v}.

Prerequisite
Explanation

The directional derivative concept in this clip is built directly on the prior introduction of an arbitrary direction vector in the input plane.

General Formula for Directional Derivative → ∂f/xf/x

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    ∇_w f=af = a ∂f/∂x+bx + b ∂f/∂y

Application
Explanation

The general formula for the directional derivative is constructed by applying the partial derivatives of the function.

Directional Derivative as Dot Product with Gradient → ∇f

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    ∇_w f=wf = w · ∇f

Equivalent
Explanation

The directional derivative is equivalent to the dot product of the direction vector and the gradient vector.

General Formula for Directional Derivative → Calculating Directional Derivative from Components

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    if I was going to be more general...

Generalizes
Explanation

The formula using abstract components a and b generalizes the calculation method shown for the specific vector [-1, 2].

Partial derivatives as components of the gradient → Gradient vector of a two-variable function

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    ∇f\nabla f is written as the column vector of ∂f∂x\frac{\partial f}{\partial x} and ∂f∂y\frac{\partial f}{\partial y}.

Prerequisite
Explanation

The gradient is assembled from the partial derivatives.

Gradient vector of a two-variable function → Directional derivative as a dot product with the gradient

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The compact notation w⃗⋅∇f\vec w\cdot\nabla f is introduced after identifying the partial-derivative vector as the gradient.

Proof dependency
Explanation

Recognizing the partial-derivative vector as ∇f\nabla f is what allows the directional derivative to be rewritten as a dot product.

Directional derivative in a general vector direction → Directional derivative in the specific direction v⃗=(−1,2)\vec v=(-1,2)

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board shows the general formula with w⃗=(a,b)\vec w=(a,b) and the specific formula with v⃗=(−1,2)\vec v=(-1,2).

Special case
Explanation

The example with v⃗=(−1,2)\vec v=(-1,2) is a direct substitution instance of the general directional-derivative formula.

Directional derivative as a dot product with the gradient → Dimensional flexibility of the dot-product notation

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says the notation is more flexible for dimensions and gives a five-dimensional example.

Generalizes
Explanation

The dot-product formulation is presented as the version that scales naturally to higher-dimensional inputs.

Find an answer · 14

What is the directional derivative in intuitive terms?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 01:58.000 to 02:58.000 the speaker defines the directional derivative through an infinitesimal nudge in the direction of a vector.

Knowledge points
  1. Directional derivative concept
  2. From coordinate partial derivatives to a directional derivative

How does a directional derivative differ from a partial derivative?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 00:53.000 to 01:33.000 partial derivatives are explained as x- and y-direction nudges.

  2. Audio
    Observation

    From 01:33.000 to 02:58.000 the same idea is extended to an arbitrary vector direction.

Knowledge points
  1. Partial derivative as a directional nudge along coordinate axes
  2. Directional derivative concept
  3. s0-rel-partial-to-directional

Why does the video use hv⃗h\vec{v} instead of just v⃗\vec{v} when defining the directional derivative?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    From 02:02.000 to 02:51.000 the speaker says the step should be very small and formally uses the limit as h goes to zero.

  2. Formula
    Observation

    At 02:35.000 the board writes hv⃗h\vec{v}.

Knowledge points
  1. Directional derivative concept
  2. Confusing the direction vector with the actual infinitesimal displacement

What does ∂f/∂x(1,2)x(1,2) mean geometrically in this clip?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 00:53.000 the board shows ∂f/∂x(1,2)x(1,2).

  2. Diagram
    Observation

    At 01:07.000 a horizontal arrow from (1,2) illustrates the x-direction nudge.

Knowledge points
  1. Partial derivative as a directional nudge along coordinate axes
  2. Horizontal partial-derivative visualization

What role does the vector v⃗=[−1,2]\vec{v}=[-1,2] play in the explanation?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    At 01:33.000 the board writes v⃗=[−1,2]\vec{v} = [-1,2].

  2. Diagram
    Observation

    At 01:51.000 a purple arrow from (1,2) shows that direction.

Knowledge points
  1. Introducing an arbitrary direction vector
  2. Slanted direction vector from the base point

How do you calculate the directional derivative using partial derivatives?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    how you end up calculating it

Knowledge points
  1. Calculating Directional Derivative from Components
  2. General Formula for Directional Derivative

What is the relationship between the directional derivative and the gradient vector?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    written... with respect to the gradient... looks like a dot product

Knowledge points
  1. Directional Derivative as Dot Product with Gradient
  2. ∇f

Why are there so many different notations for the directional derivative?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    whole bunch of other notations too

Knowledge points
  1. Notation for Directional Derivative

What is the formula for the directional derivative in direction w⃗=(a,b)\vec w=(a,b)?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Red box formula ∇w⃗f=a∂f∂x+b∂f∂y\nabla_{\vec w} f = a\frac{\partial f}{\partial x} + b\frac{\partial f}{\partial y}.

Knowledge points
  1. Directional derivative in a general vector direction

Why can the directional derivative be written as w⃗⋅∇f\vec w\cdot\nabla f?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker identifies the partial-derivative vector as the gradient and writes w⃗⋅∇f\vec w\cdot\nabla f.

Knowledge points
  1. Directional derivative as a dot product with the gradient
  2. Gradient vector of a two-variable function

What is the difference between ∇w⃗f\nabla_{\vec w} f and ∇f\nabla f?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker contrasts ∇w⃗f\nabla_{\vec w} f with ∇f\nabla f.

Knowledge points
  1. Directional derivative in a general vector direction
  2. Gradient vector of a two-variable function

How is the directional derivative computed for the specific vector v⃗=(−1,2)\vec v=(-1,2)?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Yellow formula for v⃗=(−1,2)\vec v=(-1,2).

Knowledge points
  1. Directional derivative in the specific direction v⃗=(−1,2)\vec v=(-1,2)
Coverage and review notes

Covered · Opening greeting and topic announcement: the speaker says he will talk about the directional derivative as an extension of the partial derivative.

Covered · The speaker sets up a two-input scalar-output function f(x,y)f(x,y) and explicitly restricts attention away from vector-valued outputs.

Covered · A coordinate plane for the input space and a separate line for the output space are drawn and linked by a mapping arrow.

Covered · The partial derivative ∂f/∂x(1,2)x(1,2) is explained as a tiny x-direction nudge and compared with a y-direction nudge.

Covered · An arbitrary direction vector v⃗=[−1,2]\vec{v}=[-1,2] is introduced and drawn from the point (1,2).

Covered · The speaker explains that the directional derivative uses an infinitesimal step hv⃗h\vec{v} with h→0h\to 0 and summarizes it as the output change caused by a slight nudge in the direction of v⃗\vec{v}.

Covered · Introduction of the concept via a small nudge in the direction of vector v.

Covered · Discussion of various notations for the directional derivative.

Covered · Demonstration of how to calculate the directional derivative for the specific vector v=[−1,2]v=[-1, 2].

Covered · Generalization of the calculation to an arbitrary vector w=[a,b]w=[a, b].

Covered · Reformulation of the directional derivative as a dot product with the gradient.

Covered · The entire 74-second clip consists of continuous whiteboard explanation of directional derivatives, gradient notation, a specific vector example, and the intuitive tiny-step interpretation.

Explore the knowledge in this video

Reviewed subject paths

Questions this video answers

Meet the concept

↗
Understand why

↗
Meet the concept

↗
Understand why

↗
Find a method

↗
Meet the concept

↗
Find a method

↗
Know when to use it

↗