randomprime
New member
- Joined
- Sep 16, 2019
- Messages
- 5
Today in class, I was learning about surjective functions and I could not agree with the teacher about the following question:
Let [MATH]f:\mathbb{R} \rightarrow \mathbb{Z}, f(x)=5x+2[/MATH]. Is [MATH]f[/MATH] a surjective function?
Here are some definitions that we were using.
A function from [MATH]S[/MATH] to [MATH]T[/MATH] is a subset [MATH]M[/MATH] of [MATH]S \times T[/MATH] such that for every [MATH]s \in S[/MATH] there is a unique [MATH]t \in T[/MATH] such that [MATH](s,t) \in M[/MATH].
If every element in the co-domain of a function is the image of at least one element in the domain we say that the function is a surjection, i.e. for all [MATH]b[/MATH] in the co-domain there exists an [MATH]a[/MATH] in the domain such that [MATH]f(a) = b[/MATH]. A surjection is also called an onto function.
My teacher and a video explaining the problem claim that [MATH]f[/MATH] is a surjective function.
I can provide additional definitions if needed, but the way I see it, the relationship fits the definition for surjection, but it defies the one for a function. There are elements of the domain ([MATH]\mathbb{R}[/MATH]) for which [MATH]f(x) \notin \mathbb{Z}[/MATH], for example 0.5: [MATH]f(0.5) = 4.5 \notin \mathbb{Z}[/MATH]. Therefore, it cannot be a surjective function because it is not a function in the first place.
Is there something wrong in my reasoning? Am I understanding the question completely wrong?
Let [MATH]f:\mathbb{R} \rightarrow \mathbb{Z}, f(x)=5x+2[/MATH]. Is [MATH]f[/MATH] a surjective function?
Here are some definitions that we were using.
A function from [MATH]S[/MATH] to [MATH]T[/MATH] is a subset [MATH]M[/MATH] of [MATH]S \times T[/MATH] such that for every [MATH]s \in S[/MATH] there is a unique [MATH]t \in T[/MATH] such that [MATH](s,t) \in M[/MATH].
If every element in the co-domain of a function is the image of at least one element in the domain we say that the function is a surjection, i.e. for all [MATH]b[/MATH] in the co-domain there exists an [MATH]a[/MATH] in the domain such that [MATH]f(a) = b[/MATH]. A surjection is also called an onto function.
My teacher and a video explaining the problem claim that [MATH]f[/MATH] is a surjective function.
I can provide additional definitions if needed, but the way I see it, the relationship fits the definition for surjection, but it defies the one for a function. There are elements of the domain ([MATH]\mathbb{R}[/MATH]) for which [MATH]f(x) \notin \mathbb{Z}[/MATH], for example 0.5: [MATH]f(0.5) = 4.5 \notin \mathbb{Z}[/MATH]. Therefore, it cannot be a surjective function because it is not a function in the first place.
Is there something wrong in my reasoning? Am I understanding the question completely wrong?