In Royden's book Real Analysis, page 13, he writes that "We call two sets A and b equipotent provided there is a one-to-one mapping $f$ from A onto B Equipotence defines a equivalence relation among sets, that is, it is reflexive, symmetric, and transitive." He then uses equipotence to $\mathbb{N}$ define countably infinite.
I find out another definition of countably infinite using injection which is a one-to-one and left-total relation, not necessarily onto. But if it's not onto, how can the equipotence be symmetric?
When proving that the Cartesian product $\mathbb{N}\times\mathbb{N}$ is countably infinite, he defines a mapping $g$ by $g(m,n)=(m+n)^2+n$. This mapping from $\mathbb{N}\times\mathbb{N}$ to $\mathbb{N}$ is one-to-one but not onto.