# Closed graph theorem

In mathematics, the closed graph theorem is a basic result which characterizes continuous functions in terms of their graphs. In particular, they give conditions when functions with closed graphs are necessarily continuous. In mathematics, there are several results known as the "closed graph theorem".

The graph of the cubic function f(x) = x3 − 9x on the interval [-4,4] is closed because the function is continuous. The graph of the Heaviside function on [-2,2] is not closed, because the function is not continuous.

## Graphs and maps with closed graphs

If f : XY is a map between topological spaces then the graph of f is the set Gr f := { (x, f(x)) : xX} or equivalently,

Gr f := { (x, y) ∈ X × Y : y = f(x) }

We say that the graph of f is closed if Gr f is a closed subset of X × Y (with the product topology).

Any continuous function into a Hausdorff space has a closed graph.

Any linear map, L : XY, between two topological vector spaces whose topologies are (Cauchy) complete with respect to translation invariant metrics, and if in addition (1a) L is sequentially continuous in the sense of the product topology, then the map L is continuous and its graph, Gr L, is necessarily closed. Conversely, if L is such a linear map with, in place of (1a), the graph of L is (1b) known to be closed in the Cartesian product space X × Y, then L is continuous and therefore necessarily sequentially continuous.

### Examples of continuous maps that are not closed

• If X is any space then the identity map Id : XX is continuous but its graph, which is the diagonal Gr Id := { (x, x) : xX}, is closed in X × X if and only if X is Hausdorff. In particular, if X is not Hausdorff then Id : XX is continuous but not closed.
• Let X denote the real numbers with the usual Euclidean topology and let Y denote with the indiscrete topology (where note that Y is not Hausdorff and that every function valued in Y is continuous). Let f : XY be defined by f(0) = 1 and f(x) = 0 for all x ≠ 0. Then f : XY is continuous but its graph is not closed in X × Y.

## Closed graph theorem in point-set topology

In point-set topology, the closed graph theorem states the following:

Closed graph theorem — If f : XY is a map from a topological space X into a compact Hausdorff space Y, then the graph of f is closed if and only if f : XY is continuous.

### For set-valued functions

Closed graph theorem for set-valued functions — For a Hausdorff compact range space Y, a set-valued function F : X → 2Y has a closed graph if and only if it is upper hemicontinuous and F(x) is a closed set for all xX.

## In functional analysis

Definition: If T : XY is a linear operator between topological vector spaces (TVSs) then we say that T is a closed operator if the graph of T is closed in X × Y when X × Y is endowed with the product topology..

The closed graph theorem is an important result in functional analysis that guarantees that a closed linear operator is continuous under certain conditions. The original result has been generalized many times. A well known version of the closed graph theorems is the following.

Theorem — A linear map between two F-spaces (e.g. Banach spaces) is continuous if and only if its graph is closed.