Commutative property

From TCS Wiki
Jump to navigation Jump to search

The commutative property of addition and multiplication tells us that it does not matter which number we add first, or multiply first. We will still get the same answer if we add them backwards. The same thing goes for multiplying backwards.

The definition of commutative property of addition is, when we substitute any number for a and b, [math]\displaystyle{ a+b=b+a }[/math].

For example, [math]\displaystyle{ 2+3=3+2 }[/math], because [math]\displaystyle{ 2+3 }[/math] and [math]\displaystyle{ 3+2 }[/math] are both [math]\displaystyle{ 5 }[/math]. It doesn't matter whether the [math]\displaystyle{ 2 }[/math] or the [math]\displaystyle{ 3 }[/math] comes first. 2+3=3+2 is the same as [math]\displaystyle{ a+b=b+a }[/math], when [math]\displaystyle{ a=2 }[/math] and [math]\displaystyle{ b=3 }[/math].

We can substitute fractions too. [math]\displaystyle{ \frac{1}{2}+\frac{1}{3}=\frac{1}{3}+\frac{1}{2} }[/math]. Either way, it adds to [math]\displaystyle{ \frac{5}{6} }[/math].

And for good mathematicians, we can substitute irrational numbers as well: [math]\displaystyle{ \sqrt{4}+\sqrt{8}=\sqrt{8}+\sqrt{4} }[/math].

Some operations like dividing are not commutative. For instance, 6 divided by 3 is 2, but 3 divided by 6 is 1/2. Do not divide backwards. Dividing is not commutative. Subtracting is not commutative either: 6−2 is 4, but 2−6 is minus 4. Exponentiation is not commutative, either: For example, 2³ is 8, but 3² is 9.

In higher mathematics, there are other commutative operations besides adding and multiplying.


Template:Math-stub