Let A = {a, b, c, x, y} and B = {1, 2, 3, 4}. Find |𝒫(A)|.
Find |𝒫(A)|
Show hints
- A set with k elements has 2ᵏ subsets: each element is either in a subset or not.
- |A| = 5, |B| = 4.
- |𝒫(A)| = 2|A|.
Show the answer and the step-by-step solution
Functions and counting: a function f: A → B gives every element of A exactly one image in B. f is injective (one-to-one) when different elements have different images, surjective (onto) when every element of B is an image, and bijective when both hold. With |A| = m and |B| = n there are nᵐ functions, n!/(n − m)! injective ones (m ≤ n), and by inclusion–exclusion Σ (−1)ᵏ·C(n, k)·(n − k)ᵐ surjective ones. |𝒫(A)| = 2ᵐ and |A × B| = m·n.