Vector calculus — Computing this Divergence

Click For Summary

Homework Help Overview

The discussion revolves around the computation of divergence in vector calculus, specifically addressing the challenge of doing so without relying on Cartesian coordinates. Participants explore the definitions and implications of divergence in various coordinate systems, including higher dimensions.

Discussion Character

  • Conceptual clarification, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants question the necessity of using Cartesian coordinates for proving divergence and discuss the potential for generalizing to n-dimensional spaces. There is also confusion regarding whether the function in question is a vector or scalar field, prompting requests for clarification.

Discussion Status

The discussion is active, with participants offering insights into the definitions of divergence and the chain rule. Some suggest starting with Cartesian coordinates for clarity before generalizing, while others emphasize the importance of understanding the underlying definitions regardless of the coordinate system used.

Contextual Notes

There are indications of confusion regarding notation and definitions, particularly whether the function is a vector field or a scalar field. Participants express a desire to understand the divergence in a more general context, which may involve assumptions about the coordinate systems being used.

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