Einstein Summation Convention

  1. 1. The problem statement, all variables and given/known data

    Basically need to use einstein's summation convention to find the grad of (mod r)^n and a.r where a is a vector and r = (x,y,z)

    2. Relevant equations



    3. The attempt at a solution

    Not sure where to begin really.. :S

    grad (mod r)^n= (d/dx, d/dy, d/dz) of root (X1^2 + x2^2 + x3^2)^n..

    Just not sure what to do now..
    thanks
     
  2. jcsd
  3. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    If you write it out using unit vector notation instead of ordered triplets, you will see a sum of three terms. The Einstein summation convention can be used to reduce that sum to just one term with an implied summation over an index.
     
  4. sorry not sure what you mean here..

    How can i write (mod r)^n in unit vector notation?
     
  5. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    You can't, it's a scalar. However, [itex]\textbf{r}[/itex] and [itex]\mathbf{\nabla}(r^n)[/itex] are vectors (Are you comfortable with using boldface type to denote vectors, and normal font for scalars?...If so, you can simply write [itex]r[/itex] to represent the modulus of the position vector [itex]\textbf{r}[/itex] as I have done).
     
  6. Sorry..I'm not really very familiar with the eistein notation and still cant see how to do this :(
     
  7. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    Start by writing [itex]\textbf{r}[/itex] in unit vector notation...
     
  8. so r=r'r where r' is a unit vector
     
  9. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    I should have been more specific, try writing it in terms of Cartesian unit vectors.
     
  10. r=(x1i, x2j, x3k)?
     
  11. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    Why do you have an ordered triplet with unit vector inside?

    I would say [itex]\textbf{r}=x\textbf{i}+y\textbf{j}+z\textbf{k}[/itex]....does this look familiar to you?

    You can rewrite this by defining [itex]x_1\equiv x[/itex], [itex]x_2\equiv y[/itex] and [itex]x_3\equiv z[/itex] as well as [itex]\textbf{e}_1\equiv \textbf{i}[/itex], [itex]\textbf{e}_2\equiv \textbf{j}[/itex], and [itex]\textbf{e}_3\equiv \textbf{k}[/itex] to get;


    [tex]\textbf{r}=x\textbf{i}+y\textbf{j}+z\textbf{k}=x_1\textbf{e}_1+x_2\textbf{e}_2+x_3\textbf{e}_3[/tex]

    Using the Einstein summation convention, this can be written as [itex]\textbf{r}=x_i\textbf{e}_i[/itex]

    Now, try rewriting the gradient operator,

    [tex]\mathbf{\nabla}=\frac{\partial}{\partial x}\textbf{i}+\frac{\partial}{\partial y}\textbf{j}+\frac{\partial}{\partial z}\textbf{k}[/tex] using the same definitions...
     
  12. Ahh this helps. Thanks

    so del is eidi??
     
  13. how do i apply this on the r^n now?
     
  14. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    Sure, if you define [itex]\partial_i\equiv\frac{\partial}{\partial x_i}[/itex], you get [itex]\mathbf{\nabla}=\textbf{e}_i\partial_i[/itex]

    And how about [itex]r[/itex], the modulus of [itex]\textbf{r}[/itex]...what do you get for that in index notation?
     
  15. um xi2??
     
  16. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    That's not very good notationally (there is no repeated index in your expression, so no summation is implied); I would say [itex]r^2=x_ix_i[/itex], and hence [itex]r^n=(x_ix_i)^{n/2}[/itex].

    So, what is [itex]\mathbf{\nabla}(r^n)[/itex] in index notation?
     
  17. Thank you..

    Sorry I imagine that this is painful for you..sorry :(

    so i think it is eidi(xixi)^n/2

    But i don't know how to simplify this? ahhhhhh :S

    Is there some key concept im missing..
     
  18. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    Your welcome, and don't worry; a lot of students struggle with this stuff when they are first introduced to it.

    Another rule when using index notation is that the same index should not be used more than twice in a single term of an expression (If it's used once, it is a free index. If it's used twice, it's a repeated index and a summation is implied. If it is used 3 or 4 or more times, it's just nonsense)

    For that reason, this should be written as [itex]\mathbf{\nabla}r^n=\textbf{e}_i\partial_i(x_jx_j)^{n/2}[/itex]. To simplify this, just use the product and chain rules to calculate the derivatives involved.
     
  19. Thanks for your patience.

    So now im just thinking about how the differentiation rules might apply here.

    Is it basically a product rule i.e. d/dx of x^n/2 x^n/2 so it simplifies to nei? but thats nonsensical since there needs to be two indices to convey a summation


    arghhhhhhhhh :( :(
     
  20. gabbagabbahey

    gabbagabbahey 5,009
    Homework Helper
    Gold Member

    Start by applying the chain rule:

    [tex]\partial_i(x_jx_j)^{n/2}=(x_kx_k)^{n/2-1}\partial_i(x_jx_j)[/tex]

    (I switched the indices from [itex]j[/itex] to [itex]k[/itex] for the first sum in order to comply with the index notation rule I previously stated)

    Now, use the product rule to calculate [itex]\partial_i(x_jx_j)[/tex]
     
  21. Thanks..

    Is that 2(dixj)xj?

    What now:S?!
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?