Docsity

Vector Spaces and Normed Linear Spaces, Slides of Advanced Computer Architecture

Partial preview of the text

Download Vector Spaces and Normed Linear Spaces and more Slides Advanced Computer Architecture in PDF only on Docsity!

  • Lecture

Overview

Basic definition: vector space, norm, subspace, linear independence, convexity, normed linear spaces, range, rank, null space, matrix inverse Elementary analytical and topological properties

Cartesian product

Let X and Y be vector spaces over the same field of scalars. Then the Cartesian product of X , and Y , denoted X × Y , consists of the collection of ordered pairs (x, y) with x ∈ X , y ∈ Y. Addition and scalar multiplication are defined on X × Y by (x 1 , y 1 ) + (x 2 , y 2 ) = (x 1 + x 2 , y 1 + y 2 ) and α(x, y) = (αx, αy). Generalized to product of n vector spaces, X 1 , X 2 ,... , Xn. Denote it as X n^ for the product of a vector space of with itself n times.

Subspace

A nonempty subset M of a vector space X is a subspace of X if every vector of the form αx + βy is in M whenever x and y are both in M. M is a subspace if and only if I (^) The null vector 0 ∈ M. I (^) If x, y ∈ M, then x + y ∈ M. I (^) If α is a scalar and x ∈ M, then αx ∈ M. The simplest subspace is the set consisting of 0 alone. In three-dimensional space, a plane passing through the origin is a subspace. Let M and N be subspaces of a vector space X. Then the intersection M ∩ N, of M and N is a subspace of X. The sum of two subsets S and T in a vector space, denoted S + T , consists of all vectors of the forms s + t where s ∈ S and t ∈ T. Let M and N be subspaces of a vector space X , then their sum M + N is a subspace of X.

Convexity and cones

A set K in a linear vector space is convex if, given x 1 , x 2 ∈ K , all points of the form αx 1 + (1 − α)x 2 with 0 ≤ α ≤ 1 are in K. Let K and G be convex sets in a vector space. Then I (^) αK = {x : x = αk, k ∈ K } I (^) K + G is convex Let S be an arbitrary set in a linear vector space. The convex hull, denoted co(S) is the smallest convex set containing S. In other words, co(S) is the intersection of all convex sets containing S. A set C in a linear vector space is a cone with vertex at the origin if x ∈ C implies αx ∈ C ∀α ≥ 0. In IRn, the set

P = {x : x = {ξ 1 , ξ 2 ,... , ξn}, ξi ≥ 0 ∀i}

defining the positive orthant, is a convex cone.

Linear independence and dimension

A set of {x 1 , x 2 ,... , xn} is linearly independent if

∑n j=1 αj^ xj^ =^0 implies αj = 0 for all j = 1,... , n. Span: span {x 1 ,... , xn} = {

∑n j=1 βi^ xi^ :^ βj^ ∈^ IR}. If {x 1 ,... , xn} is independent and y ∈ span {x 1 ,... , xn}, then y is a unique linear combination of xi. A finite set S of linearly independent vectors is a basis for the space X if S generates X. A vector space having a finite basis is said to be finite dimensional. Usually we characterize a finite-dimensional space by the number of elements in a basis. Thus, a space with a basis consisting of n elements is referred to as n-dimensional space. Any two bases for a finite-dimensional vector space contain the same number of elements.

Normed linear spaces: examples

Normed linear space C [a, b] consists of continuous functions on the real interval [a, b] together with the norm ‖x‖ = maxa≤t≤b |x(t)|. max |x(t) + y(t)| ≤ max(|x(t)| + |y(t)|) ≤ max |x(t)| + max |y(t)| max |αx(t)| = max |α||x(t)| = |α| max |x(t)|. Euclidean n-space, denoted E n, consists of n-tuples with the norm of an element x = {ξ 1 , ξ 2 ,... , ξn} defined as ‖x‖ = (

∑n i=1 |ξn|

Consider the space BV [a, b] consisting of functions of bounded variation on the interval [a, b]. By a partition of the interval [a, b], we mean a finite set of points ti ∈ [a, b], i = 0, 1 ,... , n, such that a = t 0 ≤ t 1 · · · ≤ tn = b. A function x defined on [a, b] is of bounded variation if there is a constant K so that for any partition of [a, b] ∑^ n

i=

|x(ti ) − x(ti− 1 )| ≤ K.

Normed linear spaces: examples

The total variation of x, denoted T .V .(x) is defined as

T .V .(x) = sup

∑^ n

i=

|x(ti ) − x(ti− 1 )|

where the supremum is taken w.r.t. all partitions of [a, b]. A convenient notation for the total variation

T .V .(x) =

∫ (^) b

a

|dx(t)|.

The T.V. of a monotonic function is the absolute value of the difference between function values at the end points a and b. The space BV [a, b] is the space of all functions of bounded variation on [a, b] together with the norm defined as

‖x‖ = |x(a)| + T .V .(x).

Closed sets and convergent sequences

Can describe closed sets in terms of convergent sequences and limit points. A set C is closed if and only if it contains the limit point of every convergent sequences in it. In other words, if x 1 , x 2 ,... converges to x and xi ∈ C , then x ∈ C. The closure of C is the set of all limit points of convergent sequences in C. The boundary of C is defined as bd(C ) = cl(C )\int(C ). A boundary point x satisfies the following property: For all ε > 0, there exist y ∈ C and z ∈/ C with

‖y − x‖ 2 ≤ ε, ‖z − x‖ 2 ≤ ε

, i.e., there exist arbitrarily close points in C , and also arbitrarily close points not in C.

Vector norm

Vector norm: a function that assigns a strictly positive length or size to all vectors x in a vector space X , other than the zero vector, 0 , i.e., f : X → IR; x 7 → f (x) that satisfies the following properties:

f (x) ≥ 0 x ∈ IRn, (f (x) = 0 iff x = 0 ) f (x + y) ≤ f (x) + f (y) x, y ∈ IRn f (αx) = |α|f (x) α ∈ IR, x ∈ IRn

A simple example is the 2-dimensional space IR^2 with Euclidean norm, e.g., a point (2,5) is drawn as an arrow from the origin. As such, Euclidean norm is often known as magnitude. Euclidean norm: ‖x‖ =

x 12 + · · · + x n^2 for x ∈ IRn. Manhattan norm: ‖x‖ 1 =

∑n i=1 |xi^ |.

Vector norm (cont’d)

Norms play an important role in solving optimization problems.

p ≥ 1 p < 1 Lasso (left) and ridge (right) regression The residual sum of squares has elliptical contours, centered at the full least squares estimate. The constraint region for Lasso is ‖x 1 ‖ + ‖x 2 ‖ ≤ t while the constraint region for ridge regression is x 12 + x 22 ≤ t^2. The diamond has corners and if the solution occurs at a corner, then it has one parameter xi equal to zero.

Vector norm (cont’d)

For x ∈ IRn, then ‖x‖ 2 ≤ ‖x‖ 1 ≤

n‖x‖ 2 ‖x‖∞ ≤ ‖x‖ 2 ≤

n‖x‖∞ ‖x‖∞ ≤ ‖x‖ 1 ≤ n‖x‖∞

Holder inequality: For the `p -norm, we have

|x>y| ≤ ‖x‖p ‖y‖q ,

p

q

A special case is the Cauchy-Schwartz inequality,

|x>y| ≤ ‖x‖ 2 ‖y‖ 2

The triangle inequality for inner product is often shown using Cauchy-Schwartz inequality

‖x + y‖^2 ≤ (‖x‖ + ‖y‖)^2