If a set A has n elements, then the total number of subsets of A is
2n
A set B is a subset of another set A if all elements of the set B are elements of the set A and represented by B⊆A.
Here,it is given that set A contains n elements.
We need to find all possible subsets of set A which can have 0,1,2,3,...,n elements of set A.
As we know nCr denotes the number of ways to select r items from n distinct items.
Hence the required selection can be done as follows:
∴ Number of subsets of A
= nC0+nC1+⋯+nCn
=2n [∵sum of binomial coefficients]