Throughout, the arithmetic and order of R \mathbb{R} R are used through The Structure of ℝ as a Field and an Ordered Ring (i) , The Structure of ℝ as a Field and an Ordered Ring (ii) , Arithmetic and Order Rules in the Real Numbers, Stated for ℝ (v) , Arithmetic and Order Rules in the Real Numbers, Stated for ℝ (ix) , Rules of Arithmetic and Order in an Ordered Field (iii) and The Quotient 1/x, Order Rules for Sums, and Nesting of Closed Intervals in ℝ (i) ; norms and distances in R n \mathbb{R}^{n} R n through Properties of the Euclidean Norm on R n \mathbb{R}^n R n : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (ii) , Properties of the Euclidean Norm on R n \mathbb{R}^n R n : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (v) , Properties of the Euclidean Norm on R n \mathbb{R}^n R n : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (vi) and Standard Basis Vectors of ℝ^q: Coordinates, Orthonormality and Unit Length (iii) ; and the metric spaces ( R n , d E ) (\mathbb{R}^{n},d_{E}) ( R n , d E ) and ( R , d R ) (\mathbb{R},d_{\mathbb{R}}) ( R , d R ) through R n \mathbb{R}^n R n with the Euclidean Distance Is a Complete Metric Space with Coordinatewise Convergence (i) and The Absolute Value Metric on the Real Numbers (i) . By The Derivative Is the Jacobian Matrix, and Is Unique (ii) and The Derivative Is the Jacobian Matrix, and Is Unique (i) , a function φ \varphi φ differentiable at a point x x x is differentiable there with derivative matrix D φ ( x ) D\varphi(x) D φ ( x ) , or with derivative vector ∇ φ ( x ) \nabla\varphi(x) ∇ φ ( x ) when it is real-valued, and with no other. So in (i) and (ii) it suffices to exhibit a derivative matrix or a derivative vector of g ∘ f g\circ f g ∘ f at a a a , in the sense of Differentiability at a Point for Functions Between Euclidean Spaces (i) or Differentiability at a Point for Functions Between Euclidean Spaces (ii) ; it is then D ( g ∘ f ) ( a ) D(g\circ f)(a) D ( g ∘ f ) ( a ) or ∇ ( g ∘ f ) ( a ) \nabla(g\circ f)(a) ∇ ( g ∘ f ) ( a ) .
Step 1 ((i) ). Write b = f ( a ) b=f(a) b = f ( a ) , A = D f ( a ) A=Df(a) A = D f ( a ) and B = D g ( b ) B=Dg(b) B = D g ( b ) , so that f f f is differentiable at a a a with derivative matrix A A A and g g g is differentiable at b b b with derivative matrix B B B . For h ∈ R n h\in\mathbb{R}^{n} h ∈ R n with a + h ∈ U a+h\in U a + h ∈ U put
k ( h ) = f ( a + h ) − f ( a ) , u ( h ) = f ( a + h ) − f ( a ) − A h , k(h)=f(a+h)-f(a),\qquad u(h)=f(a+h)-f(a)-Ah, k ( h ) = f ( a + h ) − f ( a ) , u ( h ) = f ( a + h ) − f ( a ) − A h ,
and for κ ∈ R m \kappa\in\mathbb{R}^{m} κ ∈ R m with b + κ ∈ V b+\kappa\in V b + κ ∈ V put v ( κ ) = g ( b + κ ) − g ( b ) − B κ v(\kappa)=g(b+\kappa)-g(b)-B\kappa v ( κ ) = g ( b + κ ) − g ( b ) − B κ . Since b + k ( h ) = f ( a + h ) ∈ V b+k(h)=f(a+h)\in V b + k ( h ) = f ( a + h ) ∈ V , the vector v ( k ( h ) ) v(k(h)) v ( k ( h )) is defined, and since k ( h ) = A h + u ( h ) k(h)=Ah+u(h) k ( h ) = A h + u ( h ) , the rules ( B A ) h = B ( A h ) (BA)h=B(Ah) ( B A ) h = B ( A h ) and B ( x + y ) = B x + B y B(x+y)=Bx+By B ( x + y ) = B x + B y of Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (v) give
g ( f ( a + h ) ) − g ( f ( a ) ) − ( B A ) h = v ( k ( h ) ) + B u ( h ) . g\bigl(f(a+h)\bigr)-g\bigl(f(a)\bigr)-(BA)h=v\bigl(k(h)\bigr)+B\,u(h). g ( f ( a + h ) ) − g ( f ( a ) ) − ( B A ) h = v ( k ( h ) ) + B u ( h ) .
The remainder of g ∘ f g\circ f g ∘ f thus splits into the remainder of g g g at the increment k ( h ) k(h) k ( h ) of f f f , which is small compared with ∥ k ( h ) ∥ \lVert k(h)\rVert ∥ k ( h )∥ and hence with ∥ h ∥ \lVert h\rVert ∥ h ∥ , and the image under B B B of the remainder of f f f . Let ε > 0 \varepsilon>0 ε > 0 . We choose, in this order: the tolerance η = ε / ( ∥ A ∥ + ∥ B ∥ + 1 ) > 0 \eta=\varepsilon/(\lVert A\rVert+\lVert B\rVert+1)>0 η = ε / (∥ A ∥ + ∥ B ∥ + 1 ) > 0 ; a δ g > 0 \delta_{g}>0 δ g > 0 given by Differentiability at a Point for Functions Between Euclidean Spaces (i) for g g g at b b b with tolerance η \eta η , so that every κ \kappa κ with ∥ κ ∥ < δ g \lVert\kappa\rVert<\delta_{g} ∥ κ ∥ < δ g satisfies b + κ ∈ V b+\kappa\in V b + κ ∈ V and ∥ v ( κ ) ∥ ≤ η ∥ κ ∥ \lVert v(\kappa)\rVert\le\eta\lVert\kappa\rVert ∥ v ( κ )∥ ≤ η ∥ κ ∥ ; a δ 0 > 0 \delta_{0}>0 δ 0 > 0 given by Differentiable Functions Are Continuous (ii) for f f f at a a a , so that every h h h with ∥ h ∥ < δ 0 \lVert h\rVert<\delta_{0} ∥ h ∥ < δ 0 satisfies a + h ∈ U a+h\in U a + h ∈ U and
∥ k ( h ) ∥ ≤ ( ∥ A ∥ + 1 ) ∥ h ∥ ; \lVert k(h)\rVert\le\bigl(\lVert A\rVert+1\bigr)\lVert h\rVert; ∥ k ( h )∥ ≤ ( ∥ A ∥ + 1 ) ∥ h ∥ ;
and a δ f > 0 \delta_{f}>0 δ f > 0 given by Differentiability at a Point for Functions Between Euclidean Spaces (i) for f f f at a a a with tolerance η \eta η , so that every h h h with ∥ h ∥ < δ f \lVert h\rVert<\delta_{f} ∥ h ∥ < δ f satisfies ∥ u ( h ) ∥ ≤ η ∥ h ∥ \lVert u(h)\rVert\le\eta\lVert h\rVert ∥ u ( h )∥ ≤ η ∥ h ∥ . Set
δ = min ( δ 0 , δ f , δ g ∥ A ∥ + 1 ) . \delta=\min\Bigl(\delta_{0},\delta_{f},\frac{\delta_{g}}{\lVert A\rVert+1}\Bigr). δ = min ( δ 0 , δ f , ∥ A ∥ + 1 δ g ) .
Let ∥ h ∥ < δ \lVert h\rVert<\delta ∥ h ∥ < δ . Then a + h ∈ U a+h\in U a + h ∈ U and ∥ k ( h ) ∥ ≤ ( ∥ A ∥ + 1 ) ∥ h ∥ < δ g \lVert k(h)\rVert\le(\lVert A\rVert+1)\lVert h\rVert<\delta_{g} ∥ k ( h )∥ ≤ (∥ A ∥ + 1 ) ∥ h ∥ < δ g , so ∥ v ( k ( h ) ) ∥ ≤ η ∥ k ( h ) ∥ ≤ η ( ∥ A ∥ + 1 ) ∥ h ∥ \lVert v(k(h))\rVert\le\eta\lVert k(h)\rVert\le\eta(\lVert A\rVert+1)\lVert h\rVert ∥ v ( k ( h ))∥ ≤ η ∥ k ( h )∥ ≤ η (∥ A ∥ + 1 ) ∥ h ∥ , while ∥ B u ( h ) ∥ ≤ ∥ B ∥ ∥ u ( h ) ∥ ≤ ∥ B ∥ η ∥ h ∥ \lVert B\,u(h)\rVert\le\lVert B\rVert\,\lVert u(h)\rVert\le\lVert B\rVert\,\eta\lVert h\rVert ∥ B u ( h )∥ ≤ ∥ B ∥ ∥ u ( h )∥ ≤ ∥ B ∥ η ∥ h ∥ by Rules for the Operator Norm: Bound, Least Constant, Definiteness, Homogeneity, Triangle Inequality and Products (ii) . The identity above and Properties of the Euclidean Norm on R n \mathbb{R}^n R n : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (vi) give
∥ g ( f ( a + h ) ) − g ( f ( a ) ) − ( B A ) h ∥ ≤ η ( ∥ A ∥ + 1 ) ∥ h ∥ + η ∥ B ∥ ∥ h ∥ = ε ∥ h ∥ . \bigl\lVert g\bigl(f(a+h)\bigr)-g\bigl(f(a)\bigr)-(BA)h\bigr\rVert\le\eta\bigl(\lVert A\rVert+1\bigr)\lVert h\rVert+\eta\lVert B\rVert\,\lVert h\rVert=\varepsilon\lVert h\rVert . g ( f ( a + h ) ) − g ( f ( a ) ) − ( B A ) h ≤ η ( ∥ A ∥ + 1 ) ∥ h ∥ + η ∥ B ∥ ∥ h ∥ = ε ∥ h ∥ .
So g ∘ f g\circ f g ∘ f is differentiable at a a a with derivative matrix B A BA B A , and D ( g ∘ f ) ( a ) = B A = D g ( f ( a ) ) D f ( a ) D(g\circ f)(a)=BA=Dg(f(a))\,Df(a) D ( g ∘ f ) ( a ) = B A = D g ( f ( a )) D f ( a ) .
Step 2 ((ii) ). Now g g g is real-valued. Keep b b b , A A A , k ( h ) k(h) k ( h ) and u ( h ) u(h) u ( h ) from Step 1, let w = ∇ g ( b ) w=\nabla g(b) w = ∇ g ( b ) , and for b + κ ∈ V b+\kappa\in V b + κ ∈ V put v ( κ ) = g ( b + κ ) − g ( b ) − w ⋅ κ v(\kappa)=g(b+\kappa)-g(b)-w\cdot\kappa v ( κ ) = g ( b + κ ) − g ( b ) − w ⋅ κ . The identity w ⋅ ( A h ) = ( A ⊤ w ) ⋅ h w\cdot(Ah)=(A^{\top}w)\cdot h w ⋅ ( A h ) = ( A ⊤ w ) ⋅ h (Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (viii) with The Dot Product on R n \mathbb{R}^n R n Is Symmetric, Bilinear and Positive Definite (i) ) and the linearity w ⋅ ( A h + u ) = w ⋅ A h + w ⋅ u w\cdot(Ah+u)=w\cdot Ah+w\cdot u w ⋅ ( A h + u ) = w ⋅ A h + w ⋅ u (The Dot Product on R n \mathbb{R}^n R n Is Symmetric, Bilinear and Positive Definite (iii) ) give
g ( f ( a + h ) ) − g ( f ( a ) ) − ( A ⊤ w ) ⋅ h = v ( k ( h ) ) + w ⋅ u ( h ) , g\bigl(f(a+h)\bigr)-g\bigl(f(a)\bigr)-(A^{\top}w)\cdot h=v\bigl(k(h)\bigr)+w\cdot u(h), g ( f ( a + h ) ) − g ( f ( a ) ) − ( A ⊤ w ) ⋅ h = v ( k ( h ) ) + w ⋅ u ( h ) ,
and the Cauchy--Schwarz inequality The Cauchy-Schwarz Inequality on R n \mathbb{R}^n R n (i) bounds the last term by
∣ w ⋅ u ( h ) ∣ ≤ ∥ w ∥ ∥ u ( h ) ∥ . |w\cdot u(h)|\le\lVert w\rVert\,\lVert u(h)\rVert . ∣ w ⋅ u ( h ) ∣ ≤ ∥ w ∥ ∥ u ( h )∥ .
Given ε > 0 \varepsilon>0 ε > 0 , the choices of Step 1 are made in the same order, with ∥ w ∥ \lVert w\rVert ∥ w ∥ in place of ∥ B ∥ \lVert B\rVert ∥ B ∥ , so η = ε / ( ∥ A ∥ + ∥ w ∥ + 1 ) \eta=\varepsilon/(\lVert A\rVert+\lVert w\rVert+1) η = ε / (∥ A ∥ + ∥ w ∥ + 1 ) , and with δ g \delta_{g} δ g now given by Differentiability at a Point for Functions Between Euclidean Spaces (ii) for g g g at b b b with tolerance η \eta η . The same estimate yields ∣ g ( f ( a + h ) ) − g ( f ( a ) ) − ( A ⊤ w ) ⋅ h ∣ ≤ ε ∥ h ∥ |g(f(a+h))-g(f(a))-(A^{\top}w)\cdot h|\le\varepsilon\lVert h\rVert ∣ g ( f ( a + h )) − g ( f ( a )) − ( A ⊤ w ) ⋅ h ∣ ≤ ε ∥ h ∥ whenever ∥ h ∥ < δ \lVert h\rVert<\delta ∥ h ∥ < δ . So A ⊤ w A^{\top}w A ⊤ w is a derivative vector of g ∘ f g\circ f g ∘ f at a a a , and ∇ ( g ∘ f ) ( a ) = D f ( a ) ⊤ ∇ g ( f ( a ) ) \nabla(g\circ f)(a)=Df(a)^{\top}\nabla g(f(a)) ∇ ( g ∘ f ) ( a ) = D f ( a ) ⊤ ∇ g ( f ( a )) .
Step 3 ((iii) ). Write x = γ ( t ) x=\gamma(t) x = γ ( t ) , c = γ ′ ( t ) c=\gamma'(t) c = γ ′ ( t ) and A = D f ( x ) A=Df(x) A = D f ( x ) . For s ∈ I s\in I s ∈ I with s ≠ t s\neq t s = t put
h ( s ) = γ ( s ) − γ ( t ) , z ( s ) = h ( s ) s − t − c , h(s)=\gamma(s)-\gamma(t),\qquad z(s)=\frac{h(s)}{s-t}-c, h ( s ) = γ ( s ) − γ ( t ) , z ( s ) = s − t h ( s ) − c ,
so that γ ( s ) = x + h ( s ) \gamma(s)=x+h(s) γ ( s ) = x + h ( s ) , and by Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (v)
f ( γ ( s ) ) − f ( γ ( t ) ) s − t − A c = f ( x + h ( s ) ) − f ( x ) − A h ( s ) s − t + A z ( s ) . \frac{f(\gamma(s))-f(\gamma(t))}{s-t}-Ac=\frac{f(x+h(s))-f(x)-Ah(s)}{s-t}+A\,z(s). s − t f ( γ ( s )) − f ( γ ( t )) − A c = s − t f ( x + h ( s )) − f ( x ) − A h ( s ) + A z ( s ) .
The first term is the remainder of f f f at x x x divided by s − t s-t s − t ; the second is small because the difference quotients of γ \gamma γ tend to c c c . Let ε > 0 \varepsilon>0 ε > 0 . We choose, in this order: the tolerance η = ε / ( 2 ( ∥ c ∥ + 1 ) ) \eta=\varepsilon/(2(\lVert c\rVert+1)) η = ε / ( 2 (∥ c ∥ + 1 )) ; a δ f > 0 \delta_{f}>0 δ f > 0 given by Differentiability at a Point for Functions Between Euclidean Spaces (i) for f f f at x x x with tolerance η \eta η ; a δ 1 > 0 \delta_{1}>0 δ 1 > 0 given by The Derivative of a Vector-Valued Function as a Limit of Difference Quotients in Norm (i) for γ \gamma γ at t t t with tolerance min ( 1 , ε / ( 2 ( ∥ A ∥ + 1 ) ) ) \min\bigl(1,\varepsilon/(2(\lVert A\rVert+1))\bigr) min ( 1 , ε / ( 2 (∥ A ∥ + 1 )) ) , so that ∥ z ( s ) ∥ \lVert z(s)\rVert ∥ z ( s )∥ is below this tolerance whenever s ∈ I s\in I s ∈ I and 0 < ∣ s − t ∣ < δ 1 0<|s-t|<\delta_{1} 0 < ∣ s − t ∣ < δ 1 ; and
δ = min ( δ 1 , δ f ∥ c ∥ + 1 ) . \delta=\min\Bigl(\delta_{1},\frac{\delta_{f}}{\lVert c\rVert+1}\Bigr). δ = min ( δ 1 , ∥ c ∥ + 1 δ f ) .
Let s ∈ I s\in I s ∈ I with 0 < ∣ s − t ∣ < δ 0<|s-t|<\delta 0 < ∣ s − t ∣ < δ . Then ∥ z ( s ) ∥ < 1 \lVert z(s)\rVert<1 ∥ z ( s )∥ < 1 , and since h ( s ) = ( s − t ) ( c + z ( s ) ) h(s)=(s-t)\bigl(c+z(s)\bigr) h ( s ) = ( s − t ) ( c + z ( s ) ) , Properties of the Euclidean Norm on R n \mathbb{R}^n R n : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (vi) and Properties of the Euclidean Norm on R n \mathbb{R}^n R n : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (v) give
∥ h ( s ) ∥ ≤ ( ∥ c ∥ + 1 ) ∣ s − t ∣ < δ f . \lVert h(s)\rVert\le\bigl(\lVert c\rVert+1\bigr)|s-t|<\delta_{f}. ∥ h ( s )∥ ≤ ( ∥ c ∥ + 1 ) ∣ s − t ∣ < δ f .
Hence ∥ f ( x + h ( s ) ) − f ( x ) − A h ( s ) ∥ ≤ η ∥ h ( s ) ∥ ≤ η ( ∥ c ∥ + 1 ) ∣ s − t ∣ \lVert f(x+h(s))-f(x)-Ah(s)\rVert\le\eta\lVert h(s)\rVert\le\eta(\lVert c\rVert+1)|s-t| ∥ f ( x + h ( s )) − f ( x ) − A h ( s )∥ ≤ η ∥ h ( s )∥ ≤ η (∥ c ∥ + 1 ) ∣ s − t ∣ , and the first term has norm at most η ( ∥ c ∥ + 1 ) = ε / 2 \eta(\lVert c\rVert+1)=\varepsilon/2 η (∥ c ∥ + 1 ) = ε /2 . By Rules for the Operator Norm: Bound, Least Constant, Definiteness, Homogeneity, Triangle Inequality and Products (ii) the second term has norm at most ∥ A ∥ ∥ z ( s ) ∥ ≤ ∥ A ∥ ε / ( 2 ( ∥ A ∥ + 1 ) ) < ε / 2 \lVert A\rVert\,\lVert z(s)\rVert\le\lVert A\rVert\,\varepsilon/(2(\lVert A\rVert+1))<\varepsilon/2 ∥ A ∥ ∥ z ( s )∥ ≤ ∥ A ∥ ε / ( 2 (∥ A ∥ + 1 )) < ε /2 . So
∥ f ( γ ( s ) ) − f ( γ ( t ) ) s − t − A c ∥ < ε , \Bigl\lVert\frac{f(\gamma(s))-f(\gamma(t))}{s-t}-Ac\Bigr\rVert<\varepsilon , s − t f ( γ ( s )) − f ( γ ( t )) − A c < ε ,
and The Derivative of a Vector-Valued Function as a Limit of Difference Quotients in Norm (i) , applied to f ∘ γ f\circ\gamma f ∘ γ and A c Ac A c , shows that f ∘ γ f\circ\gamma f ∘ γ is differentiable at t t t with ( f ∘ γ ) ′ ( t ) = A c = D f ( γ ( t ) ) γ ′ ( t ) (f\circ\gamma)'(t)=Ac=Df(\gamma(t))\,\gamma'(t) ( f ∘ γ ) ′ ( t ) = A c = D f ( γ ( t )) γ ′ ( t ) .
Step 4 ((iv) ). Now f f f is real-valued. Keep x x x , c c c , h ( s ) h(s) h ( s ) and z ( s ) z(s) z ( s ) from Step 3 and let w = ∇ f ( x ) w=\nabla f(x) w = ∇ f ( x ) . Since w ⋅ h ( s ) s − t − w ⋅ c = w ⋅ z ( s ) w\cdot\frac{h(s)}{s-t}-w\cdot c=w\cdot z(s) w ⋅ s − t h ( s ) − w ⋅ c = w ⋅ z ( s ) by The Dot Product on R n \mathbb{R}^n R n Is Symmetric, Bilinear and Positive Definite (iii) ,
f ( γ ( s ) ) − f ( γ ( t ) ) s − t − w ⋅ c = f ( x + h ( s ) ) − f ( x ) − w ⋅ h ( s ) s − t + w ⋅ z ( s ) , \frac{f(\gamma(s))-f(\gamma(t))}{s-t}-w\cdot c=\frac{f(x+h(s))-f(x)-w\cdot h(s)}{s-t}+w\cdot z(s), s − t f ( γ ( s )) − f ( γ ( t )) − w ⋅ c = s − t f ( x + h ( s )) − f ( x ) − w ⋅ h ( s ) + w ⋅ z ( s ) ,
and ∣ w ⋅ z ( s ) ∣ ≤ ∥ w ∥ ∥ z ( s ) ∥ |w\cdot z(s)|\le\lVert w\rVert\,\lVert z(s)\rVert ∣ w ⋅ z ( s ) ∣ ≤ ∥ w ∥ ∥ z ( s )∥ by The Cauchy-Schwarz Inequality on R n \mathbb{R}^n R n (i) . Given ε > 0 \varepsilon>0 ε > 0 , the choices of Step 3 are made in the same order, with ∥ w ∥ \lVert w\rVert ∥ w ∥ in place of ∥ A ∥ \lVert A\rVert ∥ A ∥ and with δ f \delta_{f} δ f now given by the remainder estimate of Differentiability at a Point for Functions Between Euclidean Spaces (ii) for f f f at x x x with tolerance η \eta η . As in Step 3 the first term has absolute value at most ε / 2 \varepsilon/2 ε /2 , and by The Cauchy-Schwarz Inequality on R n \mathbb{R}^n R n (i) the second has absolute value at most ∥ w ∥ ∥ z ( s ) ∥ ≤ ∥ w ∥ ε / ( 2 ( ∥ w ∥ + 1 ) ) < ε / 2 \lVert w\rVert\,\lVert z(s)\rVert\le\lVert w\rVert\,\varepsilon/(2(\lVert w\rVert+1))<\varepsilon/2 ∥ w ∥ ∥ z ( s )∥ ≤ ∥ w ∥ ε / ( 2 (∥ w ∥ + 1 )) < ε /2 . So every s ∈ I s\in I s ∈ I with 0 < ∣ s − t ∣ < δ 0<|s-t|<\delta 0 < ∣ s − t ∣ < δ satisfies
∣ f ( γ ( s ) ) − f ( γ ( t ) ) s − t − w ⋅ c ∣ < ε . \Bigl|\frac{f(\gamma(s))-f(\gamma(t))}{s-t}-w\cdot c\Bigr|<\varepsilon . s − t f ( γ ( s )) − f ( γ ( t )) − w ⋅ c < ε .
This is the condition of Derivative of a Real Function on an Interval (i) itself: w ⋅ c w\cdot c w ⋅ c is a derivative of f ∘ γ f\circ\gamma f ∘ γ at t t t , so f ∘ γ f\circ\gamma f ∘ γ is differentiable at t t t and, the derivative being unique (Derivative of a Real Function on an Interval (ii) ), ( f ∘ γ ) ′ ( t ) = ∇ f ( γ ( t ) ) ⋅ γ ′ ( t ) (f\circ\gamma)'(t)=\nabla f(\gamma(t))\cdot\gamma'(t) ( f ∘ γ ) ′ ( t ) = ∇ f ( γ ( t )) ⋅ γ ′ ( t ) .