Vector calculus — Computing this Divergence

Click For Summary
SUMMARY

This discussion focuses on computing the divergence of a vector field in vector calculus, specifically addressing the challenges of doing so without relying on Cartesian coordinates. Participants clarify that divergence is defined in Cartesian coordinates and can be generalized to n-dimensional spaces. The conversation emphasizes the importance of understanding the chain rule and the definitions of divergence and gradient in various coordinate systems. It is recommended to first prove divergence in 3D Cartesian coordinates before attempting generalizations.

PREREQUISITES
  • Understanding of vector calculus concepts, specifically divergence and gradient.
  • Familiarity with the chain rule in calculus.
  • Knowledge of Cartesian coordinates and their extension to n-dimensional spaces.
  • Basic mathematical notation and operations involving partial derivatives.
NEXT STEPS
  • Study the definition and computation of divergence in Cartesian coordinates.
  • Explore the generalization of divergence to n-dimensional spaces.
  • Learn about the chain rule and its application in vector calculus.
  • Investigate alternative coordinate systems for vector calculus, such as polar or spherical coordinates.
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are looking to deepen their understanding of vector calculus, particularly in the context of divergence and its applications in various coordinate systems.

jorgeluisharo
Messages
3
Reaction score
2
Homework Statement
Show that if ##\vec{R}=\vec{r}-\vec{r'}## and ##f## it's a function with good behaviour, then
$$\nabla\cdot\vec{ f(R)}=-\nabla '\cdot\vec{f(R)}$$
Relevant Equations
$$\nabla\cdot\vec{ f(R)}=-\nabla '\cdot\vec{f(R)}$$
I really don't know how to proceed if I'm not using an specific coordinate system, Is there a way of doing this using only indices, in general form?
 
  • Like
Likes   Reactions: PhDeezNutz and Delta2
Physics news on Phys.org
It's the chain rule. Note that ##\nabla## is defined in Cartesian coodinates:
$$\nabla \cdot \vec f (\vec R) \equiv \frac{\partial}{\partial x}(f_x (\vec R)) + \frac{\partial}{\partial y}(f_y (\vec R)) + \frac{\partial}{\partial z}(f_z (\vec R)) $$
 
  • Like
Likes   Reactions: docnet, vanhees71 and jorgeluisharo
Your notation is a little bit confusing. PeroK seems to understand that your ##f## is a vector field and you are asking about divergences.
In my case the first time I read it I understood that ##f## is a scalar field and you want to compute the gradient.
Can you please clarify exactly what do you have to compute?
Anyway, the solution should not be too different in both cases, but there may be minor details.
 
  • Like
Likes   Reactions: vanhees71, jorgeluisharo and PeroK
PeroK said:
It's the chain rule. Note that ##\nabla## is defined in Cartesian coodinates:
$$\nabla \cdot \vec f (\vec R) \equiv \frac{\partial}{\partial x}(f_x (\vec R)) + \frac{\partial}{\partial y}(f_y (\vec R)) + \frac{\partial}{\partial z}(f_z (\vec R)) $$
Or:
$$\nabla f (\vec R) \equiv (\frac{\partial }{\partial x}(f (\vec R)), \frac{\partial}{\partial y}(f (\vec R)), \frac{\partial}{\partial z}(f (\vec R)) $$
 
  • Like
Likes   Reactions: jorgeluisharo
PeroK said:
It's the chain rule. Note that ##\nabla## is defined in Cartesian coodinates:
$$\nabla \cdot \vec f (\vec R) \equiv \frac{\partial}{\partial x}(f_x (\vec R)) + \frac{\partial}{\partial y}(f_y (\vec R)) + \frac{\partial}{\partial z}(f_z (\vec R)) $$
Thanks, but is there a way of writing and proving this without the use of cartesian coordinates, I mean in a ##n## dimensional space?
 
Gaussian97 said:
Your notation is a little bit confusing. PeroK seems to understand that your ##f## is a vector field and you are asking about divergences.
In my case the first time I read it I understood that ##f## is a scalar field and you want to compute the gradient.
Can you please clarify exactly what do you have to compute?
Anyway, the solution should not be too different in both cases, but there may be minor details.
Thank you, I want to compute the divergence, f indeed is a vector field.
 
jorgeluisharo said:
Thanks, but is there a way of writing and proving this without the use of cartesian coordinates, I mean in a ##n## dimensional space?
There are formulas for the divergence in a general coordinate system, but why would you want to complicate your life when you can do the proof in cartesian coordinates? The generalization of cartesian coordinates to ##n## dimension should be rather obvious.
Anyway, I recommend you to prove it first in 3D cartesian coordinates, once you have proven it there, the generalization to ##n## dimension and other coordinates is not complicated.
 
It might be easier to understand if you write this as
\begin{align*}
\mathbf{f}(\mathbf{R}) = \mathbf{f}(R_1, R_2, R_3) = \mathbf{f}(x-x', y-y', z-z')
\end{align*}Then\begin{align*}
\dfrac{\partial \mathbf{f}}{\partial x} = \dfrac{\partial \mathbf{f}}{\partial R_1} \dfrac{\partial R_1}{\partial x} = \dfrac{\partial \mathbf{f}}{\partial R_1}
\end{align*}whilst\begin{align*}
\dfrac{\partial \mathbf{f}}{\partial x'} = \dfrac{\partial \mathbf{f}}{\partial R_1} \dfrac{\partial R_1}{\partial x'} = - \dfrac{\partial \mathbf{f}}{\partial R_1}
\end{align*}etc.
 
  • Like
Likes   Reactions: PeroK, vanhees71 and PhDeezNutz
jorgeluisharo said:
Thanks, but is there a way of writing and proving this without the use of cartesian coordinates, I mean in a ##n## dimensional space?
How do you define divergence in the first place? It's defined in Cartesian coordinates. And, Cartesian coordinates extend to ##n## dimensional space. Although, curl is generally not so well defined.
 
  • Like
Likes   Reactions: vanhees71
  • #10
If the question askes you to show x = y, then including x = y as a relevant equation isn't really all that helpful. Relevant equations here would be a definition of the divergence and the chain rule.
 
  • Like
Likes   Reactions: PhDeezNutz
  • #11
PeroK said:
How do you define divergence in the first place? It's defined in Cartesian coordinates. And, Cartesian coordinates extend to ##n## dimensional space. Although, curl is generally not so well defined.
$$\nabla\cdot\mathbf{F} = \lim_{V\rightarrow 0}\frac{1}{V}\oint_S\mathbf{F\cdot n}da$$
$$\nabla\times\mathbf{F} = \lim_{V\rightarrow 0}\frac{1}{V}\oint_S\mathbf{n\times F}da$$

No coordinate system needed... until you want to solve a problem.
 
  • Like
Likes   Reactions: PhDeezNutz and PeroK

Similar threads

Replies
6
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K