7

I have heard affirmatively that all operators are functions, but not all functions are operators.

But at the same time I have heard that functions map numbers to numbers, whereas operators map functions to functions.

But if operators are function, then a function map functions to functions. How do you untangle this mess?

Can someone present a definitive difference between functions and operators?

MJD
  • 65,394
  • 39
  • 298
  • 580
  • 2
    There are informal differences of usage, but no formal difference. – André Nicolas Jul 25 '15 at 22:05
  • 1
    I would broaden the question to What is the difference between a map, a function, an operator and a morphism :) – A.Γ. Jul 25 '15 at 22:08
  • I think your question is similar to "what is the difference between a 'family,' 'collection,' and 'set?'" The answer is that we don't always want to talk about sets whose members are sets of sets containing sets... And so on. Using several terms for the same thing may in some cases obfuscate things but in many cases it also helps to clarify a tangled web of definitions. – walkar Jul 25 '15 at 22:13
  • 1
    At an elementary level, functions generally map numbers into numbers, whereas operator work on more abstract things such as elements of a vector space, other functions, symbols, etc - this is not a formal definition, the terms have a lot of overlap, so it would not be incorrect to say a function works on matrices for instance. It seems a bit strained to talk about operators working on numbers, but operator is used in that context in various branches. You'll find each subject has its own favorite terms which have equivalents in other areas. – user247608 Jul 25 '15 at 22:26
  • Duplicates? http://math.stackexchange.com/questions/168378/operator-vs-function?rq=1 http://math.stackexchange.com/questions/331382/operators-and-functions?rq=1 – A.Γ. Jul 25 '15 at 23:43

1 Answers1

2

According to wikipedia, an operator is a function whose domain and codomain are both vector spaces or modules.

Since $\mathbb{R}, \mathbb{Q}, \mathbb{C}$ are all (one-dimensional) vector spaces, many familiar functions are also operators. However, a general function might be from a domain that is not a vector space, and hence not be an operator, e.g. $$f:\{1,2,3,4\}\to \{1,2\}$$

vadim123
  • 82,796
  • I can think of a number of operators which have nothing to do with vector spaces, that wiki article is not accurate - even wiki refers to the boundary operator of simplices. – user247608 Jul 25 '15 at 22:30
  • I'm no topologist, but it seems that simplices can be thought of as elements of a module. – vadim123 Jul 25 '15 at 22:47
  • You (and the wikipedia article you cite) seem to be a bit confused about the difference between sets and structures. It is a category error to say that ${1, 2, 3, 4}$ is not a vector space: a vector space is a structure satisfying certain axioms but ${1, 2, 3, 4}$ is just a set (which can be the underlying set of a vector space over the field with two elements). – Rob Arthan Jul 25 '15 at 23:36
  • 1
    The set ${1,2,3,4}$ is not a vector space, absent imposing additional structure. Hence if we do not choose to add that somewhat unnatural structure, $f$ is a function but not an operator. – vadim123 Jul 26 '15 at 02:17
  • You've missed the point about the category errors that both you and the wikipedia article are making: you are conflating the underlying set of a structure with the structure itself. It is meaningless to say that a function whose domain is ${1, 2, 3, 4}$ is not an operator because its domain is not a vector space: ${1, 2, 3, 4}$ does not have the right form to be a vector space, but it can certainly be the underlying set of a vector space. See https://en.wikipedia.org/wiki/Structure_(mathematical_logic)#Structures_and_first-order_logic. – Rob Arthan Jul 26 '15 at 20:19
  • @Rob Arthan: The thing is, when he writes those sets it seems he wants them to be taken as bare sets with no additional structure specified, in which case they are not vector spaces, just bare sets. It seems this is debating over whether or not we should assume there is structure when it has been left unsaid as to whether or not there is. – The_Sympathizer Oct 26 '15 at 07:48
  • The wikipedia article (and hence the OP) is just wrong in its definition of operator if you are being precis eabout the terminology: an operator (i.e., a homomorphism of vector spaces in this article) is a function between the underlying sets of two vectors spaces that respects the vector space operations. A vector space is a set equipped with those operations, i.e., it more than just the underlyibng set and a homomorphism is not a function on the set that represents the vector space and its operations. That is the category error. It is of course customary not to be this precise. $\ldots$ – Rob Arthan Oct 26 '15 at 18:09
  • $\ldots$ Moreover, I doubt any of this is very relevant to the original question. The comments (particularly the one from walkar) seem much more relevant. – Rob Arthan Oct 26 '15 at 18:11