TITLE: Why does abstract algebra have just binary functions?
QUESTION [5 upvotes]: Are there operations/functions that take any other than 2 arguments in abstract algebra? If there are, then why are they not used or shown while teaching the topic? If there are not, then why is the subject constrained to just binary functions?

REPLY [2 votes]: Aside from the usual nullary (constants), unary operations, and binary operations, there are ternary operations also. One example is that of
Heaps and semi-heaps which
are intended to axiomatize operations such as $\, a,b,c \to ab^{-1}c\,$ in groups. The intent of this operation is analogous to the difference
between vector spaces and affine spaces. In a vector space there is a
distinguished zero vector, while in an affine space there isn't.
Also, in an affine space there is a multi-variable operation of the
affine combination of points.