2
$\begingroup$

At school and in all my math books from school (all the way from elementary to high school), the only kind of parenthesis which I have seen used to control the order of operations (like how the parenthesis in $(a+b)\cdot c$ makes the addition come before the multiplication) has been the curved ones: '(' and ')', whereas the box-shaped parenthesis: '[' and ']' only has been used to indicate intervals (like this $[42;\infty[$).
But in the (mostly college/university level) physics and mathematics material I have found on the internet and read on my own, I often find that the box parenthesis is used instead of the curved parenthesis, where my school math book, for instance, would have written something like $(f(x)+g(x))^2$, I find that others have written $[f(x)+g(x)]^2$ (neither examples are directly taken from a specific source, but they show the general difference)

My question is, therefore as follows: if both kinds of parenthesis are equally valid, why do my math books consequently use only the one; if the parenthesis are not equally valid, when should I use the one or the other; does this have to do with national conventions (My math books are all Danish, and the other physics/mathematics material I read are English), and finally why did all my schools only teach me to use one specific parenthesis.

$\endgroup$
  • $\begingroup$ There are certain conventions in mathematics concerning brackets, but there are multiple uses, e.g., $[x]$ may also denote the integer part (Gauss bracket) of a real number $x$, $\{x\}$ the fractional part etc. $\endgroup$ – Dietrich Burde May 16 '17 at 18:58
  • 4
    $\begingroup$ With the exception of particular applications (where particular brackets have very clear, specific meanings), brackets are picked to be easiest to read. As an example, one might write the expectation of the function $f$ of some random variable $X$ as $$\mathbb{E}[f(X)]$$ where the square and curved brackets are alternated here for readability. I often see square brackets used for the outermost association (or even curly brackets) in an expression and curved brackets used within the square brackets (but there is no fixed convention for this). $\endgroup$ – David May 16 '17 at 19:01
  • 1
    $\begingroup$ It's just the authors preference. Regarding the example you gave the square brackets were most likely used for readability as curved brackets were already used. Generally authors will use different types of brackets in order to be clear what they are enclosing. For example, we can compare $f(2(\frac{(x-1)}{7}+1))$ to $f(2[\frac{(x-1)}{7}+1])$ which are equivalent statements but the one with alternating brackets is preferred as it is easier to read. In terms of the order of operations the inner most bracket should be evaluated first regardless of its "type". $\endgroup$ – Alex May 16 '17 at 19:06
5
$\begingroup$

Sometimes, specific types of brackets have specific meanings. As you noted, interval notation is one of these. As another example, set notation is almost always done with curly braces.

When brackets are simply used as grouping symbols, it matters a lot less. Some people just use round parentheses universally. Some like to use parentheses for the innermost set in a nesting, and then square brackets outside of those, and then curly braces. This is also fine. Sometimes, when I'm teaching, I'll use parentheses around the argument of a function, and square brackets around the argument of an operator. (E.g., $f(x)$, but $\frac{d}{dx}[f-g]$.

Generally, just do what you like, but remain alert and flexible. When someone defines a specific notation in a specific context, follow suit in that context. When someone doesn't define a specific notation, be aware that these symbols are used differently by different writers, and be prepared to adapt if a usage seems confusing.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.