Linear Algebra/Inner product spaces

From testwiki
Jump to navigation Jump to search

Recall that in your study of vectors, we looked at an operation known as the dot product, and that if we have two vectors in ℝn, we simply multiply the components together and sum them up. With the dot product, it becomes possible to introduce important new ideas like length and angle. The length of a vector 𝐚, is just 𝐚=𝐚𝐚. The angle between two vectors, 𝐚 and 𝐛, is related to the dot product by

cosθ=πšπ›πšπ›

It turns out that only a few properties of the dot product are necessary to define similar ideas in vector spaces other than ℝn, such as the spaces of m×n matrices, or polynomials. The more general operation that will take the place of the dot product in these other spaces is called the "inner product".

The inner product

Say we have two vectors:

𝐚=(214),𝐛=(630)

If we want to take their dot product, we would work as follows

πšπ›=a1b1+a2b2+a3b3=(2)(6)+(1)(3)+(4)(0)=15

Because in this case multiplication is commutative, we then have πšπ›=π›πš.

But then, we observe

𝐯(α𝐚+β𝐛)=α𝐯𝐚+β𝐯𝐛

much like the regular algebraic equality v(aA+bB)=avA+bvB. For regular dot products this is true since, for ℝ3, for example, one can expand both sides out to obtain

(αv1a1+βv1b1)+(αv2a2+βv2b2)+(αv3a3+βv3b3)=(αv1a1+αv2a2+αv3a3)+(βv1b1+βv2b2+βv3b3)

Finally, we can notice that 𝐯𝐯 is always positive or greater than zero - checking this for ℝ3 gives this as

𝐯𝐯=v12+v22+v32

which can never be less than zero since a real number squared is positive. Note 𝐯𝐯=0 if and only if 𝐯=0.

In generalizing this sort of behaviour, we want to keep these three behaviours. We can then move on to a definition of a generalization of the dot product, which we call the inner product. An inner product of two vectors in some vector space V, written 𝐱,𝐲 is a function V×Vℝ, which obeys the properties

  • 𝐱,𝐲=𝐲,𝐱
  • 𝐯,α𝐚+β𝐛=α𝐯,𝐚+β𝐯,𝐛
  • 𝐚,𝐚0 with equality if and only if 𝐚=0.

The vector space V and some inner product together are known as an inner product space.


The dot product in β„‚n

Given two vectors 𝐚=a1eβ†’1+a2eβ†’2++aneβ†’nβ„‚n and 𝐛=b1eβ†’1+b2eβ†’2++bneβ†’nβ„‚n, the dot product generalized to complex numbers is:

πšπ›=i=1nai*bi=a1*b1+a2*b2++an*bn

where z* for an arbitrary complex number z=c+di is the complex conjugate: z*=cdi.

The dot product is "conjugate commutative": πšπ›=(π›πš)*. One immediate consequence of the definition of the dot product is that the dot product of a vector with itself is always a non-negative real number: 𝐚𝐚0.

𝐚𝐚=0 if and only if 𝐚=0β†’

The Cauchy-Schwarz Inequality for β„‚n

Template:TextBox

In ℝn, the Cauchy-Schwarz inequality can be proven from the triangle inequality. Here, the Cauchy-Schwarz inequality will be proven algebraically.

To make the proof more intuitive, the algebraic proof for 𝐚,𝐛ℝn will be given first. Template:TextBox

Template:TextBox

Template:BookCat