Search⌘ K
AI Features

Subsets and Power Sets

Explore the definitions and properties of subsets, including proper and improper subsets, and understand the concept of power sets that contain all possible subsets. Learn how to determine the number of subsets for a given set and see practical examples. Gain hands-on experience through Python code that generates power sets, reinforcing your understanding of these fundamental set theory concepts.

We need a set to define its subset or power set. For example, once we have a set TT, we can define what we mean by a subset of TTand, similarly, what we mean by the power set of TT.

Subsets

We call SS a subset of the set TT if all the members of SS are also members of TT. We normally denote this as STS\sube T. If SS is not a subset of TT, we write it as S⊈TS\not\subseteq T.

Proper and improper subsets

There are two kinds of subsets: proper and improper. The set SS is said to be a proper subset of TT if there is at least one member of TT that is not a member of SS. Otherwise, SS is an improper subset of TT.

If SS is a proper subset of TT, we write it as STS\sub TorSTS\subsetneq T. But if SS is an improper subset of TT, we simply write it as s evident from this definition:

  • An empty set is a subset of every set.

  • Every set is an improper subset of itself.

  • The cardinality of any subset of set TT ...