levo

Fundamentals of Data Structures

Vector Arithmetic and Geometry

  • 2 things to know
  • Paper 1

Overview

Recall questions on visualising a vector as an arrow, adding vectors, scalar multiplication and the dot product.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

Give the formula for the dot product of two vectors.

Key term

Give two applications of the dot product.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Explain how a vector can be visualised as an arrow.

    Model answer

    Draw the arrow so that it begins at the origin and finishes at the point whose coordinates are the vector's entries. The 2-vector [2.0, 3.0] over ℝ therefore becomes the arrow running from (0, 0) to (2.0, 3.0). Once drawn this way, the arrow's length carries the vector's magnitude and the way it points carries its direction. A 3-vector is pictured identically, with the arrow reaching from the origin out to a point in three-dimensional space.

  2. 2

    How are two vectors added?

    Model answer

    Entry by entry: the entry at each position of the result is the sum of the entries at that position in the two vectors. The vectors must have the same number of entries. For example [2, 3] + [4, 1] = [2 + 4, 3 + 1] = [6, 4].

  3. 3

    What does vector addition achieve geometrically?

    Model answer

    Translation. Adding a vector to a point moves that point by the amount the added vector describes, without changing its orientation or size. Adding [4, 1] to the point [2, 3] moves it 4 to the right and 1 up, giving [6, 4]. Drawn as arrows, the sum is found by placing the tail of the second arrow at the head of the first.

  4. 4

    How is a vector multiplied by a scalar?

    Model answer

    Every entry of the vector is multiplied by the scalar. For example 2 x [3, -1] = [6, -2], and 0.5 x [4, 8] = [2, 4].

  5. 5

    What does scalar-vector multiplication achieve geometrically?

    Model answer

    Scaling. Multiplying by a scalar changes the length of the arrow by that factor while leaving its direction along the same line: a scalar greater than 1 stretches it, a scalar between 0 and 1 shrinks it, and a negative scalar reverses the direction as well as scaling the length by the size of the scalar.

  6. 6

    Calculate 3 x [2, -1, 4] and then add [1, 1, 1].

    Model answer

    3 x [2, -1, 4] = [6, -3, 12]. Adding [1, 1, 1] gives [6 + 1, -3 + 1, 12 + 1] = [7, -2, 13].

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A driver is .
softwarehardwarestorage

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AThe integer 5 is 0101.
B0.75 is 1/2 + 1/4.
CThe fraction bits are 1100.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Head means the first single element of a non-empty list.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Fundamentals of Data Structures, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.