[Tex/LaTex] When should \cdot be used to indicate multiplication

best practices

Is this purely personal style, or are the generally accepted guidelines? Clearly, when dealing with numbers either $2 \cdot 2$ or $2 \times 2$ is needed, but within formulae where an absence of an operator implies multiplication, when should a \cdot be used? I tend to use it only sparingly if it aids in grouping. (Of course, barring the cases where it's required, e.g. a dot product.)

Best Answer

This is only useful to avoid ambiguity. Two circumstances come to mind:

  • Multiplying actual numbers, as you say: 2 \cdot 2 versus 22 is obviously the way to go. More subtly, writing, say, 2 \cdot 3^4 is an improvement over 2 3^4 for the same reason. You might say "of course!" except that sometimes, if you have a pedantic input style (like me) you fool yourself: 2 {13}^2 looks like 213^2.

  • Function notation. This is the only time in abstract algebra that juxtaposition of symbols means something other than multiplication; it means the "product" of a function acting on its argument instead. So, for example, if you have a function f(x) and you try to multiply it by x + 1, you could write either f(x + 1) (obviously wrong) or f(x) (x + 1) (too many similar braces). Here, writing f \cdot (x + 1) or f(x) \cdot (x + 1) is probably best.

This is a totally anecdotal answer.