Results for binary operation
On this page:
 
Dictionary:

binary operation


n.

An operation, such as addition, that is applied to two elements of a set to produce a third element of the set.


 
 
Philosophy Dictionary: binary operation

A function of two arguments. Addition is a binary operation, i.e. x + y is a function from the two numbers x, y, to a third number, which is their sum.

 
WordNet: binary operation
Note: click on a word meaning below to see its connections and related words.

The noun has one meaning:

Meaning #1: an operation that follows the rules of boolean algebra; each operand and the result take one of two values
  Synonyms: boolean operation, binary arithmetic operation


 
Wikipedia: binary operation

In mathematics, a binary operation is a calculation involving two input quantities, in other words, an operation whose arity is two. Binary operations can be accomplished using either a binary function or binary operator. Binary operations are sometimes called dyadic operations in order to avoid confusion with the binary numeral system. Examples include the familiar arithmetic operations of addition, subtraction, multiplication and division.

More precisely, a binary operation on a set \,S is a binary function that maps elements of the Cartesian product \,S \times S to \,S:

\,f \colon S \times S \rightarrow S.

Sometimes, especially in computer science, the term is used for any binary function. That f takes values in the same set S that provides its arguments is the property of closure.

Binary operations are the keystone of algebraic structures studied in abstract algebra: they form part of groups, monoids, semigroups, rings, and more. Most generally, a magma is a set together with any binary operation defined on it.

Many binary operations of interest in both algebra and formal logic are commutative or associative. Many also have identity elements and inverse elements. Typical examples of binary operations are the addition (+) and multiplication (*) of numbers and matrices as well as composition of functions on a single set.

If f:S×SS is not a function, but is instead a partial function, it is called a partial operation. For instance, division of real numbers is a partial function, because one can't divide by zero: 1/0 and 0/0 are not defined, for instance.

An example of a operation that is not commutative is subtraction (-). Examples of partial operations that are not commutative include division (/), exponentiation(^), and super-exponentiation(@).

Binary operations are often written using infix notation such as a * b, a + b, or a · b rather than by functional notation of the form f(a,b). Sometimes they are even written just by juxtaposition: ab. Powers are usually also written without operator, but with the second argument as superscript.

Binary operations sometimes use prefix or postfix notation, this dispenses with parentheses. Prefix notation is also called Polish notation; postfix notation, also called reverse Polish notation, is probably more often encountered.

Pair and tuple

A binary operation, ab, depends on the ordered pair (a,b) and so (ab)c (where the parentheses here mean first operate on the ordered pair (a,b) and then operate on the result of that using the ordered pair ((ab),c)) depends in general on the ordered pair ((a,b),c). Thus, for the general, non-associative case, binary operations can be represented with binary trees.

However:

  • If the operation is associative, (ab)c=a(bc), then the value depends only on the tuple (a,b,c).
  • If the operation is commutative, ab=ba, then the value depends only on the multiset { {a,b},c}.
  • If the operation is both associative and commutative then the value depends only on the multiset {a,b,c}.
  • If the operation is both associative and commutative and idempotent, aa=a, then the value depends only on the set {a,b,c}.

External binary operations

An external binary operation is a binary function from K and S to S. This differs from a binary operation in the strict sense in that K need not be S; its elements come from outside.

An example of an external binary operation is scalar multiplication in linear algebra. Here K is a field and S is a vector space over that field.

An external binary operation may alternatively be viewed as an action; K is acting on S.

See also


 
Best of the Web: binary operation

Some good "binary operation" pages on the web:


Math
mathworld.wolfram.com
 
 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "binary operation" at WikiAnswers.

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2007. Published by Houghton Mifflin Company. All rights reserved.  Read more
Philosophy Dictionary. The Oxford Dictionary of Philosophy. Copyright © 1994, 1996, 2005 by Oxford University Press. All rights reserved.  Read more
WordNet. WordNet 1.7.1 Copyright © 2001 by Princeton University. All rights reserved.  Read more
Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Binary operation" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: