MATH 311-504 Topics in Applied Mathematics Lecture 3-4: Norms induced by inner products. Orthogonality. Norm The notion of norm generalizes the notion of length of a vector in Rn . Definition. Let V be a vector space. A function α : V → R, usually denoted α(x) = kxk, is called a norm on V if it has the following properties: (i) kxk ≥ 0, kxk = 0 only for x = 0 (positivity) (ii) kr xk = |r | kxk for all r ∈ R (homogeneity) (iii) kx + yk ≤ kxk + kyk (triangle inequality) The norm defines a distance function on the vector space: dist(x, y) = kx − yk. Examples. V = Rn , x = (x1, x2, . . . , xn ) ∈ Rn . • kxk∞ = max(|x1|, |x2|, . . . , |xn |). 1/p , p ≥ 1. 1/2 = |x|. • kxkp = |x1|p + |x2|p + · · · + |xn |p In particular, • kxk1 = |x1| + |x2 | + · · · + |xn |, • kxk2 = |x1 |2 + |x2|2 + · · · + |xn |2 Examples. V = C [a, b], f : [a, b] → R. • kf k∞ = max |f (x)| a≤x≤b • kf k1 = • kf kp = Z (uniform norm). b |f (x)| dx. a Z a b |f (x)|p dx 1/p , p ≥ 1. Inner product The notion of inner product generalizes the notion of dot product of vectors in Rn . Definition. Let V be a vector space. A function β : V × V → R, usually denoted β(x, y) = hx, yi, is called an inner product on V if it is positive, symmetric, and bilinear. That is, if (i) hx, yi ≥ 0, hx, xi = 0 only for x = 0 (positivity) (ii) hx, yi = hy, xi (symmetry) (iii) hr x, yi = r hx, yi (homogeneity) (iv) hx + y, zi = hx, zi + hy, zi (distributive law) Examples. V = Rn . • hx, yi = x · y = x1y1 + x2y2 + · · · + xn yn . • hx, yi = d1 x1y1 + d2x2 y2 + · · · + dn xn yn , where d1, d2 , . . . , dn > 0. Examples. V = C [a, b]. Z b • hf , g i = f (x)g (x) dx. a • hf , g i = Z b f (x)g (x)w (x) dx, a where w is bounded, piecewise continuous, and w > 0 everywhere on [a, b]. Cauchy-Schwarz Inequality: p p |hx, yi| ≤ hx, xi hy, yi. Corollary 1 |x · y| ≤ |x| |y| for all x, y ∈ Rn . Equivalently, for all xi , yi ∈ R, (x1y1 + · · · + xn yn )2 ≤ (x12 + · · · + xn2)(y12 + · · · + yn2). Corollary 2 For any f , g ∈ C [a, b], Z b 2 Z b Z |f (x)|2 dx · f (x)g (x) dx ≤ a a b |g (x)|2 dx. a Norms induced by inner products Theorem Suppose hx, yi is an p inner product on a vector space V . Then kxk = hx, xi is a norm. Proof: Positivity is obvious. Homogeneity: p p p kr xk = hr x, r xi = r 2hx, xi = |r | hx, xi. Triangle inequality (follows from Cauchy-Schwarz’s): kx + yk2 = hx + y, x + yi = hx, xi + hx, yi + hy, xi + hy, yi = kxk2 + 2hx, yi + kyk2 ≤ kxk2 + 2kxk kyk + kyk2 = (kxk + kyk)2. Examples. • The length of a vector in Rn , p |x| = x12 + x22 + · · · + xn2, is the norm induced by the dot product x · y = x1 y1 + x2 y2 + · · · + xn yn . • The norm kf k2 = Z a b 2 |f (x)| dx 1/2 on the vector space C [a, b] is induced by the inner product Z b hf , g i = f (x)g (x) dx. a y x−y x+y x x y Parallelogram Identity: kx + yk2 + kx − yk2 = 2kxk2 + 2kyk2 Proof: kx+yk2 = hx+y, x+yi = hx, xi + hx, yi + hy, xi + hy, yi. Similarly, kx−yk2 = hx, xi − hx, yi − hy, xi + hy, yi. Then kx+yk2 + kx−yk2 = 2hx, xi + 2hy, yi = 2kxk2 + 2kyk2. Example. Norms on Rn , n ≥ 2: • kxk∞ = max(|x1|, |x2|, . . . , |xn |), • kxkp = |x1|p + |x2|p + · · · + |xn |p 1/p , p ≥ 1. Theorem The norms kxk∞ and kxkp , p 6= 2 do not satisfy the Parallelogram Identity. Hence they are not induced by any inner product on Rn . Hint: A counterexample to the Parallelogram Identity is provided by vectors x = (1, 0, 0, . . . , 0) and y = (0, 1, 0, . . . , 0). Angle Since |hx, yi| ≤ kxk kyk, we can define the angle between nonzero vectors in any vector space with an inner product (and induced norm): hx, yi ∠(x, y) = arccos . kxk kyk Then hx, yi = kxk kyk cos ∠(x, y). In particular, vectors x and y are orthogonal (denoted x ⊥ y) if hx, yi = 0. Orthogonal systems Let V be an inner product space with an inner product h·, ·i and the induced norm k · k. Definition. A nonempty set S ⊂ V is called an orthogonal system if all vectors in S are mutually orthogonal. That is, hx, yi = 0 for any x, y ∈ S, x 6= y. An orthogonal system S ⊂ V is called orthonormal if kxk = 1 for any x ∈ S. Remark. Vectors v1, v2, . . . , vk ∈ V form an orthonormal system if and only if 1 if i = j hvi , vj i = 0 if i 6= j Examples. • V = Rn , hx, yi = x · y. The standard basis e1 = (1, 0, 0, . . . , 0), e2 = (0, 1, 0, . . . , 0), . . . , en = (0, 0, 0, . . . , 1). It is an orthonormal system. • V = R3 , hx, yi = x · y. v1 = (3, 5, 4), v2 = (3, −5, 4), v3 = (4, 0, −3). v1 · v2 = 0, v1 · v3 = 0, v2 · v3 = 0, v1 · v1 = 50, v2 · v2 = 50, v3 · v3 = 25. Thus the set {v1, v2, v3} is orthogonal but not orthonormal. An orthonormal set is formed by normalized vectors w1 = kvv11k , w2 = kvv22k , w3 = kvv33k . • V = C [−π, π], hf , g i = Z π f (x)g (x) dx. −π f1 (x) = sin x, f2(x) = sin 2x, . . . , fn (x) = sin nx, . . . hfm , fn i = = Z π sin(mx) sin(nx) dx −π 1 cos(mx − nx) − cos(mx + nx) dx. 2 π −π Z Z π sin(kx) π = 0 if k ∈ Z, k 6= 0. k x=−π Z π cos(kx) dx = dx = 2π. cos(kx) dx = −π k = 0 =⇒ Z π −π −π Z 1 π cos(m − n)x − cos(m + n)x dx hfm , fn i = 2 −π π if m = n = 0 if m 6= n Thus the set {f1, f2, f3, . . . } is orthogonal but not orthonormal. It is orthonormal with respect to a scaled inner product Z 1 π hhf , g ii = f (x)g (x) dx. π −π Orthogonality =⇒ linear independence Theorem Suppose v1, v2, . . . , vk are nonzero vectors that form an orthogonal set. Then v1 , v2, . . . , vk are linearly independent. Proof: Suppose t1 v1 + t2v2 + · · · + tk vk = 0 for some t1 , t2, . . . , tk ∈ R. Then for any index 1 ≤ i ≤ k we have ht1 v1 + t2 v2 + · · · + tk vk , vi i = h0, vi i = 0. =⇒ t1 hv1 , vi i + t2 hv2 , vi i + · · · + tk hvk , vi i = 0 By orthogonality, ti hvi , vi i = 0 =⇒ ti = 0. Orthonormal bases Let v1 , v2, . . . , vn be an orthonormal basis for an inner product space V . Theorem Let x = x1v1 + x2 v2 + · · · + xn vn and y = y1v1 + y2v2 + · · · + yn vn , where xi , yj ∈ R. Then (i) hx, yi = x1 y1 + x2y2 + · · · + xn yn , p (ii) kxk = x12 + x22 + · · · + xn2 . Proof: (ii) follows from (i) when y = x. * n + * + n n n X X X X hx, yi = x i vi , y j vj = x i vi , y j vj i =1 = j=1 n n XX i =1 xi yj hvi , vj i = i =1 j=1 n X i =1 j=1 xi yi .