Comprehensive Guide to Unit 4: Vectors, Matrices, and Linear Transformations

Fundamentals of Plane Vectors

Vectors in Two Dimensions

A vector is a mathematical object that possesses both magnitude (length) and direction. In AP Precalculus, we primarily analyze vectors in a two-dimensional plane.

Vector Notation and Components

Vectors are often represented by directed line segments (arrows) or algebraic pairs.

  • Standard Form: v⃗=⟨a,b⟩\vec{v} = \langle a, b \rangle
    • aa is the horizontal component.
    • bb is the vertical component.
  • Unit Basis Vectors: v⃗=ai+bj\vec{v} = a\mathbf{i} + b\mathbf{j}, where i=⟨1,0⟩\mathbf{i} = \langle 1, 0 \rangle and j=⟨0,1⟩\mathbf{j} = \langle 0, 1 \rangle.

The structure of a vector resolved into components

Magnitude and Direction

Given a vector v⃗=⟨a,b⟩\vec{v} = \langle a, b \rangle:

  1. Magnitude (Length): Calculated using the Pythagorean theorem.
    ∣∣v⃗∣∣=a2+b2||\vec{v}|| = \sqrt{a^2 + b^2}
  2. Direction Angle (θ\theta): The angle the vector makes with the positive x-axis. tan⁡(θ)=ba\tan(\theta) = \frac{b}{a}
    • Note: You must adjust θ\theta based on the quadrant where (a,b)(a,b) lies.
Vector Arithmetic

We can perform arithmetic operations on vectors component-wise.

  • Vector Addition: u⃗+v⃗=⟨u<em>1+v</em>1,u<em>2+v</em>2⟩\vec{u} + \vec{v} = \langle u<em>1 + v</em>1, u<em>2 + v</em>2 \rangle
    • Geometrically: This follows the head-to-tail method (triangle rule) or parallelogram rule.
  • Scalar Multiplication: kv⃗=⟨ka,kb⟩k\vec{v} = \langle ka, kb \rangle
    • Scales the length by ∣k∣|k|.
    • If k<0k < 0, the direction reverses.

Vector-Valued Functions

A vector-valued function takes a scalar input (typically time, tt) and outputs a vector.

r⃗(t)=⟨f(t),g(t)⟩\vec{r}(t) = \langle f(t), g(t) \rangle

Motion Along a Curve

This concept ties directly to parametric equations. While parametric equations describe xx and yy separately, a vector-valued function describes the position vector pointing from the origin to the point (x(t),y(t))(x(t), y(t)) on the curve.

  • Input domain: The set of allowed tt values.
  • Output range: Variations of the position vector r⃗(t)\vec{r}(t).

Example:
If r⃗(t)=⟨t2,2t⟩\vec{r}(t) = \langle t^2, 2t \rangle for t≥0t \ge 0:

  • At t=1t=1, position is ⟨1,2⟩\langle 1, 2 \rangle.
  • At t=2t=2, position is ⟨4,4⟩\langle 4, 4 \rangle.

A graph showing position vectors tracing a path over time


Matrices and Matrix Operations

A matrix is a rectangular array of numbers arranged in rows and columns. A matrix with mm rows and nn columns has dimensions m×nm \times n.

Basic Operations
  1. Addition/Subtraction: Only possible if dimensions represent the exact same size. Add corresponding entries.
  2. Scalar Multiplication: Multiply every entry in the matrix by the scalar constant kk.
Matrix Multiplication

This is a non-commutative operation (order matters).

  • Condition: To multiply Matrix AA (m×nm \times n) by Matrix BB (n×pn \times p), the number of columns in AA must equal the number of rows in BB.
  • Result: The resulting matrix will have dimensions m×pm \times p.

If A=[ab cd] and B=[x y], then AB=[ax+by cx+dy]\text{If } A = \begin{bmatrix} a & b \ c & d \end{bmatrix} \text{ and } B = \begin{bmatrix} x \ y \end{bmatrix}, \text{ then } AB = \begin{bmatrix} ax + by \ cx + dy \end{bmatrix}

To find the entry in row ii and column jj of the product, find the dot product of row ii from the first matrix and column jj from the second matrix.


Linear Transformations and Matrices

Matrices can be viewed as functions that map (transform) vectors from one position to another. The input is a vector x⃗\vec{x}, and the function is the matrix multiplication T(x⃗)=Ax⃗T(\vec{x}) = A\vec{x}.

Geometric Interpretation on the Plane

For a 2×22 \times 2 matrix transforming a 2×12 \times 1 vector:

  • The Identity Matrix (II): [10 01]\begin{bmatrix} 1 & 0 \ 0 & 1 \end{bmatrix} leaves a vector unchanged.
  • Zero Matrix: Maps all vectors to ⟨0,0⟩\langle 0, 0 \rangle.
  • Dilation: [k0 0k]\begin{bmatrix} k & 0 \ 0 & k \end{bmatrix} scales the vector by factor kk.
  • Reflection (over x-axis): [10 0−1]\begin{bmatrix} 1 & 0 \ 0 & -1 \end{bmatrix} flips the y-coordinate.
  • Rotation (90° CCW): [0−1 10]\begin{bmatrix} 0 & -1 \ 1 & 0 \end{bmatrix} maps ⟨1,0⟩→⟨0,1⟩\langle 1, 0 \rangle \to \langle 0, 1 \rangle and ⟨0,1⟩→⟨−1,0⟩\langle 0, 1 \rangle \to \langle -1, 0 \rangle.

Visualizing how a unit square is transformed by a matrix


Matrices as Functions

Just as we analyze functions for inverses and domain, we analyze matrices similarly.

The Determinant

For a 2×22 \times 2 matrix A=[ab cd]A = \begin{bmatrix} a & b \ c & d \end{bmatrix}, the determinant is:

det⁡(A)=ad−bc\det(A) = ad - bc

Significance of the Determinant:

  1. Area Scale Factor: The absolute value ∣det⁡(A)∣|\det(A)| represents the factor by which the matrix scales the area of a region. If det⁡(A)=2\det(A) = 2, shapes become twice as large after transformation.
  2. Invertibility: If det⁡(A)=0\det(A) = 0, the matrix squashes the plane into a line or a point (loss of dimension). Such a matrix has no inverse (it is singular).
The Inverse Matrix

The inverse matrix A−1A^{-1} "undoes" the transformation of AA. It exists only if det⁡(A)≠0\det(A) \neq 0.

A−1=1ad−bc[d−b −ca]A^{-1} = \frac{1}{ad-bc} \begin{bmatrix} d & -b \ -c & a \end{bmatrix}

Property: A⋅A−1=IA \cdot A^{-1} = I (The Identity Matrix).

If we view a matrix as a function f(v⃗)=Av⃗f(\vec{v}) = A\vec{v}, then the inverse function is f−1(v⃗)=A−1v⃗f^{-1}(\vec{v}) = A^{-1}\vec{v}.


Common Mistakes & Pitfalls

  1. Matrix Multiplication Order: Students often think AB=BAAB = BA. This is false for matrices. Always maintain strict left-to-right order.
  2. Determinant Denominator: When calculating the inverse, remember to divide by the determinant (ad−bcad-bc). If you multiply by it, your result is wrong.
  3. Vector Direction (Quadrants): When finding θ=tan⁡−1(b/a)\theta = \tan^{-1}(b/a), the calculator gives the reference angle. You must visualize the point (a,b)(a,b) to determine the correct quadrant (e.g., adding 180∘180^\circ or π\pi if vectors are in Q2/Q3).
  4. Dimension Mismatch: Attempting to multiply a 2×22 \times 2 matrix by a 1×21 \times 2 (row) vector instead of a 2×12 \times 1 (column) vector. The inner dimensions must match.