The Relation, Function & Operation

  • Context: Undergrad 
  • Thread starter Thread starter questar
  • Start date Start date
  • Tags Tags
    Function Relation
Click For Summary

Discussion Overview

The discussion revolves around the distinctions and relationships between the concepts of relation, function, and operation in mathematics. Participants explore theoretical aspects, definitions, and implications of these terms, with a focus on their similarities and differences.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • Some participants propose that a function is always a relation, but a relation may involve multiple outputs, suggesting a distinction between the two.
  • Others argue that an operation is synonymous with a function, asserting that both terms can be used interchangeably in many contexts.
  • A later reply questions the interchangeability by providing examples, such as the cartesian product, which is described as an operation but not a function due to set-theoretic constraints.
  • Some participants note that set theory allows for proper classes to be domains and codomains of functions, leading to different interpretations of functions and operations.
  • There is mention of category theory terminology, where "functor" and "morphism" are introduced, indicating a more complex relationship between these concepts.
  • One participant reflects on how terminology in computer languages can blur the distinctions, suggesting that the definitions of function and operator vary based on context and usage.
  • Another participant acknowledges the potential for a useful hierarchy between functions and operators, particularly in mathematical contexts, while critiquing simplistic distinctions made in programming languages.

Areas of Agreement / Disagreement

Participants express multiple competing views regarding the definitions and relationships between relations, functions, and operations. There is no consensus on whether these terms are interchangeable or if distinct definitions should be maintained.

Contextual Notes

Some limitations in the discussion include varying definitions of terms across different mathematical contexts, the influence of set theory on the interpretation of operations, and the impact of programming language terminology on conceptual clarity.

questar
Messages
10
Reaction score
0
This thread does justice to a question put forth online several times and, as far as I can tell is only answered in part. I believe this question warrants a distinct and succinct answer. What I'm finding online is summarized below, and as one can see... there is something missing.

I've been thinking about the primary similarities and differences between the relation, function and operation.

For instance, a function is always a relation, but a relation is not necessarily a function.
A relation is not necessarily a function because a relation,
unlike a function, may involve more than one output.

In the same vein it can also be said that an operation is always a function, but a function is not necessarily an operation.
A function is not necessarily an operation because a function,
unlike an operation, ______________________________.

When is an operation not a function?
 
Physics news on Phys.org
I don't think there is a meaningful distinction to be made here. An operation is a function, and a function is an operation. They are two words for the same thing.

It is true that we are more likely to use the word "operation" for some kinds of functions, such as the addition function ##+ : \mathbb{R}\times \mathbb{R} \rightarrow \mathbb{R}##. Similarly we might be more likely to say "map" when dealing with linear functions. But all of these words are interchangeable.
 
jbunniii said:
I don't think there is a meaningful distinction to be made here. An operation is a function, and a function is an operation. They are two words for the same thing.

It is true that we are more likely to use the word "operation" for some kinds of functions, such as the addition function ##+ : \mathbb{R}\times \mathbb{R} \rightarrow \mathbb{R}##. Similarly we might be more likely to say "map" when dealing with linear functions. But all of these words are interchangeable.

I have never heard of an "operation" being a synonym of a "function".
 
An operation on pairs of sets, such as the cartesian product, can be seen as a "function" in one sense.

For each pair of sets V and W, we may define the cartesian product [itex]V \times W[/itex]. This is an operation in the conventional use of the word, but it is not actually a function at all. The reason is that you can't form the set of sets, and by insisting on a function to be a set itself, it is impossible to have the cartesian product operation as a function.

The only times the words function and operation are used interchangably is when they actually are synonymous. This is however not always the case.
 
Last edited:
disregardthat said:
An operation on pairs of sets, such as the cartesian product, can be seen as a "function" in one sense.

For each pair of sets V and W, we may define the cartesian product [itex]V \times W[\itex]. This is an operation in the conventional use of the word, but it is not actually a function at all. The reason is that you can't form the set of sets, and by insisting on a function to be a set itself, it is impossible to have the cartesian product operation as a function.[/itex]
[itex] <br /> Set theory texts do allow proper classes to be domain and codomain of functions and typically do call them function/operator.[/itex]
 
micromass said:
Set theory texts do allow proper classes to be domain and codomain of functions and typically do call them function/operator.

Usually in the language of category theory, the word "functor" is used. Or, if we are talking about objects, "morphisms".
 
disregardthat said:
Usually in category theory, the word "functor" is used.

A functor is something completely different as a function between proper classes. A functor specifies a map between the object classes and a map between the morphism classes.
 
micromass said:
I have never heard of an "operation" being a synonym of a "function".
Well, if we start with the ever-authoritative Wikipedia :-p then we have
In its simplest meaning in mathematics and logic, an operation is an action or procedure which produces a new value from one or more input values, called "operands"
which sounds to me like some function ##f : \prod_{n=1}^{N} A_n \rightarrow B##. Conversely, if we have an arbitrary function ##f : A \rightarrow B## then it's not unheard of to refer to "the operation of applying ##f## to ##a \in A##".

However, others have made good points, and another distinction also occurred to me: we may talk about the "operation of addition" without referring to the underlying set, so in some sense it can refer to a class of functions (addition of integers, rationals, reals, whatever). So I retract my previous assertion of synonmity.
 
The fuzzy thinking on this distinction is exacerbated by the sloppy terminology of (most) computer languages which distinguish between a function and an operator based solely on the symbols used. So, in computer languages, "+" is called an operator but "plus" would be a function even if "plus" were used exactly the same way as "+" and returned exactly the same results.

This is a very simple but not particularly useful distinction, to say that something is a function if its name is made up of alphanumeric symbols but is an operator if it uses non-alphanumeric symbols.

A more useful distinction, made in mathematics and preserved in maybe two computer languages (APL, J), is that a function takes data as its arguments, e.g. "+" in "1+2" or "plus" in "1 plus 2", whereas an operator takes both data and one or more functions as its arguments, as in the integration of a function between certain limits.

So, multiplication and subtraction are functions but differentiation and integration are operators. This introduces a potential usefully hierarchy and distinction between fundamentally distinct concepts, unlike the trivial and unhelpful distinction implied by most computer languages.
 

Similar threads

  • · Replies 59 ·
2
Replies
59
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K