Difference between revisions of "Commutative property"
m |
m (→Examples) |
||
Line 10: | Line 10: | ||
==Examples== | ==Examples== | ||
− | * The integers | + | * The integers commute under both addition and multiplication, but not subtraction or division. |
* Some [[function]]s commute under [[composition]]. For example, the functions <math>f_n: \mathbb{C} \to \mathbb{C}</math>, <math>f_n(z) = z^n</math> for all <math>z</math> (with <math>n</math> taking values in the positive integers) commute: <math>f_n \circ f_m = f_m \circ f_n</math>. | * Some [[function]]s commute under [[composition]]. For example, the functions <math>f_n: \mathbb{C} \to \mathbb{C}</math>, <math>f_n(z) = z^n</math> for all <math>z</math> (with <math>n</math> taking values in the positive integers) commute: <math>f_n \circ f_m = f_m \circ f_n</math>. | ||
+ | |||
+ | * Function composition is not, in general, commutative. For example, composing two linear transformations between three vector spaces corresponds to multiplying the corresponding matrices, and matrix multiplication does not commute in general. In particular, let <math>A</math> be a <math>1 \times 2</math> matrix and <math>B</math> a <math>2 \times 1</math> matrix. Then <math>AB</math> and <math>BA</math> are matrices of sizes <math>1 \times 1</math> and <math>2 \times 2</math>, respectively. | ||
== See also == | == See also == | ||
* [[Abstract algebra]] | * [[Abstract algebra]] | ||
* [[Algebra]] | * [[Algebra]] |
Latest revision as of 16:46, 16 March 2012
An operation (especially a binary operation) is said to have the commutative property or to be commutative if the order of its arguments does not affect the value.
For example, the operation addition is commutative on the most commonly used number systems (the complex numbers and its subsets such as the real numbers, integers, etc.) because . However, the operation of division is not commutative over these sets because usually .
Formally, an operation is commutative if and only if .
An operation which is not commutative is said to be noncommutative.
Commutivity is especially important in abstract algebra. The study of groups in which the group operation is commutative (abelian groups) is a very important part of group theory.
Examples
- The integers commute under both addition and multiplication, but not subtraction or division.
- Some functions commute under composition. For example, the functions , for all (with taking values in the positive integers) commute: .
- Function composition is not, in general, commutative. For example, composing two linear transformations between three vector spaces corresponds to multiplying the corresponding matrices, and matrix multiplication does not commute in general. In particular, let be a matrix and a matrix. Then and are matrices of sizes and , respectively.