Jump to content

Vector space – "Math for Non-Geeks"

From Wikibooks, open books for an open world

In this chapter, we define the concept of vector space, which is the basis for linear algebra. Vector spaces consist of objects that can be added and scaled. The addition and the scaling have certain properties.

Recap: Intuition behind a vector space

[edit | edit source]


‌ The notion of a vector space is an abstract generalization of the plane ℝ2 and the space ℝ3. In these two sets, we can think of vectors as arrows that can be added and scaled:

This is where the general vector space notion comes in: There are more sets with similar properties. Also polynomials can be added and scaled. These relations are very similar to those of vectors. So the addition and scalar multiplication of polynomials of second degree corresponds with the respective operations in ℝ3:


7x2+3x+(−2)↔(7,3,−2)T++1x2+0x+6↔(1,0,6)T==8x2+3x+4↔(8,3,4)T


and:


−1−1⋅⋅7x2+3x+(−2)↔(7,3,−2)T==−7x2+(−3)x+2↔(−7,−3,2)T


The vector space notion hence generalizes the plane ℝ2 and the space ℝ3 to further structures with similar properties. Vectors are objects which can be added and scaled like vectors from ℝ2 or ℝ3.

Definition of a vector space

[edit | edit source]

We want to define a general vector space V over the field K. For this, we use the two operations ⊞ for the vector addition and ⊡ for the vector scaling.

Definition (vector space)

Let V be a non-empty set with an inner operation ⊞:V×V→V (of vector addition) and an outer operation ⊡:K×V→V (of scalar multiplication). The set V with these two operations is called vector space over the field K or alternatively K-vector space if the following axioms hold:

  • V together with the operation ⊞ forms an Abelian group (missing). That is, the following axioms are satisfied:
    1. associative law: For all v,w,z∈V we have that: v⊞(w⊞z)=(v⊞w)⊞z.
    2. commutative law: For all v,w∈V we have that: v⊞w=w⊞v.
    3. Existence of a neutral element: There is an element 0∈V such that for all v∈V we have that: v⊞0=v. This vector 0 is called neutral element of addition or zero vector.
    4. Existence of an inverse element: To every v∈V there exists an element y∈V such that we have v⊞y=0. The element y is called inverse element to v. Instead of y we also write −v.
    5. In addition, the following axioms of scalar multiplication ⊡ must be satisfied:
    1. Scalar distributive law: For all λ,ρ∈K and all v∈V we have that: (λ+ρ)⊡v=(λ⊡v)⊞(ρ⊡v).
    2. Vector distributive law: For all λ∈K and all v,w∈V we have that: λ⊡(v⊞w)=(λ⊡v)⊞(λ⊡w)
    3. Associative law for scalars: For all λ,ρ∈K and all v∈V it holds that: (λ⋅ρ)⊡v=λ⊡(ρ⊡v).
    4. Neutral element of scalar multiplication: For all v∈V and for 1∈K (the neutral element of multiplication in K) we have that: 1⊡v=v. The 1 is called neutral element of scalar multiplication.

Instead of "V" one often writes "(V,⊞,⊡)". The last notation makes clear that the set V includes the operations ⊞ and ⊡.

Hint

We use the symbols "⊞" and "⊡" to distinguish them from addition "+" and multiplication "⋅". In the literature this distinction is often not made and from the context it becomes clear whether for example "+" means an addition of numbers or of vectors.

Remarks concerning the Definition

[edit | edit source]

The scalar and the vector distributive law of scalar multiplication differ in that one statement is made about the addition in the field and one about the addition in the vector space. Thus, the scalar distributive law establishes a relation between the field addition and the vector addition:

(λ+ρ)⏟field addition⊡v=(λ⊡v)⊞(ρ⊡v)⏟vector addition

By contrast, the vector distributive law says something about how vector addition behaves under a scaling:

λ⊡(v⊞w)⏟vector addition=(λ⊡v)⊞(λ⊡w)⏟vector addition

In the associative law for scalars, multiplication in the field and scalar multiplication are applied once to the left of the equality sign, while scalar multiplication is applied once to the right of the equality sign:

(λ⋅ρ)⏟field multiplication⊡v⏟scaling=λ⊡(ρ⊡v)⏟scaling⏟scaling

The scalar distributive law (λ+ρ)⊡v=(λ⊡v)⊞(ρ⊡v) behaves exactly like the distributive law in fields. So in the future, instead of awkwardly writing (λ+ρ)⊡v=(λ⊡v)⊞(ρ⊡v), we will use the easier notion (λ+ρ)⋅v=(λ⋅v)+(ρ⋅v). So we do not distinguish in our notation between field addition and vector addition, and also not between field multiplication and scalar multiplication. Which operation is meant, results in each case from the context.

This holds analogously for the vectorial distributive law as well as for the associative law for scalars. With the vectorial distributive law, the equation λ⊡(v⊞w)=(λ⊡v)⊞(λ⊡w) becomes λ⋅(v+w)=(λ⋅v)+(λ⋅w). With the associative law for scalars, (λ⋅ρ)⊡v=λ⊡(ρ⊡v) becomes the expression (λ⋅ρ)⋅v=λ⋅(ρ⋅v). The analogy of the individual vector space axioms to the respective field axioms thus justifies that we can also use the symbols "+" and "⋅" for vector spaces.

Vectors point into directions

[edit | edit source]

How can we visualize vectors? First, we take a look at ℝ3, where such a notion is intuitive, and then generalize it.

Intuition: vectors in ℝ3

[edit | edit source]

Vectors v≠0 in ℝ3 can be visualized by arrows starting at the origin and pointing in certain directions. We can think of the direction of a vector v as the straight line in space containing all multiples of the vector. Mathematically, we can specify this straight line by {λ⋅v|λ∈ℝ}. However, we see that several vectors can then have the same direction line. For instance, the different vectors v,12v and 3v point in the same direction, so they have the same direction line. Thus, vectors are characterized by more than their direction. They also have a length ratio to each other. For example, 12v has a ratio of 12:1 to v, since stretching the vector v by 12 yields the vector 12v which is exactly half as long.

So there are two kinds of information contained in a ℝ3 vector: First, in which direction the vector points, and second,in which relation its length stands to that of other vectors pointing in the same direction. This information determines unambiguously where the vector points.

Directions and ratios in a more subtle vector space

[edit | edit source]

That the notion of direction and the notion of width are meaningful in ℝn is obvious to us. Now we try to transfer the notion of vectors to other, more complicated vector spaces. To do this, we look at the vector space (ℤ/5ℤ)2 over the field with five elements ℤ/5ℤ. One can show that ℤ/5ℤ is a field. [1].

We can think of this field as a circle, which has a clock face. But unlike a clock, it has not twelve but only five digits representing the five elements of the field ℤ/5ℤ:

The field Z modulo 5Z
The field Z modulo 5Z

ℤ/5ℤ consists of the five numbers {0,1,2,3,4}, where these have a cyclic structure:

…⟶+14⟶+10⟶+11⟶+12⟶+13⟶+14⟶+10⟶+11⟶+1…

On this circle you can calculate similarly as on a clock. For instance, 3+4=2:

Addition in Z modulo 5Z
Addition in Z modulo 5Z

Now we consider what the vector space (ℤ/5ℤ)2 must look like based on this idea. Since we need two independent dimensions, we imagine (ℤ/5ℤ)2 as two independent circles. We take one circle and add the other circle at the origin. Altogether we get a torus, which is provided with a grid because of the division of the circles with digits. Only the grid points on the torus are elements of the vector space (ℤ/5ℤ)2:

The vector space Z/5Z^2
The vector space Z/5Z^2

The axes of ℝ2 in this example of vector space (ℤ/5ℤ)2 correspond to the two circles forming the torus. Also in this example vectors have directions. If we fix a vector v, it points in a concrete direction. All multiples of the vector form the directional vectors λv:λ∈ℤ/5ℤ}. Ratios are also expressible. Since ℤ/5ℤ consists only of the five numbers {0,1,2,3,4}, also only these five ratios are possible. For instance, (3,1)T is the double of (4,3)T, because:

2⋅(43)=(2⋅42⋅3)=(31)

Generalization of directions and ratios

[edit | edit source]

In the previous considerations we have seen that vectors point in directions. Different vectors of the same direction have a concrete ratio, which corresponds to an element of the underlying field. So let us take a general vector space V over the field K. For a direction vector v∈V we can define the corresponding direction as λv:λ∈K}. All vectors of these straight lines have a concrete relation to the direction vector v, which is defined by the scalar λ∈K.