How can I understand the Einstein summation convention for vector algebra?

Click For Summary

Discussion Overview

The discussion revolves around understanding the Einstein summation convention in the context of vector algebra, specifically in calculating the divergence of a vector expression involving the magnitude of a vector. Participants explore the notation's implications and seek clarification on specific steps in their calculations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant describes their attempt to calculate the divergence of the expression Div(r^n r) and expresses confusion about a specific step in their working related to the Einstein notation.
  • Another participant explains that the notation implies that x_i x_i represents the sum of squares of the components, leading to the conclusion that x_i x_i equals r^2, where r is the magnitude of the vector.
  • A participant questions the reasoning behind the convention, expressing uncertainty about why the product of the same indexed variables behaves as described by the summation convention.
  • Further clarification is provided that x_i does not represent a sum on its own, but rather that the summation convention applies when two variables share the same index in a term.
  • Several resources are shared for further reading on the Einstein summation convention, including lecture notes and articles from various institutions.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the Einstein summation convention, with some agreeing on its implications while others remain uncertain about the reasoning behind specific aspects of the notation. The discussion does not reach a consensus on the conceptual understanding of the convention.

Contextual Notes

Participants highlight the need for clarity on the assumptions underlying the Einstein notation, particularly regarding the interpretation of indexed variables and their products. There is also mention of potential confusion arising from the notation's application in different contexts.

Who May Find This Useful

This discussion may be useful for students and learners of vector algebra, particularly those encountering the Einstein summation convention for the first time or seeking clarification on its application in mathematical physics.

Matt1991
Messages
8
Reaction score
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:

\frac{\partial}{\partial x_{i}}\((r^n x_{i})


product rule:

= \ nr^{n-1} \frac{\partial r}{\partial x_{i}} x_{i}+r^n \frac{\partial x_{i}}{\partial x_{i}}

= \ nr^{n-1}\frac{x_{i}}{r}x_{i}\ <br /> <br /> = \ nr^{n} \r \ + \ 3 r^n


= (n+3)r^n


My problem is in understanding the step where \frac{ x_{i} x_{i}}{ r} becomes r. 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:
Physics news on Phys.org
I have made a correction to my original working that I posted. It is now hopefully correct.

Apologies,

Matt
 
Matt1991 said:
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:

\frac{\partial}{\partial x_{i}}\((r^n x_{i})


product rule:

= \ nr^{n-1} \frac{\partial r}{\partial x_{i}} x_{i}+r^n \frac{\partial x_{i}}{\partial x_{i}}

= \ nr^{n-1}\frac{x_{i}}{r}x_{i}\ <br /> <br /> = \ nr^{n} \r \ + \ 3 r^n


= (n+3)r^n


My problem is in understanding the step where \frac{ x_{i} x_{i}}{ r} becomes r. For this to happen xixi must be evaluated as x2+y2+z2 (in spatial coordinates) which is the part I am having trouble understanding.
But you are using coordinates x1, x2, and x3 in place of x, y, and z. By the Einstein summation convention, x_iy_i means x_1y_1+ x_2y_2+ x_3y_3 so that x_iy_i means x_1x_1+ x_2x_2+ x_3x_3= x_1^2+ x_2^2+ x_3^2 which is the same as x^2+ y^2+ z^2.

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.
 
Thanks for the response,

Ah right. If that is the convention then I can definitely see why. I am not sure I understand the reasoning behind the convention though.

if xi is simply x1 + x2 + x3 + ...

then I am not sure what the reasoning is behind xi multiplied by itself acting as the einstein notation suggests it does. When I imagine this as its individual spatial coordinates (or as a operations on x1,x2, etc) it seems to me that it should be (x1+x2+...)^2

Obviously my resoning is wrong, I just can't seem to figure out where.

Thanks,

Matt
 
Matt1991 said:
if xi is simply x1 + x2 + x3 + ...

On its own, xi doesn't stand for a sum. It's just one variable: x or y or z. The summation convention only applies when two variables in the same term have the same index:

xixi = x1x1 + x2x2 + x3x3 = x2 + y2 + z2.

aibi = a1b1 + a2b2 + a3b3

(Incidentaly, if you're using this convention and you happen to have two variables with the same index in a term but don't want it to denote a sum, just write "no sum on i" or "no sum over k" or whatever the index is.)
 
You can find out more about the Einstein summation convention here:

1) See http://www.ph.ed.ac.uk/~martin/mp2h/VTF/lecture05.pdf" course.
(Martin Evans, University of Edinburgh, http://www.ph.ed.ac.uk/" )

2) http://www.luc.edu/faculty/dslavsk/courses/phys301/classnotes/einsteinsummationnotation.pdf" by David Slavsky
(Physics 301/Math 355: Mathematical Methods of Physics, Loyola University Chicago)

3) http://www.cs.caltech.edu/~cs20/c/esn-v205.pdf" by Alan H. Barr, California Institute of Technology

4) Via the http://en.wikipedia.org/wiki/Einstein_notation" in which Einstein introduces his notation (page 158 of the document or page 8 of the PDF).

5) John Armstrong explains why Einstein introduced his notation in http://unapologetic.wordpress.com/2008/05/21/the-einstein-summation-convention/" .
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
10K
  • · Replies 1 ·
Replies
1
Views
3K