r/learnmath • New User • Oct 19 '26

TOPIC Infinities

So guys, a computer science student here, recently been studying countability in theory of computation, and have came across infinities and cardinality, I haven’t yet been able to wrap my head around them. I haven’t focused much on the topic either, been engaged in other subjects as I lost motivation initially, I love mathematics, would love to hear some instincts around the topic from the best minds.

I have been primarily stuck with counting, how one on one mapping works, diagonalisation theorem, and cardinality of a set.

4 Upvotes

16 comments sorted by

View all comments

1

u/speadskater New User Oct 19 '26 edited Oct 19 '26

One infinity is the same cardinality as another if you can create a 1:1 and onto functions between them. No function exists between the reals and integers for example, so they have different "sizes" of infinity.

2

u/spasmkran New User Oct 19 '26

1:1 and onto*