Commutative property

For other uses, see Commute (disambiguation).
An operation is commutative iff for each and . This image illustrates this property with the concept of an operation as a "calculation machine". It doesn't matter for the output or respectively which order the arguments and have – the final outcome is the same.

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. Most familiar as the name of the property that says "3 + 4 = 4 + 3" or "2 × 5 = 5 × 2", 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, "3 − 5 ≠ 5 − 3"), such operations are not commutative, or noncommutative operations. The idea that simple operations, such as multiplication and addition of numbers, are commutative was for many years implicitly assumed and the property was not named until the 19th century when mathematics started to become formalized. A corresponding property exists for binary relations; a binary relation is said to be symmetric if the relation applies regardless of the order over some set; for example, equality is symmetric as two mathematical objects are equal regardless of the order of the two.[1]

Common uses

The commutative property (or commutative law) is a property generally associated with binary operations and functions. If the commutative property holds for a pair of elements under a certain binary operation then the two elements are said to commute under that operation.

Mathematical definitions

Further information: Symmetric function

The term "commutative" is used in several related senses.[2][3]

  1. A binary operation on a set S is called commutative if:
    An operation that does not satisfy the above property is called non-commutative.
  2. One says that x commutes with y under if:
  3. A binary function is called commutative if:


Commutative operations in everyday life

The cumulation of apples, which can be seen as an addition of natural numbers, is commutative.

Commutative operations in mathematics

The addition of vectors is commutative, because .

Two well-known examples of commutative binary operations:[2]

For example 4 + 5 = 5 + 4, since both expressions equal 9.
For example, 3 × 5 = 5 × 3, since both expressions equal 15.
For example, the logical biconditional function p ↔ q is equivalent to q ↔ p. This function is also written as p IFF q, or as p ≡ q, or as Epq.
The last form is an example of the most concise notation in the article on truth functions, which lists the sixteen possible binary truth functions of which eight are commutative: Vpq = Vqp; Apq (OR) = Aqp; Dpq (NAND) = Dqp; Epq (IFF) = Eqp; Jpq = Jqp; Kpq (AND) = Kqp; Xpq (NOR) = Xqp; Opq = Oqp.

Noncommutative operations in everyday life

Noncommutative operations in mathematics

Some non-commutative binary operations:[4]

  • Subtraction is non-commutative, since
  • Division is non-commutative, since
  • Some truth functions are non-commutative, since the truth tables for the functions are different when one changes the order of the operands.

    For example, the truth tables for f (A, B) = A Λ ¬B (A AND NOT B) and f (B, A) = B Λ ¬A are

    A B f (A, B) f (B, A)
    F F F F
    F T F T
    T F T F
    T T F F
  • Matrix multiplication is non-commutative since

History and etymology

The first known use of the term was in a French Journal published in 1814

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.[5][6] Euclid is known to have assumed the commutative property of multiplication in his book Elements.[7] 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,[8][9] which used the word commutatives when describing functions that have what is now called the commutative property. The word is a combination of the French word commuter meaning "to substitute or switch" and the suffix -ative meaning "tending to" so the word literally means "tending to substitute or switch." The term then appeared in English in Philosophical Transactions of the Royal Society in 1844.[8]

Propositional logic

Rule of replacement

In truth-functional propositional logic, commutation,[10][11] or commutativity[12] refer to two valid rules of replacement. The rules allow one to transpose propositional variables within logical expressions in logical proofs. The rules are:


where "" is a metalogical symbol representing "can be replaced in a proof with."

Truth functional connectives

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.

Commutativity of conjunction
Commutativity of disjunction
Commutativity of implication (also called the law of permutation)
Commutativity of equivalence (also called the complete commutative law of equivalence)

Set theory

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.[13][14][15]

Mathematical structures and commutativity

Related properties


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 doesn't 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 function

which is clearly commutative (interchanging x and y does not affect the result), but it is not associative (since, for example, but ). More such examples may be found in Commutative non-associative magmas.


Graph showing the symmetry of the addition function

Some forms of symmetry can be directly linked to commutativity. When a commutative operator is written as a binary function then the resulting function is symmetric across the line y = x. As an example, if we let a function f represent addition (a commutative operation) so that f(x,y) = x + y then f is a symmetric function, which can be seen in the image on the right.

For relations, a symmetric relation is analogous to a commutative operation, in that if a relation R is symmetric, then .

Non-commuting operators in quantum mechanics

In quantum mechanics as formulated by Schrödinger, physical variables are represented by linear operators such as x (meaning multiply by x), and . These two operators do not commute as may be seen by considering the effect of their compositions and (also called products of operators) on a one-dimensional wave function :

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-direction of a particle are represented respectively by the operators and (where is the reduced Planck constant). This is the same example except for the constant , so again the operators do not commute and the physical meaning is that the position and linear momentum in a given direction are complementary.

See also

Look up commutative property in Wiktionary, the free dictionary.


  1. Weisstein, Eric W. "Symmetric Relation". MathWorld.
  2. 1 2 Krowne, p.1
  3. Weisstein, Commute, p.1
  4. Yark, p.1
  5. Lumpkin, p.11
  6. Gay and Shute, p.?
  7. O'Conner and Robertson, Real Numbers
  8. 1 2 Cabillón and Miller, Commutative and Distributive
  9. O'Conner and Robertson, Servois
  10. Moore and Parker
  11. Copi, Irving M.; Cohen, Carl (2005). Introduction to Logic. Prentice Hall.
  12. Hurley, Patrick (1991). A Concise Introduction to Logic 4th edition. Wadsworth Publishing.
  13. Axler, p.2
  14. 1 2 Gallian, p.34
  15. p. 26,87
  16. Gallian p.236
  17. Gallian p.250



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.

Online resources

Definition of commutativity and examples of commutative operations

, Accessed 8 August 2007.

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

This article is issued from Wikipedia - version of the 11/9/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.