Jump to content

Inner product/K/Introduction/Section

From Wikiversity

In ℝn, we can add vectors and multiply them with a scalar. Moreover, a vector has a certain length, and the relation between two vectors is expressed by the angle between them. Length and angle can be made precise with the concept of an inner product. In order to introduce this, a real vector space or a complex vector space must be given. We want to discuss both cases in parallel, and we use the symbol 𝕂 to denote ℝ or ℂ. For z∈ℂ, z‾ means the complex-conjugated number; for z∈ℝ, this is just the number itself.


Let V be a 𝕂-vector space. An inner product on V is a mapping

V×V⟶𝕂,(v,w)⟼⟨v,w⟩,

satisfying the following properties:

  1. We have
    ⟨λ1x1+λ2x2,y⟩=λ1⟨x1,y⟩+λ2⟨x2,y⟩

    for all λ1,λ2∈𝕂, x1,x2,y∈V, and

    ⟨x,λ1y1+λ2y2⟩=λ1‾⟨x,y1⟩+λ2‾⟨x,y2⟩

    for all λ1,λ2∈𝕂, x,y1,y2∈V.

  2. We have
    ⟨v,w⟩=⟨w,v⟩‾

    for all v,w∈V.

  3. We have ⟨v,v⟩≥0 for all v∈V, and ⟨v,v⟩=0 if and only if v=0 holds.

The used properties are called, in the real case, bilinear (which is just another name for multilinear, when we are dealing with the product of two vector spaces), symmetry and positive-definiteness. In the complex case, we call the properties sesquilinear and hermitian. This looks a bit complicated at first sight, but is necessary to ensure that also in the complex case we get positive definiteness and a reasonable concept of distance.


On ℝn, the mapping

ℝn×ℝn⟶ℝ,(v,w)=((v1,…,vn),(w1,…,wn))⟼∑i=1nviwi,

defines an inner product, which is called the standard inner product. Simple computations show that this is indeed an inner product.

For example, in ℝ3, endowed with the standard inner product, we have

⟨(3−52),(−146)⟩=3⋅(−1)−5⋅4+2⋅6=−11.


A real, finite-dimensional vector space that is endowed with an inner product,

is called a Euclidean vector space.

For a vector space V, endowed with an inner product, every linear subspace U⊆V has again an inner scalar product, by restricting the inner product from V. In particular, for a Euclidean vector space, every linear subspace U⊆V is again a Euclidean vector space. Therefore, every linear subspace U⊆ℝn carries the restricted standard inner product. Because there is always an isomorphism U≅ℝm, we can also transfer the standard inner product from ℝm to U. However, the result depends on the isomorphism chosen, and there is, in general, no relationship with the restricted standard inner product.


On ℂn, we call the inner product given by

⟨u,v⟩:=∑i=1nuivi‾

the

(complex) standard inner product.

For example, we have

⟨(4−3i2+7i),(−2+5i3−6i)⟩=(4−3i)⋅−2+5i‾+(2+7i)⋅3−6i‾=(4−3i)⋅(−2−5i)+(2+7i)⋅(3+6i)=−23−14i−36+33i=−59+19i.


If we consider a complex vector space V, endowed with an inner product ⟨−,−⟩, as a real vector space, then the real part

Re⁡(⟨v,w⟩)

is a real inner product, see exercise. Because of

⟨v,w⟩=Re⁡(⟨v,w⟩)+iIm⁡(⟨v,w⟩)=Re⁡(⟨v,w⟩)−iRe⁡(i⟨v,w⟩)=Re⁡(⟨v,w⟩)−iRe⁡(⟨iv,w⟩),

we can reconstruct from the real part the original inner product.


Let [a,b] be a closed real interval with a<b, and let

V={f:[a,b]→ℂ∣f continuous},

endowed with pointwise addition and scalar multiplication. Setting

⟨f,g⟩:=∫abf(t)g(t)‾dt,

we obtain an inner product on V. Additivity follows from

⟨f1+f2,g⟩=∫ab(f1(t)+f2(t))g(t)‾dt=∫abf1(t)g(t)‾dt+∫abf2(t)g(t)‾dt=⟨f1,g⟩+⟨f2,g⟩.

It is also positive definite: If f is not the zero function, then let s∈[a,b] denote a point with f(s)≠0. Therefore, |f(s)|>0, and due to the continuity of f, there exists a neighborhood [s−ϵ,s+ϵ]∩[a,b] of length ≥ϵ where

|f(t)|≥c>0

holds for some c∈ℝ+ (one can take c=|f(s)|2). Hence,

⟨f,f⟩=∫ab|f(t)|2dt≥∫max⁡(a,s−ϵ)min⁡(b,s+ϵ)|f(t)|2dt≥ϵc2>0

is positive.