Undergraduate · Directional derivatives
Directional derivatives: A two-to-one gradient ratio
Directional derivatives: investigate a two-to-one gradient ratio with x² coefficient a = 2; y² coefficient b = 1.
Predict what will happen, press Play, then pause and explain what changed. Every control also works without playback.
Watch the relationship
PausedHD animation studio
From experiment to screen.
Present a crisp Canvas scene, save a full-HD image, or capture your model as a silent video.
Understand what you are seeing
The idea behind the motion.
The directional derivative is a dot product with a unit direction, so it depends on orientation as well as gradient length. Rotating a unit vector through all angles reveals a maximum equal to the gradient norm and a minimum equal to its negative. Perpendicular directions have zero first-order change. This investigation starts with x² coefficient a = 2; y² coefficient b = 1. Predict the result before playing, then change one parameter while keeping the other fixed to test the reason for the change.
A relationship to keep
f=ax²+by²; ∇f(1,1)=(2a,2b); Dᵤf=∇f·u
Read the symbols alongside the explanation. A diagram shows the relationship; the assumptions tell you when it applies.
- STEP 1
Set up the mathematical model
Compute the gradient at the fixed point (1,1), keeping the evaluation point separate from the direction. The starting case is “A two-to-one gradient ratio.”
- STEP 2
Follow the changing quantity
Rotate a unit direction around the circle and plot the directional derivative against its angle.
- STEP 3
Explain and test the result
Compare the largest rate with 2√(a²+b²). Explain why using a nonunit direction would change the rate scale.
Your turn to explain
Make a prediction. Test your reasoning.
Keep x² coefficient a = 2; y² coefficient b = 1. Pause the timeline at 80%. Given direction radians = 5.027, calculate directional derivative, maximum unit-direction rate. Show the substitution into the displayed formula.
Use the values specified in the question. Reset restores the initial values for this investigation.
Compare your explanation
The gradient at (1,1) is (4,2). Its dot product with (cos(5.026548),sin(5.026548)) is -0.666045. Cauchy–Schwarz bounds all unit-direction rates by √(4²+2²)=4.472136. Results: Directional derivative: -0.666; Maximum unit-direction rate: 4.472. Decimal values are rounded; retain the original parameters when checking.
Work through a full lesson
Connect the animation to a worked example and practice questions.