✓ Official Syllabus VerifiedStandards & Rigor ↗
2

The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry

∇ Multivariable Calculus · The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry Calc III · 2  ·  Chain Rule & Gradients

While Chapter 1 isolated rates of change along standard coordinate axes, physical processes rarely restrict their motion to orthogonal grid lines. A heated particle moves along a curved parametric path; fluid flows across an arbitrary streamline; optimization algorithms seek the direction of steepest descent. The multivariable chain rule tracks how composite dependencies propagate through intermediate variables, while the gradient vector \nabla f encodes the directional derivative in every possible direction, establishing the fundamental geometric bridge between linear algebra, level sets, and differential geometry.

● Level 1 Foundation — Definition 2.1: The Multivariable Chain Rule

Let z = f(x, y) be a differentiable function of \( x \) and \( y \).

  1. Case 1 (Parametric Curve Domain): If \( x = x(t) \) and \( y = y(t) \) are differentiable functions of a single parameter \( t \), then \( z \) is a differentiable function of \( t \), and its derivative is given by the tree-branch summation: \[ \frac{dz}{dt} = \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}\frac{dy}{dt} = \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t). \]
  2. Case 2 (Two Intermediate, Two Independent Variables): If \( x = g(u, v) \) and \( y = h(u, v) \) are differentiable functions of \( u \) and \( v \), then: \[ \frac{\partial z}{\partial u} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial u} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial u}, \qquad \frac{\partial z}{\partial v} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial v} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial v}. \]
  3. Jacobian Matrix Formulation: In general matrix terms, if \( \mathbf{g}: \mathbb{R}^k \to \mathbb{R}^m \) and \( \mathbf{f}: \mathbb{R}^m \to \mathbb{R}^n \), the derivative of the composite mapping \( \mathbf{h} = \mathbf{f} \circ \mathbf{g} \) is the matrix product of their Jacobian matrices: \[ D(\mathbf{f} \circ \mathbf{g})(\mathbf{x}) = D\mathbf{f}(\mathbf{g}(\mathbf{x})) \, D\mathbf{g}(\mathbf{x}). \]
Along a smooth path \(\mathbf{r}(t) = (x(t), y(t))\), the multivariable Chain Rule measures \(\frac{d}{dt}f(\mathbf{r}(t)) = \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t)\).
Worked Example 2.A (Level 1) — Polar Coordinate Transformation of Partial Derivatives
Problem. Let \( z = f(x, y) \) be a differentiable function where \( x = r\cos\theta \) and \( y = r\sin\theta \). Express \( \frac{\partial z}{\partial r} \) and \( \frac{\partial z}{\partial \theta} \) in terms of \( \frac{\partial z}{\partial x} \) and \( \frac{\partial z}{\partial y} \), and show that: \[ \left( \frac{\partial z}{\partial r} \right)^2 + \frac{1}{r^2}\left( \frac{\partial z}{\partial \theta} \right)^2 = \left( \frac{\partial z}{\partial x} \right)^2 + \left( \frac{\partial z}{\partial y} \right)^2 = \|\nabla f\|^2. \]
▸ Show step-by-step solution

Step 1: Compute partial derivatives of coordinate functions: \[ \frac{\partial x}{\partial r} = \cos\theta, \quad \frac{\partial y}{\partial r} = \sin\theta; \qquad \frac{\partial x}{\partial \theta} = -r\sin\theta, \quad \frac{\partial y}{\partial \theta} = r\cos\theta. \]

Step 2: Apply the Chain Rule: \[ \frac{\partial z}{\partial r} = \frac{\partial z}{\partial x}\cos\theta + \frac{\partial z}{\partial y}\sin\theta, \] \[ \frac{\partial z}{\partial \theta} = \frac{\partial z}{\partial x}(-r\sin\theta) + \frac{\partial z}{\partial y}(r\cos\theta) \implies \frac{1}{r}\frac{\partial z}{\partial \theta} = -\frac{\partial z}{\partial x}\sin\theta + \frac{\partial z}{\partial y}\cos\theta. \]

Step 3: Square and add: \[ \left( \frac{\partial z}{\partial r} \right)^2 = z_x^2 \cos^2\theta + 2 z_x z_y \cos\theta\sin\theta + z_y^2 \sin^2\theta. \] \[ \frac{1}{r^2}\left( \frac{\partial z}{\partial \theta} \right)^2 = z_x^2 \sin^2\theta - 2 z_x z_y \cos\theta\sin\theta + z_y^2 \cos^2\theta. \] Adding the two lines eliminates the cross-term: \[ \left( \frac{\partial z}{\partial r} \right)^2 + \frac{1}{r^2}\left( \frac{\partial z}{\partial \theta} \right)^2 = z_x^2(\cos^2\theta + \sin^2\theta) + z_y^2(\sin^2\theta + \cos^2\theta) = z_x^2 + z_y^2 = \|\nabla f\|^2. \;\checkmark \]

● Level 2 Analytical Application — Definition 2.2: Directional Derivatives & The Gradient Vector

The Gradient Vector: The gradient of a scalar field \( f(x, y) \) at \( (x, y) \) is the vector field: \[ \nabla f(x, y) = \operatorname{grad} f = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle = f_x \mathbf{i} + f_y \mathbf{j}. \] In \( \mathbb{R}^3 \), \( \nabla f(x, y, z) = \langle f_x, f_y, f_z \rangle \).

The Directional Derivative: Let \( \mathbf{u} = \langle u_1, u_2 \rangle \) be a unit vector (\( \|\mathbf{u}\| = 1 \)). The directional derivative of \( f \) in the direction of \( \mathbf{u} \) at \( (x_0, y_0) \) is: \[ D_\mathbf{u} f(x_0, y_0) = \lim_{h \to 0} \frac{f(x_0 + h u_1, y_0 + h u_2) - f(x_0, y_0)}{h}. \] If \( f \) is differentiable, the directional derivative is calculated as the inner product of the gradient with the unit direction vector: \[ D_\mathbf{u} f(x_0, y_0) = \nabla f(x_0, y_0) \cdot \mathbf{u}. \]

▲ Level 2 Analytical Application — Theorem 2.1: Direction of Steepest Ascent & Bounds

Let \( f \) be a differentiable function at \( (x_0, y_0) \) with \( \nabla f(x_0, y_0) \neq \mathbf{0} \). Then:

  1. The maximum value of the directional derivative \( D_\mathbf{u} f(x_0, y_0) \) is \( \|\nabla f(x_0, y_0)\| \), and it occurs when \( \mathbf{u} \) points in the direction of the gradient: \[ \mathbf{u} = \frac{\nabla f(x_0, y_0)}{\|\nabla f(x_0, y_0)\|} \quad (\text{steepest ascent}). \]
  2. The minimum value of \( D_\mathbf{u} f(x_0, y_0) \) is \( -\|\nabla f(x_0, y_0)\| \), and it occurs when \( \mathbf{u} \) points in the direction opposite to the gradient: \[ \mathbf{u} = -\frac{\nabla f(x_0, y_0)}{\|\nabla f(x_0, y_0)\|} \quad (\text{steepest descent}). \]
  3. The directional derivative is zero (\( D_\mathbf{u} f = 0 \)) in any direction orthogonal to the gradient (\( \mathbf{u} \perp \nabla f \)), which is the direction tangent to the level curve of \( f \).
Proof of Theorem 2.1 (Cauchy–Schwarz & Geometry)

By Definition 2.2, \( D_\mathbf{u} f = \nabla f \cdot \mathbf{u} \). Using the geometric definition of the inner product: \[ D_\mathbf{u} f = \|\nabla f\| \|\mathbf{u}\| \cos\theta = \|\nabla f\| \cos\theta, \] where \( \theta \in [0, \pi] \) is the angle between \( \nabla f \) and the unit vector \( \mathbf{u} \) (since \( \|\mathbf{u}\| = 1 \)).

Because \( -1 \le \cos\theta \le 1 \) for all \( \theta \):

  1. \( D_\mathbf{u} f \) achieves its maximum when \( \cos\theta = 1 \implies \theta = 0 \). Thus \( \mathbf{u} \) is parallel and codirectional with \( \nabla f \), and \( \max(D_\mathbf{u} f) = \|\nabla f\| \).
  2. \( D_\mathbf{u} f \) achieves its minimum when \( \cos\theta = -1 \implies \theta = \pi \). Thus \( \mathbf{u} \) points opposite to \( \nabla f \), and \( \min(D_\mathbf{u} f) = -\|\nabla f\| \).
  3. \( D_\mathbf{u} f = 0 \iff \cos\theta = 0 \implies \theta = \pi/2 \), meaning \( \mathbf{u} \perp \nabla f \). \( \blacksquare \)
Worked Example 2.B (Level 2) — Directional Derivative & Steepest Ascent Calculation
Problem. For \( f(x,y)=x^2+xy \) at \( P(1,2) \), find:
▸ Show step-by-step solution
  1. The directional derivative toward the point \( Q(4, 6) \).
  2. The maximum rate of increase at \( P \) and the unit direction vector in which it occurs.
  3. The unit direction vectors along which the rate of change of \( f \) is zero.

Step 1: Compute gradient at \( P(1, 2) \): \[ \nabla f = \langle 2x + y, \; x \rangle \implies \nabla f(1, 2) = \langle 2(1) + 2, \; 1 \rangle = \langle 4, 1 \rangle. \]

Step 2: Direction toward \( Q(4, 6) \): Displacement vector: \( \mathbf{v} = \vec{PQ} = \langle 4 - 1, 6 - 2 \rangle = \langle 3, 4 \rangle \).
Normalize \( \mathbf{v} \): \( \|\mathbf{v}\| = \sqrt{3^2 + 4^2} = 5 \implies \mathbf{u} = \langle 3/5, 4/5 \rangle \).
Compute directional derivative: \[ D_\mathbf{u} f(1, 2) = \nabla f(1, 2) \cdot \mathbf{u} = 4(3/5) + 1(4/5) = \frac{12 + 4}{5} = \mathbf{\frac{16}{5} = 3.2}. \]

Step 3: Maximum rate of increase: \[ \|\nabla f(1, 2)\| = \sqrt{4^2 + 1^2} = \mathbf{\sqrt{17} \approx 4.123}. \] Direction: \( \mathbf{u}_{\max} = \frac{\nabla f}{\|\nabla f\|} = \mathbf{\left\langle \frac{4}{\sqrt{17}}, \frac{1}{\sqrt{17}} \right\rangle} \).

Step 4: Zero rate of change: Requires \( \mathbf{u} \perp \nabla f = \langle 4, 1 \rangle \). Swapping coordinates with sign flip gives: \[ \mathbf{u}_0 = \pm \left\langle -\frac{1}{\sqrt{17}}, \frac{4}{\sqrt{17}} \right\rangle. \]

⊙ Explorer · Gradient & steepest ascent
interactive
\(D\)\(u\) \(f(1, 2)\)\(4.000\)
Maximum possible rate\(\sqrt{17} \approx 4.123\)

\(f(x, y) = x^{2} + xy\), the same function as Worked example 2.B. The amber arrow is the fixed gradient \(\nabla f(1,2) = \langle 4, 1\rangle\), which points at \(\theta \approx 14.04^\circ\); the indigo arrow is the unit direction \(u\) you're rotating. Drag \(\theta\) near there (the whole-degree slider can only approach it, not land on it exactly) and watch \(D_u f = \nabla f \cdot u\) climb toward its true maximum \(\sqrt{17} \approx 4.123\) — reached exactly only when \(u\) lines up with \(\nabla f\), Theorem 2.1's claim.

● Level 3 University Rigor — Definition 2.3: Tangent Planes to Implicit Surfaces

Let \( S \) be a level surface of a continuously differentiable function \( F(x, y, z) = c \). Let \( P_0(x_0, y_0, z_0) \) be a point on \( S \) where \( \nabla F(x_0, y_0, z_0) \neq \mathbf{0} \).

The tangent plane to \( S \) at \( P_0 \) is the plane passing through \( P_0 \) with normal vector \( \mathbf{n} = \nabla F(x_0, y_0, z_0) \): \[ F_x(x_0, y_0, z_0)(x - x_0) + F_y(x_0, y_0, z_0)(y - y_0) + F_z(x_0, y_0, z_0)(z - z_0) = 0. \] The normal line to \( S \) at \( P_0 \) has symmetric equations: \[ \frac{x - x_0}{F_x(P_0)} = \frac{y - y_0}{F_y(P_0)} = \frac{z - z_0}{F_z(P_0)}. \]

▲ Level 3 University Rigor — Theorem 2.2: Gradient Orthogonality to Level Sets

Theorem: Let \( F: D \subseteq \mathbb{R}^3 \to \mathbb{R} \) be differentiable. At any point \( P_0 \) on the level surface \( S: F(x, y, z) = c \), the gradient vector \( \nabla F(P_0) \) is strictly orthogonal to every smooth curve on \( S \) passing through \( P_0 \).

Proof of Gradient Orthogonality

Let \( C \) be any smooth curve on the level surface \( S \) parameterized by \( \mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle \) for \( t \in (-\varepsilon, \varepsilon) \), such that \( \mathbf{r}(0) = P_0(x_0, y_0, z_0) \).

Because the curve lies entirely on the level surface \( S \), the function value remains constant along \( C \): \[ F(x(t), y(t), z(t)) = c \quad \text{for all } t \in (-\varepsilon, \varepsilon). \] Differentiating both sides with respect to \( t \) using the multivariable chain rule (Definition 2.1): \[ \frac{d}{dt}\left[ F(x(t), y(t), z(t)) \right] = \frac{d}{dt}[c] = 0. \] Expanding the left-hand derivative: \[ \frac{\partial F}{\partial x}\frac{dx}{dt} + \frac{\partial F}{\partial y}\frac{dy}{dt} + \frac{\partial F}{\partial z}\frac{dz}{dt} = 0. \] Expressed in vector notation: \[ \nabla F(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = 0. \] Evaluating at \( t = 0 \): \[ \nabla F(P_0) \cdot \mathbf{r}'(0) = 0. \] Since \( \mathbf{r}'(0) \) represents the tangent vector to the curve \( C \) at \( P_0 \), and \( C \) was chosen arbitrarily among all smooth curves on \( S \) through \( P_0 \), the gradient vector \( \nabla F(P_0) \) is perpendicular to every tangent vector on \( S \). Hence, \( \nabla F(P_0) \) is the normal vector to the level surface. \( \blacksquare \)

Worked Example 2.C (Level 3) — Tangent Plane to an Implicit Quadric Surface
Problem. Find the equations of the tangent plane and the normal line to the hyperboloid of two sheets \( x^2 - 2y^2 - 4z^2 = 16 \) at the point \( P(6, 2, 1) \).
▸ Show step-by-step solution

Step 1: Define implicit level function: \[ F(x, y, z) = x^2 - 2y^2 - 4z^2 = 16. \]

Step 2: Compute gradient vector: \[ \nabla F = \langle 2x, \; -4y, \; -8z \rangle. \] At \( P(6, 2, 1) \): \[ \nabla F(6, 2, 1) = \langle 2(6), \; -4(2), \; -8(1) \rangle = \langle 12, -8, -8 \rangle. \] We can scale the normal vector by \( 1/4 \) to simplify: \( \mathbf{n} = \langle 3, -2, -2 \rangle \).

Step 3: Construct tangent plane equation: \[ 3(x - 6) - 2(y - 2) - 2(z - 1) = 0 \] \[ 3x - 18 - 2y + 4 - 2z + 2 = 0 \implies \mathbf{3x - 2y - 2z = 12}. \]

Step 4: Construct normal line equations: In parametric form: \( x = 6 + 3t \), \( y = 2 - 2t \), \( z = 1 - 2t \). In symmetric form: \[ \mathbf{\frac{x - 6}{3} = \frac{y - 2}{-2} = \frac{z - 1}{-2}}. \]

⚠️ Common Traps & University Pitfalls — Gradients & Chain Rule
  • Failure to Normalize the Direction Vector: The directional derivative formula \( D_\mathbf{u} f = \nabla f \cdot \mathbf{u} \) assumes \( \mathbf{u} \) is a unit vector (\( \|\mathbf{u}\| = 1 \)). If given a direction vector \( \mathbf{v} = \langle 1, 2 \rangle \), taking \( \nabla f \cdot \mathbf{v} \) erroneously multiplies the true rate of change by \( \sqrt{5} \). Always compute \( \mathbf{u} = \mathbf{v} / \|\mathbf{v}\| \) first!
  • The Missing Negative Sign in Implicit Differentiation: By the Chain Rule on \( F(x, y) = c \): \( F_x dx + F_y dy = 0 \implies \frac{dy}{dx} = -\frac{F_x}{F_y} \). Forgetting the minus sign is one of the most persistent exam errors in multivariable calculus.
  • Level Curve Normal vs. Graph Normal: For a 2D surface \( z = f(x, y) \), rewrite it in implicit level surface form \( F(x, y, z) = f(x, y) - z = 0 \). Its 3D normal vector is \( \nabla F = \langle f_x, f_y, -1 \rangle \). Confusing \( \nabla f(x, y) \) (a 2D vector in the plane) with the 3D normal vector \( \mathbf{n} \) causes severe dimensional mismatch errors.
  • Chain Rule Tree Branch Omission: When an intermediate variable appears in multiple positions (e.g. \( z = f(u, v) \) where \( u = xy, v = x/y \)), \( x \) appears in both \( u \) and \( v \). The derivative \( \frac{\partial z}{\partial x} \) must sum both branches: \( \frac{\partial z}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial z}{\partial v}\frac{\partial v}{\partial x} \).

Essential Gradient & Chain Rule Formulations

Chain Rule (1-var)
\( \frac{dz}{dt} = \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t) \)
Directional Derivative
\( D_\mathbf{u} f = \nabla f \cdot \mathbf{u} \quad (\|\mathbf{u}\| = 1) \)
Steepest Ascent
Direction is \( \nabla f \); maximal rate is \( \|\nabla f\| \)
Implicit Normal
\( \mathbf{n} = \nabla F(x_0, y_0, z_0) \perp \{F = c\} \)
For \( f(x, y) = x^2 + y^2 \), the level curve \( f(x, y) = 4 \) is a circle of radius 2. At any point such as \( (\sqrt{2}, \sqrt{2}) \), the gradient vector \( \nabla f = \langle 2x, 2y \rangle = \langle 2\sqrt{2}, 2\sqrt{2} \rangle \) points outward perpendicular to the tangent line, pointing in the direction of steepest ascent.
Worked Example \(D\) — The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry (Hard Application)
Problem. Find \( \nabla f(2,-4) \) for \( f(x,y)=2 x^{2} y + 4 x y^{2} \).
▸ Show step-by-step solution

\( f_x=4 x y + 4 y^{2} \), \( f_y=2 x^{2} + 8 x y \), so \( \nabla f(2,-4)=(32, -56) \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Computing angle at \(B\) using \(\overrightarrow{AB}\cdot\overrightarrow{BC}\)Vectors are head-to-tail instead of tail-to-tail, giving \(180^\circ - \theta\).Reverse \(\overrightarrow{AB}\) so both emanate from \(B\): use \(\overrightarrow{BA}\cdot\overrightarrow{BC}\).
Using the same parameter \(t\) for two intersecting 3D lines \(\mathbf{r}_1(t) = \mathbf{r}_2(t)\)Tests for a simultaneous collision at time \(t\) rather than geometric intersection of paths.Assign distinct parameters \(\lambda\) and \(\mu\) to the two lines before equating components.
Assuming \((AB)^{-1} = A^{-1}B^{-1}\)Multiplying \((AB)(A^{-1}B^{-1})\) does not cancel inner factors when \(AB \ne BA\).Use the shoe-sock reversal law: \((AB)^{-1} = B^{-1}A^{-1}\).
▲ Exam Pacing & Verification Strategy — The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry

Fast Matrix & Vector Verification (University Multivariable & Vector Calculus): Check every \(2\times 2\) or \(3\times 3\) eigenvalue computation using the trace and determinant invariants: \(\sum \lambda_i = \operatorname{tr}(A)\) (sum of diagonal entries) and \(\prod \lambda_i = \det(A)\).

Let \( z = x^2 y - y^3 \), where \( x(t) = \cos(2t) \) and \( y(t) = \sin(2t) \). Use the multivariable chain rule to find \( \frac{dz}{dt} \) when \( t = 0 \).
💡 Hint 1 of 3
Compute partial derivatives of \( z \): \(\frac{\partial z}{\partial x} = 2xy, \qquad \frac{\partial z}{\partial y} = x^2 - 3y^2\).
💡 Hint 2 of 3
Compute derivatives of coordinate functions: \(\frac{dx}{dt} = -2\sin(2t), \qquad \frac{dy}{dt} = 2\cos(2t)\) Evaluate at \( t = 0 \): \(x(0) = \cos(0) = 1, \quad y(0) = \sin(0)\).
💡 Hint 3 of 3
Apply the chain rule: \(\frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt} = (0)(0) + (1)(2)\).

Step 1: Compute partial derivatives of \( z \): \[ \frac{\partial z}{\partial x} = 2xy, \qquad \frac{\partial z}{\partial y} = x^2 - 3y^2. \]

Step 2: Compute derivatives of coordinate functions: \[ \frac{dx}{dt} = -2\sin(2t), \qquad \frac{dy}{dt} = 2\cos(2t). \]

Step 3: Evaluate at \( t = 0 \): \[ x(0) = \cos(0) = 1, \quad y(0) = \sin(0) = 0. \] \[ \frac{\partial z}{\partial x}(1, 0) = 0, \quad \frac{\partial z}{\partial y}(1, 0) = 1^2 - 0 = 1. \] \[ \frac{dx}{dt}(0) = 0, \quad \frac{dy}{dt}(0) = 2. \]

Step 4: Apply the chain rule: \[ \frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt} = (0)(0) + (1)(2) = 2. \]

Find the directional derivative of \( f(x, y, z) = x^2 y + yz^2 \) at \( P(1, 2, -1) \) in the direction of \( \mathbf{v} = \langle 2, -1, 2 \rangle \).
💡 Hint 1 of 3
Compute the gradient \( \nabla f \): \(\nabla f = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right\rangle = \left\langle 2xy, \; x^2 + z^2, \; 2yz \right\rangle\).
💡 Hint 2 of 3
Normalize direction vector \( \mathbf{v} \): \(\|\mathbf{v}\| = \sqrt{2^2 + (-1)^2 + 2^2} = \sqrt{4 + 1 + 4}\).
💡 Hint 3 of 3
Compute dot product: \(D_{u}f = \nabla f \cdot u = (4)\left(\frac{2}{3}\right) + (2)\left(-\frac{1}{3}\right) + (-4)\left(\frac{2}{3}\right) = \frac{8 - 2 - 8}{3}\).

Step 1: Compute the gradient \( \nabla f \): \[ \nabla f = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right\rangle = \left\langle 2xy, \; x^2 + z^2, \; 2yz \right\rangle. \]

Step 2: Evaluate \( \nabla f \) at \( P(1, 2, -1) \): \[ \nabla f(1, 2, -1) = \langle 2(1)(2), \; 1^2 + (-1)^2, \; 2(2)(-1) \rangle = \langle 4, 2, -4 \rangle. \]

Step 3: Normalize direction vector \( \mathbf{v} \): \[ \|\mathbf{v}\| = \sqrt{2^2 + (-1)^2 + 2^2} = \sqrt{4 + 1 + 4} = 3. \] \[ \mathbf{u} = \frac{\mathbf{v}}{\|\mathbf{v}\|} = \left\langle \frac{2}{3}, -\frac{1}{3}, \frac{2}{3} \right\rangle. \]

Step 4: Compute dot product: \[ D_{\mathbf{u}}f = \nabla f \cdot \mathbf{u} = (4)\left(\frac{2}{3}\right) + (2)\left(-\frac{1}{3}\right) + (-4)\left(\frac{2}{3}\right) = \frac{8 - 2 - 8}{3} = -\frac{2}{3}. \]

[Practice 3 · Easy] Consider the function \( z = f(x,y) = x^2 + y^2 \). Let \( x = 2t \) and \( y = 3t \). Use the Multivariable Chain Rule to find \( \frac{dz}{dt} \) when \( t=1 \).
💡 Hint 1 of 3
We are given \( z = f(x,y) = x^2 + y^2 \), with \( x = 2t \) and \( y = 3t \). We need to find \( \frac{dz}{dt} \) using the Multivariable Chain Rule: \( \frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt} \).
💡 Hint 2 of 3
First, find the partial derivatives of \( z \) with respect to \( x \) and \( y \): \( \frac{\partial z}{\partial x} = 2x \) \( \frac{\partial z}{\partial y} = 2y \).
💡 Hint 3 of 3
Finally, substitute these values of \(x\) and \(y\) into the expression for \(\frac{dz}{dt}\): \(\frac{dz}{dt} \bigg|_{t=1} = 4(2) + 6(3) = 8 + 18\).
We are given \( z = f(x,y) = x^2 + y^2 \), with \( x = 2t \) and \( y = 3t \). We need to find \( \frac{dz}{dt} \) using the Multivariable Chain Rule: \( \frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt} \). First, find the partial derivatives of \( z \) with respect to \( x \) and \( y \): \( \frac{\partial z}{\partial x} = 2x \) \( \frac{\partial z}{\partial y} = 2y \) Next, find the derivatives of \( x \) and \( y \) with respect to \( t \): \( \frac{dx}{dt} = 2 \) \( \frac{dy}{dt} = 3 \) Now, substitute these into the chain rule formula: \( \frac{dz}{dt} = (2x)(2) + (2y)(3) = 4x + 6y \). We are asked to find \( \frac{dz}{dt} \) when \( t=1 \). First, find the values of \( x \) and \( y \) when \( t=1 \): \( x = 2(1) = 2 \) \( y = 3(1) = 3 \) Finally, substitute these values of \( x \) and \( y \) into the expression for \( \frac{dz}{dt} \): \( \frac{dz}{dt} \bigg|_{t=1} = 4(2) + 6(3) = 8 + 18 = 26 \).
[Practice 4 · Medium] Consider the vector field \( \mathbf{f}(x, y, z) = \langle 12x,\, 20y,\, 11z \rangle \) on \( \mathbb{R}^3 \). Determine the scalar divergence \( \nabla \cdot \mathbf{f} \).
💡 Hint 1 of 3
Set up the calculation for: The divergence is.
💡 Hint 2 of 3
Write out the unsimplified expression: \(12 + 20 + 11\).
💡 Hint 3 of 3
Perform the arithmetic in \(12 + 20 + 11\) to find the final value.
The divergence is \( 12 + 20 + 11 = 43 \).
Consider the function \( z = f(x,y) = x^2 + y^2 \). Let \( x = 2t \) and \( y = 3t \). Use the Multivariable Chain Rule to find \( \frac{dz}{dt} \) when \( t=1 \).
💡 Hint 1 of 3
We are given \( z = f(x,y) = x^2 + y^2 \), with \( x = 2t \) and \( y = 3t \). We need to find \( \frac{dz}{dt} \) using the Multivariable Chain Rule: \( \frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt} \).
💡 Hint 2 of 3
First, find the partial derivatives of \( z \) with respect to \( x \) and \( y \): \( \frac{\partial z}{\partial x} = 2x \) \( \frac{\partial z}{\partial y} = 2y \).
💡 Hint 3 of 3
Finally, substitute these values of \(x\) and \(y\) into the expression for \(\frac{dz}{dt}\): \(\frac{dz}{dt} \bigg|_{t=1} = 4(2) + 6(3) = 8 + 18\).
We are given \( z = f(x,y) = x^2 + y^2 \), with \( x = 2t \) and \( y = 3t \). We need to find \( \frac{dz}{dt} \) using the Multivariable Chain Rule: \( \frac{dz}{dt} = \frac{\partial z}{\partial x} \frac{dx}{dt} + \frac{\partial z}{\partial y} \frac{dy}{dt} \). First, find the partial derivatives of \( z \) with respect to \( x \) and \( y \): \( \frac{\partial z}{\partial x} = 2x \) \( \frac{\partial z}{\partial y} = 2y \) Next, find the derivatives of \( x \) and \( y \) with respect to \( t \): \( \frac{dx}{dt} = 2 \) \( \frac{dy}{dt} = 3 \) Now, substitute these into the chain rule formula: \( \frac{dz}{dt} = (2x)(2) + (2y)(3) = 4x + 6y \). We are asked to find \( \frac{dz}{dt} \) when \( t=1 \). First, find the values of \( x \) and \( y \) when \( t=1 \): \( x = 2(1) = 2 \) \( y = 3(1) = 3 \) Finally, substitute these values of \( x \) and \( y \) into the expression for \( \frac{dz}{dt} \): \( \frac{dz}{dt} \bigg|_{t=1} = 4(2) + 6(3) = 8 + 18 = 26 \).

The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry — 6-Mark Structured Problem

6 pts No Calculator
For The Multivariable Chain Rule, Directional Derivatives & Gradient Geometry, examine the quadratic-rate model \(f(x) = 2x^2 - 4x + 1\) on \(x \in [0, 3]\).
  1. (a)2 pts
    Compute \(f(0)\) and \(f(2)\).
    Scoring Guideline & Justification
    • [M1] Substitutes x=0 and x=2 (1 pt)
    • [A1] Obtains 1 and 1 (1 pt)
  2. (b)2 pts
    Find the derivative/rate \(f'(x)\) and critical point \(x_c\).
    Scoring Guideline & Justification
    • [M1] Differentiates to 4x - 4 (1 pt)
    • [A1] Solves x_c = 4/4 (1 pt)
  3. (c)2 pts
    Calculate the average rate of change from \(x = 0\) to \(x = 2\).
    Scoring Guideline & Justification
    • [M1] Applies (f(2) - f(0)) / 2 (1 pt)
    • [A1] Evaluates 0 (1 pt)
Complete Worked Solution
(a) \(f(0)=1, f(2)=1\). (b) \(f'(x)=4x-4 \implies x_c = \frac{4}{4}\). (c) Average rate \(= \frac{0}{2} = 0\).
📝 Chapter Quiz