word looked up : home / archive

 Binary function 

A binary function, or function of two variables, is like a function, except that it has two inputs instead of one.

To be specific, suppose X, Y, and Z are sets. Suppose that, given any elements x of X and y of Y, f(x,y) is a unique element of Z. Then f is a binary function from X and Y to Z.

For example, if Z is the of integers, N+ is the set of natural numbers (except for zero), and Q is the set of rational numbers, then division is a binary function from Z and N+ to Q.

Set-theoretically, one may represent a binary function 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 in X and y in Y, there exists a unique z in Z such that (x,y,z) belongs to R. We then define f(x,y) 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.)

In turn, one can also derive ordinary functions of one variable from a binary function. Given any element x of X, there is a function fx, or f(x,·), from Y to Z, given by fx(y) := f(x,y). Similarly, given any element y of Y, there is a function fy, or f(·,y), from X to Z, given by fy(x) := f(x,y).

The various concepts relating to functions can also be generalised to binary functions. For example, the division example above is surjective (or onto) because every rational number may be expressed as a quotient of an integer and a natural number. This example is injective in each input separately, because the functions fx and fy are always injective. However, it's not injective in both variables simultaneously, because (for example) f(2,4) = f(1,2).

One can also consider partial binary functions, which may be defined only for certain values of the inputs. For example, the division example above may also be interpreted as a partial binary function from Z and N to Q, where N is the set of all natural numbers, including zero. But this function is undefined when the second input is zero.

A binary operation is a binary function where the sets X, Y, and Z are all equal; binary operations are often used to define algebraic structures.

In linear algebra, a bilinear transformation is a binary function where the sets X, Y, and Z are all vector spaces and the derived functions fx and fy are all linear transformations. A bilinear transformation, like any binary function, can be interpreted as a function from X × Y to Z, but this function in general won't be linear. However, the bilinear transformation can also be interpreted as a single linear transformation from the tensor product X Y to Z.

The concept of binary function generalises to ternary (or 3-ary) function, quaternatry (or 4-ary) function, or more generally to n-ary function for any natural number n. A 0-ary function to Z is simply given by an element of Z. One can also define an A-ary function where A is any set; there is one input for each element of A.

In category theory, n-ary functions generalise to n-ary morphisms in a multicategory[?]. The interpretation of an n-ary morphism as an ordinary morphisms whose domain is some sort of product of the domains of the original n-ary morphism will work in a monoidal category[?]. The construction of the derived morphisms of one variable will work in a closed monoidal category[?]. The category of sets is closed monoidal, but so is the category of vector spaces, giving the notion of bilinear transformation above.

His apparel suggested the careless efficiency of the to the broad-brimmed white Stetson set on his sunreddened wavy hair. A would not contradict the first. "Didn't know.html">know you were down.html">down in this neck of woods, Waring," he said and looked each other squarely in the eye.html">eye. "I came down on business and got caught in the blizzard.html">blizzard on my way back. had my eye on that slide. The snow up there didn't look good to me, and sighted you." "Golden luck for her. I knew it was a chance in a million that she was steel wire. Two of my boys are plugging along a mile or two behind us, but you, and a New Yorker at that. The old boy rides like he was born in a struck the ranch the old man.html">man butted out again into the blizzard to get round the big pasture, and none too soon neither. All the time we had to a crazy man to tackle it, though he must a-known it was suicide. Funny how Far, as I have been able to make out women are much of a sameness, though turn for him." "Why should she? He bought her with his millions, I suppose. What right and marry her? I tell.html">tell you, Sam, there's something ghastly about it." "Oh, well, I reckon when she sold herself she knew what she was getting. must be something rotten about a woman who will do a thing of that sort." "Wait till you've seen her before passing judgment. And after you have her," the miner said hotly. Yesler looked at his friend in amiable surprise. "I don't reckon we need Waring?" "You know who I mean. I tell you she's an angel from heaven, pure as.

 On wordlookup.net  

All is still licensed under the GNU FDL.
It uses material from the wikipedia.



logo

navig stuff

home
archive