In math notations we often uses indices, of which examples are
- for indexing elements of a set as in $x_i\in X$, where $X$ is a set
- for indexing elements of a tuple as in $(x_1, x_2,...x_n)$
- as an index that is not an integer $(\bigcap_{i} U_i) \in \tau, i\in\mathbb R, U_i\subseteq X$, (when defining a topology $\tau$)
- as - some sort of parameter - that describe something, as when defining a ball $B_d(x, r) = \{ d(x,r)\ |\ r\in\mathbb R, x\in X, r>0 \}$
In the first example, the index just makes sure we can keep the $x$ apart, but there is a countable number of elements. In the second example the index indicates an order of elements. In the third example the index is not even countable anymore (since real numbers are not countable) and in the last example, the index is not even a number anymore, but a function.
This begs the first question: Is there any coherent definition of what an index represents or is just a question of gusto of the one introducing the respective notation? Can the index be used for anything?
Now, I have read in multiple contexts that an indexed 'something' can actually just be seen as an evaluated function. A very common example are time series, which basically are finite sequences, of which one can be represented by a tuple $(y_1, y_2, ..., y_n)$. Here we can say that we are considering the function $y(i)$, for which we can - just for example - calculate a regression model. I chose this example, because in fact, here we very often see it as a function of time (which is discretion and thus represented by the index $i$). But in all the above examples it seems very reasonable to also consider the respective elements as evaluated functions:
- $x_i\in X$ could be expressed as $x(i) \in X, i\in\mathbb Z$
- the elements in $(x_1, x_2,...x_n)$ could be expressed as $x(i) \in X, i\in\mathbb Z$
- $(\bigcap_{i} U_i) \in \tau, i\in\mathbb R, U_i\subseteq X$ could be expressed as $(\bigcap_{i} U(i)) \in \tau, i\in\mathbb R, U(i)\subseteq X$
- $B_d(x, r) = \{ d(x,r)\ |\ r\in\mathbb R, x\in X, r>0 \}$ could be expressed as $B(x, r | d) = \{ d(x,r)\ |\ r\in\mathbb R, x\in X, r>0 \}$ or just $B(x, r, d) = \{ d(x,r)\ |\ r\in\mathbb R, x\in X, r>0 \}$
So my second question: How are these any different? Is there a fundamental difference in expressing something as an index or as a function value? Is it just a question of preference and/or convention or is there a special meaning behind having an index in opposite to a function?
Especially in the later two examples it seems weird that an index has been used.