Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2007-11-03 09:16:08

EPhillips1989
Member
Registered: 2007-11-03
Posts: 29

surjective function

hey can anyone ive me an example of a surjective function when
Z*N->Q???

will be much appreciated if you could share your ideas thanks in advance xxx

Offline

#2 2007-11-03 10:09:04

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: surjective function

What does Z*N->Q mean? neutral

Offline

#3 2007-11-03 11:12:51

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: surjective function

Assuming the function is Z and it goes from the natural to the rationals, there is an explicit formula you can find.  You could probably find it through google.  But there is another way you can do it.  We let:

{(a, b) : a, b are in N, and gcd(a, b) = 1}

Represent our positive rational numbers.  We then order this set by the relation:

(a, b) < (c, d) iff a < c or a = c and b < d

We notice that based on this definition of order, there is certainly nothing less than (1, 1), and that this is a total ordering in our set.  Now we map:

1 -> 1st element of this set
2 -> Negative of the first element of this set
....
...
2n -> nth element of this set
2n+1 -> Negative of the nth element of this set

And the claim is that such a mapping is surjective.

Edited to add: You also need to stick 0 in the beginning.


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#4 2007-11-04 07:46:38

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: surjective function

I'm guessing that Z*N means

.

If that's the case, then you can just take a∈Z and b∈N and define a rational a/b.


Why did the vector cross the road?
It wanted to be normal.

Offline

Board footer

Powered by FluxBB