[Math] Should I use parentheses when writing $\log$

notation

Should I be using parentheses when using things like $\log$ in LaTeX, and when handwriting?

Should I use $\log x$ or $\log(x)$?

If it's just one value or variable, I can see getting away with not using parentheses, but suppose I have a function in there:

$$
\log p(w|v) \; \text{or} \; \log( p(w|v) ) \; ?
$$

Same question applies to things like $\sin$, $\arctan$, $\ln$, etc.

Best Answer

If $f$ was a function and $x$ its argument: who in the mathematician's world would write $f\,x$ instead of $f(x)$? So the question really is: “What is the reason to omit the argument's brackets in some cases?” (And how to remember these exceptions? It's sort of remembering the list of all irregular verbs.) Besides of overcame traditional unprogressive reasons every teacher among us will agree that maximizing the data-ink ratio will as well minimize the readability, hence the grasping of what is written.

In case you're a teacher you should always put brackets around a function's argument, just for the sake of consistency. In case you're not: correct your habit to avoid ambiguous expressions: Don't spare (digital) ink, write out your thoughts as clearly as possible!

Related Question