Vectors and Dot Product - Lecture Notes
Vectors in R^2 and Basic Operations
Vector: A fundamental mathematical object characterized by both magnitude (length or size) and direction. It represents a displacement or a force without a fixed starting point (a "free vector").
In a 2D Cartesian coordinate system (R^2), a vector is commonly represented as an ordered pair , denoting its components along the x and y axes.
In a 3D Cartesian system (R^3), it is represented as .
Displacement Vector: The vector from an initial point P to a terminal point Q, denoted as .
It is computed by subtracting the coordinates of the initial point from the coordinates of the terminal point: . This operation determines the change in each coordinate required to move from P to Q.
Example: If and , then the displacement vector is: .
Convention: Vectors are typically written using angle-bracket notation, e.g., in R^2 or in R^3, to distinguish them from points . However, ordered pair notation is also commonly used interchangeably, especially when context makes it clear it's a vector.
Vector Representation and Components
A vector in R^2 can be uniquely expressed by its components as .
Similarly, a vector in R^3 is .
Component Form using Basis Vectors: Many vectors are also written as a linear combination of standard basis vectors, which are orthogonal (perpendicular) and unit length vectors aligned with the coordinate axes:
In R^2: The standard basis vectors are (unit vector along the positive x-axis) and (unit vector along the positive y-axis). Any vector can then be written as . This form emphasizes how much the vector extends in each dimension.
In R^3: The standard basis vectors are , , and . A vector can be written as . This decomposition simplifies many vector calculations.
Vector Operations
Vector Addition (Tip-to-Tail Rule / Parallelogram Rule):
For two vectors and , their sum is found by adding their corresponding components: .
Geometric Interpretation:
Tip-to-Tail: If you place the tail of vector at the head (tip) of vector , their sum is the vector from the tail of to the head of .
Parallelogram Rule: If and share the same initial point, their sum is the diagonal of the parallelogram formed by and . The other diagonal, , represents a different vector.
Properties:
Addition is commutative: . The order of addition does not affect the resultant vector.
Displacement vectors can be composed by adding displacements, representing consecutive movements.
Scalar Multiplication:
For a scalar (a real number) and a vector , scalar multiplication scales each component of the vector: \alpha v = \lt \alpha v1, \alpha v2 \gt \text{ (in R^2)} . Similarly for R^3: \alpha \lt v1, v2, v3 \gt = \lt \alpha v1, \alpha v2, \alpha v3 \gt \text{ (in R^3)} .
Geometric Interpretation:
The length of the new vector becomes times the length of the original vector ().
If \alpha > 0, the direction of the vector is preserved.
If \alpha < 0, the vector reverses its direction (points in the opposite way) while its length is scaled by .
Unit Vectors and Direction
A unit vector is a vector with a magnitude (length) of 1. It is primarily used to specify direction without implying a specific magnitude.
Any nonzero vector can be expressed as the product of its magnitude and a unit vector in its direction: , where is the unit vector (meaning ).
In R^2, a unit vector can be conveniently parametrized by an angle with respect to the positive x-axis: . This form provides a direct way to specify direction using polar coordinates.
This effectively separates the concept of direction from magnitude, which is crucial in many physics and engineering applications (e.g., normalized vectors in graphics).
Parametric Curves and Kinematics (Vector-Valued Functions)
A parametric curve describes the position of a point over time, typically represented by a vector-valued function. For example, in R^2, or in R^3, . Here, is the parameter, often representing time.
Velocity: The instantaneous velocity vector, , is the derivative of the position vector with respect to time: . It represents the instantaneous rate of change of position and is always tangent to the path of the curve at point . Its magnitude, , represents the instantaneous speed.
Displacement over an interval: For a time interval , the displacement, , is the vector from the initial position to the final position: .
Average Velocity: Over an interval , the average velocity is the total displacement divided by the time elapsed: .
Acceleration: The acceleration vector, , is the derivative of the velocity vector with respect to time: . It describes the rate of change of velocity, meaning it indicates how the speed, direction, or both are changing over time.
Force and Mass (Newtonian Context): According to Newton's Second Law, the net force acting on an object is equal to the product of its mass (a scalar) and its acceleration (a vector): . This equation explicitly links vector quantities (Force, Acceleration) with a scalar (mass).
Magnitude (Length) of a Vector
The magnitude or length of a vector is calculated using the Pythagorean theorem, representing the distance from the origin to the point (if the vector's tail is at the origin).
For a vector in R^2, its magnitude is given by: .
For a vector in R^3, its magnitude is: .
Example: For , its magnitude is: .
The magnitude is also known as the Euclidean norm of the vector, representing its length in Euclidean space.
Unit Vector and Direction of a Vector
As noted previously, any nonzero vector can be uniquely expressed by its magnitude and a unit vector pointing in the same direction: . Here, captures the pure directional aspect of .
The unit vector in the direction of is obtained by normalizing (dividing it by its own magnitude): , provided .
In R^2, a unit vector can also be characterized by the angle it makes with the positive x-axis: . This provides an alternative way to define the direction.
Dot Product (Inner Product) of Vectors
The dot product (also known as the scalar product or inner product) is an algebraic operation that takes two vectors and returns a single scalar quantity.
For vectors and in R^3, the dot product is calculated as the sum of the products of their corresponding components: .
In R^2: For and , the dot product is . The R^3 definition simply adds the third component product.
Algebraic Properties:
Commutative: . The order of the vectors does not affect the result.
Distributive (Bilinear): . The dot product distributes over vector addition.
Scalar Multiplication Associativity: . A scalar factor can be moved freely within the dot product calculation.
Property with magnitude: . The dot product of a vector with itself equals its magnitude squared.
Relationship to the Angle Between Vectors (Geometric Interpretation):
A crucial property of the dot product is its connection to the angle between two non-zero vectors. If and , then: , where is the angle between vectors and ().
This formula allows us to calculate the angle between two vectors if their magnitudes and dot product are known, irrespective of their coordinate representation.
Example: Given and :
Calculate the dot product: .
Calculate magnitudes: . .
Find the angle: .
Thus, . This is an obtuse angle.
Special Cases and Interpretations:
Perpendicular (Orthogonal) Vectors: If and are perpendicular, the angle between them is ( radians), so . Therefore, . This is a powerful test for orthogonality.
Acute Angle: If a \cdot b > 0, then \cos \phi > 0, implying is an acute angle (0 \le \phi < 90^{\circ}).
Obtuse Angle: If a \cdot b < 0, then \cos \phi < 0, implying is an obtuse angle (90^{\circ} < \phi \le 180^{\circ}).
Zero Vector: If either vector is the zero vector, the dot product is 0, and the angle between them is undefined.
Vector Projection: The dot product is also used to calculate the scalar projection of one vector onto another, which represents how much one vector extends in the direction of another. The projection of onto is given by .
Law of Cosines (Vector Form)
A fundamental identity linking vector magnitudes and the dot product is the vector form of the Law of Cosines:
.This formula relates the square of the magnitude of the difference between two vectors to the squares of their individual magnitudes and their dot product.
It mathematically describes the third side of a triangle formed by vectors , , and . By rearranging this equation, one can derive the angle formula: . Alternatively, substituting directly yields the familiar Law of Cosines.
Consequences:
If you know the magnitudes and , and the dot product , you can directly compute the angle between them without needing their explicit coordinates.
This identity provides a robust way to analyze geometric configurations using vector algebra.
Quick Computation Checks and Examples
Example Recap for Dot Product and Magnitude:
Given and :
Dot Product:
Magnitudes:
Cosine of angle:
Angle: (indicating an obtuse angle, consistent with a negative dot product).
Example for Magnitude in R^2:
For : .
Example for Displacement and Velocity in Kinematics:
If is a position vector-valued function, the instantaneous velocity .
Over an interval , the displacement is . The average velocity is , which is a vector pointing in the direction of the net displacement.
Summary of Key Formulas
Displacement:
Magnitude: For or ,
Unit Vector (Normalization): ; conversely,
Dot Product: For and (or with components),
Angle Between Vectors: For non-zero vectors and ,
Law of Cosines (Vector Form):
Unit Vector in R^2 (Parametric):
Ray of a Unit Direction: If , then can be written as , where is the unit vector pointing in the direction of .
Connections and Relevance
These concepts are foundational to analytic geometry, providing a powerful way to represent and manipulate geometric objects (points, lines, planes) using algebraic methods (vectors).
The dot product is particularly significant as it acts as a bridge between algebra and geometry, enabling detailed calculations related to angles, perpendicularity, and projections (e.g., finding the component of a force in a certain direction, determining work done by a force).
Magnitude, unit vectors, and direction are critical for normalization procedures in various fields, such as computer graphics (e.g., calculating light reflection and surface normals), physics (e.g., specifying force directions), and engineering (e.g., material stress analysis).
Kinematic quantities (displacement, velocity, acceleration) are inherently vector quantities, making this framework indispensable for analyzing motion in physics and mechanical engineering. They allow for a comprehensive understanding of how objects move and interact in space.
Ethical, Philosophical, and Practical Notes
The use of Cartesian coordinate representation is a conventional choice that greatly simplifies vector arithmetic and linear algebra. While other coordinate systems (e.g., cylindrical, spherical) exist, the core vector operations remain analogous.
A deep understanding of vectors fosters both intuitive qualitative thinking about physical phenomena (e.g., the direction of a force, the path of a projectile) and rigorous quantitative analysis in fields like fluid dynamics, electromagnetism, and structural analysis.
When interpreting dot product results and the angles they imply, remember that a result of zero signifies perpendicularity, a positive result implies an acute angle, and a negative result indicates an obtuse angle. These geometric interpretations are vital for problem-solving and accurate model interpretation in scientific and engineering contexts, guiding decisions and predictions. Vectors thus provide a language for describing spatial relationships and dynamic processes with precision.