What Happens When You Divide a Vector by Its Zero Magnitude?

  • Context: Graduate 
  • Thread starter Thread starter yungman
  • Start date Start date
  • Tags Tags
    Vector
Click For Summary

Discussion Overview

The discussion centers on the implications of dividing a vector by its magnitude when that magnitude is zero. Participants explore theoretical aspects of vector normalization, particularly in the context of the zero vector, and reference a specific equation from a PDE textbook regarding Green's functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions the definition of the unit vector when the vector's magnitude is zero, suggesting that \hat{0} is not defined and likening it to division by zero.
  • Another participant references a PDE textbook, presenting an equation involving Green's functions and questioning the validity of the results if the zero vector is treated as a unit vector.
  • Some participants argue that division by zero is undefined, asserting that any calculations leading to such a division indicate an earlier mistake.
  • There is a discussion about the implications of the zero vector in normalization, with one participant stating that the zero vector cannot be normalized due to the absence of direction.
  • Several participants express confusion regarding the textbook's treatment of the zero vector in the context of the equations presented.

Areas of Agreement / Disagreement

Participants generally disagree on the treatment of the zero vector and the implications of dividing by zero in vector normalization. There is no consensus on the validity of the textbook's claims or the resolution of the mathematical issues raised.

Contextual Notes

Participants note the potential for earlier mistakes in calculations leading to undefined operations. The discussion highlights the need for careful consideration of definitions and conditions when dealing with vectors and their magnitudes.

yungman
Messages
5,741
Reaction score
291
Let [itex]\vec{A}[/itex] be a vector with length [itex]|\vec{ A}|[/itex]

[tex]\hat{A} \;=\; \frac{\vec{A}}{|\vec{ A}|}[/tex]

1) What is [tex]\frac{\vec{A}}{|\vec{ A}|}[/tex] If [itex]|\vec{A}|[/itex] = 0?

2) What is [tex]|\frac{\vec{A}}{|\vec{ A}|}|[/tex] If [itex]|\vec{A}|[/itex] = 0?

My answer for 1) is [itex]\hat{A}[/itex] and 2) equal to 1

Please tell me why?
 
Last edited:
Physics news on Phys.org
Well, the only vector whose length is zero, is the zero vector ([tex]\vec 0[/tex]).
And the one vector that you can't stretch or shrink to unit length, is the unit vector.
So IMO, [tex]\hat 0[/tex] is not defined and the answers to both your questions are basically the same as the answer to "what is x / 0?".

By the way, how do you mean "please tell me why." Should we tell you why you answered A and 1?
 
This is from PDE book by Strauss p194. On the Green's function on a sphere.

The equation is:

[tex]G(\vec{x},\vec{x_0}) = -\frac{1}{4\pi \left\|\vec{x} -\vec{x_0}\right\|} + \frac{1}{4\pi \left\|\frac{r_0}{a} \vec{x} -\frac{a}{r_0}\vec{x_0}\right\|}[/tex]

The book gave

[tex]G(\vec{x},0) = -\frac{1}{4\pi \left\|\vec{x} \right\|} + \frac{1}{4\pi a}[/tex]

when [itex]\vec{x_0}=0[/itex]

If what you said is true, this will not be correct.

Please help.
 
yungman said:
This is from PDE book by Strauss p194. On the Green's function on a sphere.

The equation is:

[tex]G(\vec{x},\vec{x_0}) = -\frac{1}{4\pi \left\|\vec{x} -\vec{x_0}\right\|} + \frac{1}{4\pi \left\|\frac{r_0}{a} \vec{x} -\frac{a}{r_0}\vec{x_0}\right\|}[/tex]

The book gave

[tex]G(\vec{x},0) = -\frac{1}{4\pi \left\|\vec{x} \right\|} + \frac{1}{4\pi a}[/tex]

when [itex]\vec{x_0}=0[/itex]

If what you said is true, this will not be correct.

Please help.

I don't see what the problem is. G(x, 0) doesn't involve [itex]x_0[/itex], so it doesn't matter that [itex]x_0[/itex] happens to be zero.
 
Mark44 said:
I don't see what the problem is. G(x, 0) doesn't involve [itex]x_0[/itex], so it doesn't matter that [itex]x_0[/itex] happens to be zero.

But you can clearly see the first term of the denominator equal zero and the second term is a. This means:

[tex]|\frac{\vec{x_0}}{r_0}|=1[/tex]

[tex]r_0=|\vec{x_0}|[/tex]
 
Last edited:
But that is NOT in what you quoted orginally. And, surely, where it the text says
[tex]|\frac{\vec{x_0}}{r_0}|=1[/tex]
it also has a provision for the case that [itex]|\vec{x_0}|\ne 0[/itex].
 
HallsofIvy said:
But that is NOT in what you quoted orginally. And, surely, where it the text says
[tex]|\frac{\vec{x_0}}{r_0}|=1[/tex]
it also has a provision for the case that [itex]|\vec{x_0}|\ne 0[/itex].

The textbook did not say anything, but if you look at the formula given by the book, [itex]|\frac{\vec{x_0}}{r_0}|=1[/itex] is the only way for the forumlas to be true. That is where I am confused. Here is what the book gave:

If [itex]x_0\neq 0[/itex]:

[tex]G(\vec{x},\vec{x_0}) = -\frac{1}{4\pi \left\|\vec{x} -\vec{x_0}\right\|} + \frac{1}{4\pi \left\|\frac{r_0}{a} \vec{x} -\frac{a}{r_0}\vec{x_0}\right\|}[/tex]

The book gave when [itex]\vec{x_0}=0[/itex]


[tex]G(\vec{x},0) = -\frac{1}{4\pi \left\|\vec{x} \right\|} + \frac{1}{4\pi a}[/tex]
 
Last edited:
Anyone please? This is on p194 of the PDE book by Strauss equation (11).
Thanks

Alan
 
I don't know the book you're talking about, and it really doesn't matter for your question.

Division by zero, even when we're talking about vectors, is undefined.

If you arrive at a statement [tex]\hat{A} \;=\; \frac{\vec{A}}{|\vec{ A}|}[/tex] and |A| = 0 in your calculations, you have made a mistake earlier.

It could very well be that the mistake is in your textbook.

Resolving this invalid division is simply a matter of restricting the domain appropriately. Many authors will take this for granted and perform operations which are invalid at a handful of points.

For example, if I have two functions f and g, and f(x) g(x) = 1, I CANNOT say that f(x) = 1/g(x), because g(x) might evaluate to zero at some places. More correctly, I must say f(x) = 1/g(x) for all x where g(x) /= 0... but that's a lot to write out, and often clutters the more important point being made by the author.

Note that [tex]\hat{A} \;=\; \frac{\vec{A}}{|\vec{ A}|}[/tex] is how you "normalize" a vector (find a vector in the same direction, but whose length is 1). The zero vector is the only vector that cannot be normalized, because it doesn't have a direction.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
Replies
26
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
2
Views
1K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K