Are functions partly defined by their domains and codomains?

  • Context: Undergrad 
  • Thread starter Thread starter Jon Seymore
  • Start date Start date
  • Tags Tags
    domains Functions
Click For Summary

Discussion Overview

The discussion revolves around the definitions and properties of functions, particularly in the context of function composition. Participants explore whether functions are partly defined by their domains and codomains, and how these definitions impact the injectivity and surjectivity of compositions. The conversation touches on theoretical aspects and definitions from different mathematical texts.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant asserts that for a composition of functions to be injective or surjective, both functions must possess those properties, referencing Wikipedia's treatment of functions as separate entities from their domains and ranges.
  • Another participant counters that it is sufficient for the range of the inner function to be a subset of the domain of the outer function, suggesting a broader definition of composition.
  • A question is raised about whether functions have unique domains and if changing these domains alters the function itself, indicating a potential ambiguity in definitions used by different authors.
  • Some participants agree that every function has a unique domain and codomain, implying that changing these would result in a different function.
  • There is a discussion about Tao's definitions, with some participants noting that he defines compositions such that the range of the inner function is precisely the domain of the outer function, which may be seen as restrictive.
  • Concerns are expressed regarding Tao's terminology, particularly the use of "range" versus "codomain," with participants noting that this terminology differs from standard definitions in most modern texts.
  • One participant reflects on the implications of these definitions, suggesting that the codomain of one function may be larger than the range of another when considering compositions.

Areas of Agreement / Disagreement

Participants express differing views on the definitions of functions and compositions, particularly regarding the relationship between domains, codomains, and ranges. There is no consensus on whether Tao's definitions are standard or appropriate, and the discussion remains unresolved on several points.

Contextual Notes

Participants highlight potential limitations in definitions and terminology, noting that different authors may use terms like "range" and "codomain" differently, which could lead to confusion. The discussion also reflects uncertainty about the implications of changing domains and codomains on the nature of functions.

Jon Seymore
Messages
6
Reaction score
0
I just finished working through compositions of functions, and what properties the inner and outer functions need to have in order for the whole composition to be injective or surjective. I checked Wikipedia just to make sure I'm right in thinking that for a composition to be injective or surjective, both of the functions need to be injective or surjective respectively. Wikipedia talks about these facts as if functions are totally divorced from the domain and range that's being considered. Composing functions by definition requires that the range of the inner function is the domain of the outer function. Currently Wikipedia says that a composition can be injective even if the outer function is not, because a counter example can exist outside of the range of the inner function. Similarly, that a surjective composition can be surjective even if the inner function is not because the counter example may not be in the domain of the outer function. Doesn't this treat functions has separate entities that aren't partly defined by their domain? Isn't the inner function trivially surjective in the case of compositions because of the requirement that the domain of the outer function be the range of the inner function? Doesn't that same requirement, and the fact that functions are partly defined by the domain and range being considered, also mean that both functions must be injective for the composition to be injective? I'm getting my definitions from Tao's Analysis.
 
Physics news on Phys.org
Jon Seymore said:
Composing functions by definition requires that the range of the inner function is the domain of the outer function.

This is not true. It suffices that the range of the inner function is a subset of the domain of the outer function. So if ##f:A\rightarrow D## and ##g:B\rightarrow C## are functions and if ##f(A)\subseteq B##, then we define ##g\circ f## with domain ##A## and codomain ##C## to do ##(g\circ f)(a) = g(f(a))##. This is the most general definition of composition. Maybe Tao does not take the definition to this generality.
 
Last edited:
Using that more general definition of composition only helps me if its true that functions have a unique domain, because you refer to "the domain of the outer function". Are rules for mapping between sets assigned their own unique domains? This general definition of composition just seems to focus the problem on whether or not each unique domain that is considered results in, technically, a new object (a function) for each unique domain. Is Tao using definitions for functions and compositions that aren't necessarily agreed upon? Is there not a universal agreed upon definition for what a function is?
 
Every function has a unique domain and codomain by definition of a function. So yes, if you change the domain and codomain, then you change your function, even if the graph of the function looks completely the same.
 
Okay, everything is clear to me now. Thank you for your help.
 
Are there a couple of typos? Surely: if ##f:A\rightarrow D## and ##g:B\rightarrow C## are functions and if ##f(A)\subseteq B##, then we define ##g\circ f## with domain ##A## and codomain ##C## to do ##(g\circ f)(a) = g(f(a))##.
 
  • Like
Likes   Reactions: micromass
MrAnchovy said:
Are there a couple of typos? Surely: if ##f:A\rightarrow D## and ##g:B\rightarrow C## are functions and if ##f(A)\subseteq B##, then we define ##g\circ f## with domain ##A## and codomain ##C## to do ##(g\circ f)(a) = g(f(a))##.
It seems that Tao defines compositions in a different way. He defines compositions so that the range of f is precisely the domain of g. Maybe he does this because it's more natural from a foundational point of view at this point in his text and maybe it's too restrictive in general;. I'm not sure. Someone else can answer for that better than I can. I just know they're different definitions and I've sorted out how everything works out in each case. I'll tell you how Tao does it specifically. He initializes f and g and then says, "such that the range of f is the same set as the domain of g." That's why in my original comment I was saying things like, "Wouldn't that make f trivially surjective?".
 
Jon Seymore said:
It seems that Tao defines compositions in a different way. He defines compositions so that the range of f is precisely the domain of g. Maybe he does this because it's more natural from a foundational point of view at this point in his text and maybe it's too restrictive in general;. I'm not sure. Someone else can answer for that better than I can. I just know they're different definitions and I've sorted out how everything works out in each case. I'll tell you how Tao does it specifically. He initializes f and g and then says, "such that the range of f is the same set as the domain of g." That's why in my original comment I was saying things like, "Wouldn't that make f trivially surjective?".

Tao is being highly nonstandard with his terminology here. Usually, one would use the word "codomain" for what he calls "range". So a function has a specific domain and codomain. The range of a function ##f:A\rightarrow B## is then defined as ##f(A)## and may or may not equal the codomain. I don't know why Tao uses the terminology he does, it's really puzzling since everybody does it differently than him.
 
micromass said:
Tao is being highly nonstandard with his terminology here. Usually, one would use the word "codomain" for what he calls "range". So a function has a specific domain and codomain. The range of a function ##f:A\rightarrow B## is then defined as ##f(A)## and may or may not equal the codomain. I don't know why Tao uses the terminology he does, it's really puzzling since everybody does it differently than him.
Interesting. I thought from the way he seemed to use those words that "codomain" and "range" were the same idea. I guess I'll have to sort through that too. He does in fact use "range" in his definition. This is the first time that I'm hearing those are different ideas. Thanks for letting me know.
 
  • #10
Jon Seymore said:
Interesting. I thought from the way he seemed to use those words that "codomain" and "range" were the same idea

Yes, he is using them as the same. But in most (modern) texts, they are different. https://en.wikipedia.org/wiki/Range_(mathematics)
 
  • #11
micromass said:
Yes, he is using them as the same. But in most (modern) texts, they are different. https://en.wikipedia.org/wiki/Range_(mathematics)
Okay, so I've gathered that compositions are typically defined by initializing functions with codomains in mind, where in general, the range of g, given the range of f as input, is a smaller set than the codomain that we used to initially define g. The codomain of f (by which I mean the initial domain of g) is larger than the range of f. I hope that's all right.
 
  • #12
Seems right.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
17K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K