Index notation is driving me CRAZY

In summary, the conversation discusses the simplification of the expression x_k \partial_i r_k in index notation, with the goal of showing that it is equal to zero. The conversation includes a step-by-step explanation of the process, including the use of sum notation and the chain rule. The conversation also addresses potential mistakes in the reasoning and includes corrections to the calculations. The final conclusion is that the expression is indeed equal to zero.
  • #1
AxiomOfChoice
533
1
I've already posted a couple of index notation questions on here and I've gotten very helpful responses. So I thought I'd try my lucky again, though I'm a little more stumped on this question than I was on the others...

Let [itex]\vec{x}[/itex] be the position vector and [itex]\vec{r}[/itex] the radial unit vector. In index notation, I find myself confronted with simplifying

[tex]
x_k \partial_i r_k.
[/tex]

I desperately want this to be zero, but I can't figure out why it should be. (I can't really figure out what this represents at all, as a matter of fact.) Isn't [itex]\partial_i r_k[/itex] a 2 by 2 matrix? And if so, how would multiplying with [itex]x_k[/itex] make everything go away? Again, maybe it doesn't.

Can anyone help?
 
Mathematics news on Phys.org
  • #2
Edit: of course it helps if I (read and hence) write the correct thing; here's what I should have written.

You can just write the sum out (doing this is what helped me from going from "summation convention, that's black magic" to "summation convention is really useful and easy".

[tex] \sum_k x_k\partial_i r_k[/tex]

Now, what exactly is [itex]\partial_i[/itex]?
 
Last edited:
  • #3
AxiomOfChoice said:
Isn't [itex]\partial_i r_k[/itex] a 2 by 2 matrix?

No, it is what happens when you apply [itex]\partial_i[/itex] to [itex]r_k[/itex].

I'm assuming that [itex]\partial_i[/itex] means partial derivative with respect to something (x_i perhaps, or r_i).

Passing back to matrices, remember that if M is a matrix we write M_{ij} for the i,j'th entry of a matrix (say a real number). M_{ij} is _not_ a matrix. It is an element of a matrix.
 
  • #4
I think I've shown that [itex]x_k \partial_i r_k[/itex] is identically zero: Rewrite [itex]x_k \partial_i r_k[/itex] as

[tex]
x_k \partial_i (\frac{x_k}{r}),
[/tex]

where as usual [itex]r = |\vec{r}|[/itex]. We can apply the chain rule to get

[tex]
x_k \partial_i (\frac{x_k}{r}) = x_k x_k \partial_i(\frac{1}{r}) + \frac{x_k}{r} \partial_i x_k.
[/tex]

Things become easier now. The second term on the RHS is just

[tex]\frac{x_k}{r}\delta_{ik} = \frac{x_k}{r}[/tex].

Now, [itex]\partial_i (1/r)[/itex] is the same as [itex]\nabla (1/r)[/itex], and a quick calculation gives that [itex]\nabla (1/r) = -x_k/r^3[/itex] (in index notation). Since [itex]x_k x_k = r^2[/itex], the first term on the RHS is, using index notation,

[tex]
-r^2\frac{x_k}{r^3} = -\frac{x_k}{r}.
[/tex]

Then

[tex]
x_k \partial_i r_k = -\frac{x_k}{r} + \frac{x_k}{r} = 0.
[/tex]

I might have made a mistake, but I think this is right. Let me know if you disagree with my argument.
 
  • #5
There is one clear mistake in your reasoning that your last line of tex tells you to look for: the LHS of that last line is a sum. The central term is not a sum but has k, the summation index, in it.Here is one thing that is wrong: you write

[tex]
\frac{x_k}{r}\delta_{ik} = \frac{x_k}{r}
[/tex]

The thing on the left is summed over k. The thing on the right has a k in it. It should have an i in it, not a k. You do something similar when you say that the i'th component of del of 1/r is x_k. Let me quote the thing in the next reply.
 
Last edited:
  • #6
AxiomOfChoice said:
Now, [itex]\partial_i (1/r)[/itex] is the same as [itex]\nabla (1/r)[/itex]

No it's not. the former is a component, the latter is a vector. See above comment about matrices and elements of matrices. It is important to know what the things you're manipulating are, and why you can do what you do to them.

and a quick calculation gives that [itex]\nabla (1/r) = -x_k/r^3[/itex] (in index notation).

Here you use k when you *must* use i, otherwise, if it weren't for this next substitution:
Since [itex]x_k x_k = r^2[/itex], the first term on the RHS is, using index notation,

[tex]
-r^2\frac{x_k}{r^3} = -\frac{x_k}{r}.
[/tex]

you'd've ended up with more than 2 k's in something.
 
  • #7
matt grime said:
Edit: of course it helps if I (read and hence) write the correct thing; here's what I should have written.

You can just write the sum out (doing this is what helped me from going from "summation convention, that's black magic" to "summation convention is really useful and easy".

[tex] \sum_k x_k\partial_i r_k[/tex]

Now, what exactly is [itex]\partial_i[/itex]?

Matt, thanks for your help. To answer your question:

[tex]
\partial_i = \frac{\partial}{\partial x_i}.
[/tex]

Hopefully that clears things up.
 
  • #8
matt grime said:
No it's not. the former is a component, the latter is a vector. See above comment about matrices and elements of matrices. It is important to know what the things you're manipulating are, and why you can do what you do to them.



Here you use k when you *must* use i, otherwise, if it weren't for this next substitution:




you'd've ended up with more than 2 k's in something.

Matt:

I see your point. I think what I should have in my final expression is i's, not k's. If I follow this through, I still get 0 as my final answer.

I will try to post again in a second with my corrections.
 
  • #9
Things become easier now. The second term on the RHS is just
[tex]
\frac{x_k}{r}\delta_{ik} = \frac{x_k}{r}
[/tex].

This should be corrected as follows:

[tex]
\frac{x_k}{r}\delta_{ik} = \frac{x_i}{r}
[/tex].

Now, [itex]\partial_i (1/r)[/itex] is the same as [itex]\nabla (1/r)[/itex], and a quick calculation gives that [itex]\nabla (1/r) = -x_k/r^3[/itex] (in index notation). Since [itex]x_k x_k = r^2[/itex], the first term on the RHS is, using index notation,

[tex]
-r^2\frac{x_k}{r^3} = -\frac{x_k}{r}.
[/tex]

Then

[tex]
x_k \partial_i r_k = -\frac{x_k}{r} + \frac{x_k}{r} = 0.
[/tex]

This should be corrected as follows:

A quick calculation gives

[tex]
\partial_i (1/r) = -\frac{x_i}{r^3}
[/tex]

Hence

[tex]
x_k x_k\partial_i(1/r) = r^2(-x_i/r^3) = -\frac{x_i}{r}.
[/tex]

This is because [itex]x_k x_k[/itex] is the same as [itex]\vec{r} \cdot \vec{r} = r^2[/itex]. It follows that

[tex]
x_k\partial_i r_k = \frac{x_i}{r} - \frac{x_i}{r} = 0.
[/tex]

(Oh God, PLEASE let that be right.)
 
  • #10
Yes, I that's it.
 
  • #11
I'm bumping this because it's related to the problem I'm having. currently though, I'm just trying to understand what's been written and it would be great if you could help me out. here's a quote from what is above:




We can apply the chain rule to get

[tex]
x_k \partial_i (\frac{x_k}{r}) = x_k x_k \partial_i(\frac{1}{r}) + \frac{x_k}{r} \partial_i x_k.
[/tex]

Things become easier now. The second term on the RHS is just

[tex]\frac{x_k}{r}\delta_{ik} = \frac{x_k}{r}[/tex].


how does that work?

[tex] \frac{x_k}{r} \partial_i x_k. = \frac{x_k}{r}\delta_{ik} = \frac{x_k}{r}[/tex].

I don't understand what you've done there, how that's equal.
 
  • #12
What don't you understand? (note you've copied part that was wrong.)

This:
[tex]
\frac{x_k}{r}\delta_{ik} = \frac{x_k}{r}
[/tex]

is not correct. Note again that on the left the k is a summed index. So it cannot appear on the right on its own. We are also trying to work out the i'th component of something so i should appear on the right. It should read

[tex]
\frac{x_k}{r}\delta_{ik} = \frac{x_i}{r}
[/tex]

Is that the problem solved?
 
  • #13
yes, thankyou.
 

Related to Index notation is driving me CRAZY

1. What is index notation?

Index notation is a mathematical notation that is used to represent and manipulate vectors, matrices, and tensors. It involves using subscripts to indicate the different components of a vector or matrix.

2. Why is index notation important?

Index notation is important because it allows for a more concise and efficient way of representing and manipulating mathematical objects with multiple components. It is also useful for solving problems in physics and engineering.

3. What are the common challenges with index notation?

Some common challenges with index notation include keeping track of the indices and understanding the rules for manipulating them. It can also be confusing to use different indices for different objects in the same equation.

4. How can I improve my understanding of index notation?

One way to improve your understanding of index notation is to practice working with it. You can also try breaking down complex equations into simpler components and understanding how the indices relate to each other.

5. What are some tips for using index notation effectively?

Some tips for using index notation effectively include using consistent notation throughout your equations, double-checking your indices for any mistakes, and visualizing the objects in your equations to better understand the indices and their relationships.

Similar threads

  • Special and General Relativity
Replies
4
Views
425
  • Special and General Relativity
Replies
12
Views
2K
Replies
16
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Other Physics Topics
Replies
1
Views
1K
Replies
1
Views
2K
  • Other Physics Topics
Replies
6
Views
1K
  • Special and General Relativity
Replies
1
Views
798
  • Special and General Relativity
Replies
7
Views
2K
Replies
3
Views
3K
Back
Top