Vectors and the Plane
August 25, 20265 min readbeginner
Everything in this chapter is built out of one object, and it is a very simple one. This note introduces it and the three things you can do with it.
Everything in this chapter is built out of one object, and it is a very simple one. This note introduces it and the three things you can do with it. If you have met vectors before, skim to the last section, which sets up the notation the rest of the chapter uses.
01.A vector is a list of numbers
A vector is an ordered list of numbers. That is the entire definition.
Write . This is a vector with two entries, called its components. The number of components is the dimension. So is two-dimensional, is three-dimensional, and a list of numbers is a -dimensional vector.
The set of all two-dimensional vectors whose entries are real numbers is written . Similarly , and in general . The notation is doing exactly what it looks like: from Sets and Notation is the real numbers, and the exponent counts how many of them are in the list.
In two dimensions a vector has a picture. Read as an instruction: go three units right, then one unit up. That lands you at a point, and the vector is drawn as an arrow from the origin to it. The picture is genuinely helpful, and it is also the thing that stops being available in dimension , which is worth remembering every time this chapter draws something.
02.Adding vectors
To add two vectors, add their components separately. Nothing else happens.
Geometrically this is the instruction-following you would guess. Walk three right and one up, then from wherever you are walk one right and two up. You end at four right and three up.
Two things follow immediately and will be used constantly. The order does not matter, since as well. And the vector , called the zero vector, changes nothing when added.
03.Scaling vectors
To multiply a vector by a single number, multiply every component by it. A single number in this context is called a scalar, to distinguish it from a vector.
Geometrically, scaling by stretches the arrow to three times its length in the same direction. Scaling by flips it to point the opposite way:
Scaling by collapses any vector to .
Subtraction is these two operations combined. To compute , scale by and add:
04.Linear combinations
Now put both operations together, and you have the only construction this chapter actually needs.
Given two vectors and , and two scalars and , the vector
is called a linear combination of and . Scale each one, add the results.
Take and and work a few by hand.
With , , the combination is just .
With , :
With , :
With , :
Notice that last one. Allowing fractional scalars produced a point with fractional coordinates. Hold on to that observation, because the next note removes it and that removal is the entire subject of the chapter.
05.Bases
If you let and range over all real numbers, the combinations with and produce every single point in the plane. Not most of them. All of them.
That is worth checking rather than believing. Suppose you want to reach . The computation above already did it, with and . Suppose you want . Solving
gives from the first equation, so , meaning and . Fractional, but perfectly legal.
When a set of vectors can reach every point of the space by linear combination, and no vector in the set is redundant, the set is called a basis. The pair , is a basis of .
"No vector is redundant" has a precise name, linear independence, and in two dimensions it means exactly one thing: the two vectors do not lie along the same line. If were , which is , then every combination would stay on that one line and the plane would be unreachable.
The most familiar basis of is and , called the standard basis, because reaching needs only and the coefficients are the coordinates themselves.
Two facts to carry forward. A space has many different bases, not one. And the number of vectors in a basis is always the dimension, so every basis of has exactly two vectors.
The next note changes one word in the definition of linear combination, and the plane turns into something with gaps in it.