Let X be a set. A binary operation on X is a function X×X→X that maps each ordered pair of elements of X to an element of X.
A field F is a set with two binary operations, called addition a+b and multiplication a⋅b, that satisfy the field axioms for all a,b,c∈F:
- Associativity of addition and multiplication: a+(b+c)=(a+b)+c and a⋅(b⋅c)=(a⋅b)⋅c.
- Commutativity of addition and multiplication: a+b=b+a and a⋅b=b⋅a.
- Distributivity of multiplication over addition: a⋅(b+c)=(a⋅b)+(a⋅c).
- Additive and multiplicative identity: ∃0,1∈F with 0=1 such that a+0=a and a⋅1=a∀a∈F.
- Additive and multiplicative inverse: ∀a∈F∃−a∈F:a+(−a)=0 and ∀a∈F∖{0}∃a−1∈F:a⋅a−1=1.
Let F be a field. An element λ∈F is a scalar. The real numbers R and the complex numbers C are fields, and usually F=R or F=C.
Let F be a field and V be a set with a binary operation called addition u+v and a function called scalar multiplication F×V→V, written λ⋅u. The set V is a vector space over F if and only if the vector space axioms hold for all u,v,w∈V and all λ,μ∈F:
- Associativity of addition and scalar multiplication: u+(v+w)=(u+v)+w and λ⋅(μ⋅u)=(λμ)⋅u.
- Commutativity of addition: u+v=v+u.
- Distributivity of scalar multiplication over addition: (λ+μ)⋅u=λ⋅u+μ⋅u and λ⋅(u+v)=λ⋅u+λ⋅v.
- Additive identity: ∃0∈V:u+0=u.
- Scalar multiplicative identity: 1⋅u=u where 1 is the multiplicative identity of F.
- Additive inverse: ∃−u∈V:u+(−u)=0.
Let V be a vector space over the field F. An element v∈V is a vector. Usually V=Rn or V=Cn, the set of n-tuples v=(v1,…,vn) with v1,…,vn∈R or v1,…,vn∈C respectively, with element-wise addition and scalar multiplication.
Let V be a vector space over the field F. A subspace of V is a subset U⊆V that is itself a vector space over F under the addition and scalar multiplication of V. A subset of V that does not satisfy all of the vector space axioms is not a subspace.
Let V be a vector space over the field F, u1,…,un∈V and α1,…,αn∈F. The vector α1u1+…+αnun is a linear combination of u1,…,un with coefficients α1,…,αn.
Let V be a vector space over the field F and U={u1,…,un} be a finite subset of V. The vectors in U are linearly dependent if and only if at least one vector uk is a linear combination of the other vectors in U.
uk=i=1,i=k∑nαiui
Let V be a vector space over the field F and U={u1,…,un} be a finite subset of V. The vectors in U are linearly independent if and only if they are not linearly dependent. Equivalently, the vectors in U are linearly independent if and only if the only solution to α1u1+…+αnun=0 is α1=…=αn=0. An infinite subset U of V is linearly independent if and only if every finite subset of U is linearly independent.
Let V be a vector space over the field F and U be a subset of V. The set U spans V if and only if every vector in V is a linear combination of vectors in U.
Let V be a vector space over the field F and U be a subset of V. The set U is a basis of V if and only if U spans V and the vectors in U are linearly independent.
Let V be a vector space over the field F with a basis U. The dimension of V, written dim(V), is the number of vectors in U. Every vector space spanned by a finite set has a basis, and all bases of a vector space have the same number of vectors, so the dimension of a vector space is uniquely defined. A vector space with a finite basis is finite dimensional.
Let F be a field, n≥1 and i∈{1,…,n}. The standard basis vector ei∈Fn is the n-tuple with 1 in position i and 0 elsewhere. The standard basis of Fn is the set {e1,…,en}, which is a basis of Fn, so dim(Fn)=n.