Directional Derivative and Gradient Demo
Loading the math board and drawing, please wait…
This example demonstrates the geometric meaning of directional derivatives and gradients, showing the gradient vector and directional derivatives along any direction at a point on a function. Key math concepts include gradient, directional derivative, vector, function graph, and coordinate geometry. GeoGebra commands and objects used in construction are CurveCartesian (curve), Vector (vector), Derivative (derivative), Angle (angle), etc. Suitable for high school and above students learning vector calculus.
GeoGebra Commands & Parameters
CurveCartesian(t, y0, a(t, y0), t, -5, 5) → bCurveCartesian(x0, t, a(x0, t), t, -5, 5) → cCurveCartesian((t * cos(α)) + x0, (t * sin(α)) + y0, a((t * cos(α)) + x0, (t * sin(α)) + y0), t, -2, 2) → cutCurvature(A, cut) → kSegment(D, A_1) → dSurface((u * cos(α)) + x0, (u * sin(α)) + y0, v, u, -2, 2, v, -2, 2) → eVector(A, A + (cos(α), sin(α))) → v1Derivative(cut) → cut'Vector(A, A + B) → vAngle(v1, v) → βVector(A_1, A_1 + ((k1 * x0), (k2 * y0))) → grad
AI Drawing Prompt Reference
Draw a function graph and show the gradient vector at a point and the directional derivative along any direction. First, draw the function curve, then draw the gradient vector at a specific point, followed by the directional derivative vector along any direction, and finally display the curvature and angle.
The prompt above was compiled from the original drawing commands and is for reference only.