A vector is an element of a vector space. Its defining operations are vector addition and scalar multiplication. An arrow in a Euclidean space is one example; a polynomial or a function can also be a vector when the chosen vector space uses the corresponding addition and scalar multiplication.
For instance, the polynomials and belong to the real vector space of polynomials of degree at most two. Their vector addition gives , and scalar multiplication gives . In the monomial basis these are the coordinate vectors , , and respectively. The vectors are the polynomials; these tuples are their representations in a chosen basis.
A general vector space does not itself prescribe lengths or angles. A norm supplies a size, while an inner product also supplies angle information and orthogonality. The familiar arrow geometry below belongs to Euclidean vectors, where this extra structure is available.
New to topics? Read the docs here!