$[0, 1] \approx (0,1) \approx \mathbb{R}$, for example.
Intuitively, it seems that the infinity of $\mathbb{R}$ is of a different nature than that of the intervals; with $\mathbb{R}$ I can “explode” towards infinity, whereas with the intervals, in a seemingly opposite fashion, I can “dig” infinitely before reaching the bounds. Here I envision an infinitely straight line on the $x$-axis, versus a line from 0 to 1 with a scale that gets infinitely dense at the ends, as if you mapped all values of $\text{arctan}(x + \frac{\pi}{2})$ to a point on the line.
My question then is, how are we jamming a supposedly unbounded line into somewhere that is bounded? How can I even “grab” the ends of this line if they do not exist? Does this have to do with the term “dense” (e.g. dense nowhere, etc.) that I seem to see everywhere?
I’ve just completed a first course in mathematical logic, and we concluded with cardinalities and a brief introduction to analysis (bounds and the Completeness Axiom). I would be satisfied with a conceptual explanation, however something canonical, even if it is beyond my level, is what I am hoping for. Any guidance towards learning about things of the same nature as this is also greatly appreciated, even the names of such subjects.
Cardinality is not defined in a way that requires it to preserve structure. You could have equally asked why $\Bbb Q$ is equinumerous with $\Bbb N$ despite being densely ordered, whereas $\Bbb N$ is not densely ordered.
The point is that given a set, there are many different structures we can place on it. Even if it is finite, there are different ways to structure it (on a set of size $n$ there are many partial orders, only some a linear, etc.).
The fact that $\Bbb R$ "explodes towards infinity" is the same as the fact that $(0,1)$ "explodes towards $1$". And we know very well that it is sometimes useful to add $\pm\infty$ to $\Bbb R$ and be able to talk about functions which are continuous there, or has a limit at these non-real points. How is that different from talking about functions on $(0,1)$ and asking if they admit some sort of limit or value at $0$ and $1$?
It doesn't.
This is one of many steps towards understanding that in abstract mathematics it is useful to remember that sometimes your naive intuition breaks, and the only way to correct for this is to work slowly with the definitions, one step at a time, until you've developed a new intuition. It is also a useful step in understanding that: