In mathematics and related subjects, understanding a mathematical expression depends on an understanding of symbols of grouping, such as parentheses, square brackets [], and braces [1] (see note on terminology below). These same symbols are also used in ways where they are not symbols of grouping. For example, in the expression 3(x+y) the parentheses are symbols of grouping, but in the expression (3, 5) the parentheses may indicate an open interval.
The most common symbols of grouping are the parentheses and the square brackets, and the latter are usually used to avoid too many repeated parentheses. For example, to indicate the product of binomials, parentheses are usually used, thus:
(2x+3)(3x+4)
(2(a+b)+3)
[(2(a+b)+3][3x+4]
The usage of the word "brackets" varies from country. In the United States, the term denotes [], known elsewhere as "square brackets". In the United Kingdom and many other English-speaking countries, "brackets" means, known in the US as "parentheses" (singular "parenthesis"). That said, the specific terms "parentheses" and "square brackets" are generally understood everywhere and may be used to avoid ambiguity.
The symbol of grouping knows as "braces" has two major uses. If two of these symbols are used, one on the left and the mirror image of it on the right, it almost always indicates a set, as in
\{a,b,c\}
a
b
c
There are other symbols of grouping. One is the bar above an expression, as in the square root sign in which the bar is a symbol of grouping. For example is the square root of the sum. The bar is also a symbol of grouping in repeated decimal digits. A decimal point followed by one or more digits with a bar over them, for example 0., represents the repeating decimal 0.123123123... .[2]
A superscript is understood to be grouped as long as it continues in the form of a superscript. For example if an x has a superscript of the forma+b, the sum is the exponent. For example: x2+3, it is understood that the 2+3 is grouped, and that the exponent is the sum of 2 and 3.
These rules are understood by all mathematicians.
In most mathematics, the operations of addition and multiplication are associative.
The associative law for addition, for example, states that
(a+b)+c=a+(b+c)
The "hierarchy of operations", also called the "order of operations" is a rule that saves needing an excessive number of symbols of grouping. In its simplest form, if a number had a plus sign on one side and a multiplication sign on the other side, the multiplication acts first. If we were to express this idea using symbols of grouping, the factors in a product. Example: 2+3×4 = 2 +(3×4)=2+12=14.
In understanding expressions without symbols of grouping, it is useful to think of subtraction as addition of the opposite, and to think of division as multiplication by the reciprocal.