How is the Gradient of a Dot Product Correctly Calculated?

  • Thread starter Thread starter Addez123
  • Start date Start date
  • Tags Tags
    Dot
Click For Summary
SUMMARY

The correct calculation of the gradient of a dot product is confirmed to yield the result $$(2xz + z^2, 3y^2, x^2 + 2xz)$$. The discussion highlights the confusion surrounding the notation of differential operators, specifically the expression $$(B \cdot \nabla)A$$, which is clarified as $B_x \frac{\partial A}{\partial x} + B_y \frac{\partial A}{\partial y} + B_z \frac{\partial A}{\partial z}$. Misinterpretations of the material derivative and the convective operator are addressed, emphasizing the importance of understanding these concepts in physics and vector calculus.

PREREQUISITES
  • Vector calculus, specifically gradient and divergence operations
  • Understanding of dot products and their properties
  • Familiarity with differential operators in multivariable calculus
  • Basic knowledge of electromagnetism concepts, such as electric dipoles
NEXT STEPS
  • Study the properties of the gradient operator in vector calculus
  • Learn about the convective operator and its applications in fluid dynamics
  • Explore the derivation and application of the material derivative in physics
  • Investigate the role of differential operators in electromagnetism, particularly in Griffiths' E&M
USEFUL FOR

Students and professionals in physics, particularly those studying electromagnetism and vector calculus, as well as mathematicians and engineers dealing with differential operators and gradients in their work.

Addez123
Messages
199
Reaction score
21
Homework Statement
$$A = (x^2, y^2, z^2)$$
$$B = (z, y, x)$$

Calculate $$grad(A \cdot B)$$
Relevant Equations
$$\nabla (A \cdot B) = (B \cdot \nabla)A + (A \cdot \nabla)B + B \times (\nabla \times A) + A \times (\nabla \times B)$$
Calculating dot product then doing gradient on it gets you:
$$(2xz + z^2, 3y^2, x^2 + 2xz)$$
which is the correct answer.

Using the formula, which you're required to do, gets a whole different answer.
Lets do each term individually.
##(B \cdot \nabla)A##
$$(B \cdot \nabla) = 1$$

## (A \cdot \nabla)B##
$$(A \cdot \nabla) = 2(x + y + z)$$

For the cross product terms, ##(\nabla \times A)## and ##(\nabla \times B)## both gets you the zero vector, which cross with anything still just gives zero.

So you're left with
$$1A + 2(x + y + z)B = (x^2 + 2xz + 2yz +2z^2, 2xy + 3y^2 + 2yz, 2x^2 + 2xy + 2xz + z^2)$$

Which is nothing like the answer. I've recalculated every single piece of this equation 10 times and I can testify that the equation given in Relevant Equations is false.
 
Physics news on Phys.org
What makes you think that ##\vec B\cdot\nabla=1##? It should be a differential operator.

Edit: Note that it is not ##\nabla
\cdot \vec B##, which is equal to one.
 
  • Like
Likes   Reactions: topsquark
Addez123 said:
##(B \cdot \nabla)A##
$$(B \cdot \nabla) = 1$$

(B \cdot \nabla)A means B_x \frac{\partial A}{\partial x} + B_y\frac{\partial A}{\partial y} + B_z \frac{\partial A}{\partial z}.
 
  • Like
Likes   Reactions: topsquark, PhDeezNutz, Addez123 and 1 other person
pasmith said:
(B \cdot \nabla)A means B_x \frac{\partial A}{\partial x} + B_y\frac{\partial A}{\partial y} + B_z \frac{\partial A}{\partial z}.
well that's a confusing use of parentheses.
 
Addez123 said:
well that's a confusing use of parentheses.

We’ll get used to it. If you are going into physics you’re going to need it.For instance the force on an electric dipole ##\vec{p}## is ## \vec{F} = \left( \vec{p} \cdot \nabla \right) \vec{E}## where ##\vec{E}## is the external field that the dipole is immersed in.

But yeah it is perplexing when you first come across it. You’re unlikely to come across it in a first multivariable calculus class. I’d bet money you’re doing Griffiths E&M now.
 
  • Like
Likes   Reactions: topsquark
You apply the expression ## \vec{p} \cdot \nabla## to each component of ##\vec{E}##

I believe this expression in general is called the “Material Derivative”
 
pasmith said:
(B \cdot \nabla)A means B_x \frac{\partial A}{\partial x} + B_y\frac{\partial A}{\partial y} + B_z \frac{\partial A}{\partial z}.
are you sure its not
$$(B \cdot \nabla)A = (B_x \frac{\partial A}{\partial x} , B_y\frac{\partial A}{\partial y} , B_z \frac{\partial A}{\partial z})$$
?
Because the answer is suppose to be a vector.

@PhDeezNutz not doing Griffiths rn, but good guess! :p
Funny fact I've completed electro magnetic course with almost an A, but it was years ago and I never actually passed the vector.
 
Addez123 said:
Because the answer is suppose to be a vector.
If ##A## is a vector then so is ##\partial A/\partial x## etc.

Addez123 said:
well that's a confusing use of parentheses.
Not as confusing as having differential operators acting to the left …
 
PhDeezNutz said:
I believe this expression in general is called the “Material Derivative”
It is not. The material derivative is the derivative of some quantity along the flow of some velocity field ##\vec u## and is given by
$$
\frac D{Dt} = \partial_t + \vec u \cdot \nabla
$$
 
  • Like
Likes   Reactions: PhDeezNutz
  • #10
@Addez123

The full expression for ##\left( \vec{A} \cdot \nabla \right) \vec{B} ## is the following

##\left( \vec{A} \cdot \nabla \right) \vec{B} = \left( A_x \frac{\partial }{\partial x} + A_y \frac{\partial }{\partial y} + A_z \frac{\partial }{\partial z} \right) \left( B_x, B_y, B_z \right)##

Distributing that entire operation over each of the components

##\left( \vec{A} \cdot \nabla \right) \vec{B} = \left( A_x \frac{\partial B_x}{\partial x} + A_y \frac{\partial B_x }{\partial y} + A_z \frac{\partial B_x}{\partial z} , A_x \frac{\partial B_y}{\partial x} + A_y \frac{\partial B_y }{\partial y} + A_z \frac{\partial B_y}{\partial z} , A_x \frac{\partial B_z}{\partial x} + A_y \frac{\partial B_z }{\partial y} + A_z \frac{\partial B_z}{\partial z} \right)##
 
  • Like
Likes   Reactions: Addez123
  • #11
Thanks a ton, just figured that out and now I get the correct answer.
Thanks! :)
 
  • Like
Likes   Reactions: PhDeezNutz
  • #12
Orodruin said:
It is not. The material derivative is the derivative of some quantity along the flow of some velocity field ##\vec u## and is given by
$$
\frac D{Dt} = \partial_t + \vec u \cdot \nabla
$$

I guess someone on wiki messed up

https://en.wikipedia.org/wiki/Del_in_cylindrical_and_spherical_coordinates

69ED9F9E-EB3D-4535-A0E2-2EBC207772CC_4_5005_c.jpeg


Yup they did, it's called the convective operator apparently.
 
  • #13
o,i calculate this way:
p =A \cdot B =x^2z+y^3+z^2x,
the answer should be Jacobian
(\frac{\partial p}{\partial x},\frac{\partial p}{\partial y},\frac{\partial p}{\partial z})
=(2xz+z^2,3y^2,x^2+2xz)
 
  • #14
alex_Hou said:
o,i calculate this way:
p =A \cdot B =x^2z+y^3+z^2x,
This was done in the OP already.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 26 ·
Replies
26
Views
2K
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K