HW 7 - Inner Product Spaces

6.B - 1,3,4,5,6,9,12

6.A: Inner Products and Norms

1

Theorem

The function that takes ((x1,x2),(y1,y2))R2×R2 to |x1y1|+|x2y2| is not an inner product on R2.

Proof
We'll show that one of the properties isn't satisfied. Namely, the first two are easily shown to be satisfied no matter what. But notice that the additivity in the first slot is not. Consider u=(1,2) and v=(1,2) and w=(1,1). Then:

u+v,w=(0,0),(1,1)=|01|+|01|=0

while:

u,w+v,w=(1,2),(1,1)+(1,2),(1,1)=3+3=6

hence the property of additivity in the first slot is not satisfied, so the function is not a valid inner product of R2.

2

Theorem

The function that takes ((x1,...,x3),(y1,...,y3))R3×R3 to x1y1+x3y3 is not an inner product of R3.

Proof
We easily can show that if v=(0,1,0)R3 that clearly v0 while:

v,v=00+00=0

so the property of definiteness is not satisfied.

3

Consider when F=R and V{0}. We replace positivity (vV(v,v0)) with the condition that v,v>0 for some vV. We'll show that the set of functions from V×VR that are inner products on V do not change.

Proof
Since F=R then the conjugate symmetry property says that u,v=v,u for any u,vV. We also still have the additivity and homogeneity in the first slot, as well as definiteness.

Let , be this arbitrary inner product operation. If we can show, using the properties prior to the change, that we get the new property, and if we use the new property along with the others to prove the switched-out property, then the proof is complete.

First, consider our properties before the change. Notice that since V{0} then clearly V{} so then there must be some other non-zero vector vV. Hence, by positivity then v,v0. Notice that v0 so then by definiteness we must have v,v0 so then we must have v,v>0 as required.

Now, consider the properties after the change (so we cannot use positivity like we did before). Hence, there is some vV where v,v>0. Since this is the case, clearly then v0. As such, then V must contain the zero-vector and at least one other non-zero vector v. Notice that if we let uV be arbitrary, if u=0 then clearly u,u=00 and if u0 then assume for contradiction that u,u<0.

Consider the following cases. If u is a linear combination of v, then u=λv so then:

u,u=λv,λv=λv,λv=λλv,v=λλv,v=λ2v,v>0(λ2>0v,v>0)

which contradicts our assumption. Suppose instead that u is not a linear combination of v, so then the vector u+λv0 since if it was we'd get a linear combination. As such, notice that:

u+λv,u+λv=u,u+λv,λv+u,λv+λv,u=u,u+λ2v,v+2λu,v

But this equals 0, so use the quadratic equation to try to solve for λ in terms of everything else:

λ=2u,v+(v,v)24v,vu,u2u,u

Since v,v>0 and u,u<0 then:

(v,v)24v,vu,u>0

so then λR specifically. So choosing this λ gives:

u+λv,u+λv=0

which contradicts u+λv0, so then our assumption was wrong. Hence u,u0.

4

Suppose V is a real inner product space.

a

Theorem

u+v,uv=u2v2 for all u,vV

Proof
Notice:

u+v,uv=u,v+u,v+u,u+v,v=u,vv+u2v,v=u,0+u2v2=u2v2

b

Theorem

If u,vV have the same norm, then u+v is orthogonal to uv.

Proof
Suppose u,v have the same norm, so then u=v. We'll show that u+v,uv=0:

u+v,uv=u2v2(Last Theorem)=(uv)(u+v)=0(u+v)(u=v)=0

c

Theorem

The diagonals of a rhombus are perpendicular to each other.

Proof
Consider the following arbitrary rhombus:

We need to show that v+u,vu=0. But we showed that via HW 7 - Inner Product Spaces#^428e80.

5

Theorem

Suppose TL(V) is such that Tvv for all vV. Then T2I is invertible.

Proof
If we can show that T cannot have an eigenvalue of 2, then we've shown that therefore T2I is invertible. As such, assume for contradiction that 2 is an eigenvalue of T. As such, there's some associated eigenvector voV. As such, then Tvo=2v, but notice then that:

Tvo=2vo=|2|vo>vo

which contradicts our supposition that vV(Tvv), so then our assumption was false. Hence, 2 cannot be an eigenvalue of T, so then T2I is invertible.

7

Theorem

Suppose u,vV. Then au+bv=bu+av for all a,bR iff u=v.

Proof

The forward direction is easiest. Notice if a=1 and b=0 then we get our desired result:

au+bv=bu+avu=v

Let's prove the reverse direction. Suppose u=v. Let a,bR be arbitrary. Notice that:

au+bv2=au+bv,au+bv=au,au+bv,bv+au,bv+bv,au=au2+bv2+ab(u,v+v,u)(a,bRau,bv=bv,au)=|a|2u2+|b|2v2+ab(u,v+v,u)=|a|2v2+|b|2u2+ab(u,v+v,u)=av2+bu2+ab(u,v+v,u)=av,av+bu,bu+av,bu+bu,av=av+bu,av+bu=bu+av2

Square rooting both sides gives the desired result.

8

Theorem

Suppose u,vV and u=v=1 and u,v=1. Then u=v.

Proof
Suppose the necessary assumptions. Notice that if we prove that uv=0uv=0 then we've proved the above theorem:

uv2=uv,uv=u,u+v,v+u,v+u,v=1+(1)(1)(1)+2u,v=1+1+2(1)u,v=22(1)=0

10

Theorem

There exist vectors u,vR2 such that u is a scalar multiple of (1,3) and v is orthogonal to (1,3) and (1,2)=u+v.

Proof
Using the idea of orthogonalization, here have u=c(1,3)u1=c,u2=3c. Notice then that since v is orthogonal to (1,3) then:

v,(1,3)=0v1+3v2=0

Further we know that:

(1,2)=u+v=(u1+v1,u2+v2){c+v1=13c+v2=2

Add R1+3R2 to get:

c+v1+9c+3v2=1+32=710c+v1+3v2=710c+0=7c=710

Thus:

u=(710,2110),v=(310,110)

Where our properties above are validated by these vectors.

12

Theorem

For all nZ+ and all x1,...,xnR:

(x1++xn)2n(x12++xn2)

Proof
Consider x=(x1,...,xn)Rn. Notice that:

x=x12+x22++xn2

Furthermore, consider e=(1,1,...,1)Rn. Here, by Cauchy-Schartz:

|x,e|xe|x1++xn|x12++xn2n(x1++xn)2n(x12++xn2)

13

Theorem

Suppose u,v0 in R2. Then:

u,v=uvcos(θ)

where θ is the angle between u,v.

Proof
We draw out our triangle:

Using the law of cosines:

uv2=u2+v22uvcos(θ)uv,uv=u,u+v,v2uvcos(θ)u,u+v,v2u,v=u,u+v,v2uvcos(θ)u,v=uvcos(θ)

17

Theorem

There is no inner product on R2 such that the associated norm is given by:

(x,y)=max{x,y}

Proof
Notice that if x=(x1,x2),y=(y1,y2)R2 then:

x+y2=x,x+y,y+2x,y=x2+y2+2x,ymax{x1+y1,x2+y2}2=max{x1,x2}2+max{y1,y2}2+2x,yx,y=max{x1+y1,x2+y2}2max{x1,x2}2max{y1,y2}22

Must be such an inner product. We can try to verify each property as follows.

Positivity:

x,x=max{x1+x1,x2+x2}2max{x1,x2}2max{x1,x2}22=(2x)22x2=x220

Where here x is the maximum of x1,x2. Thus, this inner product would have positivity.

Definiteness: Suppose x,x=0. Then that means that x22=0 so then x=0. As such, then max{x1,x2}=0. It's possible though that x1=0 and x2=1 to allow for this. Notice that plugging that in gives that x,x=0 while x0 so then there's no definiteness.

Hence, if there was some , where the norm is defined above, then it would fail to have at least one of the properties of the inner product, proving the theorem.

18

Theorem

Suppose p>0. Then there is an inner product on R2 such that the associated norm is given by:

(x,y)=(xp+yp)1/p

for all (x,y)R2 iff p=2.

Proof
We have to prove both direction. The reverse direction is easier. Consider p=2 first. Then choose the dot product giving that, for all (x,y)R2 that:

(x,y)2=(x,y),(x,y)=xx+yy=x2+y2

Thus then we get that (x,y)=x2+y2 as we wanted.

Now consider the other direction, so there is an inner product on R2 where the associated norm is given by:

(x,y)=(xp+yp)1/p

We'll have to show that p=2. Notice that we can plug in values for (x,y). Have u=(1,0) and v=(0,1). Notice by the Parallelogram Equality:

u+v2+uv2=(1,1)2+(0,0)2=(1p+1p)1/p=21/p

which would be the same as:

2(u2+v2)=2((1,0)2+(0,1)2)=2(1+1)=4

Hence:

4=21/p4p=2pln(4)=ln(2)p=2

as required.

19

Theorem

Suppose V is a real inner product space. Then:

u,v=u+v2uv24

Proof

u+v2uv2=2(u2+v2)2uv2=2(u,u+v,vuv,uv)=2(u,u+v,v+vu,uv)=2(u,u+v,v+v,u+u,vu,uv,v)=2(2u,v)=4u,v

Dividing by 4 gives the desired result.

20

Theorem

Suppose V is a complex inner product space. Then:

u,v=u+v2uv2+u+iv2iuiv2i4

Proof

u+v2uv2+u+iv2iuiv2i=u+v,u+vuv,uv+iu+iv,u+iviuiv,uiv=2u,v+2v,u+(2u,vi+2iv,u)i=2u,v+2v,u+2iu,v2v,u=4u,v

Dividing by 4 on both sides gives the result.

24

Theorem

Suppose SL(V) is an injective operator on V. Define ,1 by:

u,v1=Su,Sv

for u,vV. Then ,1 is an inner product on V.

Proof
We'll show all the properties of it being an inner product.

(Positivity): Let vV. Then:

v,v1=Sv,Sv0

by the definition of , positivity.

(Definiteness): Let vV. Then clearly if v=0 as we showed then Sv=0 so we get Sv,Sv=0,0=0. If Sv,Sv=0 then by definiteness from then Sv=0. And since Sv=S0=0 then v=0 by S being injective. Hence, the new inner product is definite.

(Additivity in the first slot): Let u,v,wV be arbitrary. Then:

u+v,w1=S(u+v),S(w)=Su+Sv,Sw=Su,Sw+Sv,Sw=u,w1+v,w1

(Homogeneity in the first slot): Let v,uV and λF. Then:

λu,v1=S(λu),Sv=λSu,Sv=λSu,Sv=λu,v1

(Conjugate Symmetry): Let u,vV:

u,v1=Su,Sv=Sv,Su=v,u1

25

Theorem

Suppose SL(V) is not injective. Define ,1 as in the prior exercise. ,1 is not an inner product.

Proof
Since S is not injective, then there are two u,vV such that uv but Su=Sv. As such, then notice that if v,v1=Sv,Sv=0 (for the forward part of definiteness), then by definiteness from then Sv=0. Thus, then Su=0, so Su,Su=0. But uv so then:

v,v1=0=u,u1

while u=v=0 but uv, which is a contradiction. As such, then our inner product isn't an inner product.

6.B: Orthonormal Bases

1

a

Theorem

Suppose θR. Then (cosθ,sinθ),(sinθ,cosθ) and (cosθ,sinθ),(sinθ,cosθ) are orthonormal bases of R2.

Proof
We'll show that these are orthonormal, by showing their norms are 1 and that they are orthogonal vectors.

First, for norm:

(cosθ,sinθ)=cos2θ+sin2θ=1=1|(sinθ,cosθ)=(sinθ)2+cos2θ=1(sinθ,cosθ)=sin2θ+(cosθ)2=1

Thus all vectors in question have norm 1.

For orthogonality, notice that:

(cosθ,sinθ),(sinθ,cosθ)=cosθsinθ+sinθcosθ=0

and:

(cosθ,sinθ),(sinθ,cosθ)=cosθsinθsinθcosθ=0

thus each pair of vectors in question are orthogonal to each other.

b

Theorem

Each orthonormal basis of R2 is of the form given by the possibilities from (a)

Proof
Let u,vR2 be arbitrary, where we want u,v to form an arbitrary orthonormal basis of R2. Hence, we need u=v=1 and u,v=0. Since their norms are all 1, that means u,v must lie somewhere on the unit circle:

There's some θ between the x-axis and u, so for simplicity say that ux=cos(θ) and uy=sin(θ). As a result:

u=(cos(θ),sin(θ))

Which is the first vector of both candidate bases! Notice that v would have to follow similar logic, via some other angle α:

v=(cosα,sinα)

Now we'll show v has to be one of the other two forms. Notice that:

u,v=0cosαcosθ+sinαsinθ=0

Using the cos(αβ) trigonometry identity:

cos(αθ)=0αθ=π2+nπ

There's only two really different possibilities, when n=0, and n=1. If n=0:

αθ=π2α=π2+θsinα=cosθ,cosα=sinθ

Showing that v=(sinθ,cosθ) as the first candidate shows.

Using n=1 instead:

αθ=π2+πα=θπ2sinα=cosα,cosθ=sinθ

Thus v=(sinθ,cosθ) as the second case shows.

Notice that u,v and everything were arbitrary, so then these must be the only two candidates!

3

Theorem

Suppose TL(R3) has an UT matrix with respect to the matrix (1,0,0),(1,1,1),(1,1,2). There's an northonormal basis of R3 with respect to which M(T,β) is upper triangular.

Proof
We apply Gram-Schmidt to the given basis to product our orthonormal basis. We are guaranteed that M(T,β) is upper-triangular via Chapter 6 - Inner Product Spaces#^b22ab5.

As such, start with v1=(1,0,0). Here e1=(1,0,0) as it's the scalar multiple of v1 where it's norm is 1.

Now consider e2. Here it's numerator is:

(1,1,1)(1,1,1),e1e1=(1,1,1)1(1,0,0)=(0,1,1)

we'll normalize to:

e2=(0,12,12)

Notice that the numerator for e3 is:

(1,1,2)(1,1,2),e1e1(1,1,2),e2e2=(1,1,2)1(1,0,0)31212(0,1,1)=(0,12,12)

Then just normalize our vectors:

(1,0,0),(0,12,12),(0,22,22)

4

Theorem

Suppose n is a positive integer. Then:

12π,cos(x)π,,cos(nx)π,sin(x)π,...,sin(nx)π

is an orthonormal list of vectors in C[π,π], the space of continuous real-valued functions on [π,π] with inner product:

f,g=ππf(x)g(x)dx

Proof
Notice that we'll generalize all the nN. Notice that:

12π,cos(nx)π=ππcos(nx)2πdx=12πn(sin(nx))|ππ=0

And a similar proof shows the same for the sine part:

12π,sin(nx)π=ππsin(nx)2πdx=12πn(cos(nx))|ππ=0

And lastly we compare both the cosine and sine parts:

cos(mx)π,sin(nx)π=ππcos(mx)sin(nx)π=0

since the function in the integral is an even function (no matter if m=n or not, as when there's equality we have cos(mx)sin(nx)=2sin(nx) which is also an odd function).

5

Theorem

On P2(R), consider the inner product given by:

p,q=01p(x)q(x)dx

Apply the Gram-Schmidt Procedure to the basis 1,x,x2 to produce an orthonormal basis of P2(R)

Proof
Start with v1=1. Notice that:

1=0112dx=1

So e1=1. Next:

e2=v2v2,e1e1=x01xdx1=x12

Where to normalize e2:

e22=01(x1/2)2dx=(x1/2)33|01=2233=112

So e2=23(x12). Now for e3:

e3=v3v3,e1e1v3,e2e2=x201x2dx(23)(x12)01(23)(x12)x2dx=x21312(x1/2)01x30.5x2dx=x21312(x12)(1416)=x213(x12)=x2x+16

Where this norm is:

e3=01(x2x+1/6)2dx=1180=165

Thus we have:

e3=65(x2x16)

6

Theorem

Find an orthonormal basis of our previous questions vector space, such that the differentiation operator on V has an upper-triangular matrix with respect to this basis.

Proof
Notice that the standard basis of 1,x,x2 has the differentiation operator of:

D(1)=0,D(x)=1,D(x2)=2xM(D)=[010002000]

which is already upper-triangular. One can show that the current basis isn't orthonormal (just orthogonal), so we'll apply Gram-Schmidt to the problem, which we did in HW 7 - Inner Product Spaces#5, giving us the basis:

{e1,e2,e3}={1,23(x12),65(x2x16)}

which by Chapter 6 - Inner Product Spaces#^b22ab5, then our basis has M(D,β) is UT.

9

Theorem

What happens if the Gram-Schmidt Procedure is applied to a list of vectors that is not linearly independent?

Proof
Since we'll get n vectors, given some starting number of n vectors v1,...,vn, we'll get e1,...,en. If we have that some of the vi's are linear combinations of the others, then when we linearly combine previous vectors while applying the procedure, we may create vectors that are just linearly dependent on each other. Hence, e1,...,en will be linearly dependent. As a result, then some e1,...,en may not be orthogonal to each other (since there'll be linear combinations to get from one set of ei to a new ej).

12

Theorem

Suppose V is finite-dimensional and ,1,,2 are inner products on V with corresponding norms 1 and 2. Then there is a positive number c such that:

v1cv2

for all vV.

Proof
Let vV be arbitrary. Consider first:

v,v1=v1

and similar for the second norm.

Consider the following cases. If v1=v2 then c=1 and we are done. Hence, consider if v1v2. Since both are real, positive numbers, then by the Ordering of the Reals, then we have either v1<v2 or v1>v2.

First, consider the former case. Hence:

v1<v2

If v2=0 then because v,v2=0 then we have it that v=0 as a property of the inner product. As such, then v,v=0 so then v1=0, which contradicts them being non-equal

If instead v20 then notice that:

v1v2<1

But since both numerator and denominator are positive, then it's greater than 0. Hence, choose c=v1v2(0,1); so:

v1cv2=v1v2v2=v1

which is true.

Hence, no matter what for our former case, we can always choose c. If instead we have:

v1>v2

Again, we know that v20, so then:

v1v2>1

So choose c as the left-hand side of this inequality, since:

v1cv2=v1

Hence, by proof by exhaustion, the theorem always holds.

6.C: