Why does an inverse exist only for surjective functions?

Click For Summary

Discussion Overview

The discussion centers on the conditions under which a function can have an inverse, specifically focusing on the necessity of surjectivity (onto property) and the implications of a function's range being a subset of its codomain. Participants explore the relationship between one-to-one (1-1) functions and the existence of inverses, using examples to illustrate their points.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants assert that a function must be 1-1 to have an inverse, but the inverse can only be defined on the range of the function.
  • Examples are provided, such as the exponential function mapping from the real numbers to positive reals, illustrating that while it is 1-1, its inverse (the natural logarithm) is not defined on the entire real line.
  • One participant questions why an inverse cannot exist for functions whose range is a subset of the codomain, prompting further exploration of the definitions of inverses.
  • Participants discuss the uniqueness of inverses and the challenges in defining an inverse when the function's range does not cover the entire codomain.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of surjectivity for the existence of an inverse, with some emphasizing the importance of being 1-1 while others raise questions about functions with ranges that are subsets of codomains. The discussion remains unresolved regarding the implications of these properties.

Contextual Notes

Limitations include the lack of consensus on the necessity of surjectivity and the implications of defining inverses when the range is not equal to the codomain. The discussion also highlights potential ambiguities in the definitions used by participants.

kay
Messages
60
Reaction score
2
In other words, why does a function have to be onto (or surjective, i.e. Range=Codomain) for its inverse to exist?
 
Physics news on Phys.org
kay said:
In other words, why does a function have to be onto (or surjective, i.e. Range=Codomain) for its inverse to exist?

The key property for a function to have an inverse is that it is 1-1. Any 1-1 function will have an inverse. The inverse, however, can only be defined on the range of the function. Perhaps this is best explained by an example:

The exponential function ##e^x## maps the real number line ##(-\infty, \infty)## onto ##(0, \infty)##. The exponential is 1-1, so there exists an inverse (the natural logarithm). But, the inverse is only defined on ##(0, \infty)##. You can't define the inverse function on all of the real number line.

This raises perhaps a technical point that if you are considering the set of functions that map ##\mathbb{R}## to ##\mathbb{R}## then the exponential function is in this set, but there is no inverse within this set of functions. From that point of view, the inverse doesn't exist.
 
  • Like
Likes   Reactions: kay
PeroK said:
The key property for a function to have an inverse is that it is 1-1. Any 1-1 function will have an inverse. The inverse, however, can only be defined on the range of the function. Perhaps this is best explained by an example:

The exponential function ##e^x## maps the real number line ##(-\infty, \infty)## onto ##(0, \infty)##. The exponential is 1-1, so there exists an inverse (the natural logarithm). But, the inverse is only defined on ##(0, \infty)##. You can't define the inverse function on all of the real number line.

This raises perhaps a technical point that if you are considering the set of functions that map ##\mathbb{R}## to ##\mathbb{R}## then the exponential function is in this set, but there is no inverse within this set of functions. From that point of view, the inverse doesn't exist.
Actually my question was, that why can't an inverse exist for a function whose range is not necessarily equal to but is rather a subset of the codomain.
 
kay said:
Actually my question was, that why can't an inverse exist for a function whose range is not necessarily equal to but is rather a subset of the codomain.

An inverse of a function f: A \to B is a function g: B \to A such that g(f(a)) = a for all a \in A and f(g(b)) = b for all b \in B. An inverse is unique if it exists.

Let f: \{1,2\} \to \{1,2,3\} : x \mapsto x. Now the inverse of f, if it exists, is a function g: \{1,2,3\} \to \{1,2\}. Now we must have g(1) = 1 and g(2) = 2, but what value do you assign to g(3) such that f(g(3)) = 3?
 
  • Like
Likes   Reactions: kay
pasmith said:
An inverse of a function f: A \to B is a function g: B \to A such that g(f(a)) = a for all a \in A and f(g(b)) = b for all b \in B. An inverse is unique if it exists.

Let f: \{1,2\} \to \{1,2,3\} : x \mapsto x. Now the inverse of f, if it exists, is a function g: \{1,2,3\} \to \{1,2\}. Now we must have g(1) = 1 and g(2) = 2, but what value do you assign to g(3) such that f(g(3)) = 3?
I got it. Thanks a lot for your help. :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
17K
Replies
4
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K