I was given the problem:
For finite sets $A_1, A_2,\dotsc , A_n$ define their Cartesian product $\prod_{i=1}^n A_i$ as the set of all $n$-sequences $(x_1, x_2,\dotsc, x_n)$, where $x_i \in A_i$ for every $i = 1, 2, \dotsc, n$. Find a formula expressing the cardinality of $\prod_{i=1}^n A_i$ in terms of cardinalities $|A_1|, |A_2|,\dotsc , |A_n|$.
And I am struggling to understand what it is actually asking for, could someone explain it to me please, thanks. :)
$\prod_{1\le i\le n}A_i$ is the cartesian product, that is, all finite sequences $(a_1,\ldots,a_n)$ such that $a_i \in A_i$ for each $i=1,\ldots,n$. How many such sequences can you choose? $|A_1|$ choices for $a_1$, ..., $|A_n|$ choices for $a_n$. Therefore $$ \left|\prod_{1\le i\le n}A_i\right|=\prod_{1\le i\le n}|A_i|. $$