Vectors and Vector Algebra - The Mathematics of Direction and Magnitude
In our scientific and mathematical descriptions of the world, we encounter quantities of two distinct types. Some, like mass, temperature, and time, can be fully described by a single number—a magnitude. These are scalars. Others, however, such as force, velocity, and displacement, require not only a magnitude but also a direction to be fully understood. These are vectors. Vector algebra provides the powerful framework for manipulating these directional quantities, forming a cornerstone of geometry, physics, engineering, and computer graphics. This exploration delves into the essential concepts of vectors, from their representation in space to the rich algebra that governs their interactions.
Setting the Stage: 3D Space and Coordinates – Our Geometric Playground
To work with vectors, we first need a coordinate system to define position and direction.
-
Coordinate Axes and Planes in 3D Space: The standard three-dimensional Cartesian system consists of three mutually perpendicular axes, typically labeled x, y, and z. They intersect at a point called the origin (). These axes define three coordinate planes: the xy-plane, the yz-plane, and the xz-plane. The orientation usually follows the right-hand rule: if you curl the fingers of your right hand from the positive x-axis to the positive y-axis, your thumb points in the direction of the positive z-axis.
-
Coordinates of a Point in Space: Any point in this space is uniquely identified by an ordered triple of real numbers , representing its perpendicular distances from the yz, xz, and xy planes, respectively.
Distance between Two Points
The distance between two points and is given by the distance formula. Derivation: This formula is an extension of the Pythagorean theorem. Consider a rectangular box with opposite vertices at and . The lengths of the sides of the box are , , and . The length of the diagonal on the base of the box is . Now, consider the right triangle formed by this base diagonal, the vertical edge of length , and the main diagonal . Applying the Pythagorean theorem again gives , which leads directly to the formula.
Section Formula
This formula determines the coordinates of a point that divides the line segment joining two points and in a given ratio .
- Internal Division: If the point divides the segment internally:
- External Division: If the point divides the segment externally:
Derivation (Internal Division): This is derived using similar triangles. By dropping perpendiculars from , , and to one of the coordinate planes (e.g., the xy-plane), and then to one of the axes (e.g., the x-axis), one can form two similar right-angled triangles. The ratio of their corresponding sides will be . For the x-coordinate, this gives . Solving for yields . The same logic applies to the y and z coordinates.
The Stars of the Show: Vectors and Scalars – More than Just a Number
-
Scalar: A quantity that is fully described by a magnitude (a single real number) and a unit. Examples: mass, distance, speed, temperature.
-
Vector: A quantity that is described by both a magnitude and a direction. Examples: displacement, velocity, force, acceleration. Vectors are typically represented by an arrow () whose length indicates magnitude and whose orientation indicates direction.
-
Position Vector: A vector that originates from the origin and terminates at a point is called the position vector of that point, denoted .
-
Direction Cosines: The direction cosines of a non-zero vector are the cosines of the angles () that the vector makes with the positive x, y, and z axes, respectively. They are usually denoted by . Property: For any vector, the sum of the squares of its direction cosines is always 1. Derivation: If a vector has components , then from the geometry of the vector and its projections on the axes, we have , , and . We know that . . . Dividing by gives .
The Vector Zoo: A Menagerie of Vector Types
- Zero (Null) Vector (): A vector with zero magnitude and an indeterminate direction.
- Unit Vector (): A vector with a magnitude of one. A unit vector in the direction of a non-zero vector is given by . The standard basis vectors are for the x, y, z axes.
- Coinitial Vectors: Two or more vectors having the same initial point.
- Equal Vectors: Two vectors are equal if they have the same magnitude and the same direction.
- Negative of a Vector: A vector having the same magnitude as a given vector but the opposite direction, denoted .
- Free Vectors: Vectors whose value depends only on length and direction, and are not fixed to a specific position in space.
- Localised Vectors: Vectors whose value depends on their line of action or point of application (e.g., force).
- Parallel Vectors: Two vectors are parallel if they have the same or opposite direction. For two non-zero vectors and , they are parallel if for some non-zero scalar .
- Like Vectors: Parallel vectors having the same direction ().
- Unlike Vectors: Parallel vectors having opposite directions ().
- Collinear Vectors: Vectors that lie along the same line or parallel lines. This is another term for parallel vectors.
- Coplanar Vectors: Three or more vectors are coplanar if they lie in the same plane or are parallel to the same plane.
Vector Algebra: The Rules of Engagement
- Vector Joining Two Points: The vector from point to point is given by:
- Components of a Vector: A vector can be expressed as a sum of its components along the coordinate axes:
- In 2D: . Magnitude .
- In 3D: . Magnitude .
- Addition of Vectors:
- Geometrically, vectors are added using the Triangle Law (placing them head-to-tail) or the Parallelogram Law (placing them tail-to-tail and taking the diagonal).
- Algebraically, addition is done component-wise: If and , then
- Properties: Commutative (), Associative (), has an additive identity (), and has an additive inverse ().
- (Triangle Inequality).
- (Reverse Triangle Inequality).
- Multiplication of a Vector by a Scalar: If is a scalar and is a vector, is a vector with magnitude and direction the same as if , and opposite to if .
Building with Vectors: Linear Combinations and Dependence
- Linear Combination: A vector is a linear combination of a set of vectors if it can be expressed as a sum of scalar multiples of those vectors: for some scalars .
- Linear Independence: A set of vectors is linearly independent if the only solution to the equation is . This means no vector in the set can be written as a linear combination of the others.
- Linear Dependence: A set of vectors is linearly dependent if it is not linearly independent. This means at least one vector in the set can be expressed as a linear combination of the others.
- A pair of collinear vectors is linearly dependent.
- A triad of coplanar vectors is linearly dependent.
- Theorems:
- If and be two non-collinear vectors, then every vector coplanar with and can be expressed in one and only one way as a linear combination ; and being scalars.
- If , and are non-coplanar vectors, then any vector can be uniquely expressed as a linear combination ; , and being scalars.
- If , and are coplanar vectors, then:
- Notes:
- Two collinear vectors are always linearly dependent.
- Two non-collinear non-zero vectors are always linearly independent.
- Three coplanar vectors are always linearly dependent.
- Three non-coplanar non-zero vectors are always linearly independent.
- More than three vectors are always linearly dependent.
- Three points with position vectors , and are collinear if and only if there exist scalars , and not all zero such that:
- and
- .
- Four points with position vectors , , and are coplanar if there exist scalars , , and (sum of any two is not zero) such that with .
Multiplying Vectors: Dot and Cross Products
There are two primary ways to multiply vectors, yielding either a scalar or another vector.
Scalar (Dot) Product ()
The dot product of two vectors results in a scalar quantity.
- Definition: , where is the angle between the vectors.
- Component Form: .
- Physical Interpretation: It represents the product of the magnitude of one vector and the magnitude of the projection of the other vector onto it. Widely used to calculate work done () and power ().
- Geometric Interpretation: The dot product gives a measure of how much one vector extends in the direction of another. If and are orthogonal (perpendicular), then and .
- Properties:
- Commutative:
- Distributive over addition:
- Positive-definiteness:
- Two non-zero vectors are orthogonal (perpendicular) if and only if .
- Cauchy-Schwarz Inequality: For any vectors and , . Equality holds if and only if and are parallel (or one of them is the zero vector).
- Triangle Inequality: For any vectors and , .
- Parallelogram Law: For any vectors and , .
Vector (Cross) Product ()
The cross product of two vectors results in a new vector.
- Definition: A vector whose magnitude is . Its direction is perpendicular to the plane containing and , determined by the right-hand rule.
- Component Form:
- Physical Interpretation: Used to calculate torque (), angular momentum (), and magnetic force ().
- Geometric Interpretation: The magnitude represents the area of the parallelogram formed by vectors and .
- Properties:
- Anti-commutative:
- Distributive over addition:
- Associative with scalar multiplication: for any scalar .
- Anti-associative: .
- Two non-zero vectors are parallel if and only if .
- Right-Hand Rule: To find the direction of , point your right thumb in the direction of and curl your fingers towards . Your thumb will point in the direction of the cross product.
- The unit vector in the direction of the cross product is given by:
Finding the Angle Between Two Vectors
The dot product provides the easiest way to find the angle between two vectors: Derivation of the Cosine Rule: For a triangle with sides represented by vectors such that , we can find the magnitude of . . Replacing the dot products with magnitudes: , which is the Law of Cosines.
Vector Decomposition: Resolving Vectors
It is often useful to break down a vector into components along specific directions.
Finding Components of a Vector along and Perpendicular to Vector
- Component along (Vector Projection): This is a vector parallel to whose magnitude is the scalar projection of onto . The scalar projection is . The vector component is this magnitude multiplied by the unit vector .
- Component Perpendicular to : This is simply the rest of vector after the parallel component is subtracted.
Resolving a Given Vector in the Direction of Given Two Orthogonal Vectors
If and are two orthogonal (perpendicular) unit vectors, then any vector that lies in the plane defined by and can be written as a sum of its projections onto them: In 3D, any vector can be resolved using three orthogonal unit vectors (like ).
3D Products: Scalar and Vector Triple Products
Scalar Triple Product (STP)
- Definition: The scalar triple product of three vectors is defined as . It is denoted as .
- Geometric Interpretation: The magnitude of the scalar triple product, , represents the volume of the parallelepiped with adjacent sides given by the vectors .
- Determinant Form:
- Properties:
- , i.e., position of the dot and the cross can be interchanged without altering the product.
- (where k is scalar)
- , and in that order form a right-handed system if , else they form a left-handed system if .
- The necessary and sufficient condition for three non-zero, non-collinear vectors , and to be coplanar is that .
- ( is to )
Vector Triple Product
- Definition: . The result is a vector.
- BAC-CAB Rule (Lagrange's Identity): This identity provides a way to expand the vector triple product: It's important to note that the cross product is not associative, i.e., .
The Other Side: Reciprocal System of Vectors
Given a set of three non-coplanar vectors (which can form a basis), their reciprocal system of vectors is defined as: where is the scalar triple product.
- Properties:
- A vector from the original set dotted with its corresponding reciprocal vector is 1: .
- A vector from the original set dotted with a non-corresponding reciprocal vector is 0: .
- The scalar triple product of the reciprocal system is the reciprocal of the scalar triple product of the original system: .
- The reciprocal of the reciprocal system is the original system.
- The orthogonal triad of vectors is self-reciprocal, meaning , , .
- , , and are non-coplanar if and only if their reciprocal vectors , , and are also non-coplanar.
This system is particularly useful in crystallography for describing crystal lattices and in physics for advanced mechanics and electromagnetism.
Key Takeaways: The Power and Utility of Vector Algebra
Vectors and the algebra that governs them provide an indispensable language for describing the physical world and solving geometric problems.
- Directional Quantities: Vectors elegantly capture quantities that possess both magnitude and direction, which are ubiquitous in science and engineering.
- Geometric Foundation: The 3D Cartesian coordinate system provides the stage for vector algebra, with fundamental formulas for distance and division of segments.
- Algebraic Operations: Vectors can be added, subtracted, and multiplied by scalars in a component-wise manner. Multiplication between vectors is defined through the scalar (dot) product and the vector (cross) product, each with distinct geometric and physical interpretations.
- Linear Dependence & Basis: The concepts of linear independence and dependence allow us to understand collinearity, coplanarity, and the idea of a basis for a vector space.
- Vector Products: The dot product is used to find angles and projections. The cross product gives a vector perpendicular to the original two and its magnitude relates to area. The scalar and vector triple products extend these concepts to three vectors, representing volume and providing useful algebraic identities.
- Resolving Vectors: Any vector can be broken down into components along orthogonal directions, a crucial technique for problem-solving.
- Broad Applicability: Vector analysis is fundamental to nearly all areas of physics (mechanics, electromagnetism, fluid dynamics), as well as computer graphics, engineering, and navigation.
Mastering vector algebra opens the door to a more profound and quantitative understanding of the spatial relationships and physical laws that govern our universe.