Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't be bothered -- this is not actually how it's done.

What you do to compare sizes of sets A and B is, construct a 1:1 function mapping everything in A to something in B and vice versa.

If such a function exists, they're the same cardinality.

It's a little long-winded, but see:

http://en.wikipedia.org/wiki/Cardinal_number

This idea, which seems obvious only in retrospect, is due to Georg Cantor (the guy with the set, and the paradox).



Yeah, but if natural numbers are infinite, than there will always be a natural number to map to a real one, therefore they're the same cardinality.


Strangely enough, this isn't actually true! Ok, so it is true that if you were to go through one by one and label some real numbers with natural number, you would never run out. But the interesting thing comes when you start with the assumption that you have labelled every real number with a natural number. Turns out there's always some left over...

There is a famous proof about this by Georg Cantor: http://en.wikipedia.org/wiki/Cantors_diagonal_argument


It's only a proof if you take a leap of faith and accept certain things. You could argue that that's how math works, but to me the less axioms we need, the better.

I really love this quote from Wittgenstein:

"Where the nonsense starts is with our habit of thinking of a large number as closer to infinity than a small one".

http://en.wikipedia.org/wiki/Controversy_over_Cantor%27s_the...


Which assumptions do you find troubling?


That although both are infinite, there are actually more of one than the other.

That's treating infinite as if it's a limit, when it's not.

If it's uncountable and unmeasurable, than it's non hierarchical.


> That although both are infinite, there are actually more of one than the other.

That's not the assumption, that's the result.


You're right. The assumption would be that there's a countability difference between Naturals and Reals.

That Naturals are infinite but countable and Reals infinite and uncountable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: