## Milkshakes and Power Sets

In Milkshakes, Beads, and Pascal’s Triangles, we have talked about  a systematic way of choosing a combination of objects from a larger number of objects. Let us recall the problem in the said post.

Issa went to a shake kiosk and want to buy a milkshake. The shake vendor told her that she can choose plain milk, or she can choose to combine any number of flavors in any way she wants. There are four flavors to choose from: Apple, Banana, Chico, and Durian. How many possible combination of flavors can Issa make?

In the problem, Issa can choose any number of flavors and any combination. She can choose plain milk, choose one flavor at a time, two flavors at a time, three flavors at a time, or four flavors at a time as shown in the table below (click the table to enlarge).

Notice that in writing the list, we have exhausted the number of subsets in a set with four elements.  If we let a, b, c, and d stand for avocado, banana, chico, and durian, let them be members or a set and use the set notation, we can write the subsets as follows: » Read more

## Subset: a set contained in a set

Two weeks ago, we have talked about the basics of sets.  In this post, we are going to talk about subsets.

If you understand what this means, then you have a notion of a subset.

In mathematics, if $A$ and $B$ are sets, we say that $A$ is a subset of $B$, denoted by $A \subseteq B$, if all elements of $A$ are also elements of $B$. The easiest way to illustrate this is through a Venn diagram as shown on the right.  In the Venn diagram, set $A$ is within set $B$. Therefore, all elements of set $A$ are also elements of $B$.

Example 1

Let$B$ be set of all letters in the English alphabet and $A$ be the set of vowel letters. It is clear that $A \subseteq B$ since {aeiou} are elements $A$ and also are elements of $B$. » Read more