Theorem
The real number line setr and the plane setr^2 are not homeomorphic.
Proof
If
is homeomorphic to
then there is a continuous, one to one and onto function
and
is also continuous, one to one and onto.

If
is open in setr then
has to be open in
and
is closed so
is closed since
is open.
However with the normal topologies on
and
taken as the projection of
onto the real so that
which is closed in
we have
which is neither open nor closed so
and
are not homeomorphic.