Canonical: https://knowlpedia.com/topology/residual-set/

# Residual set

A set whose complement is meager

A **residual set** in a [topological space](https://knowlpedia.com/topology/topological-space/) \(X\) is a [subset](https://knowlpedia.com/shared-foundations/subset/) \(R\subseteq X\) whose [complement](https://knowlpedia.com/shared-foundations/complement/) \(X\setminus R\) is [meager](https://knowlpedia.com/topology/meager-set/).

## Equivalent characterizations

Equivalently, \(R\) is residual if it contains a countable [intersection](https://knowlpedia.com/shared-foundations/intersection/) of sets that are both [open](https://knowlpedia.com/topology/open-set/) and [dense](https://knowlpedia.com/topology/dense-set/).

## Remarks

In a [Baire space](https://knowlpedia.com/topology/baire-space/), every residual set is dense.

## Examples

- The irrationals \(\mathbb{R}\setminus\mathbb{Q}\) form a residual subset of \(\mathbb{R}\), since \(\mathbb{Q}\) is [meager](https://knowlpedia.com/topology/meager-set/).
- In any Baire space, the intersection of countably many dense open sets is residual (and dense), as captured by [the defining property of a Baire space](https://knowlpedia.com/topology/baire-space/).
