Vector calculus and order of operations

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 5K views
PhysicalProof
Messages
10
Reaction score
0
2cwwkjr.png


I understand how to do (a). However, I'm having trouble with the rest, here. I've never properly learned the order of operation for vectors like this.

For example, for (b) does one dot (r - r') with itself BEFORE using the del operator?

Thanks guys, help appreciated. Even if you point me to a good source for understanding this stuff I will be grateful.
 
Physics news on Phys.org
PhysicalProof said:
2cwwkjr.png


I understand how to do (a). However, I'm having trouble with the rest, here. I've never properly learned the order of operation for vectors like this.

For example, for (b) does one dot (r - r') with itself BEFORE using the del operator?
The order of operations for vectors is the same as for scalars. In particular, r- r' is in parentheses. Of course, you do that first. That is what parentheses mean. Finally, [math]\nabla f[/math], written in that way, is a scalar operator. You are essentially "multiplying" the scalar f by the vector [itex]\nabla[/itex]. Since it is to be applied to a scalar, not a vector you must take the dot product first to get a scalar.

For (c), note the "dot" between [itex]\nabla[/itex] and the vector. That is a dot product which has to be done between vectors. Now you are taking the dot product of the two "vectors" [math]\nabla[/math] and r- r'.

You may not have learned it yet but you should shortly learn [itex]\nabla\times \vec{f}(x,y,z)[/itex], the "cross product" of [itex]\nabla[/itex] and the vector function [itex]\vec{f}(x,y,z)[/itex].

Thanks guys, help appreciated. Even if you point me to a good source for understanding this stuff I will be grateful.
 
Last edited by a moderator:
PhysicalProof said:
2cwwkjr.png


I understand how to do (a). However, I'm having trouble with the rest, here. I've never properly learned the order of operation for vectors like this.

For example, for (b) does one dot (r-r') with itself BEFORE using the del operator?

Thanks guys, help appreciated. Even if you point me to a good source for understanding this stuff I will be grateful.


I am no expert, I'll try!

I don't know b) the way you wrote it. Do you mean [itex]\nabla |\vec{r}-\vec {r}'|^2[/itex]? If so then it is [itex]\nabla [ (\vec{r}-\vec {r}') \cdot (\vec{r}-\vec {r'}) ][/itex].

c) Is just [tex](\frac{\partial}{\partial x}\widehat{x} + \frac{\partial}{\partial y}\widehat{y}) \cdot (\vec{r}-\vec {r}')[/tex]

d) Remember [itex]\vec{a} \cdot \vec {b} =\vec{b} \cdot \vec {a}[/itex]. so it is just [itex](\nabla \cdot \widehat{r} ) \widehat{r}[/itex]
 
Last edited:
Thanks for your assistance everyone! I'm trying to work through them now. Are you sure about C youngman? Aren't there three components in each of those r vectors that we need to use?
 
PhysicalProof said:
Thanks for your assistance everyone! I'm trying to work through them now. Are you sure about C youngman? Aren't there three components in each of those r vectors that we need to use?

I am sorry, I just use R2. Yes R3(3 dimemsion in space ) is exactly the same. Just add the z component or in your case use x1, x2 and x3.

[tex]\nabla \cdot (\vec{r}-\vec{r}') = (\frac{\partial}{\partial x_1} \hat{x}_1 + \frac{\partial}{\partial x_2} \hat{x}_2 + \frac{\partial}{\partial x_3} \hat{x}_3) \cdot (\vec{r}-\vec{r}')[/tex]

I am just assuming we are using rectangular coordinates. It would be a little different with cylindrical and spherical coordinates. I thought your question concentrate on the [itex]\nabla[/itex] operator so I really did not get into the coordinates.