Vectors Flashcards
Is dot product distributive?
Yes
a(b+c) = ab + a*c
Is dot product associative?
No
a(bc) != (ab)c
What is a dot product?
Dot product is a way to multiply two vectors.
The result of the dot product is a scalar that represents relationship between two vectors
v*w = sum(vi + wi)
Give an algebraic definition of a vector
A vector is an ordered list of numbers (elements)
[1 2 3] != [3 2 1]
What is the term for the number of elements in a vector
Dimensionality
What is the dimensionality of a vector?
Number of elements in a vector
Column vectors vs row vectors
Column vectors are standing vectors:
| 1 |
| 2 |
| 3 |
Row vectors are “lazy” vectors or vectors that are lying down:
[1 2 3]
Geometric definition of a vector
A vector is a straight line with some length and some direction, specified by numbers in the vector.
What the starting point of the vector is called?
Tail
What the ending point of the vector is called?
Head
What’s the vector starting at the graph’s origin called?
A vector in standard position
Are two vectors with the same length and direction but with different starting points different or the same?
No, the starting point does not matter. As long as vectors have the same length and direction, they are considered identical.
What is the difference between a vector and a coordinate?
A coordinate is defined by numbers, and there can be only one point corresponding to it. A vector, on the other hand, is defined by its length and direction, meaning it can be positioned anywhere on the graph.
What a single number is called? And why?
Scalar, because vector-scalar multiplication (a vector multiplied by a scalar) can be think of as scaling vector up or down by given number (scalar)
In which special cases dot product is associative?
- When one of the vectors is zero vector
- When all vectors are equal