Precalculus · Vectors and matrices

What a vector is

A magnitude and a direction together — not just a number.

An arrow you can move

Draw an arrow from (0,0) to (4,3), and another from (2,1) to (6,4). They sit in different places on the page. Is that one object drawn twice, or two different objects — and what would decide it?

A scalar is a plain number: a mass, a temperature, a price. A vector carries a direction as well: a velocity, a force, a displacement. Writing it as a pair of components makes the arithmetic ordinary.

Two components fix both the direction and the length.

\vec{v} = \langle a, b\rangle \qquad |\vec{v}| = \sqrt{a^2 + b^2}

The quantityScalar or vectorWhy
MassScalarIt has no direction
VelocityVector50 km/h north
ForceVectorIt pushes in a direction
TemperatureScalarA number alone

Two worked examples

Example 1 — the length is Pythagoras

  1. Take \vec{v} = \langle 4, 3\rangle.
  2. The two components are the legs of a right triangle.
  3. So the length is the hypotenuse. \sqrt{16 + 9} = 5
  4. No new formula was needed — only the theorem from Geometry.

Example 2 — why position does not matter

  1. A vector records a displacement, not a place.
  2. The arrow from (0,0) to (4,3) moves 4 right and 3 up.
  3. The arrow from (2,1) to (6,4) does exactly the same.
  4. So they are the same vector, drawn in two places.
  5. Only the components matter, and they are found by subtracting the endpoints.
The only question: does the quantity have a direction?