Linear Algebra Theory Flashcards
What is a vector - mathematical interpretation
A vector is an ordered list of numbers
Number of elements in a vector is called
Dimensionality
What is a vector - geometric interpretation
A vector is a straight line with some length and some direction.
Vector and coordinate position overlap at
Standard position
What are the rules for vector addition or subtraction
The vectors to be added or subtracted must have same dimensions
What scales a vector up and down?
Scalar
Scalar is denoted by
greek letters - lambda, beta, alpha
Scalar stretches a vector when
the scalar value is greater than 1
Scalar flips a vector when
the scalar value is less than 1
when scalar value is 0
The vector is at origin
When a scalar is multiplied to a vector - it doesn’t change two things __________ and isn’t that notion contrary to what we know about when the scalar is negative?
- Direction and angle of the vector.
- Usually it is assumed the vector lies on a 1-D subspace that stretches in infinite direction.
What are the several ways of performing vector-vector multiplication?
- Hadamard multiplication
- Dot product
- Cross product
- Outer product
What is dot product?
Dot product provides a single number that provides the relationship information between two vectors.
Dot product is also called as
Scalar product
Mathematical notations for dot product
alpha = <a,b> = aTb = summation i = 1 to n ai*bi
Rules to perform dot product on two vectors
Both the vectors must have same dimensions.
What are the properties to which dot product is true
- Commutative
- Distributive
What are the operations in which the dimensionality of the two vectors must be equal
- Vector addition
- Vector subtraction
- Vector dot product
- Hadamard multiplication
What is commutative property in terms dot product?
a.b = b.a
What is distributive property in terms of dot product
a.(b+c) = (a.b)+(a.c)
For which properties is the dot product not true?
Associative property
What is associative property in terms of dot product?
a.(b.c) != (a.b).c
Definition of vector norm
Square root of the sum of each component squared.
Formula for vector norm
sqrt(vT. V)
What are the other names for vector norm
Vector length or vector magnitude.
Dot product - geometric interpretation
alpha = |a|.|b|.cos(theta(a,b))
How to get the angle between two vectors
theta = acos((a.b) or alpha/|a|.|b|)
Cosine is bound by
-1 and 1
If theta < 90 degrees then alpha or dot product is
> 90 degrees
If theta > 90 then alpha or dot product is
< 90 degrees
If theta is 90 degrees then alpha is ____________ and that vector is also called as _____________
0; orthogonal vector
If theta is 0 degrees then alpha is
|a||b|
If theta is 180 degrees then alpha is
- |a||b|
What is cauchy schwarz inequality?
the absolute value of the dot product between two vectors is less than or equal to the product of magnitudes of the two vectors
|aTb| <= ||a||*||b||
Is the dot product sign affected by scalar multiplication
Yes
Hadamard multiplication is also called as
Element wise multiplication
What is the rule for Hadamard or element-wise multiplication
Both the vectors must be of same dimension
Formula for outer product
outer(v,w) = v.wT
What is the rule for outer product
The vectors don’t have to be of same dimension.
The output of outer product is
matrix
What is the rule for vector cross product
Vector cross product can only be performed on 2 3-Dimensional vectors.
What is the output of vector product - dimensionality
3D Vector
Formula for cross product
[1;2;3] cross [a;b;c] = [2c-3b; 3a-1c; 1b-2a]
What does cross product represent
If two vectors v1 and v2 are used to represent a plane then the output vector v3 represent a vector perpendicular to that plane. (do fact check)
Complex numbers have angle with respect to
Positive real axis
Complex number format
a + bi
i^2 =
-1
i in complex number value is
sqrt(-1)
Complex numbers have ________ or _________ away from the origin of the complex plane
distance or magnitude
Hermitian transpose is also called as
Conjugate transpose
Hermitian transpose is performed for ________________
Complex vectors and complex matrices
The complex conjugate of a+bi
a-bi
Dot product between two complex vectors - v,w
vH. w or v*.W
Dot product between two complex vectors - v,w
vH. w or v*.W
What is a unit vector
A vector of length 1 is called unit vector.
How to normalize a vector?
mu = 1/norm(v)
For normalization
mu.v = normalized vector
norm(normalized vector) = 1
The magnitude of the dot product is _____ value of the dot product
absolute value of the dot product
What is dimensions
Dimension is the number of elements
What are fields
Field is a set of numbers on which addition, subtraction, multiplication and division are valid operations.
Example of fields -
Real numbers, complex numbers
Example of non-fields
Integers/counting numbers.
What is a subspace
A subspace is defined as the set of all vectors that can be created by taking the linear combination of some vector or set of vectors.