How do you prove that a function is surjective?

Click For Summary
To prove that a function is surjective, one must demonstrate that every element in the codomain has at least one corresponding preimage in the domain. In the case of the function f(x) = x^3 with both the domain and codomain as the set of all integers, it is necessary to show that for every integer y, there exists an integer x such that f(x) = y. The discussion highlights a misunderstanding regarding the surjectivity of this function, specifically that there is no integer x for which x^3 equals 2. Consequently, the function is not surjective since not all integers in the codomain can be achieved from the domain. Understanding this concept is crucial for correctly identifying surjective functions.
sara_87
Messages
748
Reaction score
0
how do you prove that a function is surjective ?

i know that surjective means it is an onto function, and (i think) surjective functions have an equal range and codomain?
 
Last edited by a moderator:
Physics news on Phys.org
There are lots of ways one might go about doing it. The most direct is to prove every element in the codomain has at least one preimage. i.e. for a function f:X \to Y, to show

\forall y \in Y :\exists x \in X: f(x) = y
 
how can i prove if f(x)= x^3, where the domain and the codomain are both the set of all integers: Z, is surjective or otherwise...the thing is, when i do the prove it comes out to be surjective but my teacher said that it isn't.

this is what i did:

y=x^3

and i said that that y belongs to Z and x^3 belong to Z so it is surjective

this is obviously wrong, but i don't know what I'm doing wrong!
 
Because, to repeat what I said, you need to show for every y, there exists an x such that f(x) = y!


You claim f is surjective -- that means (for example) that you can find an x such that f(x) = 2.
 
'Because, to repeat what I said, you need to show for every y, there exists an x such that f(x) = y!'
okay, easy! lol
i read that ten thousand times already! just give it time to sink in...okay it has sunk in

i guess it is not surjective then...thanx for opening up my eyes
 
Does there exist x in Z such that, for example, f(x)= x3= 2?
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
3
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K