More elegant way to solve divergence of arbitrary dotproduct

Click For Summary
SUMMARY

The discussion focuses on computing the divergence of vector fields defined by dot and cross products involving a constant vector \(\vec{a}\) and a position vector \(\vec{r}\). Two specific cases are analyzed: (1) \(\operatorname{div}\vec{A}(\vec{r})\) where \(\vec{A}(\vec{r})=(\vec{a} \cdot \vec{r}) \vec{r}\) and (2) \(\operatorname{div}\vec{A}(\vec{r})\) where \(\vec{A}(\vec{r})=(\vec{a} \times \vec{r}) \times \vec{r}\). Participants suggest using vector calculus identities and the divergence formula in cylindrical or spherical coordinates to simplify the calculations. The importance of understanding the notation for scalar and vector multiplication is also emphasized.

PREREQUISITES
  • Understanding of vector calculus, specifically divergence and vector fields.
  • Familiarity with cylindrical and spherical coordinate systems.
  • Knowledge of vector calculus identities related to the divergence of products.
  • Proficiency in handling dot products and cross products in vector analysis.
NEXT STEPS
  • Study the divergence formula in cylindrical and spherical coordinates.
  • Learn vector calculus identities for the divergence of a product of a vector field and a scalar field.
  • Practice computing divergences of vector fields with constant vectors and position vectors.
  • Review the notation for scalar and vector multiplication in vector calculus.
USEFUL FOR

Students preparing for exams in vector calculus, educators teaching vector analysis, and professionals working with vector fields in physics or engineering.

maxknrd
Messages
5
Reaction score
0
This is more of a general question, but I've encountered this kind of exercises a lot in my current preperations for my exam:

There are two cases but the exercise is pretty much the same:

Compute
$$(1) \space \operatorname{div}\vec{A}(\vec{r}) \qquad , where \thinspace \vec{A}(\vec{r})=(\vec{a} \cdot \vec{r}) \vec{r} \qquad \vec{a} = const.$$
$$(2) \space \operatorname{div}\vec{A}(\vec{r}) \qquad , where \thinspace \vec{A}(\vec{r})=(\vec{a} \times \vec{r})\times \vec{r} \qquad \vec{a} = const.$$

My attempt to these was to always write down the expression that would come out. I will just elaborate this for (1) but I think one gets the gist of it:

$$\nabla \cdot \vec{A}(\vec{r})= \frac{\partial}{\partial x}(a_xr_x^2+a_yr_yr_x+a_zr_zr_x)+\frac{\partial}{\partial y}(...)+\frac{\partial}{\partial z}(...)$$

As one can see this is very tedious and exhausting to do, especially during the exam, also the results are very vagues, since it depends on how the derivative of r looks like. So I am wondering, if there is a more elegant way to solve these kind of exercises.

My assumption is, that there are some neat little tricks concering the problem of having a dotproduct/crossproduct of the same vector and a constant vector. Sadly I couldn't really find anything in my lecture notes, nor on the internet.

Thanks in advance :)

P.S.: I hope this is the right place to post this question since I wasn't sure if this is rather a vector analysis or a calculus question
 
Last edited:
Physics news on Phys.org
Revise your equations first:
In (1). a.r is a scalar and you have a dot product between this scalar and another r.
In(2), the left-hand side is a scalar and right hand-side is a vector.
 
Hassan2 said:
Revise your equations first:
In (1). a.r is a scalar and you have a dot product between this scalar and another r.
In(2), the left-hand side is a scalar and right hand-side is a vector.

I am sorry. I corrected it.
 
Be happy now! Your problem is simple. At first I though you have partial differential equations.

Use the divergence formula in Cylindrical coordinate system( or Spherical depending on the definition of r). Also there are vector calculus identity for divergence of product of a vector vector and a scalar field (1) or the cross product of two vector fields (2). Find them in the following page:
https://en.wikipedia.org/wiki/Vector_calculus_identities
 
maxknrd said:
Compute $$(1) \space \operatorname{div}\vec{A}(\vec{r}) \qquad , where \thinspace \vec{A}(\vec{r})=(\vec{a} \cdot \vec{r})\cdot \vec{r} \qquad \vec{a} = const.$$

Hassan2 said:
In (1). a.r is a scalar and you have a dot product between this scalar and another r.
@maxknrd, you said you edited your post, but the first equation still doesn't make sense. As @Hassan2 already said, you can't take the dot product of a scalar and a vector.
 
The second dot was supposed to be a normal multiplication point. I assumed that this was a normal notation for multiplication of a scalar and a vector
 
Hassan2 said:
Be happy now! Your problem is simple. At first I though you have partial differential equations.

Use the divergence formula in Cylindrical coordinate system( or Spherical depending on the definition of r). Also there are vector calculus identity for divergence of product of a vector vector and a scalar field (1) or the cross product of two vector fields (2). Find them in the following page:
https://en.wikipedia.org/wiki/Vector_calculus_identities

This page is brilliant. The problem I have though, is that I don't know anything about r. I just know, that a is constant. The identities are a great help, but with that I would just endup writing long equations like the one I started in the original post and couldn't come to a clear solution imo
 
maxknrd said:
This page is brilliant. The problem I have though, is that I don't know anything about r. I just know, that a is constant. The identities are a great help, but with that I would just endup writing long equations like the one I started in the original post and couldn't come to a clear solution imo
You would still need to follow some procedure to get the final expression but remember that your vector field depends on r only and in (1) it has one component only. So you only need to consider the derivation with respect to r. This makes the derivation much easier.
 
Last edited:
  • Like
Likes   Reactions: maxknrd
Hassan2 said:
You would still need to follow some procedure to get the final expression but remember that your vector field depends on r only and in (1) it has one component only. So you only need to consider the derivation with respect to r.These makes the derivation much easier.

Okey so I will then probably have to write it down. Thank you.
I just really hoped there are some relations of taking a dotproduct/crossproduct with the vector itself
 
  • #10
maxknrd said:
The second dot was supposed to be a normal multiplication point. I assumed that this was a normal notation for multiplication of a scalar and a vector
No, it isn't. The usual notation for multiplying a vector by a scalar is juxtaposition (placing the scalar next to the vector, with no intervening operator), like this:
##(\vec a \cdot \vec r) \vec r##

For a simpler example, ##c\vec v## is the scalar multiple of ##\vec v## by the scalar c.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
Replies
2
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K