For a subset SS of an HH, its orthogonal complement is

S={xH:s,x=0 for every sS}.S^\perp=\{x\in H:\langle s,x\rangle=0\text{ for every }s\in S\}.

It is always a . If MM is closed in a , then every xHx\in H has a unique decomposition x=m+nx=m+n with mMm\in M and nMn\in M^\perp, so H=MMH=M\oplus M^\perp.