C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Binary OperationConsider a non-empty set A and α function f: AxA→A is called a binary operation on A. If * is a binary operation on A, then it may be written as a*b. A binary operation can be denoted by any of the symbols +,-,*,⨁,△,⊡,∨,∧ etc. The value of the binary operation is denoted by placing the operator between the two operands.Example:
N-ARY Operation:A function f: AxAx.............A→A is called an n-ary operation. Tables of Operation:Consider a non-empty finite set A= {a1,a2,a3,....an}. A binary operation * on A can be described by means of table as shown in fig:
The empty in the jth row and the kth column represent the elements aj*ak. Example: Consider the set A = {1, 2, 3} and a binary operation * on the set A defined by a * b = 2a+2b. Represent operation * as a table on A. Solution: The table of the operation is shown in fig:
| 2 | 6 | 8 | 10 | 3 | 8 | 10 | 12 |