Английская Википедия:Commutative property

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Other uses Шаблон:Use dmy dates Шаблон:Infobox mathematical statement

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. Шаблон:Nowrap or Шаблон:Nowrap, 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, Шаблон:Nowrap); 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.[1][2] 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.[3]

Mathematical definitions

A binary operation <math>*</math> on a set S is called commutative if[4][5] <math display="block">x * y = y * x\qquad\mbox{for all }x,y\in S.</math> In other words, an operation is commutative if every two elements commute. An operation that does not satisfy the above property is called noncommutative.

One says that Шаблон:Mvar commutes with Шаблон:Math or that Шаблон:Mvar and Шаблон:Mvar commute under <math>*</math> if <math display="block"> x * y = y * x.</math> That is, a specific pair of elements may commute even if the operation is (strictly) noncommutative.

Examples

Файл:Commutative Addition.svg
The cumulation of apples, which can be seen as an addition of natural numbers, is commutative.

Commutative operations

Файл:Vector Addition.svg
The addition of vectors is commutative, because <math>\vec a+\vec b=\vec b+ \vec a</math>.

Noncommutative operations

Some noncommutative binary operations:[6]

Division, subtraction, and exponentiation

Шаблон:See also Division is noncommutative, since <math>1 \div 2 \neq 2 \div 1</math>.

Subtraction is noncommutative, since <math>0 - 1 \neq 1 - 0</math>. However it is classified more precisely as anti-commutative, since <math>0 - 1 = - (1 - 0)</math>.

Exponentiation is noncommutative, since <math>2^3\neq3^2</math>. This property leads to two different "inverse" operations of exponentiation (namely, the nth-root operation and the logarithm operation), which is unlike the multiplication. [7]

Truth functions

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 Шаблон:Math and Шаблон:Math are

Шаблон:Aligned table

Function composition of linear functions

Function composition of linear functions from the real numbers to the real numbers is almost always noncommutative. For example, let <math>f(x)=2x+1</math> and <math>g(x)=3x+7</math>. Then <math display="block">(f \circ g)(x) = f(g(x)) = 2(3x+7)+1 = 6x+15</math> and <math display="block">(g \circ f)(x) = g(f(x)) = 3(2x+1)+7 = 6x+10</math> This also applies more generally for linear and affine transformations from a vector space to itself (see below for the Matrix representation).

Matrix multiplication

Matrix multiplication of square matrices is almost always noncommutative, for example: <math display="block">

 \begin{bmatrix}
   0 & 2 \\
   0 & 1
 \end{bmatrix} =
 \begin{bmatrix}
   1 & 1 \\
   0 & 1
 \end{bmatrix} 
 \begin{bmatrix}
   0 & 1 \\
   0 & 1
 \end{bmatrix} \neq
 \begin{bmatrix}
   0 & 1 \\
   0 & 1
 \end{bmatrix} 
 \begin{bmatrix}
   1 & 1 \\
   0 & 1
 \end{bmatrix} =
 \begin{bmatrix}
   0 & 1 \\
   0 & 1
 \end{bmatrix}

</math>

Vector product

The vector product (or cross product) of two vectors in three dimensions is anti-commutative; i.e., b × a = −(a × b).

History and etymology

Файл:Commutative Word Origin.PNG
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.[8][9] Euclid is known to have assumed the commutative property of multiplication in his book Elements.[10] 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,[1][11] 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 1838.[2] in Duncan Farquharson Gregory's article entitled "On the real nature of symbolical algebra" published in 1840 in the Transactions of the Royal Society of Edinburgh.[12]

Propositional logic

Шаблон:Transformation rules

Rule of replacement

In truth-functional propositional logic, commutation,[13][14] or commutativity[15] refer to two valid rules of replacement. The rules allow one to transpose propositional variables within logical expressions in logical proofs. The rules are: <math display="block">(P \lor Q) \Leftrightarrow (Q \lor P)</math> and <math display="block">(P \land Q) \Leftrightarrow (Q \land P)</math> where "<math>\Leftrightarrow</math>" 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
<math>(P \land Q) \leftrightarrow (Q \land P)</math>
Commutativity of disjunction
<math>(P \lor Q) \leftrightarrow (Q \lor P)</math>
Commutativity of implication (also called the law of permutation)
<math>\big(P \to (Q \to R)\big) \leftrightarrow \big(Q \to (P \to R)\big)</math>
Commutativity of equivalence (also called the complete commutative law of equivalence)
<math>(P \leftrightarrow Q) \leftrightarrow (Q \leftrightarrow P)</math>

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.[16][17][18]

Mathematical structures and commutativity

Related properties

Associativity

Шаблон:Main

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 function <math display="block">f(x, y) = \frac{x + y}{2},</math> which is clearly commutative (interchanging x and y does not affect the result), but it is not associative (since, for example, <math>f(-4, f(0, +4)) = -1</math> but <math>f(f(-4, 0), +4) = +1</math>). More such examples may be found in commutative non-associative magmas. Furthermore, associativity does not imply commutativity either – for example multiplication of quaternions or of matrices is always associative but not always commutative.

Distributive

Шаблон:Main

Symmetry

Файл:Symmetry Of Addition.svg
Graph showing the symmetry of the addition function

Some forms of symmetry can be directly linked to commutativity. When a commutative operation is written as a binary function <math>z=f(x,y),</math> then this function is called a symmetric function, and its graph in three-dimensional space is symmetric across the plane <math>y=x</math>. For example, if the function Шаблон:Math is defined as <math>f(x,y)=x+y</math> then <math>f</math> is a symmetric function.

For relations, a symmetric relation is analogous to a commutative operation, in that if a relation R is symmetric, then <math>a R b \Leftrightarrow b R a</math>.

Non-commuting operators in quantum mechanics

Шаблон:Main

In quantum mechanics as formulated by Schrödinger, physical variables are represented by linear operators such as <math>x</math> (meaning multiply by <math>x</math>), and <math display="inline">\frac{d}{dx}</math>. These two operators do not commute as may be seen by considering the effect of their compositions <math display="inline">x \frac{d}{dx}</math> and <math display="inline">\frac{d}{dx} x</math> (also called products of operators) on a one-dimensional wave function <math>\psi(x)</math>: <math display="block"> x\cdot {\mathrm{d}\over \mathrm{d}x}\psi = x\cdot \psi' \ \neq \ \psi + x\cdot \psi' = {\mathrm{d}\over \mathrm{d}x}\left( x\cdot \psi \right) </math>

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 <math>x</math>-direction of a particle are represented by the operators <math>x</math> and <math>-i \hbar \frac{\partial}{\partial x}</math>, respectively (where <math>\hbar</math> is the reduced Planck constant). This is the same example except for the constant <math>-i \hbar</math>, 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

Шаблон:Wiktionary

Notes

Шаблон:Reflist

References

Books

Articles

Online resources

Шаблон:Authority control Шаблон:Good article