Quotes help make search much faster. Example: "Practice Makes Perfect"

Sunday, January 27, 2013

Math Problems: Union and Intersection


Problem:

If set A has X elements, set B has Y elements and A U B (read A union B) has Z elements, how many elements does A ∩ B (read A intersection B) have?

Answer:

Since

A U B = A + B - (A ∩ B)

Then,

A ∩ B = A + B - (A U B)
elements in A ∩ B = X + Y - Z

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts