Skip to content

Practice: What vectors actually are

Six short questions. Answer each one in your head (or on paper) before opening the collapsible. Trying to retrieve the answer is where the learning sticks; rereading feels productive but does much less.

1. Name the three views of a vector, and one strength of each.

Show answer

The physics view (an arrow with length and direction, good for intuition), the computer science view (an ordered list of numbers, good for computation and any dimension), and the math view (anything you can add and scale coherently, the most general, covering functions and polynomials and model states). One object, three angles.

2. The math view says a vector is defined by two operations. Which two?

Show answer

Addition (add two vectors and get another of the same kind) and scalar multiplication (scale one by a number and stay the same kind). If both behave coherently, the thing is a vector. These are not side topics; they are the definition.

3. Why does the textbook line “a vector is an element of a vector space” feel empty, and what is it actually naming?

Show answer

It feels empty because it deliberately refuses to commit to arrows or to lists. What it is naming is the one thing both views have in common: the two operations. It is the most general definition precisely because it drops the picture and keeps only what makes a vector a vector.

4. A programmer writes [1, 2] + [3, 4] and expects [1, 2, 3, 4]. What actually happens, and why?

Show answer

Vector addition is component by component, so the answer is [4, 6], not the concatenation [1, 2, 3, 4]. You add matching entries and the result keeps the same dimension. You can only add vectors of the same dimension in the first place.

5. Geometrically, what does multiplying a vector by 2 do? By 0.5? By -1?

Show answer

Multiplying by 2 stretches the arrow to twice its length, same direction. Multiplying by 0.5 squishes it to half length, same direction. Multiplying by -1 flips it to point the opposite way, same length. A scalar stretches, squishes, or flips; it never rotates the arrow off its line.

6. Someone says “the coordinates [3, 4] are the vector.” What is the subtle thing wrong with that?

Show answer

The coordinates are how the vector looks in one chosen coordinate system, not the vector itself. Pick different axes and the same arrow gets a different list of numbers. The vector is the underlying object; the coordinates are one description of it. Keeping the two separate heads off most of the confusion that comes later.

Try it yourself, part 1: move a vector between its two views

Section titled “Try it yourself, part 1: move a vector between its two views”

This is the lesson’s central skill, done with your own hands: translating between the arrow you picture and the list you compute with. About 8 minutes, pen and grid paper. No tools, no computer.

Step 1. Sketch each of these three lists as an arrow from the origin on grid paper:

  • a = [3, 1]
  • b = [-2, 2]
  • c = [0, -3]

Step 2. Now go the other way. Each arrow below is described in words; write it as a list:

  • an arrow that goes 4 right and 2 down
  • an arrow that goes 5 left, neither up nor down

Step 3. Take a = [3, 1] and b = [-2, 2]. Add them by adding components. Then, on your grid, draw a tip to tail (start at the origin), draw b starting from the tip of a, and read off where you land. Confirm the picture and the numbers agree.

Step 4. Compute 2 · a and (-1) · b by scaling each component, then say in words what each one does to the original arrow.

Check your work

Step 2. “4 right and 2 down” is [4, -2] (down is negative on the vertical axis). “5 left, neither up nor down” is [-5, 0].

Step 3. a + b = [3 + (-2), 1 + 2] = [1, 3]. Tip to tail: start at the origin, walk to (3, 1), then from there go 2 left and 2 up, landing at (1, 3). The endpoint matches the component sum exactly. That agreement, every time, is the whole reason vector addition is worth a name.

Step 4. 2 · a = [6, 2]: the same arrow stretched to twice its length, same direction. (-1) · b = [2, -2]: the same arrow as b but flipped to point the opposite way, same length.

If your numbers and your drawing disagreed, the usual culprit is drawing the second arrow from the origin instead of from the tip of the first. Tip to tail means the second arrow starts where the first one ends.

Try it yourself, part 2: pick the right frame

Section titled “Try it yourself, part 2: pick the right frame”

Here are five things. For each, decide which view (arrow, list, or the abstract add-and-scale view) is the most useful handle, and whether you could actually draw it. About 5 minutes.

  1. A GPS app stores how far you are from home as a pair, (change in latitude, change in longitude).
  2. A word embedding represents one word as a list of 300 numbers.
  3. A physics whiteboard shows a force pushing a block.
  4. A polynomial such as 3x² + 2x.
  5. An on-screen color stored as (red, green, blue).
Show answer
  1. Arrow or list, fully drawable. A 2D displacement is the textbook arrow-and-list case.
  2. List, not drawable. 300 numbers; no picture. The abstract view still applies: you can add two embeddings and scale one, which is exactly what models do.
  3. Arrow. Magnitude and direction are the whole point; this is the physics view in its native habitat.
  4. Abstract add-and-scale view. You can add two polynomials and scale one by a number and stay a polynomial, so it qualifies as a vector even though no arrow is in sight. This is the payoff of the math view.
  5. List, barely drawable. Three numbers locate a point in a color cube; you can sort of picture it in 3D, but you mostly compute with it as a list.

The skill this drill builds is the discernment itself: feeling which frame a problem wants. Once you can do that on sight, you have the one capability this lesson is for.

Ten cards. Click any card to reveal the answer. Use the Print flashcards button to lay out the full set as one card per page, ready to print or save as a PDF for offline review.

Q. What are the three views of a vector?
A.

The physics view (an arrow with length and direction), the computer science view (an ordered list of numbers like [3, 4]), and the math view (anything you can add and scale coherently). One object seen from three angles.

Q. Which two operations define a vector?
A.

Addition (add two vectors, get another of the same kind) and scalar multiplication (scale one by a number, stay the same kind). In the math view these two operations are the definition, not side topics.

Q. Why does 'an element of a vector space' feel empty, and what does it name?
A.

It refuses to commit to arrows or lists on purpose. What it names is the only thing both views share: the two operations, addition and scaling. Dropping the picture and keeping the operations is what makes it the most general view.

Q. What is the numeric rule for vector addition, and its geometric meaning?
A.

Numeric: add component by component, so [1, 2] + [3, 1] = [4, 3]. Geometric: tip to tail, walk the first arrow, then the second from its tip, and the endpoint is the sum. The number rule and the picture always agree.

Q. What does scalar multiplication do, numerically and geometrically?
A.

Numerically, multiply every component by the same number. Geometrically, it stretches the arrow (factor above 1), squishes it (below 1), or flips it (negative), without ever rotating it off its line.

Q. Is vector addition the same as list concatenation?
A.

No. [1, 2] + [3, 4] = [4, 6], not [1, 2, 3, 4]. You add matching components and the result keeps the same dimension. Vectors of different dimensions cannot be added at all.

Q. What is a scalar?
A.

A plain number whose role is to scale a vector: stretch it, squish it, or flip it, without rotating it off its line. The word earns itself; scaling is literally what it does.

Q. What is the difference between a vector and its coordinates?
A.

The vector is the underlying object. The coordinates are how it looks in one chosen coordinate system. Change the axes and the same arrow gets different numbers while the vector stays put.

Q. What connects the arrow view and the list view?
A.

A coordinate system. Lay down axes and a unit length, and every arrow gets a unique list of numbers, and every list becomes a unique arrow. The dictionary between geometry and numbers is exact.

Q. Why are high-dimensional vectors not mystical?
A.

A 300-dimensional vector is just a list of 300 numbers. You cannot draw it, but every rule from the 2D grid applies unchanged: add component by component, scale every component by the same number. “High-dimensional” means “long list,” not “magic.”