In mathematics, the fundamental class is a homology class [M] associated to a connected orientable compact manifold of dimension n, which corresponds to the generator of the homology group . The fundamental class can be thought of as the orientation of the top-dimensional simplices of a suitable triangulation of the manifold. When M is a connected orientable closed manifold of dimension n, the top homology group is infinite cyclic: , and an orientation is a choice of generator, a choice of isomorphism . The generator is called the fundamental class. If M is disconnected (but still orientable), a fundamental class is the direct sum of the fundamental classes for each connected component (corresponding to an orientation for each component). In relation with de Rham cohomology it represents integration over M; namely for M a smooth manifold, an n-form ω can be paired with the fundamental class as which is the integral of ω over M, and depends only on the cohomology class of ω. If M is not orientable, , and so one cannot define a fundamental class M living inside the integers. However, every closed manifold is -orientable, and (for M connected). Thus every closed manifold is -oriented (not just orientable: there is no ambiguity in choice of orientation), and has a -fundamental class. This -fundamental class is used in defining Stiefel–Whitney class. If M is a compact orientable manifold with boundary, then the top relative homology group is again infinite cyclic , and so the notion of the fundamental class can be extended to the manifold with boundary case. Poincaré duality For any abelian group and non negative integer one can obtain an isomorphism using the cap product of the fundamental class and the -cohomology group . This isomorphism gives Poincaré duality: Using the notion of fundamental class for manifolds with boundary, we can extend Poincaré duality to that case too (see Lefschetz duality). In fact, the cap product with a fundamental class gives a stronger duality result saying that we have isomorphisms , assuming we have that are -dimensional manifolds with and .