You’re trying Vidi. Read the lesson and solve the exercises — no account needed. Your progress here isn’t saved.
Create a free accountVector 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.
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 .
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 .
Worked example
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 .
Try it yourself
0/6 solvedLet and . Compute . Enter your answer as a vector (list of components).
Let . Compute the scalar multiple .
Let and . Compute the linear combination .
Compute the norm of the vector .
You add by drawing , placing the tail of at the tip of , and drawing the arrow from the tail of to the tip of . What is this geometric method called?
Find scalars and such that . Enter your answer as the vector .
Liked it?
This demo doesn’t save anything. Create a free account to keep your progress and sync it across devices.