In set theory, the kernel of a function f {\displaystyle f} (or equivalence kernel) may be taken to be either
An unrelated notion is that of the kernel of a non-empty family of sets B , {\displaystyle {\mathcal {B}},} which by definition is the intersection of all its elements: ker B = ⋂ B ∈ B B . {\displaystyle \ker {\mathcal {B}}~=~\bigcap _{B\in {\mathcal {B}}}\,B.} This definition is used in the theory of filters to classify them as being free or principal.