# Vector space/Introduction/Section

The central concept of linear algebra is a vector space.

## Definition

Let $K$ denote a field, and $V$ a set with a distinguished element $0\in V$, and with two mappings
    $+\colon V\times V\longrightarrow V,(u,v)\longmapsto u+v,$
and
    $\cdot \colon K\times V\longrightarrow V,(s,v)\longmapsto sv=s\cdot v.$
Then $V$ is called a $K$-vector space (or a vector space over $K$), if the following axioms hold (where $r,s\in K$ and $u,v,w\in V$ are arbitrary).
* $u+v=v+u$,
* $(u+v)+w=u+(v+w)$,
* $v+0=v$,
* For every $v$, there exists a $z$ such that $v+z=0$,
* $1\cdot u=u$,
* $r(su)=(rs)u$,
* $r(u+v)=ru+rv$,
* $(r+s)u=ru+su$.
The binary operation in $V$ is called (vector-)addition, and the operation $K\times V\rightarrow V$ is called scalar multiplication. The elements in a vector space are called vectors, and the elements $r\in K$ are called scalars. The null element $0\in V$ is called null vector, and for $v\in V$, the inverse element, with respect to the addition, is called the negative of $v$, denoted by $-v$.
The field that occurs in the definition of a vector space is called the base field. All the concepts of linear algebra refer to such a base field. In case $K=\mathbb {R}$, we talk about a real vector space, and in case $K=\mathbb {C}$, we talk about a complex vector space. For real and complex vector spaces, there exist further structures like length, angle, inner product. But first we develop the algebraic theory of vector spaces over an arbitrary field.

## Example

Let $K$ denote a field, and let $n\in \mathbb {N} _{+}$. Then the product set
    $K^{n}=\underbrace {K\times \cdots \times K} _{n{\text{-times}}}={\left\{(x_{1},\ldots ,x_{n})\mid x_{i}\in K\right\}}\,,$
with componentwise addition and with scalar multiplication given by
    $s(x_{1},\ldots ,x_{n})=(sx_{1},\ldots ,sx_{n})\,,$
is a vector space. This space is called the $n$-dimensional standard space. In particular, $K^{1}=K$ is a vector space.
The null space $0$, consisting of just one element $0$, is a vector space. It might be considered as $K^{0}=0$.
The vectors in the standard space $K^{n}$ can be written as row vectors
    $\left(a_{1},\,a_{2},\,\ldots ,\,a_{n}\right)$
or as column vectors
    ${\begin{pmatrix}a_{1}\\a_{2}\\\vdots \\a_{n}\end{pmatrix}}.$
The vector
    $e_{i}:={\begin{pmatrix}0\\\vdots \\0\\1\\0\\\vdots \\0\end{pmatrix}}\,,$
where the $1$ is at the $i$-th position, is called $i$-th standard vector.

## Example

The complex numbers $$ form a field, and therefore they form also a vector space over the field $\mathbb {C}$ itself. However, the set of complex numbers equals $\mathbb {R} ^{2}$ as an additive group. The multiplication of a complex number $a+b{\mathrm {i} }$ with a real number $s=(s,0)$ is componentwise, so this multiplication coincides with the scalar multiplication on $\mathbb {R} ^{2}$. Hence, the set of complex numbers is also a real vector space.

## Example

For a field $K$, and given natural numbers $m,n$, the set
    $\operatorname {Mat} _{m\times n}(K)$
of all $m\times n$-matrices, endowed with componentwise addition and componentwise scalar multiplication, is a $K$-vector space. The null element in this vector space is the null matrix
    $0={\begin{pmatrix}0&\ldots &0\\\vdots &\ddots &\vdots \\0&\ldots &0\end{pmatrix}}\,.$

## Example

Let $R=K[X]$ be the polynomial ring in one variable over the field $K$, consisting of all polynomials, that is, expressions of the form
    $a_{n}X^{n}+a_{n-1}X^{n-1}+\cdots +a_{2}X^{2}+a_{1}X+a_{0},$
with $a_{i}\in K$. Using componentwise addition and componentwise multiplication with a scalar $s\in K$ (this is also multiplication with the constant polynomial $s$), the polynomial ring is a $K$-vector space.

## Example

We consider the inclusion $\mathbb {Q} \subseteq \mathbb {R}$ of the rational numbers inside the real numbers. Using the real addition and the multiplication of rational numbers with real numbers, we see that $\mathbb {R}$ is a $\mathbb {Q}$-vector space, as follows directly from the field axioms. This is a quite crazy vector space.

## Lemma

Let $K$ be a field, and let $V$ be a $K$-vector space. Then the following properties hold (for
$v\in V$
$s\in K$
* We have $0v=0$.
* We have $s0=0$.
* We have $(-1)v=-v$.
* If $s\neq 0$ and $v\neq 0$, then $sv\neq 0$.

### Proof

$\Box$
* ↑ The first four axioms, which are independent of $K$, mean that $(V,0,+)$ is a commutative group.
* ↑ Also for vector spaces, there is the convention that multiplication binds stronger than addition.