Type: | Property |
Field: | Algebra |
Statement: | A binary operation is commutative if changing the order of the operands does not change the result. |
Symbolic Statement: | x*y=y*x \forallx,y\inS. |
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a property of arithmetic, e.g. or, the property can also be used in more advanced settings. The name is needed because there are operations, such as division and subtraction, that do not have it (for example,); such operations are not commutative, and so are referred to as noncommutative operations. The idea that simple operations, such as the multiplication and addition of numbers, are commutative was for many years implicitly assumed. Thus, this property was not named until the 19th century, when mathematics started to become formalized. A similar property exists for binary relations; a binary relation is said to be symmetric if the relation applies regardless of the order of its operands; for example, equality is symmetric as two equal mathematical objects are equal regardless of their order.
*
One says that commutes with or that and commute under
*
Division is noncommutative, since
1 ÷ 2 ≠ 2 ÷ 1
Subtraction is noncommutative, since
0-1 ≠ 1-0
0-1=-(1-0)
Exponentiation is noncommutative, since
23 ≠ 32
Some truth functions are noncommutative, since the truth tables for the functions are different when one changes the order of the operands. For example, the truth tables for and are
Function composition of linear functions from the real numbers to the real numbers is almost always noncommutative. For example, let
f(x)=2x+1
g(x)=3x+7
Matrix multiplication of square matrices is almost always noncommutative, for example:
The vector product (or cross product) of two vectors in three dimensions is anti-commutative; i.e., b × a = −(a × b).
Records of the implicit use of the commutative property go back to ancient times. The Egyptians used the commutative property of multiplication to simplify computing products. Euclid is known to have assumed the commutative property of multiplication in his book Elements.[4] Formal uses of the commutative property arose in the late 18th and early 19th centuries, when mathematicians began to work on a theory of functions. Today the commutative property is a well-known and basic property used in most branches of mathematics.
The first recorded use of the term commutative was in a memoir by François Servois in 1814,[5] which used the word commutatives when describing functions that have what is now called the commutative property. Commutative is the feminine form of the French adjective commutatif, which is derived from the French noun commutation and the French verb commuter, meaning "to exchange" or "to switch", a cognate of to commute. The term then appeared in English in 1838.[6] in Duncan Gregory's article entitled "On the real nature of symbolical algebra" published in 1840 in the Transactions of the Royal Society of Edinburgh.[7]
In truth-functional propositional logic, commutation,[8] or commutativity refer to two valid rules of replacement. The rules allow one to transpose propositional variables within logical expressions in logical proofs. The rules are:and where "
\Leftrightarrow
Commutativity is a property of some logical connectives of truth functional propositional logic. The following logical equivalences demonstrate that commutativity is a property of particular connectives. The following are truth-functional tautologies.
(P\landQ)\leftrightarrow(Q\landP)
(P\lorQ)\leftrightarrow(Q\lorP)
(P\to(Q\toR))\leftrightarrow(Q\to(P\toR))
(P\leftrightarrowQ)\leftrightarrow(Q\leftrightarrowP)
In group and set theory, many algebraic structures are called commutative when certain operands satisfy the commutative property. In higher branches of mathematics, such as analysis and linear algebra the commutativity of well-known operations (such as addition and multiplication on real and complex numbers) is often used (or implicitly assumed) in proofs.
See main article: Associative property.
The associative property is closely related to the commutative property. The associative property of an expression containing two or more occurrences of the same operator states that the order operations are performed in does not affect the final result, as long as the order of terms does not change. In contrast, the commutative property states that the order of the terms does not affect the final result.
Most commutative operations encountered in practice are also associative. However, commutativity does not imply associativity. A counterexample is the functionwhich is clearly commutative (interchanging x and y does not affect the result), but it is not associative (since, for example,
f(-4,f(0,+4))=-1
f(f(-4,0),+4)=+1
See main article: Distributive property.
z=f(x,y),
y=x
f(x,y)=x+y
f
For relations, a symmetric relation is analogous to a commutative operation, in that if a relation R is symmetric, then
aRb\LeftrightarrowbRa
See main article: Canonical commutation relation.
In quantum mechanics as formulated by Schrödinger, physical variables are represented by linear operators such as
x
x
\psi(x)
According to the uncertainty principle of Heisenberg, if the two operators representing a pair of variables do not commute, then that pair of variables are mutually complementary, which means they cannot be simultaneously measured or known precisely. For example, the position and the linear momentum in the
x
x
-i\hbar
\partial | |
\partialx |
\hbar
-i\hbar
Abstract algebra theory. Covers commutativity in that context. Uses property throughout book.
Linear algebra theory. Explains commutativity in chapter 1, uses it throughout.
Abstract algebra theory. Uses commutativity property throughout book.
Article describing the mathematical ability of ancient civilizations.
Translation and interpretation of the Rhind Mathematical Papyrus.
Definition of commutativity and examples of commutative operations
Explanation of the term commute
Examples proving some noncommutative operations
Article giving the history of the real numbers
Page covering the earliest uses of mathematical terms
Biography of Francois Servois, who first used the term