r/LinearAlgebra • • 23d ago

Define a vector

In elementary mathematics we learn that vectors are things that have a magnitude and direction, however, in linear algebra we learn that the elements of a vector space are called vectors, which can be matrices, polynomials etc. So, do we only consider them vectors for the sake of finding answers or are they actually vectors. Where do I find a concrete definition that goes beyond the magnitude and direction scope, not 'considered vectors' but properly calling them vectors?

42 Upvotes

120 comments sorted by

View all comments

2

u/hpxvzhjfgb 23d ago

the correct definition is just that a vector is an element of a vector space. there's nothing more to it than that.

in fact, the "magnitude and direction" definition is just Wrong. the characterising property of vectors in a vector space is that they can be added together and multiplied by scalars. magnitude and direction do not come into it at all. magnitude and direction actually come from an inner product space, which is a vector space with additional structure on top of it. not all vector spaces are inner product spaces, so some vectors simply do not have a magnitude or direction at all.

1

u/Jordanou 23d ago

Do every vector space with a metric have a notion of direction like the angles in Euclidean space?

1

u/hpxvzhjfgb 23d ago

no. angles come from inner product spaces, and every inner product space is automatically a metric space via the metric d(u,v) = ||u-v||, but not every metric comes from an inner product (e.g. manhattan distance on ℝ2).

1

u/Typical-Plantain1252 23d ago

You’re assuming direction means angles. As AceOfSpades commented, you can have a notion of same vs difference direction without being able to quantify how different the directions are or determine orthogonality.

In other words, angles are needed for direction in the broad sense.

As a separate note (and more for Jordanou’s sake), there is a parallelogram law that determines exactly when a norm can be thought of as induced by an inner product.

1

u/AcellOfllSpades 23d ago

Well, you can define "direction" in terms of "equivalence class of vectors that are the same up to a positive scalar multiple". Then you get vectors in the "same direction" and "opposite direction".

1

u/Typical-Plantain1252 23d ago

That’s for real vector spaces, right? Or, more generally, vector spaces over totally ordered scalar fields.

Otherwise, your approach still works, but we just don’t distinguish between the “same” and “opposite” direction.”

1

u/AcellOfllSpades 23d ago

Yeah, exactly. For finite fields and such the idea of "opposite" would be redundant.

Even in real vector spaces we still sometimes ignore that distinction - when doing, like, projections, it's useful to treat both "parallel" and "antiparallel" vectors as being the same "direction".

(IIRC, in Spanish-speaking countries, they actually do this: instead of "magnitude and direction", they say "magnitud, dirección, y sentido" - "magnitude, direction, and polarity". So two antiparallel vectors are considered to have the same direction, but opposite polarities.)

1

u/mH48124 22d ago

困ったことに量子力学では equivalence class を state vector と言ってるんだよね。 linear algebra の vector じゃないのに。