Lably
Skip to content

Binary function

Function that takes two inputs

  • 4 min read
  • 7 chapters

Related on Lably

Through Mathematics, Function (mathematics) and Cartesian product

Precisely stated, a function f is binary if there exist sets X,Y,Z such that f:X×Y→Z where X×Y is the Cartesian product of X and Y.

Alternative definitions

Set-theoretically, a binary function can be represented as a subset of the Cartesian product X×Y×Z, where (x,y,z) belongs to the subset if and only if f(x,y)=z. Conversely, a subset R defines a binary function if and only if for any x∈X and y∈Y, there exists a unique z∈Z such that (x,y,z) belongs to R. f(x,y) is then defined to be this z.

Alternatively, a binary function may be interpreted as simply a function from X×Y to Z. Even when thought of this way, however, one generally writes f(x,y) instead of f((x,y)). (That is, the same pair of parentheses is used to indicate both function application and the formation of an ordered pair.)

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Topics in mathematics