3
$\begingroup$

I'm writing an assignment right now and getting into some quite lengthy derivations, which caused me to wonder about bracket notation in math and what is best practice. There are three primary types of brackets I'm familiar with: the curly brackets {}, square brackets [], and the classic parentheses (). From what I learned, in an equation with tons of brackets, you go from outer to inner in that order e.g.

$$A\left\{\frac{2}{3}\left[B^2\left(C+4\right) + 2\right] - D^2\right\}$$

My question I suppose would be what happens if you need to add another level? i.e. What is the next bracket you would use? Or would needing to do that be considered bad notation and an indication that you should simplify/expand your expression?

What is accepted practice in literature? Is there a convention, and if so what is it? Do some people not even use different types of brackets? I could see a case being made that you just stick to the round brackets () for each level, just use different sizes maybe. I had trouble finding good and insightful answers so here I am on SO. I look forward to your answers.

Related but unanswered

$\endgroup$
6
  • 1
    $\begingroup$ it's all parentheses all the time for operation grouping in programming; there, curly braces and square brackets mean very different things! - And, indeed, parentheses themselves collect additional meanings. $\endgroup$ Jun 24, 2021 at 20:29
  • $\begingroup$ related math.stackexchange.com/q/1875182/889261 $\endgroup$ Jun 24, 2021 at 21:04
  • $\begingroup$ There is no agreed convention. I would avoid curly braces altogether to avoid confusion with set notation. I think lots of people just stick to round brackets and use layout and the size of the brackets to improve readability. $\endgroup$
    – Rob Arthan
    Jun 24, 2021 at 22:15
  • $\begingroup$ Given @QuantumMechanic's informative answer and reference, I will qualify my comment: I don't believe there is an agreed convention in pure mathematics. $\endgroup$
    – Rob Arthan
    Jun 25, 2021 at 0:01
  • $\begingroup$ @RobArthan I'm not even certain the convention is agreed upon in physics, I can simply attest to its existence $\endgroup$ Jun 25, 2021 at 2:36

1 Answer 1

3
$\begingroup$

One convention is to repeat again in the same order. So a nested expression can look like \begin{equation} \left\{f\left[e\left(d\left\{c\left[b\left(a\right)b\right]c\right\}d\right)e\right]f\right\}. \end{equation}

$\endgroup$
5
  • $\begingroup$ Interesting. Makes sense, but I have never seen this, though. $\endgroup$ Jun 24, 2021 at 21:08
  • $\begingroup$ I learned this many years ago from who knows where $\endgroup$ Jun 24, 2021 at 21:09
  • 2
    $\begingroup$ In this physics style guide they prescribe my quoted rule, so perhaps it's a physics thing journals.aps.org/prl/authors/… $\endgroup$ Jun 24, 2021 at 21:16
  • $\begingroup$ @QuantumMechanic Neat -- a source like the APS is something I was actually looking for. Thanks for the insight, I had never seen that convention to repeat it. $\endgroup$
    – mathwiz97
    Jun 25, 2021 at 13:51
  • $\begingroup$ I also found it in this ~decade-old Physical Review Style Guide (sorry I only found a pdf): cdn.journals.aps.org/files/styleguide-pr.pdf - there they say to put the outer set of symbols in bold! $\endgroup$ Jun 25, 2021 at 14:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .