1
$\begingroup$

I need to write a vector that contains a scalar for each random variable in a set $S$. I would like something similar to set-builder notation to be able to define vectors as in

$$\mathbf v = (v_s | s \in S).$$

Would that be acceptable or is there something more appropriate to build vectors?

One problem I see straightway is that we have no ordering over the elements of $S$ there.

What I currently do is to define $v_s$ and then say $\mathbf v$ is the vector that "collects" all $v_s$, but that does not seem very rigorous either.

$\endgroup$
1
  • 3
    $\begingroup$ The order of components matters in a vector but not in a set, so this definition is ambiguous. $\endgroup$ Aug 23, 2019 at 15:33

3 Answers 3

3
$\begingroup$

What you could do is give a basis $$ \{ e_{s} : s \in S \} $$ for your vector space and then define $$ (v_{s} : s \in S) = \sum_{s} v_{s} e_{s}. $$ Alternatively, you could just use the sum instead of defining new notation. Lastly, you could consider $v$ as a function from $S$ to your field of scalars (presumably the real numbers). That is, $v: s \mapsto v_{s}$. It depends on what you're trying to use this for.

Edit: The thing about rigor is that it can be a bit tough to pin down what it means exactly. A better goal would just to aim for being completely unambiguous. In this case, the structure of a vector space makes your life easier. Regardless of your choice of notation, if you can show 1) that your vector is an element of some vector space and 2) that you can unambiguously determine its components with respect to a single basis of that space, then you are good.

For instance, the set of functions $f: X \to \mathbb{R}$ forms a vector space under the addition $(f + g)(x) = f(x) + g(x)$ for any finite set $X$. So if you take $X = S$, you get my second example. Alternatively, per your suggestion in the comments, if you take $ X = \{ 1, 2, \dots n \} $ as some index set, then you can represent your vector as a function $f: X \to \mathbb{R}$ so long as you also define an injective function $g: X \to S$ to index the random variables (it must be injective so that no two distinct random variables have the same index).

$\endgroup$
4
  • 1
    $\begingroup$ +1, particularly for the last two sentences. $\endgroup$ Aug 23, 2019 at 17:21
  • $\begingroup$ Many thanks for your answer! I just want to represent an instantiation of the random variables as a vector. Would your last suggestion be equivalent to having an index set? Say, $V_{S}$ is a set of random variables indexed by $S = \{1, 2, ..., n\}$ and $V_{S} = \mathbf v$ is a realization of $V_{S}$. Would that be a rigorous definition of $\mathbf v$ as a vector? $\endgroup$
    – AlCorreia
    Aug 27, 2019 at 16:29
  • $\begingroup$ @AlCorreia using an index set would work too. I'm not sure what you mean by equivalent, but it is similar. $\endgroup$ Aug 27, 2019 at 18:27
  • $\begingroup$ It is very clear now! Thanks again for your answer. $\endgroup$
    – AlCorreia
    Aug 28, 2019 at 10:42
0
$\begingroup$

I think that notation would be acceptable. Just define it before you first use it. The alternative is to index the random variables in some arbitrary way, thus imposing an arbitrary order and then using clumsy essentially meaningless subscripts to refer to them.

$\endgroup$
0
$\begingroup$

To describe a vector, we usually describe its entries. For example, a $3$-dimensional vector might be described as $v_1=2,\,v_2=-3,\,v_3=4$, or another vector would be described by (say) $v_s=f(s),\,s\in S$.

$\endgroup$
2
  • $\begingroup$ I already define $v_s$ as a function of $s$, but how would you introduce $\mathbf v$ in that case? Please see the update to my question for how I currently do it. $\endgroup$
    – AlCorreia
    Aug 23, 2019 at 16:09
  • 1
    $\begingroup$ @AlCorreia To clarify, in my suggestion you'd say something like "the vector $v_s=f(s)$", or the existence of an index would be taken as implying that we've done that. $\endgroup$
    – J.G.
    Aug 23, 2019 at 16:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .