document.write( "Question 1070235: Counting Functions: How many functions are there from a set with m elements to a set with n elements?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #685357 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
Let X be the set with m elements and Y be the set with n elements, then
\n" ); document.write( ":
\n" ); document.write( "The number of functions from set X to set Y is |Y|^|X|, where
\n" ); document.write( ":
\n" ); document.write( "|Y| is the number of elements in set Y and |X| is the number of elements in set X
\n" ); document.write( ":
\n" ); document.write( "The number of functions is n^m, since each element in the set X has |Y| choices
\n" ); document.write( ":
\n" ); document.write( "Note that |X| and |Y| indicates the cardinality set X and set Y respectively
\n" ); document.write( ":
\n" ); document.write( "
\n" ); document.write( "
\n" );