# Riesz representation theorem

This article describes a theorem concerning the dual of a Hilbert space. For the theorems relating linear functionals to measures, see Riesz–Markov–Kakutani representation theorem.

The Riesz representation theorem, sometimes called the Riesz–Fréchet representation theorem after Frigyes Riesz and Maurice René Fréchet, establishes an important connection between a Hilbert space and its continuous dual space. If the underlying field is the real numbers, the two are isometrically isomorphic; if the underlying field is the complex numbers, the two are isometrically anti-isomorphic. The (anti-) isomorphism is a particular natural isomorphism.

## Preliminaries and notation

Let ${\displaystyle H}$  be a Hilbert space over a field ${\displaystyle \mathbb {F} ,}$  where ${\displaystyle \mathbb {F} }$  is either the real numbers ${\displaystyle \mathbb {R} }$  or the complex numbers ${\displaystyle \mathbb {C} .}$  If ${\displaystyle \mathbb {F} =\mathbb {C} }$  (resp. if ${\displaystyle \mathbb {F} =\mathbb {R} }$ ) then ${\displaystyle H}$  is called a complex Hilbert space (resp. a real Hilbert space). Every real Hilbert space can be extended to be a dense subset of a unique (up to bijective isometry) complex Hilbert space, called its complexification, which is why Hilbert spaces are often automatically assumed to be complex. Real and complex Hilbert spaces have in common many, but by no means all, properties and results/theorems.

This article is intended for both mathematicians and physicists and will describe the theorem for both. In both mathematics and physics, if a Hilbert space is assumed to be real (that is, if ${\displaystyle \mathbb {F} =\mathbb {R} }$ ) then this will usually be made clear. Often in mathematics, and especially in physics, unless indicated otherwise, "Hilbert space" is usually automatically assumed to mean "complex Hilbert space." Depending on the author, in mathematics, "Hilbert space" usually means either (1) a complex Hilbert space, or (2) a real or complex Hilbert space.

### Linear and antilinear maps

By definition, an antilinear map (also called a conjugate-linear map) ${\displaystyle f:H\to Y}$  is a map between vector spaces that is additive:

${\displaystyle f(x+y)=f(x)+f(y)\quad {\text{ for all }}x,y\in H,}$

and antilinear (also called conjugate-linear or conjugate-homogeneous):
${\displaystyle f(cx)={\overline {c}}f(x)\quad {\text{ for all }}x\in H{\text{ and all scalar }}c\in \mathbb {F} .}$

In contrast, a map ${\displaystyle f:H\to Y}$  is linear if it is additive and homogeneous:

${\displaystyle f(cx)=cf(x)\quad {\text{ for all }}x\in H\quad {\text{ and all scalars }}c\in \mathbb {F} .}$

Every constant ${\displaystyle 0}$  map is always both linear and antilinear. If ${\displaystyle \mathbb {F} =\mathbb {R} }$  then the definitions of linear maps and antilinear maps are completely identical. A linear map from a Hilbert space into a Banach space (or more generally, from any Banach space into any topological vector space) is continuous if and only if it is bounded; the same is true of antilinear maps. The inverse of any antilinear (resp. linear) bijection is again an antilinear (resp. linear) bijection. The composition of two antilinear maps is a linear map.

Continuous dual and anti-dual spaces

A functional on ${\displaystyle H}$  is a function ${\displaystyle H\to \mathbb {F} }$  whose codomain is the underlying scalar field ${\displaystyle \mathbb {F} .}$  Denote by ${\displaystyle H^{*}}$  (resp. by ${\displaystyle {\overline {H}}^{*})}$  the set of all continuous linear (resp. continuous antilinear) functionals on ${\displaystyle H,}$  which is called the (continuous) dual space (resp. the (continuous) anti-dual space) of ${\displaystyle H.}$ [1] If ${\displaystyle \mathbb {F} =\mathbb {R} }$  then linear functionals on ${\displaystyle H}$  are the same as antilinear functionals and consequently, the same is true for such continuous maps: that is, ${\displaystyle H^{*}={\overline {H}}^{*}.}$

One-to-one correspondence between linear and antilinear functionals

Given any functional ${\displaystyle f~:~H\to \mathbb {F} ,}$  the conjugate of ${\displaystyle f}$  is the functional

{\displaystyle {\begin{alignedat}{4}{\overline {f}}:\,&H&&\to \,&&\mathbb {F} \\&h&&\mapsto \,&&{\overline {f(h)}}.\\\end{alignedat}}}

This assignment is most useful when ${\displaystyle \mathbb {F} =\mathbb {C} }$  because if ${\displaystyle \mathbb {F} =\mathbb {R} }$  then ${\displaystyle f={\overline {f}}}$  and the assignment ${\displaystyle f\mapsto {\overline {f}}}$  reduces down to the identity map.

The assignment ${\displaystyle f\mapsto {\overline {f}}}$  defines an antilinear bijective correspondence from the set of

all functionals (resp. all linear functionals, all continuous linear functionals ${\displaystyle H^{*}}$ ) on ${\displaystyle H,}$

onto the set of

all functionals (resp. all antilinear functionals, all continuous antilinear functionals ${\displaystyle {\overline {H}}^{*}}$ ) on ${\displaystyle H.}$

### Mathematics vs. physics notations and definitions of inner product

The Hilbert space ${\displaystyle H}$  has an associated inner product ${\displaystyle H\times H\to \mathbb {F} }$  valued in ${\displaystyle H}$ 's underlying scalar field ${\displaystyle \mathbb {F} }$  that is linear in one coordinate and antilinear in the other (as described in detail below). If ${\displaystyle H}$  is a complex Hilbert space (meaning, if ${\displaystyle \mathbb {F} =\mathbb {C} }$ ), which is very often the case, then which coordinate is antilinear and which is linear becomes a very important technicality. However, if ${\displaystyle \mathbb {F} =\mathbb {R} }$  then the inner product is a symmetric map that is simultaneously linear in each coordinate (that is, bilinear) and antilinear in each coordinate. Consequently, the question of which coordinate is linear and which is antilinear is irrelevant for real Hilbert spaces.

Notation for the inner product

In mathematics, the inner product on a Hilbert space ${\displaystyle H}$  is often denoted by ${\displaystyle \left\langle \cdot ,\cdot \right\rangle }$  or ${\displaystyle \left\langle \cdot ,\cdot \right\rangle _{H}}$  while in physics, the bra–ket notation ${\displaystyle \left\langle \cdot \mid \cdot \right\rangle }$  or ${\displaystyle \left\langle \cdot \mid \cdot \right\rangle _{H}}$  is typically used instead. In this article, these two notations will be related by the equality:

${\displaystyle \left\langle x,y\right\rangle :=\left\langle y\mid x\right\rangle \quad {\text{ for all }}x,y\in H.}$

Competing definitions of the inner product

The maps ${\displaystyle \left\langle \cdot ,\cdot \right\rangle }$  and ${\displaystyle \left\langle \cdot \mid \cdot \right\rangle }$  are assumed to have the following two properties:

1. The map ${\displaystyle \left\langle \cdot ,\cdot \right\rangle }$  is linear in its first coordinate; equivalently, the map ${\displaystyle \left\langle \cdot \mid \cdot \right\rangle }$  is linear in its second coordinate. Explicitly, this means that for every fixed ${\displaystyle y\in H,}$  the map that is denoted by ${\displaystyle \left\langle \,y\mid \cdot \,\right\rangle =\left\langle \,\cdot ,y\,\right\rangle :H\to \mathbb {F} }$  and defined by
${\displaystyle h\mapsto \left\langle \,y\mid h\,\right\rangle =\left\langle \,h,y\,\right\rangle \quad {\text{ for all }}h\in H}$

is a linear functional on ${\displaystyle H.}$
• In fact, this linear functional is continuous, so ${\displaystyle \left\langle \,y\mid \cdot \,\right\rangle =\left\langle \,\cdot ,y\,\right\rangle \in H^{*}.}$
2. The map ${\displaystyle \left\langle \cdot ,\cdot \right\rangle }$  is antilinear in its second coordinate; equivalently, the map ${\displaystyle \left\langle \cdot \mid \cdot \right\rangle }$  is antilinear in its first coordinate. Explicitly, this means that for every fixed ${\displaystyle y\in H,}$  the map that is denoted by ${\displaystyle \left\langle \,\cdot \mid y\,\right\rangle =\left\langle \,y,\cdot \,\right\rangle :H\to \mathbb {F} }$  and defined by
${\displaystyle h\mapsto \left\langle \,h\mid y\,\right\rangle =\left\langle \,y,h\,\right\rangle \quad {\text{ for all }}h\in H}$

is an antilinear functional on ${\displaystyle H.}$
• In fact, this antilinear functional is continuous, so ${\displaystyle \left\langle \,\cdot \mid y\,\right\rangle =\left\langle \,y,\cdot \,\right\rangle \in {\overline {H}}^{*}.}$

In mathematics, the prevailing convention (i.e. the definition of an inner product) is that the inner product is linear in the first coordinate and antilinear in the other coordinate. In physics, the convention/definition is unfortunately the opposite, meaning that the inner product is linear in the second coordinate and antilinear in the other coordinate. This article will not choose one definition over the other. Instead, the assumptions made above make it so that the mathematics notation ${\displaystyle \left\langle \cdot ,\cdot \right\rangle }$  satisfies the mathematical convention/definition for the inner product (that is, linear in the first coordinate and antilinear in the other), while the physics bra–ket notation ${\displaystyle \left\langle \cdot |\cdot \right\rangle }$  satisfies the physics convention/definition for the inner product (that is, linear in the second coordinate and antilinear in the other). Consequently, the above two assumptions makes the notation used in each field consistent with that field's convention/definition for which coordinate is linear and which is antilinear.

### Canonical norm and inner product on the dual space and anti-dual space

If ${\displaystyle x=y}$  then ${\displaystyle \langle \,x\mid x\,\rangle =\langle \,x,x\,\rangle }$  is a non-negative real number and the map

${\displaystyle \|x\|:={\sqrt {\langle x,x\rangle }}={\sqrt {\langle x\mid x\rangle }}}$

defines a canonical norm on ${\displaystyle H}$  that makes ${\displaystyle H}$  into a normed space.[1] As with all normed spaces, the (continuous) dual space ${\displaystyle H^{*}}$  carries a canonical norm, called the dual norm, that is defined by[1]

${\displaystyle \|f\|_{H^{*}}~:=~\sup _{\|x\|\leq 1,x\in H}|f(x)|\quad {\text{ for every }}f\in H^{*}.}$

The canonical norm on the (continuous) anti-dual space ${\displaystyle {\overline {H}}^{*},}$  denoted by ${\displaystyle \|f\|_{{\overline {H}}^{*}},}$  is defined by using this same equation:[1]

${\displaystyle \|f\|_{{\overline {H}}^{*}}~:=~\sup _{\|x\|\leq 1,x\in H}|f(x)|\quad {\text{ for every }}f\in {\overline {H}}^{*}.}$

This canonical norm on ${\displaystyle H^{*}}$  satisfies the parallelogram law, which means that the polarization identity can be used to define a canonical inner product on ${\displaystyle H^{*},}$  which this article will denote by the notations

${\displaystyle \left\langle f,g\right\rangle _{H^{*}}:=\left\langle g\mid f\right\rangle _{H^{*}},}$

where this inner product turns ${\displaystyle H^{*}}$  into a Hilbert space. There are now two ways of defining a norm on ${\displaystyle H^{*}:}$  the norm induced by this inner product (that is, the norm defined by ${\displaystyle f\mapsto {\sqrt {\left\langle f,f\right\rangle _{H^{*}}}}}$ ) and the usual dual norm (defined as the supremum over the closed unit ball). These norms are the same; explicitly, this means that the following holds for every ${\displaystyle f\in H^{*}:}$
${\displaystyle \sup _{\|x\|\leq 1,x\in H}|f(x)|=\|f\|_{H^{*}}~=~{\sqrt {\langle f,f\rangle _{H^{*}}}}~=~{\sqrt {\langle f\mid f\rangle _{H^{*}}}}.}$

As will be described later, the Riesz representation theorem can be used to give an equivalent definition of the canonical norm and the canonical inner product on ${\displaystyle H^{*}.}$

The same equations that were used above can also be used to define a norm and inner product on ${\displaystyle H}$ 's anti-dual space ${\displaystyle {\overline {H}}^{*}.}$ [1]

Canonical isometry between the dual and antidual

The complex conjugate ${\displaystyle {\overline {f}}}$  of a functional ${\displaystyle f,}$  which was defined above, satisfies

${\displaystyle \|f\|_{H^{*}}~=~\left\|{\overline {f}}\right\|_{{\overline {H}}^{*}}\quad {\text{ and }}\quad \left\|{\overline {g}}\right\|_{H^{*}}~=~\|g\|_{{\overline {H}}^{*}}}$

for every ${\displaystyle f\in H^{*}}$  and every ${\displaystyle g\in {\overline {H}}^{*}.}$  This says exactly that the canonical antilinear bijection defined by
{\displaystyle {\begin{alignedat}{4}\operatorname {Cong} :\;&&H^{*}&&\;\to \;&{\overline {H}}^{*}\\[0.3ex]&&f&&\;\mapsto \;&{\overline {f}}\\\end{alignedat}}}

as well as its inverse ${\displaystyle \operatorname {Cong} ^{-1}~:~{\overline {H}}^{*}\to H^{*}}$  are antilinear isometries and consequently also homeomorphisms. The inner products on the dual space ${\displaystyle H^{*}}$  and the anti-dual space ${\displaystyle {\overline {H}}^{*},}$  denoted respectively by ${\displaystyle \langle \,\cdot \,,\,\cdot \,\rangle _{H^{*}}}$  and ${\displaystyle \langle \,\cdot \,,\,\cdot \,\rangle _{{\overline {H}}^{*}},}$  are related by
${\displaystyle \langle \,{\overline {f}}\,|\,{\overline {g}}\,\rangle _{{\overline {H}}^{*}}={\overline {\langle \,f\,|\,g\,\rangle _{H^{*}}}}=\langle \,g\,|\,f\,\rangle _{H^{*}}\qquad {\text{ for all }}f,g\in H^{*}}$

and
${\displaystyle \langle \,{\overline {f}}\,|\,{\overline {g}}\,\rangle _{H^{*}}={\overline {\langle \,f\,|\,g\,\rangle _{{\overline {H}}^{*}}}}=\langle \,g\,|\,f\,\rangle _{{\overline {H}}^{*}}\qquad {\text{ for all }}f,g\in {\overline {H}}^{*}.}$

If ${\displaystyle \mathbb {F} =\mathbb {R} }$  then ${\displaystyle H^{*}={\overline {H}}^{*}}$  and this canonical map ${\displaystyle \operatorname {Cong} :H^{*}\to {\overline {H}}^{*}}$  reduces down to the identity map.

## Riesz representation theorem

Two vectors ${\displaystyle x}$  and ${\displaystyle y}$  are orthogonal if ${\displaystyle \langle x,y\rangle =0,}$  which happens if and only if ${\displaystyle \|y\|\leq \|y+sx\|}$  for all scalars ${\displaystyle s.}$ [2] The orthogonal complement of a subset ${\displaystyle C\subseteq H}$  is

${\displaystyle C^{\bot }:=\{\,y\in H:\langle y,c\rangle =0{\text{ for all }}c\in C\,\},}$

which is always a closed vector subspace of ${\displaystyle H.}$  The Hilbert projection theorem guarantees that for any nonempty closed convex subset ${\displaystyle C}$  of a Hilbert space there exists a unique vector ${\displaystyle m\in C}$  such that ${\displaystyle \|m\|=\inf _{c\in C}\|c\|;}$  that is, ${\displaystyle m\in C}$  is the (unique) global minimum point of the function ${\displaystyle C\to [0,\infty )}$  defined by ${\displaystyle c\mapsto \|c\|.}$

### Statement

Riesz representation theorem — Let ${\displaystyle H}$  be a Hilbert space whose inner product ${\displaystyle \left\langle x,y\right\rangle }$  is linear in its first argument and antilinear in its second argument and let ${\displaystyle \langle y\mid x\rangle :=\langle x,y\rangle }$  be the corresponding physics notation. For every continuous linear functional ${\displaystyle \varphi \in H^{*},}$  there exists a unique vector ${\displaystyle f_{\varphi }\in H,}$  called the Riesz representation of ${\displaystyle \varphi ,}$  such that

${\displaystyle \varphi (x)=\left\langle x,f_{\varphi }\right\rangle =\left\langle f_{\varphi }\mid x\right\rangle \quad {\text{ for all }}x\in H.}$

Importantly for complex Hilbert spaces, ${\displaystyle f_{\varphi }}$  is always located in the antilinear coordinate of the inner product.[note 1]

Furthermore, the length of the representation vector is equal to the norm of the functional:

${\displaystyle \left\|f_{\varphi }\right\|_{H}=\|\varphi \|_{H^{*}},}$

and ${\displaystyle f_{\varphi }}$  is the unique vector ${\displaystyle f_{\varphi }\in \left(\ker \varphi \right)^{\bot }}$  with ${\displaystyle \varphi \left(f_{\varphi }\right)=\|\varphi \|^{2}.}$  It is also the unique element of minimum norm in ${\displaystyle C:=\varphi ^{-1}\left(\|\varphi \|^{2}\right)}$ ; that is to say, ${\displaystyle f_{\varphi }}$  is the unique element of ${\displaystyle C}$  satisfying ${\displaystyle \left\|f_{\varphi }\right\|=\inf _{c\in C}\|c\|.}$  Moreover, any non-zero ${\displaystyle q\in (\ker \varphi )^{\bot }}$  can be written as ${\displaystyle q=\left(\|q\|^{2}/\,{\overline {\varphi (q)}}\right)\ f_{\varphi }.}$

Corollary — The canonical map from ${\displaystyle H}$  into its dual ${\displaystyle H^{*}}$ [1] is the injective antilinear operator isometry[note 2][1]

{\displaystyle {\begin{alignedat}{4}\Phi :\;&&H&&\;\to \;&H^{*}\\[0.3ex]&&y&&\;\mapsto \;&\langle \,\cdot \,,y\rangle =\langle y|\,\cdot \,\rangle \\\end{alignedat}}}

The Riesz representation theorem states that this map is surjective (and thus bijective) when ${\displaystyle H}$  is complete and that its inverse is the bijective isometric antilinear isomorphism
{\displaystyle {\begin{alignedat}{4}\Phi ^{-1}:\;&&H^{*}&&\;\to \;&H\\[0.3ex]&&\varphi &&\;\mapsto \;&f_{\varphi }\\\end{alignedat}}.}

Consequently, every continuous linear functional on the Hilbert space ${\displaystyle H}$  can be written uniquely in the form ${\displaystyle \langle y\,|\,\cdot \,\rangle }$ [1] where ${\displaystyle \|\langle y\,|\cdot \rangle \|_{H^{*}}=\|y\|_{H}}$  for every ${\displaystyle y\in H.}$  The assignment ${\displaystyle y\mapsto \langle y,\cdot \rangle =\langle \cdot \,|\,y\rangle }$  can also be viewed as a bijective linear isometry ${\displaystyle H\to {\overline {H}}^{*}}$  into the anti-dual space of ${\displaystyle H,}$ [1] which is the complex conjugate vector space of the continuous dual space ${\displaystyle H^{*}.}$

The inner products on ${\displaystyle H}$  and ${\displaystyle H^{*}}$  are related by

${\displaystyle \left\langle \Phi h,\Phi k\right\rangle _{H^{*}}={\overline {\langle h,k\rangle }}_{H}=\langle k,h\rangle _{H}\quad {\text{ for all }}h,k\in H}$

and similarly,
${\displaystyle \left\langle \Phi ^{-1}\varphi ,\Phi ^{-1}\psi \right\rangle _{H}={\overline {\langle \varphi ,\psi \rangle }}_{H^{*}}=\left\langle \psi ,\varphi \right\rangle _{H^{*}}\quad {\text{ for all }}\varphi ,\psi \in H^{*}.}$

The set ${\displaystyle C:=\varphi ^{-1}\left(\|\varphi \|^{2}\right)}$  satisfies ${\displaystyle C=f_{\varphi }+\ker \varphi }$  and ${\displaystyle C-C=\ker \varphi }$  so when ${\displaystyle f_{\varphi }\neq 0}$  then ${\displaystyle C}$  can be interpreted as being the affine hyperplane[note 3] that is parallel to the vector subspace ${\displaystyle \ker \varphi }$  and contains ${\displaystyle f_{\varphi }.}$

For ${\displaystyle y\in H,}$  the physics notation for the functional ${\displaystyle \Phi (y)\in H^{*}}$  is the bra ${\displaystyle \langle y|,}$  where explicitly this means that ${\displaystyle \langle y|:=\Phi (y),}$  which complements the ket notation ${\displaystyle |y\rangle }$  defined by ${\displaystyle |y\rangle :=y.}$  In the mathematical treatment of quantum mechanics, the theorem can be seen as a justification for the popular bra–ket notation. The theorem says that, every bra ${\displaystyle \langle \psi \,|}$  has a corresponding ket ${\displaystyle |\,\psi \rangle ,}$  and the latter is unique.

Historically, the theorem is often attributed simultaneously to Riesz and Fréchet in 1907 (see references).

Proof[3]

Let ${\displaystyle \mathbb {F} }$  denote the underlying scalar field of ${\displaystyle H.}$

Proof of norm formula:

Fix ${\displaystyle y\in H.}$  Define ${\displaystyle \Lambda :H\to \mathbb {F} }$  by ${\displaystyle \Lambda (z):=\langle \,y\,|\,z\,\rangle ,}$  which is a linear functional on ${\displaystyle H}$  since ${\displaystyle z}$  is in the linear argument. By the Cauchy–Schwarz inequality,

${\displaystyle |\Lambda (z)|=|\langle \,y\,|\,z\,\rangle |\leq \|y\|\|z\|}$

which shows that ${\displaystyle \Lambda }$  is bounded (equivalently, continuous) and that ${\displaystyle \|\Lambda \|\leq \|y\|.}$  It remains to show that ${\displaystyle \|y\|\leq \|\Lambda \|.}$  By using ${\displaystyle y}$  in place of ${\displaystyle z,}$  it follows that
${\displaystyle \|y\|^{2}=\langle \,y\,|\,y\,\rangle =\Lambda y=|\Lambda (y)|\leq \|\Lambda \|\|y\|}$

(the equality ${\displaystyle \Lambda y=|\Lambda (y)|}$  holds because ${\displaystyle \Lambda y=\|y\|^{2}\geq 0}$  is real and non-negative). Thus that ${\displaystyle \|\Lambda \|=\|y\|.}$  ${\displaystyle \blacksquare }$

The proof above did not use the fact that ${\displaystyle H}$  is complete, which shows that the formula for the norm ${\displaystyle \|\langle \,y\,|\,\cdot \,\rangle \|_{H^{*}}=\|y\|_{H}}$  holds more generally for all inner product spaces.

Proof that a Riesz representation of ${\displaystyle \varphi }$  is unique:

Suppose ${\displaystyle f,g\in H}$  are such that ${\displaystyle \varphi (z)=\langle \,f\,|\,z\,\rangle }$  and ${\displaystyle \varphi (z)=\langle \,g\,|\,z\,\rangle }$  for all ${\displaystyle z\in H.}$  Then

${\displaystyle \langle \,f-g\,|\,z\,\rangle =\langle \,f\,|\,z\,\rangle -\langle \,g\,|\,z\,\rangle =\varphi (z)-\varphi (z)=0\quad {\text{ for all }}z\in H}$

which shows that ${\displaystyle \Lambda :=\langle \,f-g\,|\,\cdot \,\rangle }$  is the constant ${\displaystyle 0}$  linear functional. Consequently ${\displaystyle 0=\|\langle \,f-g\,|\,\cdot \,\rangle \|=\|f-g\|,}$  which implies that ${\displaystyle f-g=0.}$  ${\displaystyle \blacksquare }$

Proof that a vector ${\displaystyle f_{\varphi }}$  representing ${\displaystyle \varphi }$  exists:

Let ${\displaystyle K:=\ker \varphi :=\{m\in H:\varphi (m)=0\}.}$  If ${\displaystyle K=H}$  (or equivalently, if ${\displaystyle \varphi =0}$ ) then taking ${\displaystyle f_{\varphi }:=0}$  completes the proof so assume that ${\displaystyle K\neq H}$  and ${\displaystyle \varphi \neq 0.}$  The continuity of ${\displaystyle \varphi }$  implies that ${\displaystyle K}$  is a closed subspace of ${\displaystyle H}$  (because ${\displaystyle K=\varphi ^{-1}(\{0\})}$  and ${\displaystyle \{0\}}$  is a closed subset of ${\displaystyle \mathbb {F} }$ ). Let

${\displaystyle K^{\bot }:=\{v\in H~:~\langle \,v\,|\,k\,\rangle =0~{\text{ for all }}k\in K\}}$

denote the orthogonal complement of ${\displaystyle K}$  in ${\displaystyle H.}$  Because ${\displaystyle K}$  is closed and ${\displaystyle H}$  is a Hilbert space,[note 4] ${\displaystyle H}$  can be written as the direct sum ${\displaystyle H=K\oplus K^{\bot }}$ [note 5] (a proof of this is given in the article on the Hilbert projection theorem). Because ${\displaystyle K\neq H,}$  there exists some non-zero ${\displaystyle p\in K^{\bot }.}$  For any ${\displaystyle h\in H,}$
${\displaystyle \varphi [(\varphi h)p-(\varphi p)h]~=~\varphi [(\varphi h)p]-\varphi [(\varphi p)h]~=~(\varphi h)\varphi p-(\varphi p)\varphi h=0,}$

which shows that ${\displaystyle (\varphi h)p-(\varphi p)h~\in ~\ker \varphi =K,}$  where now ${\displaystyle p\in K^{\bot }}$  implies
${\displaystyle 0=\langle \,p\,|\,(\varphi h)p-(\varphi p)h\,\rangle ~=~\langle \,p\,|\,(\varphi h)p\,\rangle -\langle \,p\,|\,(\varphi p)h\,\rangle ~=~(\varphi h)\langle \,p\,|\,p\,\rangle -(\varphi p)\langle \,p\,|\,h\,\rangle .}$

Solving for ${\displaystyle \varphi h}$  shows that
${\displaystyle \varphi h={\frac {(\varphi p)\langle \,p\,|\,h\,\rangle }{\|p\|^{2}}}=\left\langle \,{\frac {\overline {\varphi p}}{\|p\|^{2}}}p\,{\Bigg |}\,h\,\right\rangle \quad {\text{ for every }}h\in H,}$

which proves that the vector ${\displaystyle f_{\varphi }:={\frac {\overline {\varphi p}}{\|p\|^{2}}}p}$  satisfies ${\displaystyle \varphi h=\langle \,f_{\varphi }\,|\,h\,\rangle {\text{ for every }}h\in H.}$

Applying the norm formula that was proved above with ${\displaystyle y:=f_{\varphi }}$  shows that ${\displaystyle \|\varphi \|_{H^{*}}=\left\|\left\langle \,f_{\varphi }\,|\,\cdot \,\right\rangle \right\|_{H^{*}}=\left\|f_{\varphi }\right\|_{H}.}$  Also, the vector ${\displaystyle u:={\frac {p}{\|p\|}}}$  has norm ${\displaystyle \|u\|=1}$  and satisfies ${\displaystyle f_{\varphi }:={\overline {\varphi (u)}}u.}$  ${\displaystyle \blacksquare }$

It can now be deduced that ${\displaystyle K^{\bot }}$  is ${\displaystyle 1}$ -dimensional when ${\displaystyle \varphi \neq 0.}$  Let ${\displaystyle q\in K^{\bot }}$  be any non-zero vector. Replacing ${\displaystyle p}$  with ${\displaystyle q}$  in the proof above shows that the vector ${\displaystyle g:={\frac {\overline {\varphi q}}{\|q\|^{2}}}q}$  satisfies ${\displaystyle \varphi (h)=\langle \,g\,|\,h\,\rangle }$  for every ${\displaystyle h\in H.}$  The uniqueness of the (non-zero) vector ${\displaystyle f_{\varphi }}$  representing ${\displaystyle \varphi }$  implies that ${\displaystyle f_{\varphi }=g,}$  which in turn implies that ${\displaystyle {\overline {\varphi q}}\neq 0}$  and ${\displaystyle q={\frac {\|q\|^{2}}{\overline {\varphi q}}}f_{\varphi }.}$  Thus every vector in ${\displaystyle K^{\bot }}$  is a scalar multiple of ${\displaystyle f_{\varphi }.}$  ${\displaystyle \blacksquare }$

The formulas for the inner products follow from the polarization identity.

### Observations

If ${\displaystyle \varphi \in H^{*}}$  then

${\displaystyle \varphi \left(f_{\varphi }\right)=\left\langle f_{\varphi },f_{\varphi }\right\rangle =\left\|f_{\varphi }\right\|^{2}=\|\varphi \|^{2}.}$

So in particular, ${\displaystyle \varphi \left(f_{\varphi }\right)\geq 0}$  is always real and furthermore, ${\displaystyle \varphi \left(f_{\varphi }\right)=0}$  if and only if ${\displaystyle f_{\varphi }=0}$  if and only if ${\displaystyle \varphi =0.}$

Linear functionals as affine hyperplanes

A non-trivial continuous linear functional ${\displaystyle \varphi }$  is often interpreted geometrically by identifying it with the affine hyperplane ${\displaystyle A:=\varphi ^{-1}(1)}$  (the kernel ${\displaystyle \ker \varphi =\varphi ^{-1}(0)}$  is also often visualized alongside ${\displaystyle A:=\varphi ^{-1}(1)}$  although knowing ${\displaystyle A}$  is enough to reconstruct ${\displaystyle \ker \varphi }$  because if ${\displaystyle A=\varnothing }$  then ${\displaystyle \ker \varphi =H}$  and otherwise ${\displaystyle \ker \varphi =A-A}$ ). In particular, the norm of ${\displaystyle \varphi }$  should somehow be interpretable as the "norm of the hyperplane ${\displaystyle A}$ ". When ${\displaystyle \varphi \neq 0}$  then the Riesz representation theorem provides such an interpretation of ${\displaystyle \|\varphi \|}$  in terms of the affine hyperplane[note 3]${\displaystyle A:=\varphi ^{-1}(1)}$  as follows: using the notation from the theorem's statement, from ${\displaystyle \|\varphi \|^{2}\neq 0}$  it follows that ${\displaystyle C:=\varphi ^{-1}\left(\|\varphi \|^{2}\right)=\|\varphi \|^{2}\varphi ^{-1}(1)=\|\varphi \|^{2}A}$  and so ${\displaystyle \|\varphi \|=\left\|f_{\varphi }\right\|=\inf _{c\in C}\|c\|}$  implies ${\displaystyle \|\varphi \|=\inf _{a\in A}\|\varphi \|^{2}\|a\|}$  and thus ${\displaystyle \|\varphi \|={\frac {1}{\inf _{a\in A}\|a\|}}.}$  This can also be seen by applying the Hilbert projection theorem to ${\displaystyle A}$  and concluding that the global minimum point of the map ${\displaystyle A\to [0,\infty )}$  defined by ${\displaystyle a\mapsto \|a\|}$  is ${\displaystyle {\frac {f_{\varphi }}{\|\varphi \|^{2}}}\in A.}$  The formulas

${\displaystyle {\frac {1}{\inf _{a\in A}\|a\|}}=\sup _{a\in A}{\frac {1}{\|a\|}}}$

provide the promised interpretation of the linear functional's norm ${\displaystyle \|\varphi \|}$  entirely in terms of its associated affine hyperplane ${\displaystyle A=\varphi ^{-1}(1)}$  (because with this formula, knowing only the set ${\displaystyle A}$  is enough to describe the norm of its associated linear functional). Defining ${\displaystyle {\frac {1}{\infty }}:=0,}$  the infimum formula
${\displaystyle \|\varphi \|={\frac {1}{\inf _{a\in \varphi ^{-1}(1)}\|a\|}}}$

will also hold when ${\displaystyle \varphi =0.}$  When the supremum is taken in ${\displaystyle \mathbb {R} }$  (as is typically assumed), then the supremum of the empty set is ${\displaystyle \sup \varnothing =-\infty }$  but if the supremum is taken the non-negative reals ${\displaystyle [0,\infty )}$  (which is the image/range of the norm ${\displaystyle \|\,\cdot \,\|}$  when ${\displaystyle \dim H>0}$ ) then this supremum is instead ${\displaystyle \sup \varnothing =0,}$  in which case the supremum formula ${\displaystyle \|\varphi \|=\sup _{a\in \varphi ^{-1}(1)}{\frac {1}{\|a\|}}}$  will also hold when ${\displaystyle \varphi =0}$  (although the atypical equality ${\displaystyle \sup \varnothing =0}$  is usually unexpected and so risks causing confusion).

### Constructions of the representing vector

Using the notation from the theorem above, several ways of constructing ${\displaystyle f_{\varphi }}$  from ${\displaystyle \varphi \in H^{*}}$  are now described. If ${\displaystyle \varphi =0}$  then ${\displaystyle f_{\varphi }:=0}$ ; in other words,

${\displaystyle f_{0}=0.}$

This special case of ${\displaystyle \varphi =0}$  is henceforth assumed to be known, which is why some of the constructions given below start by assuming ${\displaystyle \varphi \neq 0.}$

Orthogonal complement of kernel

If ${\displaystyle \varphi \neq 0}$  then for any ${\displaystyle 0\neq u\in (\ker \varphi )^{\bot },}$

${\displaystyle f_{\varphi }:={\frac {{\overline {\varphi (u)}}u}{\|u\|^{2}}}.}$

If ${\displaystyle u\in (\ker \varphi )^{\bot }}$  is a unit vector (meaning ${\displaystyle \|u\|=1}$ ) then

${\displaystyle f_{\varphi }:={\overline {\varphi (u)}}u}$

(this is true even if ${\displaystyle \varphi =0}$  because in this case ${\displaystyle f_{\varphi }={\overline {\varphi (u)}}u={\overline {0}}u=0}$ ). If ${\displaystyle u}$  is a unit vector satisfying the above condition then the same is true of ${\displaystyle -u,}$  which is also a unit vector in ${\displaystyle (\ker \varphi )^{\bot }.}$  However, ${\displaystyle {\overline {\varphi (-u)}}(-u)={\overline {\varphi (u)}}u=f_{\varphi }}$  so both these vectors result in the same ${\displaystyle f_{\varphi }.}$

Orthogonal projection onto kernel

If ${\displaystyle x\in H}$  is such that ${\displaystyle \varphi (x)\neq 0}$  and if ${\displaystyle x_{K}}$  is the orthogonal projection of ${\displaystyle x}$  onto ${\displaystyle \ker \varphi }$  then[proof 1]

${\displaystyle f_{\varphi }={\frac {\|\varphi \|^{2}}{\varphi (x)}}\left(x-x_{K}\right).}$

Orthonormal basis

Given an orthonormal basis ${\displaystyle \left\{e_{i}\right\}_{i\in I}}$  of ${\displaystyle H}$  and a continuous linear functional ${\displaystyle \varphi \in H^{*},}$  the vector ${\displaystyle f_{\varphi }\in H}$  can be constructed uniquely by

${\displaystyle f_{\varphi }=\sum _{i\in I}{\overline {\varphi \left(e_{i}\right)}}e_{i}}$

where all but at most countably many ${\displaystyle \varphi \left(e_{i}\right)}$  will be equal to ${\displaystyle 0}$  and where the value of ${\displaystyle f_{\varphi }}$  does not actually depend on choice of orthonormal basis (that is, using any other orthonormal basis for ${\displaystyle H}$  will result in the same vector). If ${\displaystyle y\in H}$  is written as ${\displaystyle y=\sum _{i\in I}a_{i}e_{i}}$  then
${\displaystyle \varphi (y)=\sum _{i\in I}\varphi \left(e_{i}\right)a_{i}=\langle f_{\varphi }|y\rangle }$

and
${\displaystyle \left\|f_{\varphi }\right\|^{2}=\varphi \left(f_{\varphi }\right)=\sum _{i\in I}\varphi \left(e_{i}\right){\overline {\varphi \left(e_{i}\right)}}=\sum _{i\in I}\left|\varphi \left(e_{i}\right)\right|^{2}=\|\varphi \|^{2}.}$

If the orthonormal basis ${\displaystyle \left\{e_{i}\right\}_{i\in I}=\left\{e_{i}\right\}_{i=1}^{\infty }}$  is a sequence then this becomes

${\displaystyle f_{\varphi }={\overline {\varphi \left(e_{1}\right)}}e_{1}+{\overline {\varphi \left(e_{2}\right)}}e_{2}+\cdots }$

and if ${\displaystyle y\in H}$  is written as ${\displaystyle y=\sum _{i\in I}a_{i}e_{i}=a_{1}e_{1}+a_{2}e_{2}+\cdots }$  then
${\displaystyle \varphi (y)=\varphi \left(e_{1}\right)a_{1}+\varphi \left(e_{2}\right)a_{2}+\cdots =\langle f_{\varphi }|y\rangle .}$

#### Example in finite dimensions using matrix transformations

Consider the special case of ${\displaystyle H=\mathbb {C} ^{n}}$  (where ${\displaystyle n>0}$  is an integer) with the standard inner product

${\displaystyle \langle z\mid w\rangle :={\overline {\,{\vec {z}}\,\,}}^{\operatorname {T} }{\vec {w}}\qquad {\text{ for all }}\;w,z\in H}$

where ${\displaystyle w{\text{ and }}z}$  are represented as column matrices ${\displaystyle {\vec {w}}:={\begin{bmatrix}w_{1}\\\vdots \\w_{n}\end{bmatrix}}}$  and ${\displaystyle {\vec {z}}:={\begin{bmatrix}z_{1}\\\vdots \\z_{n}\end{bmatrix}}}$  with respect to the standard orthonormal basis ${\displaystyle e_{1},\ldots ,e_{n}}$  on ${\displaystyle H}$  (here, ${\displaystyle e_{i}}$  is ${\displaystyle 1}$  at its ${\displaystyle i}$ th coordinate and ${\displaystyle 0}$  everywhere else; as usual, ${\displaystyle H^{*}}$  will now be associated with the dual basis) and where ${\displaystyle {\overline {\,{\vec {z}}\,}}^{\operatorname {T} }:=\left[{\overline {z_{1}}},\ldots ,{\overline {z_{n}}}\right]}$  denotes the conjugate transpose of ${\displaystyle {\vec {z}}.}$  Let ${\displaystyle \varphi \in H^{*}}$  be any linear functional and let ${\displaystyle \varphi _{1},\ldots ,\varphi _{n}\in \mathbb {C} }$  be the unique scalars such that
${\displaystyle \varphi \left(w_{1},\ldots ,w_{n}\right)=\varphi _{1}w_{1}+\cdots +\varphi _{n}w_{n}\qquad {\text{ for all }}\;w:=\left(w_{1},\ldots ,w_{n}\right)\in H,}$

where it can be shown that ${\displaystyle \varphi _{i}=\varphi \left(e_{i}\right)}$  for all ${\displaystyle i=1,\ldots ,n.}$  Then the Riesz representation of ${\displaystyle \varphi }$  is the vector
${\displaystyle f_{\varphi }~:=~{\overline {\varphi _{1}}}e_{1}+\cdots +{\overline {\varphi _{n}}}e_{n}~=~\left({\overline {\varphi _{1}}},\ldots ,{\overline {\varphi _{n}}}\right)\in H.}$

To see why, identify every vector ${\displaystyle w=\left(w_{1},\ldots ,w_{n}\right)}$  in ${\displaystyle H}$  with the column matrix ${\displaystyle {\vec {w}}:={\begin{bmatrix}w_{1}\\\vdots \\w_{n}\end{bmatrix}}}$  so that ${\displaystyle f_{\varphi }}$  is identified with ${\displaystyle {\vec {f_{\varphi }}}:={\begin{bmatrix}{\overline {\varphi _{1}}}\\\vdots \\{\overline {\varphi _{n}}}\end{bmatrix}}={\begin{bmatrix}{\overline {\varphi \left(e_{1}\right)}}\\\vdots \\{\overline {\varphi \left(e_{n}\right)}}\end{bmatrix}}.}$  As usual, also identify the linear functional ${\displaystyle \varphi }$  with its transformation matrix, which is the row matrix ${\displaystyle {\vec {\varphi }}:=\left[\varphi _{1},\ldots ,\varphi _{n}\right]}$  so that ${\displaystyle {\vec {f_{\varphi }}}:={\overline {\,{\vec {\varphi }}\,\,}}^{\operatorname {T} }}$  and the function ${\displaystyle \varphi }$  is the assignment ${\displaystyle {\vec {w}}\mapsto {\vec {\varphi }}\,{\vec {w}},}$  where the right hand side is matrix multiplication. Then for all ${\displaystyle w=\left(w_{1},\ldots ,w_{n}\right)\in H,}$
${\displaystyle \varphi (w)=\varphi _{1}w_{1}+\cdots +\varphi _{n}w_{n}=\left[\varphi _{1},\ldots ,\varphi _{n}\right]{\begin{bmatrix}w_{1}\\\vdots \\w_{n}\end{bmatrix}}={\overline {\begin{bmatrix}{\overline {\varphi _{1}}}\\\vdots \\{\overline {\varphi _{n}}}\end{bmatrix}}}^{\operatorname {T} }{\vec {w}}={\overline {\,{\vec {f_{\varphi }}}\,\,}}^{\operatorname {T} }{\vec {w}}=\left\langle \,\,f_{\varphi }\,\mid \,w\,\right\rangle ,}$

which shows that ${\displaystyle f_{\varphi }}$  satisfies the defining condition of the Riesz representation of ${\displaystyle \varphi .}$  The bijective antilinear isometry ${\displaystyle \Phi :H\to H^{*}}$  defined in the corollary to the Riesz representation theorem is the assignment that sends ${\displaystyle z=\left(z_{1},\ldots ,z_{n}\right)\in H}$  to the linear functional ${\displaystyle \Phi (z)\in H^{*}}$  on ${\displaystyle H}$  defined by
${\displaystyle w=\left(w_{1},\ldots ,w_{n}\right)~\mapsto ~\langle \,z\,\mid \,w\,\rangle ={\overline {z_{1}}}w_{1}+\cdots +{\overline {z_{n}}}w_{n},}$

where under the identification of vectors in ${\displaystyle H}$  with column matrices and vector in ${\displaystyle H^{*}}$  with row matrices, ${\displaystyle \Phi }$  is just the assignment
${\displaystyle {\vec {z}}={\begin{bmatrix}z_{1}\\\vdots \\z_{n}\end{bmatrix}}~\mapsto ~{\overline {\,{\vec {z}}\,}}^{\operatorname {T} }=\left[{\overline {z_{1}}},\ldots ,{\overline {z_{n}}}\right].}$

As described in the corollary, ${\displaystyle \Phi }$ 's inverse ${\displaystyle \Phi ^{-1}:H^{*}\to H}$  is the antilinear isometry ${\displaystyle \varphi \mapsto f_{\varphi },}$  which was just shown above to be:
${\displaystyle \varphi ~\mapsto ~f_{\varphi }~:=~\left({\overline {\varphi \left(e_{1}\right)}},\ldots ,{\overline {\varphi \left(e_{n}\right)}}\right);}$

where in terms of matrices, ${\displaystyle \Phi ^{-1}}$  is the assignment
${\displaystyle {\vec {\varphi }}=\left[\varphi _{1},\ldots ,\varphi _{n}\right]~\mapsto ~{\overline {\,{\vec {\varphi }}\,\,}}^{\operatorname {T} }={\begin{bmatrix}{\overline {\varphi _{1}}}\\\vdots \\{\overline {\varphi _{n}}}\end{bmatrix}}.}$

Thus in terms of matrices, each of ${\displaystyle \Phi :H\to H^{*}}$  and ${\displaystyle \Phi ^{-1}:H^{*}\to H}$  is just the operation of conjugate transposition ${\displaystyle {\vec {v}}\mapsto {\overline {\,{\vec {v}}\,}}^{\operatorname {T} }}$  (although between different spaces of matrices: if ${\displaystyle H}$  is identified with the space of all column (respectively, row) matrices then ${\displaystyle H^{*}}$  is identified with the space of all row (respectively, column) matrices).

This example used the standard inner product, which is the map ${\displaystyle \langle z\mid w\rangle :={\overline {\,{\vec {z}}\,\,}}^{\operatorname {T} }{\vec {w}},}$  but if a different inner product is used, such as ${\displaystyle \langle z\mid w\rangle _{M}:={\overline {\,{\vec {z}}\,\,}}^{\operatorname {T} }\,M\,{\vec {w}}\,}$  where ${\displaystyle M}$  is any Hermitian positive-definite matrix, or if a different orthonormal basis is used then the transformation matrices, and thus also the above formulas, will be different.

### Relationship with the associated real Hilbert space

Assume that ${\displaystyle H}$  is a complex Hilbert space with inner product ${\displaystyle \langle \,\cdot \mid \cdot \,\rangle .}$  When the Hilbert space ${\displaystyle H}$  is reinterpreted as a real Hilbert space then it will be denoted by ${\displaystyle H_{\mathbb {R} },}$  where the (real) inner-product on ${\displaystyle H_{\mathbb {R} }}$  is the real part of ${\displaystyle H}$ 's inner product; that is:

${\displaystyle \langle x,y\rangle _{\mathbb {R} }:=\operatorname {re} \langle x,y\rangle .}$

The norm on ${\displaystyle H_{\mathbb {R} }}$  induced by ${\displaystyle \langle \,\cdot \,,\,\cdot \,\rangle _{\mathbb {R} }}$  is equal to the original norm on ${\displaystyle H}$  and the continuous dual space of ${\displaystyle H_{\mathbb {R} }}$  is the set of all real-valued bounded ${\displaystyle \mathbb {R} }$ -linear functionals on ${\displaystyle H_{\mathbb {R} }}$  (see the article about the polarization identity for additional details about this relationship). Let ${\displaystyle \psi _{\mathbb {R} }:=\operatorname {re} \psi }$  and ${\displaystyle \psi _{i}:=\operatorname {im} \psi }$  denote the real and imaginary parts of a linear functional ${\displaystyle \psi ,}$  so that ${\displaystyle \psi =\operatorname {re} \psi +i\operatorname {im} \psi =\psi _{\mathbb {R} }+i\psi _{i}.}$  The formula expressing a linear functional in terms of its real part is

${\displaystyle \psi (h)=\psi _{\mathbb {R} }(h)-i\psi _{\mathbb {R} }(ih)\quad {\text{ for }}h\in H,}$

where ${\displaystyle \psi _{i}(h)=-i\psi _{\mathbb {R} }(ih)}$  for all ${\displaystyle h\in H.}$  It follows that ${\displaystyle \ker \psi _{\mathbb {R} }=\psi ^{-1}(i\mathbb {R} ),}$  and that ${\displaystyle \psi =0}$  if and only if ${\displaystyle \psi _{\mathbb {R} }=0.}$  It can also be shown that ${\displaystyle \|\psi \|=\left\|\psi _{\mathbb {R} }\right\|=\left\|\psi _{i}\right\|}$  where ${\displaystyle \left\|\psi _{\mathbb {R} }\right\|:=\sup _{\|h\|\leq 1}\left|\psi _{\mathbb {R} }(h)\right|}$  and ${\displaystyle \left\|\psi _{i}\right\|:=\sup _{\|h\|\leq 1}\left|\psi _{i}(h)\right|}$  are the usual operator norms. In particular, a linear functional ${\displaystyle \psi }$  is bounded if and only if its real part ${\displaystyle \psi _{\mathbb {R} }}$  is bounded.

Representing a functional and its real part

The Riesz representation of a continuous linear function ${\displaystyle \varphi }$  on a complex Hilbert space is equal to the Riesz representation of its real part ${\displaystyle \operatorname {re} \varphi }$  on its associated real Hilbert space.

Explicitly, let ${\displaystyle \varphi \in H^{*}}$  and as above, let ${\displaystyle f_{\varphi }\in H}$  be the Riesz representation of ${\displaystyle \varphi }$  obtained in ${\displaystyle (H,\langle ,\cdot ,\cdot \rangle ),}$  so it is the unique vector that satisfies ${\displaystyle \varphi (x)=\left\langle f_{\varphi }\mid x\right\rangle }$  for all ${\displaystyle x\in H.}$  The real part of ${\displaystyle \varphi }$  is a continuous real linear functional on ${\displaystyle H_{\mathbb {R} }}$  and so the Riesz representation theorem may be applied to ${\displaystyle \varphi _{\mathbb {R} }:=\operatorname {re} \varphi }$  and the associated real Hilbert space ${\displaystyle \left(H_{\mathbb {R} },\langle ,\cdot ,\cdot \rangle _{\mathbb {R} }\right)}$  to produce its Riesz representation, which will be denoted by ${\displaystyle f_{\varphi _{\mathbb {R} }}.}$  That is, ${\displaystyle f_{\varphi _{\mathbb {R} }}}$  is the unique vector in ${\displaystyle H_{\mathbb {R} }}$  that satisfies ${\displaystyle \varphi _{\mathbb {R} }(x)=\left\langle f_{\varphi _{\mathbb {R} }}\mid x\right\rangle _{\mathbb {R} }}$  for all ${\displaystyle x\in H.}$  The conclusion is ${\displaystyle f_{\varphi _{\mathbb {R} }}=f_{\varphi }.}$  This follows from the main theorem because ${\displaystyle \ker \varphi _{\mathbb {R} }=\varphi ^{-1}(i\mathbb {R} )}$  and if ${\displaystyle x\in H}$  then

${\displaystyle \left\langle f_{\varphi }\mid x\right\rangle _{\mathbb {R} }=\operatorname {re} \left\langle f_{\varphi }\mid x\right\rangle =\operatorname {re} \varphi (x)=\varphi _{\mathbb {R} }(x)}$

and consequently, if ${\displaystyle m\in \ker \varphi _{\mathbb {R} }}$  then ${\displaystyle \left\langle f_{\varphi }\mid m\right\rangle _{\mathbb {R} }=0,}$  which shows that ${\displaystyle f_{\varphi }\in (\ker \varphi _{\mathbb {R} })^{\perp _{\mathbb {R} }}.}$  Moreover, ${\displaystyle \varphi (f_{\varphi })=\|\varphi \|^{2}}$  being a real number implies that ${\displaystyle \varphi _{\mathbb {R} }(f_{\varphi })=\operatorname {re} \varphi (f_{\varphi })=\|\varphi \|^{2}.}$  In other words, in the theorem and constructions above, if ${\displaystyle H}$  is replaced with its real Hilbert space counterpart ${\displaystyle H_{\mathbb {R} }}$  and if ${\displaystyle \varphi }$  is replaced with ${\displaystyle \operatorname {re} \varphi }$  then ${\displaystyle f_{\varphi }=f_{\operatorname {re} \varphi }.}$  This means that vector ${\displaystyle f_{\varphi }}$  obtained by using ${\displaystyle \left(H_{\mathbb {R} },\langle ,\cdot ,\cdot \rangle _{\mathbb {R} }\right)}$  and the real linear functional ${\displaystyle \operatorname {re} \varphi }$  is the equal to the vector obtained by using the origin complex Hilbert space ${\displaystyle \left(H,\left\langle ,\cdot ,\cdot \right\rangle \right)}$  and original complex linear functional ${\displaystyle \varphi }$  (with identical norm values as well).

Furthermore, if ${\displaystyle \varphi \neq 0}$  then ${\displaystyle f_{\varphi }}$  is perpendicular to ${\displaystyle \ker \varphi _{\mathbb {R} }}$  with respect to ${\displaystyle \langle \cdot ,\cdot \rangle _{\mathbb {R} }}$  where the kernel of ${\displaystyle \varphi }$  is be a proper subspace of the kernel of its real part ${\displaystyle \varphi _{\mathbb {R} }.}$  Assume now that ${\displaystyle \varphi \neq 0.}$  Then ${\displaystyle f_{\varphi }\not \in \ker \varphi _{\mathbb {R} }}$  because ${\displaystyle \varphi _{\mathbb {R} }\left(f_{\varphi }\right)=\varphi \left(f_{\varphi }\right)=\|\varphi \|^{2}\neq 0}$  and ${\displaystyle \ker \varphi }$  is a proper subset of ${\displaystyle \ker \varphi _{\mathbb {R} }.}$  The vector subspace ${\displaystyle \ker \varphi }$  has real codimension ${\displaystyle 1}$  in ${\displaystyle \ker \varphi _{\mathbb {R} },}$  while ${\displaystyle \ker \varphi _{\mathbb {R} }}$  has real codimension ${\displaystyle 1}$  in ${\displaystyle H_{\mathbb {R} },}$  and ${\displaystyle \left\langle f_{\varphi },\ker \varphi _{\mathbb {R} }\right\rangle _{\mathbb {R} }=0.}$  That is, ${\displaystyle f_{\varphi }}$  is perpendicular to ${\displaystyle \ker \varphi _{\mathbb {R} }}$  with respect to ${\displaystyle \langle \cdot ,\cdot \rangle _{\mathbb {R} }.}$

### Canonical injections into the dual and anti-dual

Induced linear map into anti-dual

The map defined by placing ${\displaystyle y}$  into the linear coordinate of the inner product and letting the variable ${\displaystyle h\in H}$  vary over the antilinear coordinate results in an antilinear functional:

${\displaystyle \langle \,\cdot \mid y\,\rangle =\langle \,y,\cdot \,\rangle :H\to \mathbb {F} \quad {\text{ defined by }}\quad h\mapsto \langle \,h\mid y\,\rangle =\langle \,y,h\,\rangle .}$

This map is an element of ${\displaystyle {\overline {H}}^{*},}$  which is the continuous anti-dual space of ${\displaystyle H.}$  The canonical map from ${\displaystyle H}$  into its anti-dual ${\displaystyle {\overline {H}}^{*}}$ [1] is the linear operator

{\displaystyle {\begin{alignedat}{4}\operatorname {In} _{H}^{{\overline {H}}^{*}}:\;&&H&&\;\to \;&{\overline {H}}^{*}\\[0.3ex]&&y&&\;\mapsto \;&\langle \,\cdot \mid y\,\rangle =\langle \,y,\cdot \,\rangle \\[0.3ex]\end{alignedat}}}

which is also an injective isometry.[1] The Fundamental theorem of Hilbert spaces, which is related to Riesz representation theorem, states that this map is surjective (and thus bijective). Consequently, every antilinear functional on ${\displaystyle H}$  can be written (uniquely) in this form.[1]

If ${\displaystyle \operatorname {Cong} :H^{*}\to {\overline {H}}^{*}}$  is the canonical antilinear bijective isometry ${\displaystyle f\mapsto {\overline {f}}}$  that was defined above, then the following equality holds:

${\displaystyle \operatorname {Cong} ~\circ ~\operatorname {In} _{H}^{H^{*}}~=~\operatorname {In} _{H}^{{\overline {H}}^{*}}.}$

## Extending the bra–ket notation to bras and kets

Let ${\displaystyle \left(H,\langle \cdot ,\cdot \rangle _{H}\right)}$  be a Hilbert space and as before, let ${\displaystyle \langle y\,|\,x\rangle _{H}:=\langle x,y\rangle _{H}.}$  Let

{\displaystyle {\begin{alignedat}{4}\Phi :\;&&H&&\;\to \;&H^{*}\\[0.3ex]&&g&&\;\mapsto \;&\left\langle \,g\mid \cdot \,\right\rangle _{H}=\left\langle \,\cdot ,g\,\right\rangle _{H}\\\end{alignedat}}}

which is a bijective antilinear isometry that satisfies
${\displaystyle (\Phi h)g=\langle h\mid g\rangle _{H}=\langle g,h\rangle _{H}\quad {\text{ for all }}g,h\in H.}$

Bras

Given a vector ${\displaystyle h\in H,}$  let ${\displaystyle \langle h\,|}$  denote the continuous linear functional ${\displaystyle \Phi h}$ ; that is,

${\displaystyle \langle h\,|~:=~\Phi h}$

so that this functional ${\displaystyle \langle h\,|}$  is defined by ${\displaystyle g\mapsto \left\langle \,h\mid g\,\right\rangle _{H}.}$  This map was denoted by ${\displaystyle \left\langle h\mid \cdot \,\right\rangle }$  earlier in this article.

The assignment ${\displaystyle h\mapsto \langle h|}$  is just the isometric antilinear isomorphism ${\displaystyle \Phi ~:~H\to H^{*},}$  which is why ${\displaystyle ~\langle cg+h\,|~=~{\overline {c}}\langle g\mid ~+~\langle h\,|~}$  holds for all ${\displaystyle g,h\in H}$  and all scalars ${\displaystyle c.}$  The result of plugging some given ${\displaystyle g\in H}$  into the functional ${\displaystyle \langle h\,|}$  is the scalar ${\displaystyle \langle h\,|\,g\rangle _{H}=\langle g,h\rangle _{H},}$  which may be denoted by ${\displaystyle \langle h\mid g\rangle .}$ [note 6]

Bra of a linear functional

Given a continuous linear functional ${\displaystyle \psi \in H^{*},}$  let ${\displaystyle \langle \psi \mid }$  denote the vector ${\displaystyle \Phi ^{-1}\psi \in H}$ ; that is,

${\displaystyle \langle \psi \mid ~:=~\Phi ^{-1}\psi .}$

The assignment ${\displaystyle \psi \mapsto \langle \psi \mid }$  is just the isometric antilinear isomorphism ${\displaystyle \Phi ^{-1}~:~H^{*}\to H,}$  which is why ${\displaystyle ~\langle c\psi +\phi \mid ~=~{\overline {c}}\langle \psi \mid ~+~\langle \phi \mid ~}$  holds for all ${\displaystyle \phi ,\psi \in H^{*}}$  and all scalars ${\displaystyle c.}$

The defining condition of the vector ${\displaystyle \langle \psi |\in H}$  is the technically correct but unsightly equality

${\displaystyle \left\langle \,\langle \psi \mid \,\mid g\right\rangle _{H}~=~\psi g\quad {\text{ for all }}g\in H,}$

which is why the notation ${\displaystyle \left\langle \psi \mid g\right\rangle }$  is used in place of ${\displaystyle \left\langle \,\langle \psi \mid \,\mid g\right\rangle _{H}=\left\langle g,\,\langle \psi \mid \right\rangle _{H}.}$  With this notation, the defining condition becomes
${\displaystyle \left\langle \psi \mid g\right\rangle ~=~\psi g\quad {\text{ for all }}g\in H.}$

Kets

For any given vector ${\displaystyle g\in H,}$  the notation ${\displaystyle |\,g\rangle }$  is used to denote ${\displaystyle g}$ ; that is,

${\displaystyle \mid g\rangle :=g.}$

The assignment ${\displaystyle g\mapsto |\,g\rangle }$  is just the identity map ${\displaystyle \operatorname {Id} _{H}:H\to H,}$  which is why ${\displaystyle ~\mid cg+h\rangle ~=~c\mid g\rangle ~+~\mid h\rangle ~}$  holds for all ${\displaystyle g,h\in H}$  and all scalars ${\displaystyle c.}$

The notation ${\displaystyle \langle h\mid g\rangle }$  and ${\displaystyle \langle \psi \mid g\rangle }$  is used in place of ${\displaystyle \left\langle h\mid \,\mid g\rangle \,\right\rangle _{H}~=~\left\langle \mid g\rangle ,h\right\rangle _{H}}$  and ${\displaystyle \left\langle \psi \mid \,\mid g\rangle \,\right\rangle _{H}~=~\left\langle g,\,\langle \psi \mid \right\rangle _{H},}$  respectively. As expected, ${\displaystyle ~\langle \psi \mid g\rangle =\psi g~}$  and ${\displaystyle ~\langle h\mid g\rangle ~}$  really is just the scalar ${\displaystyle ~\langle h\mid g\rangle _{H}~=~\langle g,h\rangle _{H}.}$

Let ${\displaystyle A:H\to Z}$  be a continuous linear operator between Hilbert spaces ${\displaystyle \left(H,\langle \cdot ,\cdot \rangle _{H}\right)}$  and ${\displaystyle \left(Z,\langle \cdot ,\cdot \rangle _{Z}\right).}$  As before, let ${\displaystyle \langle y\mid x\rangle _{H}:=\langle x,y\rangle _{H}}$  and ${\displaystyle \langle y\mid x\rangle _{Z}:=\langle x,y\rangle _{Z}.}$

Denote by

{\displaystyle {\begin{alignedat}{4}\Phi _{H}:\;&&H&&\;\to \;&H^{*}\\[0.3ex]&&g&&\;\mapsto \;&\langle \,g\mid \cdot \,\rangle _{H}\\\end{alignedat}}\quad {\text{ and }}\quad {\begin{alignedat}{4}\Phi _{Z}:\;&&Z&&\;\to \;&Z^{*}\\[0.3ex]&&y&&\;\mapsto \;&\langle \,y\mid \cdot \,\rangle _{Z}\\\end{alignedat}}}

the usual bijective antilinear isometries that satisfy:
${\displaystyle \left(\Phi _{H}g\right)h=\langle g\mid h\rangle _{H}\quad {\text{ for all }}g,h\in H\qquad {\text{ and }}\qquad \left(\Phi _{Z}y\right)z=\langle y\mid z\rangle _{Z}\quad {\text{ for all }}y,z\in Z.}$

For every ${\displaystyle z\in Z,}$  the scalar-valued map ${\displaystyle \langle z\mid A(\cdot )\rangle _{Z}}$ [note 7] on ${\displaystyle H}$  defined by

${\displaystyle h\mapsto \langle z\mid Ah\rangle _{Z}=\langle Ah,z\rangle _{Z}}$

is a continuous linear functional on ${\displaystyle H}$  and so by the Riesz representation theorem, there exists a unique vector in ${\displaystyle H,}$  denoted by ${\displaystyle A^{*}z,}$  such that ${\displaystyle \langle z\mid A(\cdot )\rangle _{Z}=\left\langle A^{*}z\mid \cdot \,\right\rangle _{H},}$  or equivalently, such that

${\displaystyle \langle z\mid Ah\rangle _{Z}=\left\langle A^{*}z\mid h\right\rangle _{H}\quad {\text{ for all }}h\in H.}$

The assignment ${\displaystyle z\mapsto A^{*}z}$  thus induces a function ${\displaystyle A^{*}:Z\to H}$  called the adjoint of ${\displaystyle A:H\to Z}$  whose defining condition is

${\displaystyle \langle z\mid Ah\rangle _{Z}=\left\langle A^{*}z\mid h\right\rangle _{H}\quad {\text{ for all }}h\in H{\text{ and all }}z\in Z.}$

The adjoint ${\displaystyle A^{*}:Z\to H}$  is necessarily a continuous (equivalently, a bounded) linear operator.

If ${\displaystyle H}$  is finite dimensional with the standard inner product and if ${\displaystyle M}$  is the transformation matrix of ${\displaystyle A}$  with respect to the standard orthonormal basis then ${\displaystyle M}$ 's conjugate transpose ${\displaystyle {\overline {M^{\operatorname {T} }}}}$  is the transformation matrix of the adjoint ${\displaystyle A^{*}.}$

It is also possible to define the transpose or algebraic adjoint of ${\displaystyle A:H\to Z,}$  which is the map ${\displaystyle {}^{t}A:Z^{*}\to H^{*}}$  defined by sending a continuous linear functionals ${\displaystyle \psi \in Z^{*}}$  to

${\displaystyle {}^{t}A(\psi ):=\psi \circ A,}$

where the composition ${\displaystyle \psi \circ A}$  is always a continuous linear functional on ${\displaystyle H}$  and it satisfies ${\displaystyle \|A\|=\left\|{}^{t}A\right\|}$  (this is true more generally, when ${\displaystyle H}$  and ${\displaystyle Z}$  are merely normed spaces).[4] So for example, if ${\displaystyle z\in Z}$  then ${\displaystyle {}^{t}A}$  sends the continuous linear functional ${\displaystyle \langle z\mid \cdot \rangle _{Z}\in Z^{*}}$  (defined on ${\displaystyle Z}$  by ${\displaystyle g\mapsto \langle z\mid g\rangle _{Z}}$ ) to the continuous linear functional ${\displaystyle \langle z\mid A(\cdot )\rangle _{Z}\in H^{*}}$  (defined on ${\displaystyle H}$  by ${\displaystyle h\mapsto \langle z\mid A(h)\rangle _{Z}}$ );[note 7] using bra-ket notation, this can be written as ${\displaystyle {}^{t}A\langle z\mid ~=~\langle z\mid A}$  where the juxtaposition of ${\displaystyle \langle z\mid }$  with ${\displaystyle A}$  on the right hand side denotes function composition: ${\displaystyle H\xrightarrow {A} Z\xrightarrow {\langle z\mid } \mathbb {C} .}$

The adjoint ${\displaystyle A^{*}:Z\to H}$  is actually just to the transpose ${\displaystyle {}^{t}A:Z^{*}\to H^{*}}$ [2] when the Riesz representation theorem is used to identify ${\displaystyle Z}$  with ${\displaystyle Z^{*}}$  and ${\displaystyle H}$  with ${\displaystyle H^{*}.}$

Explicitly, the relationship between the adjoint and transpose is:

${\displaystyle {}^{t}A~\circ ~\Phi _{Z}~=~\Phi _{H}~\circ ~A^{*}}$

which can be rewritten as:

${\displaystyle A^{*}~=~\Phi _{H}^{-1}~\circ ~{}^{t}A~\circ ~\Phi _{Z}\quad {\text{ and }}\quad {}^{t}A~=~\Phi _{H}~\circ ~A^{*}~\circ ~\Phi _{Z}^{-1}.}$

Proof

To show that ${\displaystyle {}^{t}A~\circ ~\Phi _{Z}~=~\Phi _{H}~\circ ~A^{*},}$  fix ${\displaystyle z\in Z.}$  The definition of ${\displaystyle {}^{t}A}$  implies

${\displaystyle \left({}^{t}A\circ \Phi _{Z}\right)z={}^{t}A\left(\Phi _{Z}z\right)=\left(\Phi _{Z}z\right)\circ A}$

so it remains to show that ${\displaystyle \left(\Phi _{Z}z\right)\circ A=\Phi _{H}\left(A^{*}z\right).}$  If ${\displaystyle h\in H}$  then
${\displaystyle \left(\left(\Phi _{Z}z\right)\circ A\right)h=\left(\Phi _{Z}z\right)(Ah)=\langle z\mid Ah\rangle _{Z}=\langle A^{*}z\mid h\rangle _{H}=\left(\Phi _{H}(A^{*}z)\right)h,}$

as desired. ${\displaystyle \blacksquare }$

Alternatively, the value of the left and right hand sides of (Adjoint-transpose) at any given ${\displaystyle z\in Z}$  can be rewritten in terms of the inner products as:

${\displaystyle \left({}^{t}A~\circ ~\Phi _{Z}\right)z=\langle z\mid A(\cdot )\rangle _{Z}\quad {\text{ and }}\quad \left(\Phi _{H}~\circ ~A^{*}\right)z=\langle A^{*}z\mid \cdot \,\rangle _{H}}$