3 ms·
Last I checked, binary implies 2 and ternary implies 3. There are 2 inputs, therefore it's a binary relation or operator.
by x3n0ph3n3 11y ago
Last I checked, binary implies 2 and ternary implies 3. There are 2 inputs, therefore it's a binary relation or operator.
- dietrichepp 11y agoThis is completely incorrect. There are two inputs and one output, e.g., ℝ⨯ℝ→ℝ. Since there are two inputs, it's a binary operator. Since there are three inputs and outputs combined, it's a ternary relation. Likewise, a unary operator is a binary relation. For example, x ↦ -x, or x ↦ x+1.
- danharaj 11y agoIdk what to tell you other than that you should check the definitions. A unary function is a special case of a binary relation and in general an n-ary function is a special case of a n+1-ary relation. Edit - Maybe this clarifies it: When we talk about a function we designate one of its variables as the 'output' and talk about its arity in terms of the inputs. When we talk about a relation there is no distinguished output: A relation is a fully symmetrical definition. That's why the arity of a function is one less than the arity of that same function thought of as a relation between its inputs and output.
- deleted 11y ago[deleted]