| 
July 11th, 2007, 09:20 AM
| | Member | | Join Date: Jun 2007
Posts: 117
Country: Thanks: 2
Thanked 0 Times in 0 Posts
| | example of a function (one to one & onto) Give an example of a function from N to N that is one to one but not onto
My answer is the function from {a,b,c} to {1,2,3,4} with f(a) = 3, f(b) = 4, f(c) = 1. Is this the correct example to this question? What does it mean from N to N? | 
July 11th, 2007, 11:08 AM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,754 Times in 3,070 Posts
| | Quote:
Originally Posted by TheRekz Give an example of a function from N to N that is one to one but not onto
My answer is the function from {a,b,c} to {1,2,3,4} with f(a) = 3, f(b) = 4, f(c) = 1. Is this the correct example to this question? What does it mean from N to N? | f(1)=2, f(2)=3, f(3)=4, ... f(n) = n+1, ... | 
July 11th, 2007, 11:27 AM
| | MHF Contributor | | Join Date: Aug 2006
Posts: 6,711
Thanks: 68
Thanked 2,483 Times in 2,277 Posts
| | Quote:
Originally Posted by TheRekz Give an example of a function from N to N that is one to one but not onto
My answer is the function from {a,b,c} to {1,2,3,4} with f(a) = 3, f(b) = 4, f(c) = 1. Is this the correct example to this question? What does it mean from N to N? | No it is not correct.
First N is the set of counting numbers either {0,1,2,3,...} or {1,2,3,4,...} (i.e. it contains 0 or not depending on your textbook). So N is infinite; so your example must be infinite also. Here is another example in addition to the one given above. | 
July 11th, 2007, 11:43 AM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,754 Times in 3,070 Posts
| | Note if  is a finite set it is NOT POSSIBLE to find:  that is one-to-one but not onto. This is a consequence of the Pigeonhole Principle. This is a distinction between finite and infinite sets. | | The following users thank ThePerfectHacker for this useful post: | |  | 
July 11th, 2007, 12:34 PM
| | Member | | Join Date: Jun 2007
Posts: 117
Country: Thanks: 2
Thanked 0 Times in 0 Posts
| | Quote:
Originally Posted by Plato No it is not correct.
First N is the set of counting numbers either {0,1,2,3,...} or {1,2,3,4,...} (i.e. it contains 0 or not depending on your textbook). So N is infinite; so your example must be infinite also. Here is another example in addition to the one given above. ![f:N \mapsto N,\quad \left( {n \in N} \right)\left[ {f(n) = 2^n } \right]\quad f:N \mapsto N,\quad \left( {n \in N} \right)\left[ {f(n) = 2^n } \right]\quad](http://www.mathhelpforum.com/math-help/latex2/img/8e2fcc2fbefef0a1aa3f893aeee32af3-1.gif) | so what you're saying is that the function f(x) = 2^x will work as an example of this question? | 
July 11th, 2007, 12:36 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,754 Times in 3,070 Posts
| | Quote:
Originally Posted by TheRekz so what you're saying is that the function f(x) = 2^x will work as an example of this question? | Yes. The function I gave it even simpler. | 
July 11th, 2007, 06:29 PM
| | Member | | Join Date: Jun 2007
Posts: 117
Country: Thanks: 2
Thanked 0 Times in 0 Posts
| | What if the question is neither one to one nor onto? What would be a perfect example? Would x^2 + 1 work? | 
July 11th, 2007, 07:10 PM
|  | Global Moderator | | Join Date: Nov 2005 Location: New York City
Posts: 11,186
Country: Thanks: 482
Thanked 3,754 Times in 3,070 Posts
| | Quote:
Originally Posted by TheRekz What if the question is neither one to one nor onto? What would be a perfect example? Would x^2 + 1 work? | x^2+1 is one-to-one in this case.
How about,
f(1)=1
f(2)=1
f(3)=1
f(4)=1
...
f(n)=1 | 
July 11th, 2007, 07:19 PM
| | MHF Contributor | | Join Date: Aug 2006
Posts: 6,711
Thanks: 68
Thanked 2,483 Times in 2,277 Posts
| | Quote:
Originally Posted by TheRekz What if the question is neither one to one nor onto? What would be a perfect example? Would x^2 + 1 work? | No! Because the elements of N are non-negative that function is one-to-one.
Look at the function | 
July 11th, 2007, 07:40 PM
| | Member | | Join Date: Jun 2007
Posts: 117
Country: Thanks: 2
Thanked 0 Times in 0 Posts
| | can you give me other examples that does not use the floor operator? | 
July 12th, 2007, 09:58 AM
| | Member | | Join Date: Jun 2007
Posts: 117
Country: Thanks: 2
Thanked 0 Times in 0 Posts
| | N is a set of natural numbers right? And a natural number can't be negative? | 
July 12th, 2007, 10:14 AM
|  | vs Jhevon | | Join Date: Feb 2007 Location: New York, USA
Posts: 11,104
Country: Thanks: 2,610
Thanked 4,271 Times in 3,970 Posts
| | Quote:
Originally Posted by TheRekz N is a set of natural numbers right? And a natural number can't be negative? | correct. the natural numbers is the set of positive integers: 1,2,3,4,5,6....
wow, i could actually answer a question in this thread | 
July 12th, 2007, 10:29 AM
| | MHF Contributor | | Join Date: Aug 2006
Posts: 6,711
Thanks: 68
Thanked 2,483 Times in 2,277 Posts
| | Quote:
Originally Posted by TheRekz N is a set of natural numbers right? And a natural number can't be negative? | Look! We do not know what textbook or set of notes you are following.
Sorry to say, but it is true nonetheless, there are no hard and fast definition in mathematics. So you read the definition of  in your text material. Most texts that I have seen require  to be either {0,1,2,3,…} or {1,2,3,…}*. So yes the customary and usual definitions of  mean that the set is made of non-negative integers.
* See this site: Counting Number -- from Wolfram MathWorld | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 08:09 AM. | | |