I was writing an article and I stumbled across a situation where I was doubting how to be rigorous in my writing. I'm going to give an example to illustrate the problem.
Let $X = \{(x, y, z), x, y, z \in \mathbb{R}\}$.
Now we want to construct a scalar function, but I was doubting on how to go about it.
If one would define the function $f: \mathbb{R}^4 \rightarrow \mathbb{R}^3, f(x, y, z, s) = (x \cdot s, y \cdot s, z \cdot s)$ and would take an arbitrary $x \in X$ where $x = (x_1, x_2, x_3)$, then my paranoid mind would think that $f(x, s) = ((x_1, x_2, x_3) \cdot ?, s \cdot ?, ?, ?)$. I put question marks, as with this reasoning, the third and fourth arguments don't exist.
One could say, define a function $f(x, s) = (x_1 \cdot s, x_2 \cdot s, x_3 \cdot s)$. But how would one define the domain then? We know that $x \in \mathbb{R}^3$ and $s \in \mathbb{R}$. But if we would say $f: \mathbb{R}^3 \times \mathbb{R} \rightarrow \mathbb{R}^3$, then that would be equivalent to saying $f: \mathbb{R}^4 \rightarrow \mathbb{R}^3$.
Can someone explain this to me and how math views these cases? Is there a difference in putting a couple of arguments as a coordinate/tuple as opposed to putting the individual elements as parameters? Thanks in advance!