# Locally compact space

*X*is Hausdorff and satisfies any (or equivalently, all) of the previous conditions.

Every compact Hausdorff space is also locally compact, and many examples of compact spaces may be found in the article compact space. Here we mention only:

The first two examples show that a subset of a locally compact space need not be locally compact, which contrasts with the open and closed subsets in the previous section. The last example contrasts with the Euclidean spaces in the previous section; to be more specific, a Hausdorff topological vector space is locally compact if and only if it is finite-dimensional (in which case it is a Euclidean space). This example also contrasts with the Hilbert cube as an example of a compact space; there is no contradiction because the cube cannot be a neighbourhood of any point in Hilbert space.