## Linear Vector Spaces: Additional Structure for Vector Spaces

### Norm

Vector spaces can be endowed with a function called the “Norm” function. The norm function is used to describe the size of vectors in a linear vector space. It assigns strictly positive values for nonzero vectors.

Let be a linear vector space over . A norm is defined as a function that satisfies the following properties. :

1. Positive homogeneity or positive scalability: 2. Triangle inequality: 3. Positive definiteness: There are many candidate functions that satisfy the above definition. The “Euclidean Norm” is by far the most commonly used norm function. The Euclidean norm is defined as: ##### Exercises:
•  Show that the triangle inequality is equivalent to: • Show that the Euclidean norm satisfies the properties of a norm function
• Show that the function such that satisfies the properties of a norm function

### Metric (Distance)

Vector spaces can be endowed with a “Metric” function. The metric function is used to define a distance between any two vectors in a linear vector space. Let be a linear vector space over . A metric is defined as a function that satisfies the following properties. :

1. Symmetry: 2. Triangle inequality: 3. There are many candidate functions that satisfy the above definition. Usually, the metric function can be induced from the norm function by setting . The “Euclidean Metric” is a commonly used metric function and is generated by the “Euclidean Norm”: ##### Exercises:
•  Show that the Euclidean metric satisfies the properties of a metric function.
• Show that the function defined as: satisfies the properties of a metric function.

### Inner Product

Vector spaces can be endowed with a function called the Inner Product function which associates each pair of vectors with a scalar quantity. The inner product function allows adding geometric structure to the vector space by defining orthogonality and angles. Let be an linear vector spaces over the field of complex numbers . The inner product is a map such that :

1. Conjugate symmetry: 2. Linearity in the first argument: 3. Positive definiteness: with When is defined over the field of real numbers , the inner product becomes a bilinear map and conjugate symmetry becomes symmetry.

#### Euclidean Dot Product

The “Euclidean Dot Product” is one example of an inner product function. The dot product is defined as follows: The “Euclidean Dot Product” is related to the “Euclidean Norm” as follows, : #### Euclidean Dot Product in and In two and three dimensional vector spaces, the dot product is related to the geometric angle between two vectors as follows,  where is the geometric angle between the vectors and .

#### Orthogonal Vectors

Two vectors are called “orthogonal” if their inner product is equal to zero. For Euclidean vector spaces, the term: “perpendicular” is used interchangeably with “orthogonal”.

##### Exercises:
•  Show that 1. Zhanpeng Zhang says:

Typo?Should be only one x1y1 in exercises section?

1. Samer Adeeb says:

Yes… thank you. This has been corrected

2. Wen Li Mandy Lim says:

For calculating the norm, in the formula, should the last term be vn^2 instead of n?

1. Samer Adeeb says:

Yes, thank you! I have corrected that typo.

3. Arnold Vendiola says:

for the last term under the root when calculating the metric, should it be (xn-yn)^2 instead of (xn-yn)^n?

1. Samer Adeeb says:

Yes, sorry this has been fixed now

4. Imshick Ok says:

May I ask the solution of the final exercise which the proof of x1y1+x2y2+x3y3 = llxllllyllcos@ ?

1. Samer Adeeb says:

Here is a proof:
https://proofwiki.org/wiki/Cosine_Formula_for_Dot_Product