You can swap things around.
Sometimes you can swap things around.
This works for adding and multiplying too. But it does not work for everything. Subtraction is different. Taking two from five is not the same as five minus two.
People used this trick a long time ago. Ancient Egyptians used it to help them count. The name for this idea came much later. It means to switch or exchange. It is a very helpful rule for math.
Imagine you have a pile of apples. You add two apples to three apples. You get five apples. Now, try it the other way. Put three apples with two apples. You still have five!
In math, this is called the commutative property. It means you can switch the order of two things. The result stays the same. Addition and multiplication work this way.
But not every math rule works this way. Some rules are called noncommutative. This means the order matters. Subtraction is one example. If you take two from five, you get three. But if you take five from two, you get a different result. Division also works this way.
People have used these ideas for a very long time. Ancient Egyptians used it to help them multiply. A man named Euclid used it in his books too. The word "commutative" comes from a French word. It means to switch or exchange. The first time people used this exact word was in 1814. It helps us understand how math parts work together.
Imagine you have two piles of apples. You can add the first pile to the second pile. You can also add the second pile to the first pile. In both cases, the total number of apples stays the same.
Many math operations follow this rule. Addition is a great example of a commutative operation. Multiplication also works this way for most number systems. This includes natural numbers, integers, and even complex numbers.
However, not every math rule is commutative. Some rules are called noncommutative because the order changes the answer. Subtraction is a good example of this. If you take two from five, you get three. But if you take five from two, you get a different result.
People have used these ideas for a very long time. Ancient Egyptians used the commutative property of multiplication to make computing easier. The mathematician Euclid also assumed this property in his famous book called Elements. For many centuries, people just assumed these rules worked this way. They did not have a special name for the property until much later. Formal uses of the property grew in the late 18th and early 19th centuries. This happened as mathematicians began to study the theory of functions.
The word "commutative" comes from the French word "commutatif." This word comes from "commuter," which means to exchange or to switch. The first recorded use of the word was in 1814. It appeared in a French journal to describe certain functions. Later, the word appeared in English in 1838. In 1840, Duncan Gregory used it in an article for the Royal Society of Edinburgh. Today, the commutative property is a basic part of almost all math. It helps us understand how different math structures work together.
In mathematics, a binary operation is a rule that combines two elements. A binary operation is called commutative if changing the order of the operands does not change the result. The operands are the specific values or objects being acted upon by the operation. This property is fundamental to many mathematical proofs. It allows mathematicians to rearrange parts of an equation without changing the final outcome.
To understand how this works, consider the mechanics of different operations. If we have a set S, an operation is commutative if for every pair of elements in that set, the order does not matter. For example, in addition, the result of combining two numbers remains the same regardless of which comes first. We say these two elements "commute" under the operation. If even one pair of elements in a set produces a different result when their order is switched, the operation is called noncommutative.
There are many different types of commutative operations across various branches of math. Addition is commutative in most common number systems. This includes natural numbers, integers, rational numbers, real numbers, and complex numbers. It is also commutative in every vector space and every algebra. Beyond numbers, the union and intersection of sets are commutative operations. Even logical operations like "and" and "or" follow this rule.
However, many important mathematical rules are noncommutative. In these cases, the order of the operands is critical to the result. Subtraction is a classic example of a noncommutative operation. It is also sometimes classified more precisely as anti-commutative. This is because for every two numbers, swapping them results in the opposite sign. Division is also noncommutative. Exponentiation is another rule where the order changes the answer.
More complex structures also show these differences. Matrix multiplication of square matrices is generally a noncommutative operation. Function composition is also typically noncommutative. For example, if you have two functions, applying one after the other may yield a different result than the reverse order. In three dimensions, the vector product, or cross product, is also anti-commutative. These examples show that as math becomes more advanced, the order of operations becomes increasingly sensitive.
History shows that humans have used these ideas for millennia. The ancient Egyptians used the commutative property of multiplication to simplify their computing. The mathematician Euclid also assumed this property in his famous work, Elements. For many centuries, these rules were simply assumed to be true without a formal name. It was not until the 19th century that new algebraic structures required a specific term for this behavior.
The term "commutative" has interesting linguistic roots. It is the feminine form of the French adjective "commutatif." This is derived from the French noun "commutation" and the verb "commuter," which means to exchange or to switch. The first recorded use of the term was in a French journal in 1814. A memoir by François Servois used the word to describe specific functions. The term later entered the English language in 1838. In 1840, Duncan Gregory used it in an article for the Transactions of the Royal Society of Edinburgh.
Today, the commutative property helps define various algebraic structures. If an operation is commutative within a specific structure, we name the structure accordingly. A commutative semigroup is a semigroup with a commutative operation. A commutative monoid is a monoid that follows this rule. A group that is commutative is known as an abelian group. In a commutative ring, the multiplication must be commutative, though addition in a ring is always commutative. These classifications help mathematicians organize the vast world of mathematical logic.
🖼️ Images & Media (4)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.