Mathematical analysis_spatial geometry-the relationship between normal vector and gradient

The relationship between normal vector and gradient

First, give a conclusion: the normal vector of the surface is the gradient of the ternary function, and the normal vector of the curve is the gradient of the binary function.

w = F ( x , y , z ) w = F(x,y,z) w=F(x,and ,z ) is a ternary functionw = 0 w = 0w=0 means a contour surface (curved surface), and its two sides are fully differentiated to obtain ∂ F ∂ xdx + ∂ F ∂ ydy + ∂ F ∂ zdz = 0 \dfrac{\partial F}{\partial x}dx+\dfrac{\ partial F}{\partial y}dy+\dfrac{\partial F}{\partial z}dz = 0xFdx+yFd y+zFdz=0 can be further written as(∂ F ∂ x, ∂ F ∂ y, ∂ F ∂ z) ⋅ (dx, dy, dz) = 0 (\dfrac(\partial F)(\partial x),\dfrac(\partial F }{\partial y},\dfrac{\partial F}{\partial z})·(dx,dy,dz) = 0(xF,yF,zF)(dx,d y ,dz)=0 The two vectors are orthogonal to each other, because(dx, dy, dz) (dx,dy,dz)(dx,d y ,d z ) is the tangent vector of the surface, then(∂ F ∂ x, ∂ F ∂ y, ∂ F ∂ z) (\dfrac{\partial F}{\partial x},\dfrac{\partial F}{\partial y},\dfrac{\partial F}{\partial z})(xF,yF,zF) Must beSurface normal vector, And it is still w = F (x, y, z) w = F(x,y,z)w=F(x,and ,z ) gradient.

Notably, the gradient is a multi-function fastest changing direction (gradient or direction when taking the maximum derivative), in the ternary function, the gradient Grad WWw points towwThe direction where w changes the most, notzzThe direction in which z changes the most.

Many beginners do not understand the concept of gradient well, and mistake the gradient here for pointing to zzIn the direction where z changes the most, draw a curved surface and draw its normal vector at the same time. It is found that the normal vector is not pointing tozzThe direction of z change.
This is because the gradient is for the function, the ternary function is the three independent variables, and the function value iswww , thusgrad www points towwThe direction in which w changes the most.

But! If it is a binary function z = F (x, y) z = F(x,y)with=F(x,y ) , its gradientgrad zzz points tozzThe direction in which z changes the most, it also serves asz = 0 z = 0with=0 ofCurve normal vector(Because z = 0 z = 0with=0 means a contour line)

The normal vector is intuitive, and the gradient is abstract. From the above analysis, we should understand the gradient more intuitively from the relationship between the normal vector and the gradient:

the gradient of the binary function is the normal vector of the curve (contour), the normal vector It is two-dimensional and lies on the plane, so the gradient is also on the plane, while the binary function is three-dimensional, and the gradient is one dimension lower than the function.
The gradient of the ternary function is the normal vector of the curved surface (climbing surface). The normal vector is three-dimensional and located in space, so the gradient is also located in space. The ternary function is four-dimensional, and the gradient is one dimension lower than the function.

Guess you like

Origin blog.csdn.net/weixin_44823313/article/details/108949552