Norm properties Every inner product space induces a
norm, called its , that is defined by \|x\| = \sqrt{\langle x, x \rangle}. With this norm, every inner product space becomes a
normed vector space. So, every general property of normed vector spaces applies to inner product spaces. d(x, y) = \|y - x\|. --> In particular, one has the following properties: {{defn| \|x + y\|^2 = \|x\|^2 + \|y\|^2 + 2\operatorname{Re}\langle x, y \rangle for every x, y\in V. The inner product can be retrieved from the norm by the polarization identity, since its imaginary part is the real part of \langle x, iy \rangle. }}
Orthogonality {{defn| Two vectors x and y are said to be , often written x \perp y, if their inner product is zero, that is, if \langle x, y \rangle = 0. This happens if and only if \|x\| \leq \|x + s y\| for all scalars s, and if and only if the real-valued function f(s) := \|x + s y\|^2 - \|x\|^2 is non-negative. (This is a consequence of the fact that, if y \neq 0 then the scalar s_0 = - \tfrac{\overline{\langle x, y \rangle}}{\|y\|^2} minimizes f with value f\left(s_0\right) = - \tfrac \in [-1, 1], and thus that \angle(x, y) = \arccos \frac{\langle x, y \rangle}{\|x\| \, \|y\|}, is a real number. This allows defining the (non oriented) of two vectors in modern definitions of
Euclidean geometry in terms of
linear algebra. This is also used in
data analysis, under the name "
cosine similarity", for comparing two vectors of data. Furthermore, if \langle x, y \rangle is negative, the angle \angle(x, y) is larger than 90 degrees. This property is often used in computer graphics (e.g., in
back-face culling) to analyze a direction without having to evaluate
trigonometric functions.}}
Real and complex parts of inner products Suppose that \langle \cdot, \cdot \rangle is an inner product on V (so it is
antilinear in its second argument). The
polarization identity shows that the
real part of the inner product is \operatorname{Re} \langle x, y \rangle = \frac{1}{4} \left(\|x + y\|^2 - \|x - y\|^2\right). If V is a real vector space then \langle x, y \rangle = \operatorname{Re} \langle x, y \rangle = \frac{1}{4} \left(\|x + y\|^2 - \|x - y\|^2\right) and the
imaginary part (also called the ) of \langle \cdot, \cdot \rangle is always 0. Assume for the rest of this section that V is a complex vector space. The
polarization identity for complex vector spaces shows that \begin{alignat}{4} \langle x, \ y \rangle &= \frac{1}{4} \left(\|x + y\|^2 - \|x - y\|^2 + i\|x + iy\|^2 - i\|x - iy\|^2 \right) \\ &= \operatorname{Re} \langle x, y \rangle + i \operatorname{Re} \langle x, i y \rangle. \\ \end{alignat} The map defined by \langle x \mid y \rangle = \langle y, x \rangle for all x, y \in V satisfies the axioms of the inner product except that it is antilinear in its , rather than its second, argument. The real part of both \langle x \mid y \rangle and \langle x, y \rangle are equal to \operatorname{Re} \langle x, y \rangle but the inner products differ in their complex part: \begin{alignat}{4} \langle x \mid y \rangle &= \frac{1}{4} \left(\|x + y\|^2 - \|x - y\|^2 - i\|x + iy\|^2 + i\|x - iy\|^2 \right) \\ &= \operatorname{Re} \langle x, y \rangle - i \operatorname{Re} \langle x, i y \rangle. \\ \end{alignat} The last equality is similar to the formula
expressing a linear functional in terms of its real part. These formulas show that every complex inner product is completely determined by its real part. Moreover, this real part defines an inner product on V, considered as a real vector space. There is thus a one-to-one correspondence between complex inner products on a complex vector space V, and real inner products on V. For example, suppose that V = \Complex^n for some integer n > 0. When V is considered as a real vector space in the usual way (meaning that it is identified with the 2 n-dimensional real vector space \R^{2n}, with each \left(a_1 + i b_1, \ldots, a_n + i b_n\right) \in \Complex^n identified with \left(a_1, b_1, \ldots, a_n, b_n\right) \in \R^{2n}), then the
dot product x \,\cdot\, y = \left(x_1, \ldots, x_{2n}\right) \, \cdot \, \left(y_1, \ldots, y_{2n}\right) := x_1 y_1 + \cdots + x_{2n} y_{2n} defines a real inner product on this space. The unique complex inner product \langle \,\cdot, \cdot\, \rangle on V = \C^n induced by the dot product is the map that sends c = \left(c_1, \ldots, c_n\right), d = \left(d_1, \ldots, d_n\right) \in \Complex^n to \langle c, d \rangle := c_1 \overline{d_1} + \cdots + c_n \overline{d_n} (because the real part of this map \langle \,\cdot, \cdot\, \rangle is equal to the dot product).
Real vs. complex inner products Let V_{\R} denote V considered as a vector space over the real numbers rather than complex numbers. The
real part of the complex inner product \langle x, y \rangle is the map \langle x, y \rangle_{\R} = \operatorname{Re} \langle x, y \rangle ~:~ V_{\R} \times V_{\R} \to \R, which necessarily forms a real inner product on the real vector space V_{\R}. Every inner product on a real vector space is a
bilinear and
symmetric map. For example, if V = \Complex with inner product \langle x, y \rangle = x \overline{y}, where V is a vector space over the field \Complex, then V_{\R} = \R^2 is a vector space over \R and \langle x, y \rangle_{\R} is the
dot product x \cdot y, where x = a + i b \in V = \Complex is identified with the point (a, b) \in V_{\R} = \R^2 (and similarly for y); thus the standard inner product \langle x, y \rangle = x \overline{y}, on \Complex is an "extension" the dot product . Also, had \langle x, y \rangle been instead defined to be the \langle x, y \rangle = x y (rather than the usual \langle x, y \rangle = x \overline{y}) then its real part \langle x, y \rangle_{\R} would be the dot product; furthermore, without the complex conjugate, if x \in \C but x \not\in \R then \langle x, x \rangle = x x = x^2 \not\in [0, \infty) so the assignment x \mapsto \sqrt{\langle x, x \rangle} would not define a norm. The next examples show that although real and complex inner products have many properties and results in common, they are not entirely interchangeable. For instance, if \langle x, y \rangle = 0 then \langle x, y \rangle_{\R} = 0, but the next example shows that the converse is in general true. Given any x \in V, the vector i x (which is the vector x rotated by 90°) belongs to V and so also belongs to V_{\R} (although scalar multiplication of x by i = \sqrt{-1} is not defined in V_{\R}, the vector in V denoted by i x is nevertheless still also an element of V_{\R}). For the complex inner product, \langle x, ix \rangle = -i \|x\|^2, whereas for the real inner product the value is always \langle x, ix \rangle_{\R} = 0. If \langle \,\cdot, \cdot\, \rangle is a complex inner product and A : V \to V is a continuous linear operator that satisfies \langle x, A x \rangle = 0 for all x \in V, then A = 0. This statement is no longer true if \langle \,\cdot, \cdot\, \rangle is instead a real inner product, as this next example shows. Suppose that V = \Complex has the inner product \langle x, y \rangle := x \overline{y} mentioned above. Then the map A : V \to V defined by A x = ix is a linear map (linear for both V and V_{\R}) that denotes rotation by 90^{\circ} in the plane. Because x and A x are perpendicular vectors and \langle x, Ax \rangle_{\R} is just the dot product, \langle x, Ax \rangle_{\R} = 0 for all vectors x; nevertheless, this rotation map A is certainly not identically 0. In contrast, using the complex inner product gives \langle x, Ax \rangle = -i \|x\|^2, which (as expected) is not identically zero. ==Orthonormal sequences==