Vector Operations in ℝⁿ
Vectors in are lists of numbers you can add and scale component by component. This lesson builds the algebra and geometry of vector addition, scalar multiplication, and linear combinations, then pins down the properties that make these operations so predictable.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Let and . Compute the linear combination .
Compute the norm of the vector .
What you’ll be able to do
- Add vectors and multiply vectors by scalars in , , and general using components.
- Interpret vector addition and scaling geometrically (tip-to-tail, the parallelogram rule, stretching, and flipping).
- Write and evaluate linear combinations of vectors.
- State and apply the algebraic properties of vector operations: commutativity, associativity, and distributivity.
- Compute the norm (magnitude) of a vector in .
In your course
· MATH2015 · Linear Algebra & Probability- Definition 1.1Vector addition in ℝ²
- Definition 1.3Scalar multiplication
- Proposition 1.1Properties of vector addition
- Proposition 1.2Properties of scalar multiplication
- Remark 1.1Geometric meaning of scaling
Vectors in ℝⁿ: lists with direction
Intuition. A vector is two things at once: a list of numbers and an arrow. In you can picture the vector as an arrow from the origin that goes units right and units up. The same idea works in (an arrow in space) and in for any , where we can no longer draw it but the arithmetic is identical.
Formal definition. The space is the set of all ordered lists of real numbers: An element is called a vector, and each is its -th component (also called a coordinate or entry). The number is the dimension. We write vectors in bold, , and use plain letters like for scalars (ordinary real numbers).
The zero vector. The special vector whose every component is , is the zero vector. It is the arrow of length zero, and it plays the role of 'nothing to add.'
Equality. Two vectors are equal exactly when they live in the same and agree in every component: means for all .
Addition and scalar multiplication
Everything in this lesson is built from two moves, both performed one component at a time.
Vector addition. For and in the same , You can only add vectors of the same dimension.
Scalar multiplication. For a scalar and a vector , Every component is multiplied by .
Subtraction is just addition of a scaled vector: .
Geometry.
- Addition (tip-to-tail). To form , draw , then start at the tip of ; the sum is the arrow from the tail of to the new tip. Equivalently, the parallelogram rule says is the diagonal of the parallelogram whose sides are and .
- Scaling. Multiplying by stretches a vector, shrinks it, and flips it to point the opposite way while scaling its length by . Multiplying by collapses any vector to .
Linear combinations
A linear combination is what you get by scaling several vectors and adding the results. Given vectors in and scalars , the vector is a linear combination of with coefficients (or weights) .
This single idea is the engine of linear algebra. For example, every vector in is a linear combination of the standard basis vectors and , because Asking 'is a linear combination of these vectors, and with which coefficients?' turns into solving a system of linear equations — a theme you will meet again and again.
The algebra of vectors (and measuring length)
Because addition and scaling act one component at a time, they inherit the familiar arithmetic rules of real numbers. For all and all scalars :
- Commutativity: .
- Associativity: .
- Additive identity: .
- Additive inverse: , where .
- Distributivity over vector sums: .
- Distributivity over scalar sums: .
- Compatibility of scalars: , and .
These are precisely the axioms that make a vector space. Each one is proved by checking a single component and using the matching rule for real numbers.
Norm (magnitude). The norm of measures its length: In this is just the Pythagorean theorem: . Scaling obeys , matching the picture that multiplying by scales length by .
For , and a scalar : and .
For all and scalars : addition is commutative () and associative (); is the additive identity and the additive inverse; and scalars distribute: , , , and .
A linear combination of vectors is any vector of the form , where are scalars called the coefficients (or weights).
Worked examples
Let and in . Compute , and then find its norm .
- 1
Scale first. Multiply by the scalar , component by component: .
- 2
Add the second vector. Line up components and add: . So .
- 3
Compute the norm. Apply the formula .
Let and in . Compute .
Find scalars and such that .