Title: Vectors, what even are they?
Author: Grant Sanderson
URL: https://www.3blue1brown.com/lessons/vectors (YouTube video + transcript)
Date: 2016-08-06 (published), 2025-03-13 (updated)
License: âUnder the standard YouTube license, you are free to embed the videos in your own site or blog, as long as it is not behind a paywall. In both cases, attribution is of course appreciatedâ. (from FAQ)
This post turned out to be more personal that I expected. I didnât try to retell Grantâs video nor take notes from it: I believe the transcript does both of these jobs good enough. Therefore expect to read a bunch of anecdotes with occasional references to other mathematical fields, terms, etc.
What I found interesting is three different definitions of a vector: I donât have much experience with linear algebra, but for some reason Iâm used to one vector definition at a time. To be more precise, I vaguely remember âvector is a directed line segmentâ from high school. (In this video itâs called âphysics student perspectiveâ, i.e. âarrows pointing in spaceâ (c).)
Thatâs why I was surprised to learn that matrices are vectors and vice versa â for some reason I prefer matrices over vectors.
Anyways, this brings us to the mathematicianâs perspective â physics student perspective plus computer science perspective âwhere “vector” is pretty much a fancy word for listâ. Itâs worth noting that the mathematicianâs definition is an example of Yoneda lemma:
[A] vector can be anything where there’s a sensible notion of adding two vectors and multiplying a vector by a number, operations that we’ll talk about later in this chapter.
For reference, Yoneda lemma, simply put, states that to describe an object one needs to describe all its relationships with other objects. (Yep, itâs âreferencing category theory concepts while studying way simpler subjectsâ time.)
Another explanation that caught my eye was:
Whenever you catch a number like \(2\), \(\dfrac{1}{3}\)â, or \(â1.5\) acting like this, scaling some vector [during multiplication and division by number operations, making the resulting vector shorter, longer, or changing its direction to the opposite one], you call it a “scalar”. In fact, throughout linear algebra, one of the main things numbers do is scale vectors, so it’s common to use the word scalar interchangeably with the word number.
To give another definition:
Scalar quantities or simply scalars are physical quantities that can be described by a single pure number (a scalar, typically a real number), accompanied by a unit of measurement, as in “10 cm” (ten centimeters). <âŠ> Scalars do not represent a direction.
â Scalar (physics) (Wikipedia)
I absolutely adore how reading Wikipedia can help to discover unexpected connections between ideas. I thought âoh, how interesting to define a vector as scaling thing in the first sentence and as just a number only in a second oneâ, and then I saw this:
The term “scalar” has origin in the multiplication of vectors by a unitless scalar, which is a uniform scaling transformation.
â Scalar (physics) (Wikipedia)
So scalar really started as a âthing which scales other thingsâ in the first place and âjust a numberâ in the second.