Gradient and directional derivatives
Gradient is commonly used to describe the measure of the slope (derivative) of a function.
For vector-valued function, the gradient is then the Jacobian.
The gradient of a scalar field is a vector field which points in the direction of the greatest rate of increase of the scalar field, and whose magnitude is the greatest rate of change.
The gradient of a function f(x) could be denoted by [tex]grad(f)[/tex] or equivalent by [tex]\nabla f[/tex] where the symbol [tex]\nabla[/tex] is variously known as [tex]Nabla[/tex] or [tex]Del[/tex]
[tex]grad(f) = \nabla f = < f_x, f_y>[/tex] where [tex]f_x[/tex] and [tex]f_y[/tex] are partial derivatives
For example, the gradient of [tex]f (x,y,z) = 2x + {3y}^2 - sin(z)[/tex] is the vector
[tex]\nabla f = ( \frac{ \partial f }{ \partial x^1} + \frac{ \partial f }{ \partial x^2} + \frac{ \partial f }{ \partial x^3} )^T = ( 2, 6y, - cos(z) )^T[/tex]
The directional derivative (in terms of the gradient) [tex]D_{\vec{v}} f[/tex] of a scalar function [tex]f( \vec{x} ) = f(x_i)[/tex] along a vector [tex]\vec{v} = (v_1 ... v_n)^T[/tex] is the function
[tex]D_{\vec{v}} f = \nabla f . \vec{v}[/tex]
where the dot denotes the dot product (Euclidean inner product) , [tex]\nabla f[/tex] the gradient of the function f and [tex]\vec{v}[/tex] a unit vector
Therefore
[tex]D_{\vec{w}} f = \nabla f . \frac{ \vec{w} }{ \vec{| w |} }[/tex]
[tex]\frac{ \vec{w} }{ \vec{| w |} } = <cos (\theta), sin(\theta) >[/tex]
example : [tex]f (x,y) = x^2 + y^2[/tex] and [tex]\vec{v} = <3, 4>[/tex]
The directional derivative is
[tex]\frac{ \vec{v} }{ \vec{| v |} } = \frac{ 1 }{ \sqrt{ 9 + 16} } } <3, 4> = < \frac{3} {5} , \frac{4} {5} >[/tex]
[tex]f_x = 2 x[/tex] and [tex]f_y = 2 y[/tex]
[tex]D_{\vec{v}} f (x,y) = (2 x ) \frac{3} {5} + (2 y ) \frac{4} {5} = \frac{ 6 x + 8 y } {5}[/tex]
At the point [tex](1,2,5)[/tex]
[tex]D_{\vec{v}} f (1,2) = \frac{ 22 } {5}[/tex]
The directional derivative in a general direction is then
[tex]D_{\vec{v}} f = \frac{ d f }{ ds } = \frac{\partial f}{\partial x_1} \frac{d x_1}{ ds } + \frac{\partial f}{\partial x_2} \frac{ d x_2}{ ds }+ \frac{\partial f}{\partial x_3} \frac{ d x_3}{ ds } = f_{x_1} \frac{ d x_1}{ ds } + f_{x_2} \frac{ d x_2}{ ds }+ f_{x_3} \frac{ d x_3}{ ds }[/tex]
If [tex]\frac{ \vec{v} }{ \vec{| v |} } = < \frac{ d x_1}{ ds } , \frac{ d x_2}{ ds } , \frac{ d x_3}{ ds } >[/tex]
[tex]d s[/tex] is called element of arc or element of the curve C and [itex]s[/itex] is called arc length of the curve C.
[tex]\vec{v}[/tex] is a unit vector tangent to the curve C and directed in the direction of growing s
Two points of the curve C at the positions [itex]s[/itex] and [itex](s+h)[/itex], determine a chord whose direction is given by the vector [itex]x(x+h)-x(s)[/itex]
The vector
[tex]\vec{v} Gradient and directional derivatives <br />
<br />
Gradient is commonly used to describe the measure of the slope (derivative) of a function. <br />
<br />
For vector-valued function, the gradient is then the Jacobian.<br />
<br />
The gradient of a scalar field is a vector field which points in the direction of the greatest rate of increase of the scalar field, and whose magnitude is the greatest rate of change.<br />
<br />
The gradient of a function f(x) could be denoted by [tex]grad(f)[/tex] or equivalent by [tex]\nabla f[/tex] where the symbol [tex]\nabla[/tex] is variously known as [tex]Nabla[/tex] or [tex]Del[/tex]<br />
<br />
[tex]grad(f) = \nabla f = < f_x, f_y>[/tex] where [tex]f_x[/tex] and [tex]f_y[/tex] are partial derivatives <br />
<br />
For example, the gradient of [tex]f (x,y,z) = 2x + {3y}^2 - sin(z)[/tex] is the vector <br />
<br />
[tex]\nabla f = ( \frac{ \partial f }{ \partial x^1} + \frac{ \partial f }{ \partial x^2} + \frac{ \partial f }{ \partial x^3} )^T = ( 2, 6y, - cos(z) )^T[/tex]<br />
<br />
The directional derivative (in terms of the gradient) [tex]D_{\vec{v}} f[/tex] of a scalar function [tex]f( \vec{x} ) = f(x_i)[/tex] along a vector [tex]\vec{v} = (v_1 ... v_n)^T[/tex] is the function <br />
<br />
[tex]D_{\vec{v}} f = \nabla f . \vec{v}[/tex]<br />
<br />
where the dot denotes the dot product (Euclidean inner product) , [tex]\nabla f[/tex] the gradient of the function f and [tex]\vec{v}[/tex] a unit vector<br />
<br />
Therefore<br />
<br />
[tex]D_{\vec{w}} f = \nabla f . \frac{ \vec{w} }{ \vec{| w |} }[/tex]<br />
<br />
<br />
[tex]\frac{ \vec{w} }{ \vec{| w |} } = <cos (\theta), sin(\theta) >[/tex]<br />
<br />
example : [tex]f (x,y) = x^2 + y^2[/tex] and [tex]\vec{v} = <3, 4>[/tex] <br />
<br />
The directional derivative is <br />
<br />
[tex]\frac{ \vec{v} }{ \vec{| v |} } = \frac{ 1 }{ \sqrt{ 9 + 16} } } <3, 4> = < \frac{3} {5} , \frac{4} {5} >[/tex]<br />
<br />
[tex]f_x = 2 x[/tex] and [tex]f_y = 2 y[/tex] <br />
<br />
[tex]D_{\vec{v}} f (x,y) = (2 x ) \frac{3} {5} + (2 y ) \frac{4} {5} = \frac{ 6 x + 8 y } {5}[/tex]<br />
<br />
At the point [tex](1,2,5)[/tex]<br />
<br />
[tex]D_{\vec{v}} f (1,2) = \frac{ 22 } {5}[/tex]<br />
<br />
The directional derivative in a general direction is then <br />
<br />
[tex]D_{\vec{v}} f = \frac{ d f }{ ds } = \frac{\partial f}{\partial x_1} \frac{d x_1}{ ds } + \frac{\partial f}{\partial x_2} \frac{ d x_2}{ ds }+ \frac{\partial f}{\partial x_3} \frac{ d x_3}{ ds } = f_{x_1} \frac{ d x_1}{ ds } + f_{x_2} \frac{ d x_2}{ ds }+ f_{x_3} \frac{ d x_3}{ ds }[/tex]<br />
<br />
If [tex]\frac{ \vec{v} }{ \vec{| v |} } = < \frac{ d x_1}{ ds } , \frac{ d x_2}{ ds } , \frac{ d x_3}{ ds } >[/tex]<br />
<br />
[tex]d s[/tex] is called element of arc or element of the curve C and [itex]s[/itex] is called arc length of the curve C.<br />
[tex]\vec{v}[/tex] is a unit vector tangent to the curve C and directed in the direction of growing s<br />
<br />
Two points of the curve C at the positions [itex]s[/itex] and [itex](s+h)[/itex], determine a chord whose direction is given by the vector [itex]x(x+h)-x(s)[/itex] <br />
The vector <br />
[tex]\vec{v} = \liminf_0[/tex][/tex]