- #1
Matt1991
- 8
- 0
Hi,
I am just starting to learn vector algebra with Grad, Div, Curl etc and have in passing come across Einstein notation which seems to make things much more concise.
The problem I have is in Finding Div(rn r) where r =xi + yj + zk. The unbold r is the magnitude of r.
I have used some basic Einstein notation to make my working shorter but am stuck understanding a certain part of the notation which must be true to lead to the correct answer.
My Working:
[tex] \frac{\partial}{\partial x_{i}}\((r^n x_{i}) [/tex]
product rule:
[tex] = \ nr^{n-1} \frac{\partial r}{\partial x_{i}} x_{i}+r^n \frac{\partial x_{i}}{\partial x_{i}} [/tex]
[tex] = \ nr^{n-1}\frac{x_{i}}{r}x_{i}\
= \ nr^{n} \r \ + \ 3 r^n [/tex]
[tex] = (n+3)r^n [/tex]
My problem is in understanding the step where [tex] \frac{ x_{i} x_{i}}{ r} [/tex] becomes [tex]r[/tex]. For this to happen xixi must be evaluated as x2+y2+z2 (in spatial coordinates) which is the part I am having trouble understanding.
An explanation of this or if somebody could point me towards somewhere where I can get a simple explanation of this would be very much appreciated.
Thanks,
Matt
PS Sorry if the laTeX is bad. Its my first time using it.
I am just starting to learn vector algebra with Grad, Div, Curl etc and have in passing come across Einstein notation which seems to make things much more concise.
The problem I have is in Finding Div(rn r) where r =xi + yj + zk. The unbold r is the magnitude of r.
I have used some basic Einstein notation to make my working shorter but am stuck understanding a certain part of the notation which must be true to lead to the correct answer.
My Working:
[tex] \frac{\partial}{\partial x_{i}}\((r^n x_{i}) [/tex]
product rule:
[tex] = \ nr^{n-1} \frac{\partial r}{\partial x_{i}} x_{i}+r^n \frac{\partial x_{i}}{\partial x_{i}} [/tex]
[tex] = \ nr^{n-1}\frac{x_{i}}{r}x_{i}\
= \ nr^{n} \r \ + \ 3 r^n [/tex]
[tex] = (n+3)r^n [/tex]
My problem is in understanding the step where [tex] \frac{ x_{i} x_{i}}{ r} [/tex] becomes [tex]r[/tex]. For this to happen xixi must be evaluated as x2+y2+z2 (in spatial coordinates) which is the part I am having trouble understanding.
An explanation of this or if somebody could point me towards somewhere where I can get a simple explanation of this would be very much appreciated.
Thanks,
Matt
PS Sorry if the laTeX is bad. Its my first time using it.
Last edited: