Vectors and Scalars


Vectors and Scalars

Corey
Today we’re meeting a new kind of mathematical object: the vector. When we work in higher-dimensional space, it helps to distinguish vectors from scalars. A scalar is simply a real number, such as zero, ten, or negative pi. In this course, when we say “scalar,” we mean a real number—not a complex or imaginary number.

Anna
And a vector is different because it carries more information than just a number. It has a magnitude, which is its length, and a direction. That’s why we often draw a vector as an arrow: the arrow’s length represents its magnitude, and the arrow points in its direction.

Corey
The arrow has a tail, where it begins, and a head, where it points. So the direction is understood as going from tail to head. When you write a vector by hand, a common notation is a letter with a little arrow above it, like vector v. In print, you may also see a bold letter, but the arrow notation is convenient for handwriting.

Anna
You’ll also see a special kind of vector called a unit vector. Its length is exactly one unit. A little hat over a vector symbol, such as v-hat, is often used to identify a unit vector. We’ll encounter those more later, but the key definition is simply: magnitude one.

Corey
Let’s make the scalar-versus-vector distinction concrete with familiar physical quantities: distance, displacement, speed, velocity, and acceleration. Distance is a scalar. If I tell you that I live fifteen miles from campus, you know how far away I am, but not whether I’m north, south, east, or west.

Anna
Displacement includes that missing directional information. Saying that something moved ten meters southeast gives both how far it moved and in what direction, so displacement is a vector. The contrast is useful: distance tells you an amount of travel, while displacement describes movement with direction.

Corey
Speed is also a scalar. If I say a car is traveling fifty-five miles per hour, I’ve given the rate but not the direction. Velocity combines speed with a direction, so velocity is a vector. It tells you how quickly something is moving and which way it’s moving.

Anna
And acceleration is a vector too, because it describes the rate of change of velocity. Since velocity is a vector, a change in either its magnitude or its direction can contribute to acceleration. For example, if you travel east, then turn northeast, then turn north, your direction is changing—and acceleration captures that change, even if you’re thinking mainly about the turns.

Corey
Now let’s connect arrows to points and coordinates. If P and Q are points, the vector from P to Q is written with an arrow over PQ. P sits under the tail, and Q sits under the head. That notation makes the direction clear: we’re traveling from P to Q.

Anna
A particularly important case is a vector that starts at the origin. The vector from the origin O to a point P is written with an arrow over OP, and it’s called the position vector of P. In other words, the position vector records the point’s location by drawing an arrow from the origin out to that point.

Corey
In two dimensions, we can describe a vector using its horizontal and vertical components. For example, moving three units left and one unit up gives the vector with coordinates negative three, one. We write that as angle-bracket negative three, one angle-bracket. Moving right and up are the positive x- and y-directions; moving left and down are the negative directions.

Anna
Some sources use parentheses instead of angle brackets for coordinates, and that’s another notation you may see. You may also see a vector written using i-hat and j-hat: negative three i-hat plus one j-hat. Here i-hat represents the horizontal direction and j-hat the vertical direction, so this notation separates the vector into its horizontal and vertical pieces.

Corey
Here’s a subtle but important point: a vector doesn’t have to stay anchored at one particular point. If you slide an arrow without changing its length or direction, it still represents the same vector. So two arrows are the same vector when they have both the same magnitude and the same direction—not merely when they start at the same place.

Anna
For example, a vector v with components two, three goes two units right and three units up. An arrow drawn elsewhere with the same two-unit horizontal and three-unit vertical movement represents that same vector. An arrow half as long does not, and an arrow with the same length but pointing the opposite way does not.

Corey
If we draw the vector from the origin to the point with coordinates two, three, then the head lands at that point. That’s the vector in standard position, and it is also the position vector of the point. Standard position is useful because the coordinates of the vector match the coordinates of its endpoint.

Anna
With those ideas in place, we can start doing arithmetic with vectors. We’ll look at each operation in two ways: algebraically, by asking what happens to the coordinates, and geometrically, by asking what happens to the arrows.

Corey
First is scalar multiplication: multiplying a vector by a real number. If a vector in three dimensions has coordinates l, m, n, then multiplying it by a scalar c gives the coordinates c times l, c times m, and c times n. You distribute the scalar to every coordinate. The same rule works in two dimensions and, more generally, in any dimension.

Anna
Take the vector one, three, and multiply it by negative two. The result is negative two, negative six. Geometrically, the new arrow is twice as long because the absolute value of the scalar is two, and it points in the opposite direction because the scalar is negative.

Corey
In general, the absolute value of c tells you the length scale: c times v has length equal to the absolute value of c times the length of v. If c is positive, the new vector points in the same direction as v. If c is negative, it points in the opposite direction. And if c is zero, every coordinate becomes zero, giving the zero vector at the origin.

Anna
Next, vector addition. You can add vectors when they belong to the same space—for instance, both are in R-two or both are in R-three. Add matching coordinates: x with x, y with y, and, in three dimensions, z with z.

Corey
For example, one, two plus three, one equals four, three. The resulting vector goes four units in the positive x-direction and three units in the positive y-direction. That coordinate calculation gives us the algebraic answer.

Anna
Geometrically, put the tail of the second vector at the head of the first. The sum runs from the starting tail to the final head. You can also reverse the order: the same two vectors can be traversed in either order and still get to the same endpoint.

Corey
That picture forms a parallelogram, which is why vector addition is described by the parallelogram law. The diagonal from the shared starting point gives the sum. The geometry and the coordinate rule are two ways of seeing the same result.

Anna
Finally, subtraction can be understood using the operations we already know. The vector b minus a is the same as b plus negative one times a. First flip a by multiplying it by negative one; that keeps its length the same but reverses its direction. Then add that reversed vector to b.

Corey
So for the geometric picture, draw b, then attach the tail of negative a at the head of b. The vector from the original starting point to the final head represents b minus a. That’s the basic idea behind vector subtraction, and it builds directly on scalar multiplication and vector addition.

Anna
So we’ve established the foundations: scalars are real numbers, vectors have magnitude and direction, and vectors can be represented by arrows and coordinates. We’ve also seen how to recognize physical vectors, how position vectors relate points to the origin, and how scalar multiplication, addition, and subtraction work both algebraically and geometrically.

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