Vectors are mathematical objects that have both direction and magnitude. You can imagine a vector as an arrow pointing from one place to another in space. In math, we often write vectors as ordered lists of numbers, like \( \mathbf{v} = (2, 3) \) in two dimensions.
A vector space is a collection of vectors that you can add together and multiply by numbers (called scalars) to get new vectors. For a set to be a vector space, it must follow certain rules, such as:
Vectors are everywhere! They describe movement, forces, and even data in computer science.
Working with vectors is like working with arrows—combine them, stretch them, or shrink them!
Adding the vectors (1, 2) and (3, 4) gives (4, 6).
Doubling the vector (2, -5) makes (4, -10).
Vectors have magnitude and direction; vector spaces are collections of vectors that can be added and scaled.