If <math>X\!</math> and <math>Y\!</math> have cardinalities <math>|X|\!</math> and <math>|Y|,\!</math> respectively, then the function space <math>X^Y\!</math> has a cardinality given by the following equation:
+
If <math>X\!</math> and <math>Y\!</math> have cardinalities <math>|X|\!</math> and <math>|Y|,\!</math> respectively, then the function space <math>Y^X\!</math> has a cardinality given by the following equation: