Linear algebra Flashcards
What are vectors
Vectors are mathematical objects used to represent quantities that have both magnitude and direction.
How are vectors represented
Represented by an ordered collection of numbers, typically arranged in a column or row format.
What are properties of vector
Magnitude
Direction
Addition
Scalar Multiplication
Subtraction
Zero Vector
Negative Vector
What is magnitude of a vector
Every vector has a magnitude, which represents the length or size of the vector. The magnitude of a vector is always a non-negative real number.
What is direction of a vector
Vectors have a direction, indicating the orientation or angle of the vector in space.
Addition of two vectors
Vectors can be added together using the parallelogram rule or the head-to-tail method. The sum of two vectors is another vector obtained by connecting the initial point of the first vector to the terminal point of the second vector.
Scalar multiplication of a vector
Vectors can be multiplied by scalars (real numbers). Scalar multiplication changes the magnitude of the vector without altering its direction.
Subtraction of vectors
Vector subtraction is equivalent to adding the negative of a vector. Subtracting a vector is the same as adding its negative.
What is zero vector
There exists a unique vector called the zero vector, denoted as
[0]
[0] , which has zero magnitude and undefined direction. Adding the zero vector to any vector results in the original vector.
What is negative vector
Every vector has a negative counterpart, obtained by reversing its direction while keeping its magnitude unchanged.
Formula for calculating magnitude
∣∣v∣|2= sqrt(v12+v22+…+vn**2)
Formula for calculating direction of a vector
Different vector operations
Vector Addition
Scalar Multiplication
Vector Subtraction
Dot Product
Cross Product
Dot product is also called as
Scalar product
Cross product is also called as
Vector product
What is dot product
The dot product between two vectors is based on the projection of one vector onto another. Let’s imagine we have two vectors a
and b, and we want to calculate how much of a
is pointing in the same direction as the vector b
. We want a quantity that would be positive if the two vectors are pointing in similar directions, zero if they are perpendicular, and negative if the two vectors are pointing in nearly opposite directions. We will define the dot product between the vectors to capture these quantities.
Another name for dot product or scalar product
Inner product
Formula for dot product
v⋅u=v1u1 + v2 u2 + …+ vnun
What does dot product geometrically represent
Geometrically, the dot product represents the projection of one vector onto another, scaled by the length of the other vector.
What is the norm of a vector
The norm of a vector, also known as its magnitude or length, represents the distance of the vector from the origin in the vector space.
Norm of a vector is vector or scalar?
Scalar
Euclidean Norm (L2 Norm):
||v||₂ = √(v₁² + v₂² + … + vₙ²)
Taxicab Norm (L1 Norm):
||v||₁ = |v₁| + |v₂| + … + |vₙ|
Maximum Norm (L∞ Norm):
||v||₊ = max(|v₁|, |v₂|, …, |vₙ|)
What is cross product?
The cross product, also known as the vector product, is a binary operation on two vectors in three-dimensional space. Unlike the dot product, which results in a scalar quantity, the cross product yields a vector that is perpendicular to both input vectors.
cross product formula
v × u = [v₂u₃ - v₃u₂, v₃u₁ - v₁u₃, v₁u₂ - v₂u₁]
What does cross product represent geometrically?
Geometrically, the magnitude of the vector from cross product represents the area of the parallelogram formed by the two input vectors, and its direction is perpendicular to this parallelogram. The right-hand rule is often used to determine the direction of the resulting vector.
What is the angle of a vector
The angle between two vectors can be determined using the dot product formula and trigonometric functions. Given two vectors v and u, the angle θ between them can be found using the formula:
θ=arccos(v⋅u/∣∣v∣∣×∣∣u∣∣ )