How do I find the gradient of a 3D vector?

  • Context: Undergrad 
  • Thread starter Thread starter Saracen Rue
  • Start date Start date
  • Tags Tags
    3d Gradient Vector
Click For Summary

Discussion Overview

The discussion revolves around finding the gradient of a 3D vector, specifically the vector joining two points A(2, 6, 0) and B(3, -1, -2). Participants explore the concept of gradient in three dimensions and its implications for vector representation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant describes how to find the vector AB joining points A and B, expressing uncertainty about how to find the gradient of this vector.
  • Another participant confirms the calculation of vector AB and states that the gradient of a constant vector is a null vector, suggesting that the participant may have meant to ask for the norm of the vector instead.
  • A later reply questions the meaning of "the gradient" of a 3D line, explaining that a line in 3D has three angles with the coordinate axes, making it impossible to represent its direction with a single number.
  • Some participants clarify that while a 3D vector can represent direction, it does not possess a gradient in the traditional sense.
  • One participant shifts the discussion to whether two 3D vectors can be determined to be parallel, prompting a response about scalar multiples.
  • Another participant reiterates that two vectors are parallel if one is a scalar multiple of the other, mentioning the term "anti-parallel" for negative multiples.

Areas of Agreement / Disagreement

Participants generally agree on the interpretation of the gradient in relation to 3D vectors, but there is no consensus on the initial question regarding the gradient of the vector AB. The discussion about parallel vectors also reflects a shared understanding, though it introduces a new line of inquiry.

Contextual Notes

The discussion highlights the limitations of applying 2D concepts of gradient to 3D vectors and the need for clarity in terminology when discussing vector relationships.

Saracen Rue
Messages
150
Reaction score
10
Let's say I have point A(2, 6, 0) and B(3, -1, -2) and wanted to find the gradient of the vector joining these two points. I know how to find the vector representing the line joining these points:

OA = 2i + 6j , OB = 3i - j - 2k

AB = AO + OB
AB = -OA + OB
AB = -(2i + 6j) + 3i - j - 2k
AB = -2i - 6j + 3i - j - 2k
AB = i - 7j - 2k

But I don't know how I could find the gradient of this vector. Any help will be much appreciated.
 
Physics news on Phys.org
You can get \vec{AB} instantly as
\vec{AB}=\vec{OB}-\vec{OA}=(3-2)\vec{i}+(-1-6)\vec{j}+(-2-0)\vec{k}=\vec{i}-7\vec{j}-2\vec{k}

gradient of \vec{AB} means null vector, as \vec{AB} is constant. Maybe you wanted the module, the norm
||\vec{AB}||=\sqrt{1^2+(-7)^2+(-2)^2}=\sqrt{54}=3\sqrt{6}
 
Last edited:
Raffaele said:
You can get \vec{AB} instantly as
\vec{AB}=\vec{OB}-\vec{OA}=(3-2)\vec{i}+(-1-6)\vec{j}+(-2-0)\vec{k}=\vec{i}-7\vec{j}-2\vec{k}

gradient of \vec{AB} means null vector, as \vec{AB} is constant. Maybe you wanted the module, the norm
||\vec{AB}||=\sqrt{1^2+(-7)^2+(-2)^2}=\sqrt{54}=3\sqrt{6}

Thanks for that first part, it should make things a little easier ^_^

I think I may have asked the question wrong. Let me try to rephrase it; it you have\vec{AB}, how would you find the gradient of the line AB.
 
What do you mean by "the gradient" of a 3D line? A line in 2 dimensions makes a single angle with the x-axis (and its angle with the y-axis is the conjugate of that) so we can take the tangent of that angle as the single number representing its direction, its "gradient".

But a line in 3 dimensions makes three different angle with the coordinate axes, the "direction cosines" for the line (and the sum of the squares of those cosines is 1) so we cannot have a single number that tells us the direction of the line. The best we can do is take those three direction cosines as components of a 3 d vector.


In particular, while a 3D vector may be a gradient vector for a line, a 3D vector does NOT "have" a gradient.
 
HallsofIvy said:
What do you mean by "the gradient" of a 3D line? A line in 2 dimensions makes a single angle with the x-axis (and its angle with the y-axis is the conjugate of that) so we can take the tangent of that angle as the single number representing its direction, its "gradient".

But a line in 3 dimensions makes three different angle with the coordinate axes, the "direction cosines" for the line (and the sum of the squares of those cosines is 1) so we cannot have a single number that tells us the direction of the line. The best we can do is take those three direction cosines as components of a 3 d vector.


In particular, while a 3D vector may be a gradient vector for a line, a 3D vector does NOT "have" a gradient.

Oh okay, thank you. If that's the case, is it possible to determine if two 3D vectors are parallel to each other or not?
 
Is one a scalar multiple of the other?
 
As JonnyG suggests, two vectors, in any dimension, are "parallel" if and only if one is a multiple of the other. (Sometimes the word "anti-parallel" is used if that multiple is negative.)
 

Similar threads

Replies
18
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
Replies
20
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 24 ·
Replies
24
Views
5K
  • · Replies 5 ·
Replies
5
Views
8K