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.
\vec{v} = \langle a, b\rangle \qquad |\vec{v}| = \sqrt{a^2 + b^2}
| The quantity | Scalar or vector | Why |
|---|---|---|
| Mass | Scalar | It has no direction |
| Velocity | Vector | 50 km/h north |
| Force | Vector | It pushes in a direction |
| Temperature | Scalar | A number alone |
Two worked examples
Example 1 — the length is Pythagoras
- Take \vec{v} = \langle 4, 3\rangle.
- The two components are the legs of a right triangle.
- So the length is the hypotenuse.
\sqrt{16 + 9} = 5 - No new formula was needed — only the theorem from Geometry.
Example 2 — why position does not matter
- A vector records a displacement, not a place.
- The arrow from (0,0) to (4,3) moves 4 right and 3 up.
- The arrow from (2,1) to (6,4) does exactly the same.
- So they are the same vector, drawn in two places.
- Only the components matter, and they are found by subtracting the endpoints.