Question: Let $S$ be the set of stars in our galaxy. There is exactly the same number of subsets of stars in our galaxy as there are functions $f:S \to \{a,b\}$ .
My solution is; True.However, I'm confused with how to prove it. I know it can be proven by using the formula of the number of elements in a subset and for the formula of the number of elements in a function and proving that both values are equal.
Can someone provide me with some feedback, please.