Basis, dimension
Norm, scalar product, orthogonality
Change of basis in , , and
Ask what is the minimal set of vectors needed to reach all other vectors in . This leads to the following:
Definition. A basis for a vector space is a set of vectors that are linearly independent and whose range is the entire vector space, , with
Example
Example
The notion of a basis allows a precise definition of dimension, i.e., “the size of a vector space”.
Definition. Two sets are said to have the same cardinality (intuitively, the same size), denoted as if there is some one-to-one function (a bijection) between and .
Definition. A set of the same cardinality as the subset of the naturals is said to be a finite set.
Definition. The dimension of a vector space is the cardinality of a basis of .
Note that the above sequence of definitions allows for definition of infinite-dimensional vector spaces, whose definition gets to be a bit technical, i.e., an infinite set is one that has a subset of cardinality , for any .
Vectors were introduced for quantities with both magnitude and direction.
The norm function extracts the magnitude of a vector
Definition. A function is a norm on vector space if for any vectors and any scalar
,
and
if and only if
(only the zero vector has zero norm)
(vectors can be
scaled)
(triangle
inequality)
Example. In the Euclidean vector space ,
is a norm (the Euclidean norm or the -norm).
The norm can be used to measure magnitude, but another tool is needed to measure direction, such as the relative orientation between two vectors.
Definition. A function is a scalar product over the vector space if , :
(symmetry of
relative orientation)
(linearity in first argument)
if .
Note that a scalar product can be used to define a norm through .
Example. In , is a scalar product. It can be computed through matrix multiplication as .
One special relative orientation between vectors is of great interest in linear algebra because it implies linear independence.
Definition. Vectors are said to be orthogonal if their scalar product is null, .
Orthogonal vectors are linearly independent. Consider and .
Take the scalar product of and : . Since it results that
Repeat for scalar product of and to find that
Since implies both and , are linearly independent.
The above framework can be extended to discuss relative orientation and orthogonality (and hence, linear independence) of functions
is the vector space of continuous, real-valued functions defined on ,
is a scalar product for
If the functions are said to be orthogonal and they are linearly independent
Example. are linearly independent in since
A vector from the Euclidean vector space is typically given in terms of its components with respect to the basis
Ask whether the vector can be expressed as a linear combination of another set of vectors , with coefficients .
A similar procedure can be used for other base changes for example from the basis to for . Consider