# discrete 5.4 For any nonempty sets ๐ด, ๐ต, any function **๐‘“:๐ดร—๐ดโ†’๐ต is called a binary operation on ๐ด.**. If ๐ตโІ๐ด, then the binary operation is said to be closed. ## commutative f(a,b) = f(b,a) ## associative f(a,f(b,c)) = f(f(a,b),c) ## identity f(x,a) = f(a,x) = a