Given a set , the power set of is the set of all subsets of the set . The power set of is denoted as
For example
If , than we have
Given a set S, the power set of S is the set of all subsets of the set S. The power set of S is denoted as P(S)
For example
P({0,1,2})={∅,{0},{1},{2},{0,1},{0,2},{1,2},{0,1,2}}P(∅)={∅}P({∅})={∅,{∅}}If ∣S∣=n, than we have ∣P(S)∣=2n