Jump to content

Coordinate spaces – "Math for Non-Geeks"

From Wikibooks, open books for an open world

The coordinate space is the vector space of n-tuples (x1,...,xn) with entries xk∈K in a field K, equipped with componentwise addition and scalar multiplication. An example is the vector space ℝ3 known from school, with vectors (x1,x2,x3) and K=ℝ.

Derivation

[edit | edit source]

In mathematics, one often uses existing structures to define new and more general ones. As we have already seen in introduction to vector space, we can extend from the vector spaces ℝ3 and ℝ2 over the real numbers ℝ to more general vector spaces ℝn for every natural number n. For this, we recall how the addition of two vectors and the scalar multiplication between a vector and a scalar works in ℝ3 and ℝ2: We have

(x1x2x3)+(y1y2y3)=(x1+y1x2+y2x3+y3)∈ℝ3and(x1x2)+(y1y2)=(x1+y1x2+y2)∈ℝ2

In other words, the addition and scalar multiplication are defined component-wise. That is, we perform the addition and the scalar multiplication in ℝ2 and ℝ3 by adding in each component and multiplying in each component with the scalar, respectively. In the same way, we can define an addition and a scalar multiplication if our vectors do not consist of two or three but of n real numbers. That is, on the set

ℝn={(x1,…,xn)∣xi∈ℝ for all 1≤i≤n}

we define a component-wise vector addition and a scalar multiplication:

For the vector addition we use the real number addition and for the scalar multiplication the real number multiplication. Let x=(x1,…,xn) and y=(y1,…,yn) with xi,yi∈ℝ, then the vector addition is defined by

x+y=(x1+y1,…,xn+yn)

Let x∈ℝn and α∈ℝ, then the scalar multiplication is defined by

α⋅x=(α⋅x1,…,α⋅xn)

We can now easily verify that ℝn with this vector addition and scalar multiplication is a vector space over the field ℝ.

Thus, we have transferred the known structure of the real numbers ℝ and the vector spaces ℝ2 and ℝ3 to the vector space ℝn. We also refer to ℝn as coordinate space of dimension n over ℝ.

Simple generalization

[edit | edit source]

If we look again at the definition of the vector space structure on ℝn, we have used only multiplication and addition on ℝ. But now, any field K admits a multiplication and addition. Thus, the above construction also provides us with a way to define a coordinate space over arbitrary fields. This coordinate space is defined by taking the set

Kn={(x1,…,xn)|xi∈K for all 1≤i≤n}

and equipping it with an addition and a scalar multiplication. For this, we copy the definition of above and define it component-wise. That means, we use in every component the addition and multiplication of K to define the addition and scalar multiplication on Kn.

Definition: coordinate space

[edit | edit source]
Definition (The set Kn)

Let n∈ℕ and K be a field. We define

Kn:={(x1,…,xn)|xi∈K for all 1≤i≤n}.

We denote the elements of this set as n-tuples with entries in K.

Example (Examples for tuples)

As an example, (5,7) is a 2-tuple with entries in ℚ (we also just say tuple or pair instead of 2-tuple).

(π,12,31) is a 3-tuple with entries in ℝ (we also say triple instead of 3-tuple).

Now, we equip the set Kn with an addition and a scalar multiplication.


Definition (vector space operations on Kn)

The addition ⊞:Kn×Kn→Kn is defined by (x1,…,xn)⊞(y1,…,yn):=(x1+y1,⋯,xn+yn).

Similarly, we define the scalar multiplication ⊡:K×Kn→Kn by

λ⊡(x1,…,xn):=(λ⋅x1,…,λ⋅xn).

We call (Kn,⊞,⊡) coordinate space.

Hint

We have so far taken a tuple to be a row vector. That means, we have written (x1,…,xn) for an element in Kn. Just as well, instead of writing the elements as one row with n columns, we could also write them as one column with n entries. Then an element in Kn would look like this:

(x1⋮xn)

This other representation does NOT change the properties of Kn as vector space. If we take the vector x∈Kn to be a row with n columns, then x is called a row vector. If we take x in turn as a column with n rows as a column vector.

It will prove useful for matrices to write the vectors in Kn as column vectors. Therefore, from now on, we will work with column vectors. However, the notation of a column vector in a line is not very space-saving. Therefore, we introduce the following notation: Instead of

x=(x1⋮xn)∈Kn

we write the vector as x=(x1,…,xn)T∈K. The symbol T means that this vector is transposed, i.e. the row vector is transformed into a column vector. This transposition is the same as for matrices

Coordinate spaces are vector spaces

[edit | edit source]

In the article introduction to the vector space we used the above construction first over ℝ and then over arbitrary fields to derive the vector space axioms. Moreover, field satisfies similar properties as vector space, and we have used the former very directly to define addition and scalar multiplication on the coordinate space. Therefore, we can conjecture that the definition of ⊞ and ⊡ on Kn defines a vector space structure, as well. And this is indeed true, as we will verify now.

Theorem (Kn is a vector space)

(Kn,⊞,⊡) is a K-vector space.

How to get to the proof? (Kn is a vector space)

We proceed as in the article "Proofs for vector spaces", where the eight vector space axioms were checked, one by the other.

The definitions of ⊞,⊡ are chosen by copying the operations +,⋅ in the field K "in a natural (component-wise) way to the vector space Kn." We show that the vector space axioms follow directly from the corresponding field axioms. So we have to show in every step that the definitions of ⊞ and ⊡ induce the known properties of + and ⋅ in the field K.

Proof step: Associativity of addition

Let x=(x1,⋯,xn)T,y=(y1,⋯,yn)T,z=(z1,⋯,zn)T∈Kn. Then, we have:

(x⊞y)⊞z=((x1,⋯,xn)T⊞(y1,⋯,yn)T)⊞(z1,⋯,zn)T[0.3em]↓ definition of ⊞[0.3em]=(x1+y1,⋯,xn+yn)T⊞(z1,⋯,zn)T[0.3em]↓ definition of ⊞[0.3em]=((x1+y1)+z1,⋯,(xn+yn)+zn)T↓ associativity of addition in K[0.3em]=(x1+(y1+z1),⋯,xn+(yn+zn))T↓ definition of ⊞[0.3em]=(x1,⋯,xn)T⊞(y1+z1,⋯,yn+zn)T=x⊞(y⊞z).

This shows the associativity of addition.

Proof step: Commutativity of addition

Let x=(x1,⋯,xn)T,y=(y1,⋯,yn)T∈Kn. Then, we have:

x⊞y=(x1,⋯,xn)T⊞(y1,⋯,yn)T[0.3em]↓ definition of ⊞[0.3em]=(x1+y1,⋯,xn+yn)T[0.3em]↓ commutativity of addition in K[0.3em]=(y1+x1,⋯,yn+xn)T[0.3em]↓ definition of ⊞[0.3em]=(y1,⋯,yn)T⊞(x1,⋯,xn)T=y⊞x.

This shows the commutativity of addition.

Proof step: Neutral element of addition

We still need to show that there is a neutral element 0Kn∈Kn for which we have that

x⊞0Kn=x for all x∈Kn

Since we trace all properties back to the corresponding properties in K, here we use the neutral element of addition 0∈K to construct the neutral element of addition 0Kn∈Kn. That means, we set

0Kn=(0,0,⋯,0⏟n)T.

Is this neutral element of addition really neutral? For this, we have to check x⊞0Kn=x: Let x=(x1,⋯,xn)T∈Kn. Then, we have:

x⊞0Kn=(x1+0,⋯,xn+0)T=(x1,⋯,xn)T=x.

Thus, we have shown that 0Kn∈Kn is the neutral element of addition.

Proof step: Inverse with respect to addition

Let x=(x1,⋯,xn)T∈Kn.

We need to show that there exists a y∈Kn such that x⊞y=0Kn. Let us reduce this problem to the properties of arithmetic operations in K. In K we have that if a,b∈K and a+b=0, then b=−a. Therefore, for y we choose the n tuple (−x1,⋯,−xn)T as the potential inverse. Then, we have:

x⊞y=(x1+(−x1),⋯,xn+(−xn))T=(0,⋯,0⏟n)T=0Kn

Thus, we have shown that for any x∈Kn there exists a y∈Kn with x⊞y=0Kn.

Proof step: Scalar distributive law

Let λ,μ∈K and x=(x1,⋯,xn)T∈Kn. Then, we have:

(λ+μ)⊡x=(λ+μ)⊡(x1,⋯,xn)T[0.3em]↓ definition of ⊡[0.3em]=((λ+μ)⋅x1,⋯,(λ+μ)⋅xn)T↓ distributive law in K[0.3em]=(λ⋅x1+μ⋅x1,⋯,λ⋅xn+μ⋅xn)T[0.3em]↓ definition of ⊞[0.3em]=(λ⋅x1,⋯,λ⋅xn)T⊞(μ⋅x1,⋯,μ⋅xn)T[0.3em]↓ definition of ⊡[0.3em]=(λ⊡(x1,⋯,xn)T)⊞(μ⊡(x1,⋯,xn)T)[0.3em]=(λ⊡x)⊞(μ⊡x).

Thus, the scalar distributive law is also shown.

Proof step: Vectorial distributive law

Let λ∈K and x=(x1,⋯,xn)T,y=(y1,⋯,yn)T∈Kn. Then, we have:

λ⊡(x⊞y)=λ⊡((x1,⋯,xn)T⊞(y1,⋯,yn)T)↓ definition of ⊞[0.3em]=λ⊡(x1+y1,⋯,xn+yn)T[0.3em]↓ definition of ⊡[0.3em]=(λ⋅(x1+y1),⋯,λ⋅(xn+yn))T↓ distributive law in K[0.3em]=(λ⋅x1+λ⋅y1,⋯,λ⋅xn+λ⋅yn)T[0.3em]↓ definition of ⊞[0.3em]=(λ⋅x1,⋯,λ⋅xn)T⊞(λ⋅y1,⋯,λ⋅yn)T[0.3em]↓ definition of ⊡[0.3em]=(λ⊡(x1,⋯,xn)T)⊞(λ⊡(y1,⋯,yn)T)[0.3em]=(λ⊡x)⊞(λ⊡y).

This establishes the vectorial distributive law.

Proof step: Associativity of multiplication

Let λ,μ∈K and x=(x1,⋯,xn)T∈Kn. Then, we have:

(λ⋅μ)⊡x=(λ⋅μ)⊡(x1,⋯,xn)T[0.3em]↓ definition of ⊡[0.3em]=((λ⋅μ)⋅x1,⋯,(λ⋅μ)⋅xn)T[0.3em]↓ associativity of multiplication in K[0.3em]=(λ⋅(μ⋅x1),⋯,λ⋅(μ⋅xn))T[0.3em]↓ definition of ⊡[0.3em]=λ⊡(μ⋅x1,⋯,μ⋅xn)T)[0.3em]↓ definition of ⊡[0.3em]=λ⊡(μ⊡(x1,⋯,xn)T)[0.3em]=λ⊡(μ⊡x).

This shows the associative law for multiplication.

Proof step: unitarity law

Let x=(x1,⋯,xn)T∈Kn. Then, we have: 1K⊡x=1K⊡(x1,⋯,xn)T=(1K⋅x1,⋯,1K⋅xn)T=(x1,⋯,xn)T=x.

Thus, we have also shown the unitary law.

Thus, we have shown all eight vector space axioms and hence (Kn,⊞,⊡) is indeed a K-vector space. }}

Relation to the field being a vector space

[edit | edit source]

We have already seen that K is a K-vector space. This is a special case of the coordinate spaces Kn, because it is K1=K. Here we take the vectors (x)∈K1 to be elements of the field. We then write instead of the 1-tuple (x) only x, instead of (1) only 1 and instead of (0) only 0.