# Writing a simple sum with einstein notation

Physics Asked by l3utterfly on December 11, 2020

Is there any shorthand using the Einstein notation to write a simple sum?

$$X = X_1 + X_2 + X_3 ….$$

Can I write: $$X = X_i$$ ?

I don’t think so because the definition states that only indices that appear twice is summed over. What is the correct way to write a simple sum like the example above?

The Einstein summation notation includes repeated indices (i.e. summation notation). For vectors (and tensors), $$X$$ would usually mean the full object, $$X = X^{i} e_{i} = X^{0}e_{0} + X^{1}e_{1}...$$ etc. The $$X^i=X^i (x)$$ are the components of the vector and $$e_i$$ is some basis. The $$i$$ deonotes the components, and this is summed in the above equation. But we can talk just about the components $$X^i$$, which means $$(X^0, X^1, ... X^n)$$.

So yes, you can write $$X^i$$, but it doesn't mean what you've written down. This is just four-vector notation, but not specifically Einstein summation notation. The sum you wrote is more like the Euclidean norm, which as the other comment says, it's easiest notated as $$sum_{i}^{n} X^i$$.

Answered by Eletie on December 11, 2020

Such a sum is, as far as I know, not easily expressible in Einstein notation - you could probably write it in a convoluted way, but that would not really be simpler or easier to understand than $$X = sum_i X_i$$.

The summation convention is not a shorthand for any sum, but only for certain kinds of sums which arise in linear algebra, such as scalar products, matrix multiplication and so on. In formal terms, the sums at hand are those corresponding to the application of (multi)linear maps between a vector space, its dual, and powers of these; or to the coordinate representation of vectors and tensors. Some examples are given in the Wikipedia article for the convention.

This is the reason for the requirement of two equal indices.

Answered by Jacopo Tissino on December 11, 2020

## Related Questions

### What does the viscous damping coefficient depend on?

1  Asked on April 20, 2021

### Gravitational Potential Energy to Kinetic Energy

3  Asked on April 20, 2021 by jason-chen

### Probabilities to find $psi$ in the different eigenstates of $hat{L}_z$: how to handle the $r$-dependence?

1  Asked on April 20, 2021

### How do magnets move towards or away from each other? (Explanation on a molecular level)

2  Asked on April 20, 2021

### What voltage is needed to ionize oxygen at the centre of this ball and would we hear any noise from thunder?

0  Asked on April 19, 2021 by user291777

### Properties of a heat reservoir

1  Asked on April 19, 2021

### Relativistic rendering: ray tracing photon paths affected by masses

1  Asked on April 19, 2021

### Finding potential using spherical harmonics

1  Asked on April 19, 2021 by fasi

### Position of Central Maxima due to multiple path differences in YDSE

0  Asked on April 19, 2021 by debojyoti-roy

### What could be and how to come up with a mathematical formula for the local electric field inside a blackbody cavity?

1  Asked on April 19, 2021

### ISO an elegant derivation of the Geodesic Equation from the Einstein Equation

1  Asked on April 19, 2021 by john-of-tellus

### Why is this question indicating a Fraunhofer Region rather than Fresnel Region?

2  Asked on April 19, 2021 by jobhunter69

### Volume growth of black hole interior

1  Asked on April 19, 2021

### Relationship between linear and angular velocity?

1  Asked on April 19, 2021

### Does mass really exist?

8  Asked on April 19, 2021

### How uncertainty principle can be used to calculate the range of actual variables

1  Asked on April 19, 2021

### How to distinguish “chance” from simulation events?

1  Asked on April 19, 2021 by jrrs

### Why loudness is dependent on number of molecules?

1  Asked on April 19, 2021 by zam

### $N$ bosons in two energy levels

1  Asked on April 19, 2021 by ana-branco

### Period behavior near separatrix in Hamiltonian system

1  Asked on April 19, 2021 by virgile-guemard