User:IssaRice/Linear algebra/Type checking vector spaces

From Machinelearning

If V is an arbitrary vector space, it does not in general make sense to ask whether v∈V is a string of numbers. This is because we have not chosen a coordinate system.

If v∈Rn and a1,…,an∈R, then it does make sense to ask whether v=(a1,…,an).

If V is an arbitrary finite-dimensional real vector space, β=(v1,…,vn) is a basis for V, and a1,…,an∈R, then it does make sense to ask whether [v]β=(a1,…,an), or equivalently, to ask whether v=a1v1+⋯+anvn.

If v∈Rn and β=(v1,…,vn) is a basis for Rn, then v and [v]β have the same type, so it makes sense to ask whether v=[v]β. When are the two equal? If β=(e1,…,en) is the standard basis and v=(a1,…,an), then v=a1e1+⋯+anen so [v]β=(a1,…,an)=v. But the converse is not true: given v=[v]β, there can be many bases that give the same coordinates. For instance if β=(e1,e2) and β′=(e2,e1), and v=(1,1), then v=[v]β=[v]β′.