Understanding Gradient Vector of Scalar Field (grad)

Click For Summary
SUMMARY

The gradient vector of a scalar field, denoted as grad, represents the direction of the greatest increase of a scalar function in a 2D or 3D space. In a 2D space defined by a scalar function f(x,y), the gradient is a 2D vector that points in the x-y plane, indicating the direction of maximum change. It is crucial to distinguish between the gradient of the scalar function and the gradient of a level surface, as they represent different concepts. The gradient vector is not perpendicular to the 3D surface but rather lies within the plane of the scalar field.

PREREQUISITES
  • Understanding of scalar fields and scalar functions
  • Familiarity with vector calculus concepts
  • Knowledge of 2D and 3D coordinate systems
  • Basic comprehension of level surfaces and their gradients
NEXT STEPS
  • Study the mathematical definition of the gradient vector in vector calculus
  • Learn about the relationship between gradients and level surfaces
  • Explore visualizations of scalar fields and their gradients using tools like MATLAB or Python's Matplotlib
  • Investigate applications of gradient vectors in optimization problems
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are seeking to deepen their understanding of gradient vectors in scalar fields and their applications in various fields.

paul_harris77
Messages
50
Reaction score
0
Dear All

I am having trouble understanding the gradient vector of a scalar field (grad).

I understand that you can have a 2D/3D space with each point within that space having a scalar value, determined by a scalar function, creating a scalar field. The grad vector is supposed to point in the direction of the greatest change of the scalar function at a specific point in space. What I am stuck on is the direction of the gradient vector that grad gives you.

As an example, (see image below), say there is a 2D space in the x,y domain and a 2D scalar function, f(x,y). The scalar function produces a 3D surface when plotted against x and y as shown in the image below.

Text books tell you that at a specific point in space the grad vector points in the direction of the greatest change of the scalar function. But it also states that this is perpendicular to the 3d surface tangent plane at this point.

If the later point is true, then surely grad would output a 3d gradient vector, as I cannot see how it can be perpendicular to a 3d surface otherwise. However, I know the grad function is meant to output a 2d gradient vector as it uses a 2d scalar function in this case.

On the wikipedia image below, you can see that the grad vectors are in the 2D x-y plane but they are not perpendicular to the surface at that point (or else they would be pointing up or down too).

I am sure I am misinterpreting this somewhere, but I can't figure out where!

Any help would be greatly appreciated

Many thanks

Paul


800px-Gradient99.png
 
Physics news on Phys.org
paul_harris77 said:
Dear All

I am having trouble understanding the gradient vector of a scalar field (grad).

I understand that you can have a 2D/3D space with each point within that space having a scalar value, determined by a scalar function, creating a scalar field. The grad vector is supposed to point in the direction of the greatest change of the scalar function at a specific point in space. What I am stuck on is the direction of the gradient vector that grad gives you.

As an example, (see image below), say there is a 2D space in the x,y domain and a 2D scalar function, f(x,y). The scalar function produces a 3D surface when plotted against x and y as shown in the image below.

Text books tell you that at a specific point in space the grad vector points in the direction of the greatest change of the scalar function. But it also states that this is perpendicular to the 3d surface tangent plane at this point.
No, it doesn't (or 'they don't' if your subject is still "Text books"!) If you are thinking of z as a function of x and y, z= f(x,y), then grad z= grad f= f_x\vec{i}+ f_y\vec{j} is a two dimensional vector that points in the direction, in the x, y plane, in which the function f increases fastest.

If you are thinking of the surface as a "level surface" for some function F(x, y, z)= z- f(x,y)= constant, then \grad F= -f_x\vec{i}- f_y\vec{j}+ \vec{k} points perpendicular to the surface.

But those are completely different ways of thinking about z= f(x,y) and the gradients are of different functions.

If the later point is true, then surely grad would output a 3d gradient vector, as I cannot see how it can be perpendicular to a 3d surface otherwise. However, I know the grad function is meant to output a 2d gradient vector as it uses a 2d scalar function in this case.

On the wikipedia image below, you can see that the grad vectors are in the 2D x-y plane but they are not perpendicular to the surface at that point (or else they would be pointing up or down too).

I am sure I am misinterpreting this somewhere, but I can't figure out where!

Any help would be greatly appreciated

Many thanks

Paul


800px-Gradient99.png
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K