Definition

A vector is a list of real numbers.

Example

Elements are 1-indexed, and for column (vertical) vectors, the topmost value is 1st, for row (horizontal) vectors, the leftmost value is 1st.

In this class, is the notation for a vector.

Notation

is the set of all vectors of size 2.


is the set of all vectors of size .

Example

This is a zero vector, all entries in it are zeroes.

Interpretations of Vectors

  • List of numbers
  • Point
    • Ex. a vector of size 2 can be interpreted as coordinate points in a 2-dimensional plane.
    • size vectors can be used to represent -dimensional space/planes.
  • Arrow (note that different arrows may represent the same vector)
  • Displacements

To obtain a vector from point to , subtract the coordinates of from (this will give you the distance between each component of the coordinates). .

Operations with Vectors

Addition

If and are vectors of size , then you can add every corresponding values in vectors:

Note that you cannot add vectors of different sizes.

Adding Vectors as Arrows

To add two arrows as vectors, move the start of one arrow to the end of the other, and then connect the start of the first arrow to the end of the second arrow. (Essentially add the components of the vectors as you would normally)

Note that this creates a parallelogram.

Example of Adding Two -size Vectors

Example of Adding Two Vectors of Different Sizes

Multiplication by Scalars

If is a vector of size and is a real number, then you can multiple every value in by :

Multiplying Vectors as Arrows

To multiply vector (as an arrow) by a scalar , keep the direction and stretch the length by a factor of .

Note that if , we need to flip the direction of .

Comparing Directions of Vectors

Say are real, non-zero vectors.

  1. They have the same direction if there is a value such that
  2. They have the opposite direction if there is a value such that
  3. are parallel if 1 or 2 holds

Example

Are the following vectors parallel?

There is no real value that linearly scales the left vector to the right vector, thus the vectors are not parallel.

Linear Combinations of Vectors

Say we have a set of vectors and a set of real numbers .

Then is called a linear combination of with weights .

Span of a Vector

The span of a vector is the set of all possible linear combinations of the vector (think back to a Power Set from discrete math).

If in

If in two non-parallel vectors, then is a plane through .

Note that if in , non-zero, non-parallel, then

Example of Graph

What is the ?

The span() is the line through

Example

Dot Products of Vectors

Suppose you have two vectors of the same size,

This is a scalar value, not a vector.

Properties of Dot Products

Example

Norm/Length of a Vector

Example