Injective/Surjective Functions

  • Thread starter dpa
  • Start date
  • #1
dpa
147
0

Homework Statement


Is the minimum function defined by f(a,b)=min{a,b} surjective or injective?


Homework Equations


a function is injective f(x)=f(y) always implies x=y.
a function is surjective if for every y in codomain, there exists an x in domain such that f(x)=y.


The Attempt at a Solution


I am confused whether min is surjective function or not.
As for injective, it is not. e.g. f(2,3) and f(3,2) both give 2. This is sufficient to say it is not injective.
But it is surjective, which I am mostly sure, but how do I show it is surjective?
 

Answers and Replies

  • #2
dpa
147
0
And, is the following the right way to show that the function is surjective?
f(x)=y,
x=f^-1(y)
f(f^-1(y))=x
Is this why it is called right invertible?
 
  • #3
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
I am confused whether min is surjective function or not.
As for injective, it is not. e.g. f(2,3) and f(3,2) both give 2. This is sufficient to say it is not injective.
But it is surjective, which I am mostly sure, but how do I show it is surjective?
You're correct that it is not injective. Whether or not it is surjective depends on the codomain. Since the codomain is not specified here, there's no way to answer the question. Any function is surjective if you define its codomain to be its image.
 
  • #4
dpa
147
0
Sorry, that I forgot the first part.
It is defined for all f:ZXZ gives z. So c0 domain is set of all integers.
I am supposed to prove it not just explain.

Thank You.
 
  • #5
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
Sorry, that I forgot the first part.
It is defined for all f:ZXZ gives z. So c0 domain is set of all integers.
I am supposed to prove it not just explain.

Thank You.

OK, that makes it easy to answer whether the function is surjective. Given an arbitrary integer n, can you find two integers, a and b, such that min(a, b) = n?
 
  • #6
dpa
147
0
Yes, definitely I mean for any integer, that's possible unless n=infinity which I believe does not belong to Z.
So, does verbal proof suffice?

Thank You.
:-)
 
  • #7
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
Yes, definitely I mean for any integer, that's possible unless n=infinity which I believe does not belong to Z.
So, does verbal proof suffice?

Thank You.
:-)

Right, Z is the set of all integers. Infinity is not an integer.

Why don't you write down your proposed verbal proof and we'll see how it looks. Ideally (for the surjective part), can you name specific values for a and b such that min(a,b) = n?
 
  • #8
dpa
147
0
Verbal Part:
We know that for any value of an integer, we can find two integers such that the smallest of those two integers is the first integer. i.e. for every integer n we can write integers n and n+a where, a>=0. which gives min{n,n+a}=n.
Specific example would be for n=100, we can write two integers 100 and 101. I doubt if it is ideal example.
 
  • #9
jbunniii
Science Advisor
Homework Helper
Insights Author
Gold Member
3,475
257
Yes, that works. Note that there's nothing requiring the two integers to be different from each other. You also have min(n, n) = n.
 
  • #10
dpa
147
0
Thank You.
 

Suggested for: Injective/Surjective Functions

  • Last Post
Replies
9
Views
1K
Replies
14
Views
656
Replies
3
Views
726
Replies
1
Views
1K
Replies
1
Views
371
Replies
7
Views
434
Replies
1
Views
780
Replies
5
Views
514
Top