this post was submitted on 28 Apr 2024
491 points (96.8% liked)

Science Memes

11004 readers
1993 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] chonglibloodsport@lemmy.world 27 points 6 months ago* (last edited 6 months ago) (2 children)

Not always. Any m by n matrix is also a vector. Polynomials are vectors. As are continuous functions.

A vector is an element of a vector space over a field. These are sets which have a few operations, vector addition and scalar multiplication, and obey some well known rules, such as the existence of a zero vector (identity for vector addition), associativity and commutativity of vector addition, distributivity of scalar multiplication over vector sums, that sort of thing!

These basic properties give rise to more elaborate concepts such as linear independence, spanning sets, and the idea of a basis, though not all vector spaces have a finite basis.

[–] muntedcrocodile@lemm.ee 2 points 6 months ago (1 children)

How are polynomials vectors how does that work?

Say u have polynomial f(x)= a + bx + cx^2 + dx^3

How is that represented as a vector? Or is it just one of those maths well technically things? Cos as far as I'm aware √g = π = e = 3.

Are differential eqs also vectors?

[–] chonglibloodsport@lemmy.world 10 points 6 months ago* (last edited 6 months ago) (1 children)

Your polynomial, f(x) = a + bx +cx^2 + dx^3, is an element of the vector space P3(R), the polynomial vector space of degree at most 3 over the reals. This space is isomorphic to R^4 and it has a standard basis: {1, x, x^2, x^3}. Then you can see that any such f(x) may be written as a linear combination of the basis vectors with real valued scalars.

As an exercise, you can check that P3(R) satisfies some of the properties of vector spaces yourself (existence of zero vector, associativity and commutativity of vector addition, distributivity of scalar multiplication over vector sums).

[–] i_love_FFT@lemmy.ml 1 points 6 months ago* (last edited 6 months ago) (2 children)

What happens to elements with powers of x above 3? Say we multiply the example vector above with itself. We would end up with a component d^2^x^6^, witch is not part of the P3R vector space, right?

Do we need a special multiplication rule to handle powers of x above 3? I've worked with quaternions before, which has " special" multiplication rules by defining i j and k.

[–] chonglibloodsport@lemmy.world 3 points 6 months ago* (last edited 6 months ago)

Multiplication of two vectors is not an operation defined on vector spaces. If you want that, you’re looking at either a structure known as an inner product space or an algebra over a field.

Note that the usual notion of polynomial multiplication doesn’t apply to polynomial vector spaces, nor does it agree with the definition of an inner product nor the bilinear product of an algebra.

[–] Crazazy@feddit.nl 1 points 6 months ago

That's only if you're working with the perspective of it being a polynomial. When you're considering the polynomial as a vector however, that operation simply doesn't exist

[–] Pulptastic@midwest.social 1 points 6 months ago (1 children)

Wouldn't N by M be a tensor? Magnitude and direction only need one entry per DOF.

[–] chonglibloodsport@lemmy.world 10 points 6 months ago* (last edited 6 months ago) (1 children)

Every vector is a tensor. Matrices are vectors because m by n matrices form vector spaces. Magnitude and direction have nothing to do with the definition of vectors which are just elements of vector spaces.

[–] Pulptastic@midwest.social 6 points 6 months ago (1 children)

All vectors are tensors but not vice versa. And every page/definition of vector I've seen references magnitude and direction, even the vector space page you linked.

It looks like "vector" commonly refers to geometric vectors which is what most folks in this thread are discussing.

Would N by M vectors be imaginary, where each DOF has real and imaginary components?

[–] chonglibloodsport@lemmy.world 4 points 6 months ago

Continuous functions on [0,1] are vectors. Magnitude and direction are meaningless in that vector space, usually called C[0,1]. Magnitude and direction are not fundamental properties of vectors.

n by m matrices (and the vector spaces to which they belong) are perhaps best thought of similarly to functions and function spaces. Not as geometric objects, but as linear transformations (which they are).