Vectors as Data Packages
A vector is simply an ordered list of real numbers. It packages multiple quantities into a single object that we can manipulate mathematically. We write where is the -th entry (or component).
The key word is ordered — and are different vectors. The order of entries matters because each position corresponds to a specific quantity (the first entry might be "x-coordinate," the second "y-coordinate").
Vectors in are the fundamental objects of linear algebra. We'll see that operations on vectors — addition and scalar multiplication — have beautiful geometric interpretations that make abstract algebra visible.
Formal View
Why This Matters
Vectors encode any collection of related quantities as a single manipulable object.
- A 3D position in space is a vector
- An RGB color is a vector
- One second of audio at 44,000 Hz is a vector in
- A movie's ratings across 100 users is a vector in
Quiz
The vectors and are equal.
A vector in has how many entries?
Common Mistakes
- Thinking vectors must be "arrows" — they are just ordered lists of numbers.
- Confusing vectors (2 entries) with 2D points — they are mathematically the same thing.