Supposed I have an position vector $$\vec{r}=\begin{pmatrix} 10.0 & -30.0 & 25.0\end{pmatrix}$$ expressed in $\mathrm{millimeters}$.
What is the correct notation to display $\vec{r}$
- $\begin{pmatrix} 10.0 \\ -30.0 \\ 25.0\end{pmatrix}\text{ [mm]}$
- $\begin{pmatrix} 10.0\text{ [mm]} \\ -30.0\text{ [mm]} \\ 25.0\text{ [mm]}\end{pmatrix}$
- $(40.3113\text{ [mm]}) \begin{pmatrix}0.24807 \\ -0.7442 \\ 0.6202\end{pmatrix}$
If the answer is 2. then why add all those redundunt units when all elements of a vector have to be of the same unit. If you have a long list of values then usualy you present this a table with the units in the header (and not on each element). What if the units are complex (with powers and fraction), do we really have to write them out for each element?
How would you consicely write out a vector while describing the units those values are in also at the same time?
PS. I did not post this in the Math SE
because they have never heard of units :-) and only physics deals with real situations.
123.45\text{ mm}
. This applies to your form #1 as well: it should be $(10.0, -30.0, 25.0)\text{ mm}$. You'll also note that I like commas in vector expansions performed inline (but not in matrices in general). $\endgroup$siunitx
available in LaTeX you can write\SI{123.45}{mm}
and it will add the space automatically. If there's no units package available, I usually use123.45\,\mathrm{mm}
although I guess it doesn't really matter whether you use that or dmckee's method (which is a little shorter) - nobody here is going to complain about having the wrong size space in your measurements! $\endgroup$