Vector Basics
A vector is a mathematical object that has both magnitude (size) and direction. Unlike a scalar — which is just a single number like temperature or mass — a vector carries information about which way something points as well as how large it is. Vectors appear everywhere in science and engineering: the velocity of a moving car, the force of gravity on a book, and the displacement between two cities are all vector quantities. In two dimensions, a vector can be thought of as an arrow drawn in the coordinate plane, starting at some point and ending at another. In three dimensions, vectors extend naturally into space. Mathematically, we write a two-dimensional vector as an ordered pair or as a column matrix, where and are called the components of the vector along the - and -axes respectively. Vectors are the foundation of linear algebra and are essential for understanding topics ranging from matrix transformations to physics simulations. Mastering vector basics — what they are, how they are classified, and how to represent them — opens the door to a vast and powerful branch of mathematics.
- Representing a Vector
- Magnitude (Length) of a Vector
- Types of Vectors
- Standard Basis Vectors
- Direction Angle
Representing a Vector
A vector in is written as , where is the horizontal component and is the vertical component. Geometrically, the vector is drawn as an arrow from an initial point to a terminal point. If the initial point is and the terminal point is , then the component form is .
Magnitude (Length) of a Vector
The magnitude of a vector is its length, denoted or . By the Pythagorean theorem, . In three dimensions, . Magnitude is always a non-negative scalar.
Types of Vectors
Several special types of vectors are important. A zero vector has magnitude zero and no defined direction. A unit vector has magnitude exactly 1; any vector can be turned into a unit vector by dividing by its magnitude: . Equal vectors have the same magnitude and direction regardless of position. Opposite vectors have the same magnitude but exactly opposite directions, e.g., and . Parallel vectors point in the same or exactly opposite directions and are scalar multiples of each other: for some scalar .
Standard Basis Vectors
In , the standard basis vectors are (pointing in the positive -direction) and (pointing in the positive -direction). Any 2D vector can be written as a linear combination: . In , a third basis vector is added, so .
Direction Angle
The direction angle of a vector is the angle it makes with the positive -axis, measured counterclockwise. It satisfies , so (with quadrant adjustment). The vector can also be expressed as .
The Key Equation
- \|\mathbf{v}\| — Magnitude (same unit as components): The length of the vector; always a non-negative real number.
- a — Horizontal component (varies): The component of the vector along the x-axis.
- b — Vertical component (varies): The component of the vector along the y-axis.
Worked Example
Problem. Let and . Find the vector , its magnitude, and the corresponding unit vector.
Answer. The vector is ⟨4, 3⟩, its magnitude is 5, and the unit vector is ⟨4/5, 3/5⟩.
Origins · 1 minHermann Grassmann and how this was discovered
Grassmann developed the theory of vector spaces and linear algebra in his 1844 work 'Die lineale Ausdehnungslehre' (The Theory of Linear Extension), independently creating much of what we now call vector algebra. His ideas were far ahead of their time and are the foundation of modern linear algebra and vector analysis. Grassmann's mathematical masterpiece was so abstract and philosophically written that almost no mathematician of his era could understand it. He eventually gave up on mathematics and became a distinguished Sanskrit scholar instead.
Related Concepts
- Vector Addition and Scalar Multiplication — Once you know what vectors are, the natural next step is learning how to add them together and scale them — the two fundamental operations of linear algebra.
- Dot Product — The dot product uses vector components to compute angles between vectors and measure how much two vectors point in the same direction.
- Magnitude and Direction — A deeper exploration of how to compute and interpret the length and direction angle of any vector in 2D and 3D.
- Introduction to Matrices — Vectors can be represented as column matrices, connecting vector algebra directly to the broader world of matrix operations.