Ma · Mathematics

Is (A ∩ B) ∪ C = A ∩ (B ∪ C)?

Published By the 9to5Science editorial team

At a glance

  1. 1. Check the law

    The proposed identity is not a distributive law; expand the right-hand side using intersection over union.

  2. 2. Compare membership

    An element of the left side can come from all of C, while the right side includes only elements of C that are also in A.

  3. 3. Test a counterexample

    Choose an element in C but outside A; it belongs to the left side and not the right.

  4. 4. Find the equality condition

    The two sides are equal exactly when every element of C is also in A.

The identity (A∩B)∪C=A∩(B∪C)(A\cap B)\cup C=A\cap(B\cup C) does not hold for all sets. The issue is that the left-hand side includes every element of CC, whereas the right-hand side includes only elements of CC that also belong to AA.

The standard distributive law is A∩(B∪C)=(A∩B)∪(A∩C)A\cap(B\cup C)=(A\cap B)\cup(A\cap C). Comparing that law with the proposed expression gives both a quick way to see the mismatch and a precise condition under which the proposed equality does hold.

The correct distributive law

Intersection distributes over union as follows:

A∩(B∪C)=(A∩B)∪(A∩C).A\cap(B\cup C)=(A\cap B)\cup(A\cap C).

The term involving CC is A∩CA\cap C, not all of CC. An element must be in AA as well as in CC to be included in this part of the right-hand side.

By contrast, the proposed left-hand side is (A∩B)∪C(A\cap B)\cup C. It includes A∩BA\cap B and then adds every element of CC, including elements outside AA.

A counterexample

Take

A={1,2},B={2},C={3}.A=\{1,2\},\qquad B=\{2\},\qquad C=\{3\}.

First calculate the left-hand side:

(A∩B)∪C={2}∪{3}={2,3}.(A\cap B)\cup C=\{2\}\cup\{3\}=\{2,3\}.

Now calculate the right-hand side:

A∩(B∪C)={1,2}∩{2,3}={2}.A\cap(B\cup C)=\{1,2\}\cap\{2,3\}=\{2\}.

Since {2,3}≠{2}\{2,3\}\ne\{2\}, the identity is false in general. The element 33 makes the difference: it belongs to CC, so it belongs to the left-hand side, but it does not belong to AA, so it is excluded from the right-hand side.

Compare the two sides element by element

For any element xx,

x∈(A∩B)∪C  ⟺  (x∈A and x∈B) or x∈C,x∈A∩(B∪C)  ⟺  x∈A and (x∈B or x∈C)  ⟺  (x∈A and x∈B) or (x∈A and x∈C).\begin{aligned} x\in (A\cap B)\cup C &\iff (x\in A\text{ and }x\in B)\text{ or }x\in C,\\ x\in A\cap(B\cup C) &\iff x\in A\text{ and }(x\in B\text{ or }x\in C)\\ &\iff (x\in A\text{ and }x\in B)\text{ or }(x\in A\text{ and }x\in C). \end{aligned}

The first condition allows any x∈Cx\in C. The second allows an element from CC only if it is also in AA. Therefore, every element on the right is on the left, but the left can have extra elements.

In set notation, this inclusion is

A∩(B∪C)⊆(A∩B)∪C.A\cap(B\cup C)\subseteq (A\cap B)\cup C.

Exactly when are the sets equal?

For fixed sets AA, BB, and CC, the proposed equality holds exactly when C⊆AC\subseteq A.

If C⊆AC\subseteq A, then A∩C=CA\cap C=C. The correct distributive law gives

A∩(B∪C)=(A∩B)∪(A∩C)=(A∩B)∪C,A\cap(B\cup C)=(A\cap B)\cup(A\cap C)=(A\cap B)\cup C,

which is the proposed equality.

Conversely, suppose the two sides are equal. Any c∈Cc\in C belongs to (A∩B)∪C(A\cap B)\cup C, so it must belong to the equal set A∩(B∪C)A\cap(B\cup C). In particular, it belongs to AA. Since this holds for every c∈Cc\in C, we have C⊆AC\subseteq A.

This condition includes the special case C=∅C=\varnothing, but it is not necessary for BB to have any particular relation to AA or CC.

Common mistakes

  • Distributing over only one term. The expression A∩(B∪C)A\cap(B\cup C) distributes to (A∩B)∪(A∩C)(A\cap B)\cup(A\cap C); the intersection with AA applies to both parts of the union.
  • Treating union as if it adds a condition. In (A∩B)∪C(A\cap B)\cup C, membership in CC is enough to put an element in the result. It does not also have to be in AA.
  • Checking only one choice of sets. Some choices, such as C⊆AC\subseteq A, make the proposed equality true. A single successful example does not establish an identity for all sets; a counterexample disproves it.

When checking a proposed set identity, translate membership into logical “and” and “or” statements. This makes it easier to see which conditions apply to each part and to construct a counterexample if one side admits an element the other excludes.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.