Can a function become surjective by restricting its codomain?

In summary, altering the set of codomain for a function is allowed and can make a function surjective. This can be seen in the example of the exponential function, g(x) = ex, where restricting the codomain to positive real numbers makes it bijective. However, whether this is considered a new function or simply a restriction of the original function is subjective and depends on the intentions.
  • #1
Suyogya
14
0
wikipedia says:
"The exponential function, g: RR, g(x) = ex, is not bijective: for instance, there is no x in R such that g(x) = −1, showing that g is not onto (surjective). However, if the codomain is restricted to the positive real numbers R+, then g becomes bijective; its inverse is the natural logarithm function ln."
Is altering the set of codomain allowed for a function? if yes then every function would be made surjective just be changing the codomain?
Also by doing this the standard function's definition would get changed
 
Physics news on Phys.org
  • #2
Suyogya said:
wikipedia says:
"The exponential function, g: RR, g(x) = ex, is not bijective: for instance, there is no x in R such that g(x) = −1, showing that g is not onto (surjective). However, if the codomain is restricted to the positive real numbers R+, then g becomes bijective; its inverse is the natural logarithm function ln."
Is altering the set of codomain allowed for a function?
There is no function police! Whether it is allowed or not depends on what you want to do.
If yes then every function would be made surjective just be changing the codomain?
Yes. Every function ##f\, : \, M \longrightarrow N## gets surjective by the restriction ##f\, : \, M \longrightarrow \operatorname{im}(f)=f(M) \subseteq N##.
Also by doing this the standard function's definition would get changed
Whether you call this a new function, a restriction of ##f## or don't distinguish them at all is a matter of taste and at best depends on the intentions.
 

What is a surjective function?

A surjective function, also known as an onto function, is a type of function in mathematics where every element in the range of the function is mapped to by at least one element in the domain. In simpler terms, every output value has at least one corresponding input value.

What is the difference between a surjective function and an injective function?

A surjective function is a type of function where every element in the range has at least one corresponding element in the domain. An injective function, on the other hand, is a type of function where every element in the range has only one corresponding element in the domain. In other words, a surjective function can have multiple inputs for a single output, while an injective function cannot.

How can I determine if a function is surjective?

To determine if a function is surjective, you can use the horizontal line test. Draw a horizontal line across the graph of the function. If the line intersects the graph at least once for every possible output value, then the function is surjective. Another way is to check if every element in the range has at least one corresponding element in the domain.

Can a function be both surjective and injective?

Yes, a function can be both surjective and injective. This type of function is called a bijective function. It means that every element in the range has exactly one corresponding element in the domain, and every element in the domain has exactly one corresponding element in the range.

What is the importance of surjective functions in mathematics?

Surjective functions are important in mathematics because they help establish a one-to-one correspondence between two sets. This allows for easier understanding and manipulation of mathematical concepts. Surjective functions are also used in various fields such as computer science, physics, and economics.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
838
  • Calculus
Replies
9
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
5
Views
1K
Replies
1
Views
935
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
Replies
4
Views
2K
Replies
32
Views
3K
Back
Top