Commutative and Associative Laws
Learn about commutativity and associativity of the union and intersection set operations.
We'll cover the following
Commutativity
If we say that an operation
The same property can be generalized for more than two sets using the same principle. That is, for some sets,
Similarly, we can use the commutative law for an intersection when there are more than two sets. It’s important to note that we only consider two sets at a time for applying the commutative law.
Associativity
An operation
To solve this problem, let
Because
For the second part of the problem, let
This means that
Therefore, we conclude that
By a similar argument, we can also show that
For a union or intersection of more than two sets, there is no need to use parentheses because every parenthesization of the sets for union or intersection results in the same set due to the associative law.
Generalized union
The union of three sets can be computed in different ways using the commutative and associative laws. One way is to compute
The union of more than three sets can be computed stepwise, taking two sets at a time. We know that the union operation is commutative and associative. For this reason, we can show the union of any two sets first and then compute the union of the resultant set with a third one. Commutative and associative properties allow us to omit the parentheses while writing the union of three or more sets. We can represent the union of
Generalized intersection
The intersection of three sets can be taken in different ways. One way is to get
Similar to computing the union, the intersection of three or more sets can be worked out stepwise by taking two sets at a time. We know that the intersection operation is commutative and associative. For this reason, we can take the intersection of any two sets first and then take the intersection of the resultant set with the third one, and so on. Commutative and associative properties allow us to omit parentheses while writing the intersection of three or more sets. We can represent the intersection of
Quiz
Which law is required to write the following?
Commutative law only
Associative law only
Commutative and associative laws
Neither commutative nor associative law