Vector Operators: Grad, Div and Curl

  • Thread starter MatinSAR
  • Start date
  • Tags
    Grad
  • #1
MatinSAR
536
176
Homework Statement
Identify true and false.
Relevant Equations
Vector calculus.
1700608179832.png

Can someone tell me if i am wrong ?
 
Physics news on Phys.org
  • #2
Numbers 2, 3 & 4 are ambiguous without parentheses. Also, please state why you think each one is True or False. You might be right for the wrong reason.
 
  • Like
Likes MatinSAR
  • #3
kuruman said:
Numbers 2, 3 & 4 are ambiguous without parentheses. Also, please state why you think each one is True or False. You might be right for the wrong reason.
1700610304351.png

True according to BAC-CAB

1700610467922.png

True because in scalar triple product we can change "dot" and "cross"
1700610598371.png

False. If nabla was only a vector it could be right. But here it should take the derivate of both A and B vectors.
1700610973271.png

This is also wrong with same reason. If nabla was only a vector it could be right. But here it should take the derivate of both A and B vectors.Sorry that I can't use latex right now.
 
  • #4
MatinSAR said:
This is also wrong with same reason. If nabla was only a vector it could be right. But here it should take the derivate of both A and B vectors.
Should it? I don’t see why.
But is there a more obvious reason it is wrong?
 
  • Like
Likes PeroK and MatinSAR
  • #5
MatinSAR said:
True because in scalar triple product we can change "dot" and "cross"
Are you sure? Note that on the left-hand side ##\nabla## operates on both ##\vec A## and ##\vec B.## On the right-hand side it does not.
 
  • Like
Likes MatinSAR
  • #6
MatinSAR said:
True according to BAC-CAB
False. On the LHS the derivative acts on both A and B and in the RHS you suddenly skip the derivative of one field in each term.

Generally you seem to be treating ##\nabla## as if it were a vector. It is not. It is a differential operator.
 
  • Like
Likes PeroK and MatinSAR
  • #7
haruspex said:
Should it? I don’t see why.
But is there a more obvious reason it is wrong?
Sorry but I cannot find out which one you are talking about. 3rd or 4th? Or both of them?
kuruman said:
Are you sure? Note that on the left-hand side ##\nabla## operates on both ##\vec A## and ##\vec B.## On the right-hand side it does not.
Agree. I did not notice it.
Orodruin said:
False. On the LHS the derivative acts on both A and B and in the RHS you suddenly skip the derivative of one field in each term.

Generally you seem to be treating ##\nabla## as if it were a vector. It is not. It is a differential operator.
Yes. So I can't use triple dot product or triple cross product rules when I have a differentiel operator. Am I right?

Thanks everyone for their help and time.
 
  • #8
haruspex said:
Should it? I don’t see why.
But is there a more obvious reason it is wrong?
3rd: In LHS differential operator acts on both vector fields. In RHS it doesn't act on any field.
 
  • #9
MatinSAR said:
3rd: In LHS differential operator acts on both vector fields. In RHS it doesn't act on any field.
As I thought was clear from the text I quoted in post #4, it was re the fourth case.
A good starting point would be to consider the difference between ##\frac{d}{dx}(f(x)g(x))## and ##(\frac{d}{dx}f(x))g(x)##.
 
  • Like
Likes MatinSAR
  • #10
haruspex said:
As I thought was clear from the text I quoted in post #4, it was re the fourth case.
A good starting point would be to consider the difference between ##\frac{d}{dx}(f(x)g(x))## and ##(\frac{d}{dx}f(x))g(x)##.
I see. In first one d/dx acts on both f and g. In second one d/dx acts only on f. So they are not the same.

For using triple dot product or triple cross product rules when we have a differential operator, Should we always check it in this way?!
 
  • #11
MatinSAR said:
Yes. So I can't use triple dot product or triple cross product rules when I have a differentiel operator. Am I right?
You can, to some extent, but you must make sure that you respect what the differential operator acts on. There is a way of doing this formally using vector identities and the Leibniz rule. Using a notation such that it is clear what the differential operator acts on, you can do any manipulations of the vector structure as long as you end up with a proper expression in the end. For example, take ##\nabla\cdot(\vec A \times \vec B)##. Using underline on a vector to denote that it is what the nabla should act on, this can be written
$$
\nabla\cdot(\vec A \times \vec B)
=
\nabla\cdot(\underline{\vec A} \times \vec B)
+
\nabla\cdot({\vec A} \times \underline{\vec B})
$$
where we have applied the Leibniz rule. You can now perform any manipuations you wish on the vector structure with the aim of having the vector the operator acts on as the only thing to the right of it. In particular, here we would do
$$
\nabla\cdot(\underline{\vec A} \times \vec B)
=
\vec B \cdot (\nabla \times \underline{\vec A})
$$
for the first term by cyclic permutation of the triple product. Once on this form the underline can be removed as it is clear what the differential operator acts on.
 
  • Like
Likes MatinSAR
  • #12
MatinSAR said:
I see. In first one d/dx acts on both f and g. In second one d/dx acts only on f. So they are not the same.

For using triple dot product or triple cross product rules when we have a differential operator, Should we always check it in this way?!
I'm not offering it as the key to answering all cases, just pointing out that in case 4 of post #3 (just noticed you changed the order from post #1, which may lead to confusion) your reasoning was incorrect. The differentiation only applies to A on both sides.
Conversely, in post #3 case 2, it applies to A and B on the left but only to B.

Note that in case 3 the RHS is still an operator.
 
  • Like
Likes MatinSAR
  • #14
MatinSAR said:
@kuruman @haruspex @Orodruin I think I find out my mistakes. Thanks for your time.
I'm not convinced by your general approach. If something is true, you need a proof. If something is false, you either need to prove algebraically that the expressions are different. Or, finding a single counterexample is enough. For example, for the first identity you could let ##\vec B = \vec e_x## (the unit vector in the x-direction). Then the identity is manifestly false.
 
  • Like
Likes MatinSAR
  • #15
PeroK said:
I'm not convinced by your general approach. If something is true, you need a proof.
Actually It was not a homework and because of this I did not try to prove them. I wanted to know if I can use "triple dot product or triple cross product" rules without any change when I have a differential operator. Now I know I cannot. Thanks.
 
  • #16
MatinSAR said:
Now I know I cannot.
Don't be so sure. A long time ago I came across "Feynman's vector calculus trick" (I think somewhere in one of the Feynman lectures books) where he says that you can as long as you follow a simple rule, "Don't leave any operator without something to operate on." An example of violation of this rule is the fourth equation in your problem that has a dangling ##\nabla.## Operator ##\nabla## always must have something to operate on and only to its right.

When you use Feynman's trick, it helps to introduce subscripts indicating which vector ##\nabla## operates on. In post #11 @Orodruin underlines the vectors to achieve the same goal but I prefer subscripts. Furthermore, keep in mind that if you have a cross product and you flip the order of ##\vec A## and ##\vec B##, you may have to introduce a negative sign.

Example 1: ##\vec{\nabla}(\vec A \cdot \vec B)##
Start by introducing the subscripts. $$\vec{\nabla}(\vec A \cdot \vec B) = \vec{\nabla}_A(\vec A \cdot \vec B)+\vec{\nabla}_B(\vec A \cdot \vec B) \tag{1}.$$ According to the triple product rule (BAC-CAB)
##\vec a \times(\vec b\times \vec c)=\vec b(\vec a \cdot \vec c)-\vec c(\vec a \cdot \vec b)\implies \vec b(\vec a \cdot \vec c)=\vec a \times(\vec b\times \vec c)+\vec b(\vec a \cdot \vec c)##

We now treat all symbols as vectors and identify
##\vec b \equiv \vec {\nabla}_B~;~~\vec a \equiv \vec A~;~~\vec c \equiv \vec B##
Then the second term in equation (1) becomes
$$\vec{\nabla}_B(\vec A \cdot \vec B)=\vec A \times( {\nabla}_B\times \vec B)+\vec B(\vec A \cdot \vec{\nabla}_B).\tag{2}$$The second term in equation (2) has a dangling ##\nabla_B##. However, ## (\vec A \cdot \vec{\nabla}_B)## is treated as a scalar product which means that we can move ##\vec B## to the right. $$\vec{\nabla}_B(\vec A \cdot \vec B)=\vec A \times( {\nabla}_B\times \vec B)+(\vec A \cdot \vec{\nabla}_B)\vec B.\tag{3}$$ Now we note that there are no cross products in equation (1) which means that we can swab ##A## and ##B## without changing anything. So we write immediately $$\vec{\nabla}_A(\vec B \cdot \vec A)=\vec B \times( {\nabla}_A\times \vec A)+(\vec B \cdot \vec{\nabla}_A)\vec A.\tag{4}$$ We now add equations (3) and (4), and drop the subscripts because all ##\nabla##s are satisfied. The final result is $$
\vec{\nabla}(\vec A \cdot \vec B)=\vec B \times( {\nabla}\times \vec A)+(\vec B \cdot \vec{\nabla})\vec A
+\vec A \times( {\nabla}\times \vec B)+(\vec A \cdot \vec{\nabla})\vec B$$ Note that when you swap symbols ##A## and ##B## in the above equation, you get on each side the same expression, as you should.

Example 2: ##\vec{\nabla}\times(\vec A \times \vec B)##
Start by introducing the subscripts and then use the BAC-CAB rule. $$\begin{align}& \vec{\nabla}\times(\vec A \times \vec B) = \vec{\nabla_A}\times(\vec A \times \vec B)+\vec{\nabla_B}\times(\vec A \times \vec B) \nonumber \\ & =
\vec A(\vec{\nabla_A}\cdot \vec B)-\vec B(\vec{\nabla_A}\cdot \vec A)+\vec A(\vec{\nabla_B}\cdot \vec B)-\vec B(\vec{\nabla_B}\cdot \vec A).
\nonumber\end{align}$$ At this point you need to be careful. Look at the first term ##\vec A(\vec{\nabla_A}\cdot \vec B)##. You want ##\vec A## to the right of ##\vec{\nabla_A}## and ##\vec B## out of the way. First you move ##\vec A## past the "scalar" in the parentheses to get ##(\vec{\nabla_A}\cdot \vec B)\vec A##. Then you swap the "vectors" between the parentheses in the dot product, but when you do this, you must change the sign as demanded by the cross product in the original expression. The same applies to the fourth term. Thus, when you do the swaps in the first and fourth terms and drop subscripts, you get $$\vec{\nabla}\times(\vec A \times \vec B) =
(\vec B \cdot \vec {\nabla})\vec A-\vec B(\vec{\nabla}\cdot \vec A)+\vec A(\vec{\nabla}\cdot \vec B)-(\vec A\cdot \vec{\nabla})\vec B$$Note that when you swap symbols ##A## and ##B## in the above equation, you get on each side an overall negative sign, as you should.

I chose two examples that are a bit involved to illustrate the use of the method. You can find more identities here and practice the method if you wish.

Edit
This post has been edited to correct a lapse of judgment. My thanks to @MatinSAR for pointing out the problem.
 
Last edited:
  • Like
Likes MatinSAR
  • #17
kuruman said:
Don't be so sure. A long time ago I came across "Feynman's vector calculus trick" (I think somewhere in one of the Feynman lectures books) where he says that you can as long as you follow a simple rule, "Don't leave any operator without something to operate on." An example of violation of this rule is the fourth equation in your problem that has a dangling ∇. Operator ∇ always must have something to operate on and only to its right.
I have his lectures and I wish I had enough time to read them.
kuruman said:
When you use Feynman's trick, it helps to introduce subscripts indicating which vector ∇ operates on. In post #11 @Orodruin underlines the vectors to achieve the same goal but I prefer subscripts. Furthermore, keep in mind that if you have a cross product and you flip the order of A→ and B→, you may have to introduce a negative sign.
Thank you I really appreciate your help.
kuruman said:
I chose two examples that are a bit involved to illustrate the use of the method. You can find more identities here and practice the method if you wish.
I will. Thanks a lot for your time.
 
  • Like
Likes kuruman
  • #18
kuruman said:
Then you swap the "vectors" between the parentheses, but when you do this, you must change the sign as demanded by the cross product in the original expression.
Sorry but I don't understand why the sign should change. I have changed the sign and I get:
$$\vec{\nabla}\times(\vec A \times \vec B) = -(\vec B \cdot \vec {\nabla})\vec A-\vec B(\vec{\nabla}\cdot \vec A)+\vec A(\vec{\nabla}\cdot \vec B)+(\vec A\cdot \vec{\nabla})\vec B$$

But then I did not change the sign and I get same result as arfken mathematical methods for physicists. Can't we say that according to ##\vec A.\vec B = \vec B.\vec A## the sign does not need to change?

1700686770234.png
 
  • #19
kuruman said:
"Don't leave any operator without something to operate on."
Unless the result can reasonably be an operator.
 
  • Like
Likes MatinSAR
  • #20
haruspex said:
Unless the result can reasonably be an operator.
Sure. The quotations are not for the verbatim Feynman statement but to separate the rule (as I remember it) from the rest of the text in the post. My memory isn't what it used to be.
 
  • Like
Likes MatinSAR
  • #21
kuruman said:
You are mixing examples.

In Example 1 the swap of symbols ##A## and ##B## has even symmetry because $$~\vec{\nabla}(\vec A \cdot \vec B)=\vec{\nabla}(\vec B \cdot \vec A).$$ This means that when you have something like ##(\vec{\nabla_A}\cdot \vec B)\vec A## and you need to swap to get ##\vec B## out of the way, when you swap, you must preserve the even symmetry and write $$(\vec{\nabla_A}\cdot \vec B)\vec A\rightarrow+(\vec B\cdot \vec{\nabla_A})\vec A$$In Example 2 the swap of symbols ##A## and ##B## has odd symmetry because $$~\vec{\nabla}(\vec A \times \vec B)=-\vec{\nabla}(\vec B \times \vec A).$$ This means that when you have something like ##(\vec{\nabla_A}\cdot \vec B)\vec A## and you need to swap to get ##\vec B## out of the way, when you swap, you must preserve the odd symmetry and write $$(\vec{\nabla_A}\cdot \vec B)\vec A\rightarrow-(\vec B\cdot \vec{\nabla_A})\vec A.$$
Thanks. But Why your answer is different from the book?

Arfken mathematical methods for physicists:
1700690778947.png
 
  • Like
Likes kuruman
  • #22
MatinSAR said:
Thanks. But Why your answer is different from the book?
Because I led myself astray and did not follow the rules to treat the vectors properly. When you swap vectors, you change signs only when you have a "cross" and not when you have a "dot" between them. I edited my post with the two examples to fix the problem. I also deleted the post that you refer to in #21 because it was nonsense and I did not want to confuse readers in the future.

Thank you for pointing out the error of my ways.
 
  • Like
Likes MatinSAR
  • #23
kuruman said:
Because I led myself astray and did not follow the rules to treat the vectors properly. When you swap vectors, you change signs only when you have a "cross" and not when you have a "dot" between them. I edited my post with the two examples to fix the problem. I also deleted the post that you refer to in #21 because it was nonsense and I did not want to confuse readers in the future.

Thank you for pointing out the error of my ways.
Everything is completely clear now. Thanks a lot.
 
  • Like
Likes kuruman

1. What are vector operators?

Vector operators are mathematical tools used to manipulate vector fields in three-dimensional space. They consist of three main operators: gradient (grad), divergence (div), and curl. These operators help to describe the behavior of vector fields, such as velocity, electric and magnetic fields, and fluid flow.

2. What is the gradient operator?

The gradient operator (grad) is a mathematical operation that takes a scalar field as input and produces a vector field as output. It represents the direction of the steepest increase of a scalar field at a particular point in space. In other words, it measures how quickly a scalar quantity changes in a particular direction.

3. What is the divergence operator?

The divergence operator (div) is a mathematical operation that takes a vector field as input and produces a scalar field as output. It represents the net flow of a vector field out of a given point in space. In other words, it measures how much a vector field spreads out or converges at a particular point.

4. What is the curl operator?

The curl operator (curl) is a mathematical operation that takes a vector field as input and produces a vector field as output. It represents the rotation or circulation of a vector field at a particular point in space. In other words, it measures how much a vector field curls or twists at a given point.

5. How are vector operators used in physics and engineering?

Vector operators are essential tools in physics and engineering as they help to describe and analyze various physical phenomena, such as fluid flow, electromagnetic fields, and heat transfer. They are used in many applications, including designing aircraft and analyzing weather patterns. Vector operators are also crucial in solving equations in areas such as electromagnetism, fluid mechanics, and quantum mechanics.

Similar threads

Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
1K
  • Introductory Physics Homework Help
2
Replies
40
Views
3K
Replies
4
Views
307
  • Introductory Physics Homework Help
Replies
1
Views
643
  • Introductory Physics Homework Help
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
648
  • Advanced Physics Homework Help
Replies
6
Views
519
  • Introductory Physics Homework Help
Replies
3
Views
724
Back
Top