I've just discovered that the Comprehensive LaTeX Symbols list has a fascinating section on different symbols used for the same concept (Section 3)
A Mastodon instance for maths people. The kind of people who make \(\pi z^2 \times a\) jokes.
\) for inline LaTeX, and
\] for display mode.