In mathematics, specifically in homotopy theory, a classifying space BG of a topological group G is the quotient of a weakly contractible space EG (i.e. a topological space for which all its homotopy groups are trivial) by a free action of G. It has the property that any G principal bundle over a paracompact manifold is isomorphic to a pullback of the principal bundle
For a discrete group G, BG is, roughly speaking, a pathconnected topological space X such that the fundamental group of X is isomorphic to G and the higher homotopy groups of X are trivial.
Contents 
An example for G infinite cyclic is the circle as X. Another way to specify the condition on X is that the universal cover Y of X is contractible. In that case the projection map
becomes a fiber bundle with structure group G, in fact a principal bundle for G. The interest in the classifying space concept really arises from the fact that in this case Y has a universal property with respect to principal Gbundles, in the homotopy category. This is actually more basic than the condition that the higher homotopy groups vanish: the fundamental idea is, given G, to find such a contractible space Y on which G acts freely. (The weak equivalence idea of homotopy theory relates the two versions.) In the case of the circle example, what is being said is that we remark that an infinite cyclic group C acts freely on the real line R, which is contractible. Taking X as the quotient space circle, we can regard the projection π from R = Y to X as a helix in geometrical terms, undergoing projection from three dimensions to the plane. What is being claimed is that π has a universal property amongst principal Cbundles; that any principal Cbundle in a definite way 'comes from' π.
A more formal statement takes into account that G may be a topological group (not simply a discrete group), and that group actions of G are taken to be continuous; in the absence of continuous actions the classifying space concept can be dealt with, in homotopy terms, via the EilenbergMacLane space construction. In homotopy theory the definition of a topological space BG, the classifying space for principal Gbundles, is given, together with the space EG which is the total space of the universal bundle over BG. That is, what is provided is in fact a continuous mapping
Assume that the homotopy category of CW complexes is the underlying category, from now on. The classifying property required of BG in fact relates to π. We must be able to say that given any principal Gbundle
over a space Z, there is a classifying map φ from Z to BG, such that γ is the pullback of a bundle of π along φ. In less abstract terms, the construction of γ by 'twisting' should be reducible via φ to the twisting already expressed by the construction of π.
For this to be a useful concept, there evidently must be some reason to believe such spaces BG exist. In abstract terms (which are not those originally used around 1950 when the idea was first introduced) this is a question of whether the contravariant functor from the homotopy category to the category of sets, defined by
is a representable functor. The abstract conditions being known for this (Brown's representability theorem) the result, as an existence theorem, is affirmative and not too difficult.
This still leaves the question of doing effective calculations with BG; for example, the theory of characteristic classes is essentially the same as computing the cohomology groups of BG, at least within the restrictive terms of homotopy theory, for interesting groups G such as Lie groups. As was shown by the Bott periodicity theorem, the homotopy groups of BG are also of fundamental interest. The early work on classifying spaces introduced constructions (for example, the bar construction), that gave concrete descriptions as a simplicial complex.
An example of a classifying space is that when G is cyclic of order two; then BG is real projective space of infinite dimension, corresponding to the observation that EG can be taken as the contractible space resulting from removing the origin in an infinitedimensional Hilbert space, with G acting via v going to −v, and allowing for homotopy equivalence in choosing BG. This example shows that classifying spaces may be complicated.
In relation with differential geometry (ChernWeil theory) and the theory of Grassmannians, a much more handson approach to the theory is possible for cases such as the unitary groups that are of greatest interest. The construction of the Thom complex MG showed that the spaces BG were also implicated in cobordism theory, so that they assumed a central place in geometric considerations coming out of algebraic topology. Since group cohomology can (in many cases) be defined by the use of classifying spaces, they can also be seen as foundational in much homological algebra.
Generalizations include those for classifying foliations, and the classifying toposes for logical theories of the predicate calculus in intuitionistic logic that take the place of a 'space of models'.
