What is a Vector?
📐 Understanding Vectors: Diverse Perspectives & Core Operations
At its core, linear algebra is built upon the concept of a vector. While seemingly straightforward, the notion of a vector can be viewed from several distinct, yet interconnected, perspectives. Understanding these views is crucial for grasping the full scope of linear algebra.
🤔 Three Perspectives on Vectors
There are three primary ways to conceptualize vectors, each offering a unique lens:
➡️ The Physics Student Perspective
Vectors as Arrows: For a physics student, a vector is fundamentally an arrow pointing in space.
Defining Characteristics: A vector is defined by its length (magnitude) and the direction it's pointing.
Translatability: As long as the length and direction remain constant, the vector can be moved freely in space without changing its identity.
Dimensionality:
Two-dimensional vectors reside in a flat plane.
Three-dimensional vectors exist in the broader space we inhabit.
🔢 The Computer Science Student Perspective
Vectors as Ordered Lists of Numbers: From a computer science standpoint, vectors are ordered lists (or arrays) of numbers.
Example: House Prices: Imagine analyzing house prices with features like square footage and price. Each house could be represented as a pair of numbers, e.g.,
[square footage, price].Order Matters: The order of numbers in the list is significant. Swapping square footage and price would change the meaning.
Dimensionality: A vector's dimension corresponds to the length of the list. A list of two numbers is a two-dimensional vector. In this context, "vector" is often a sophisticated term for "list."
🧠 The Mathematician's Perspective
Generalization and Abstraction: The mathematician's view seeks to generalize both the arrow and list perspectives.
Defined by Operations: A vector is anything for which there is a sensible notion of:
Adding two vectors
Multiplying a vector by a number (scalar multiplication)
Abstract Nature: This view is highly abstract and emphasizes the properties of these operations rather than the specific representation of the vector itself. While powerful, it's often best to approach this abstract definition later, after building a concrete understanding.
🎯 Our Focus: Vectors as Rooted Arrows in Coordinate Systems
For a concrete and geometrically intuitive understanding, especially in linear algebra, we will primarily think of vectors as arrows rooted at the origin within a coordinate system.
🌎 Coordinate Systems
The Cartesian Plane (2D):
Axes: A horizontal x-axis and a vertical y-axis.
Origin: The point where the axes intersect, designated as the center of space and the root of all vectors.
Tick Marks: Arbitrary lengths define units along each axis.
Grid Lines: Extending tick marks forms a grid, useful for visualizing space.
Coordinates of a Vector: A pair of numbers that provides instructions to get from the vector's tail (at the origin) to its tip.
First Number (x-component): Movement along the x-axis. Positive is right, negative is left.
Second Number (y-component): Movement parallel to the y-axis. Positive is up, negative is down.
Notation: To distinguish vectors from points, coordinates are typically written vertically within square brackets, e.g., [xy].
One-to-One Correspondence: Every pair of numbers corresponds to one unique vector, and every vector corresponds to one unique pair of numbers.
🌌 Three Dimensions (3D)
Adding the Z-axis: A third z-axis is added, perpendicular to both the x and y-axes.
Ordered Triplet: Vectors are now associated with an ordered triplet of numbers, e.g., xyz.
First Number: Movement along the x-axis.
Second Number: Movement parallel to the y-axis.
Third Number: Movement parallel to the z-axis.
Unique Correspondence: Similar to 2D, every triplet defines a unique 3D vector, and every 3D vector has a unique triplet of coordinates.
➕ Vector Operations: The Heart of Linear Algebra
All topics in linear algebra revolve around two fundamental operations: vector addition and scalar multiplication.
🧮 Vector Addition
Geometric Definition (Tip-to-Tail Rule):
Place the **tail** of the second vector at the **tip** of the first vector.
The **sum** is a new vector drawn from the **tail of the first** to the **tip of the second**.
This "tip-to-tail" method is one of the few instances where we temporarily allow vectors to stray from the origin for visualization.
Intuitive Understanding (Movement): Each vector represents a "step" or movement with a specific distance and direction. Adding vectors means taking one step, then taking another step, and the sum represents the overall displacement from the starting point.
Numerical Definition: To add vectors numerically, you add their corresponding components.
If v1=[x1y1] and v2=[x2y2], then v1+v2=[x1+x2y1+y2].
Example: [12]+[3−1]=[1+32+(−1)]=[41].
📏 Scalar Multiplication
Geometric Definition (Scaling): Multiplying a vector by a number (called a scalar) performs a scaling operation.
Positive Scalar > 1: Stretches the vector, increasing its length. E.g., multiplying by 2 makes it twice as long.
Positive Scalar < 1: Squishes the vector, decreasing its length. E.g., multiplying by 1/3 makes it one-third the length.
Negative Scalar: Flips the vector's direction, then stretches or squishes it by the absolute value of the scalar. E.g., multiplying by -1.8 flips the direction and stretches it by a factor of 1.8.
Scalar: A scalar is simply a number that scales a vector. The terms "scalar" and "number" are often used interchangeably in linear algebra.
Numerical Definition: To multiply a vector by a scalar, you multiply each of its components by that scalar.
If v=[xy] and c is a scalar, then cv=[c⋅xc⋅y].
Example: 2⋅[12]=[2⋅12⋅2]=[24].
🤝 The Power of Translation Between Perspectives
While we emphasize thinking of vectors as arrows rooted at the origin, the true power of linear algebra lies in the ability to translate back and forth between the geometric (arrows) and numerical (lists of numbers) perspectives.
For Data Analysts: Provides a visual way to conceptualize lists of numbers, clarifying patterns in data and offering a global view of operations.
For Physicists & Graphics Programmers: Offers a language to describe and manipulate space using numbers, which can be processed by computers.
Animation Example: In mathematical animations, one first conceptualizes the spatial transformations (geometric view) and then uses linear algebra to represent these numerically for computer rendering (list view).
Ultimately, whether you see vectors as arrows with numerical representations or as lists of numbers with geometric interpretations, the interplay between these views is what makes linear algebra such a powerful and versatile tool. These fundamental vector concepts pave the way for understanding more advanced topics like span, bases, and linear dependence.

Ask anything
We've read this whole study set, so questions about it get the best answers.