Module 2 was arithmetic. This one is about what vectors and matrices are actually for: proving geometrical facts, and undoing operations.
Vector geometry
Set up two base vectors — usually OA=a and OB=b — and write every other vector in terms of them.
The rule for travelling between points never changes:
AB=b−a
Midpoints. If M is the midpoint of AB, go to A first, then half way along AB:
OM=a+21(b−a)=a+21b−21a=21(a+b)
A tidy result worth knowing: the position vector of a midpoint is the average of the two position vectors.
Ratios. If P divides AB in the ratio 1:2, then P is one third of the way along:
OP=a+31(b−a)=32a+31b
Parallel lines. Two vectors are parallel when one is a scalar multiple of the other. If PQ=3a+6b and RS=a+2b, then PQ=3RS, so PQ is parallel to RS and three times as long.
Collinear points
Three points are collinear when they lie on one straight line. To prove it, show two vectors joining them are parallel and share a common point.
Show that A(1,2), B(3,5) and C(7,11) are collinear.
AB=(35)−(12)=(23)
BC=(711)−(35)=(46)=2(23)=2AB
So BC is parallel to AB, and both pass through B. Therefore A, B and C lie on the same straight line.
The determinant
For a 2×2 matrix,
A=(acbd)detA=ad−bc
Multiply the leading diagonal, multiply the other diagonal, subtract.
det(3512)=(3)(2)−(1)(5)=6−5=1
det(4325)=20−6=14
When the determinant is zero the matrix is singular and has no inverse:
det(2142)=4−4=0
The inverse of a 2 × 2 matrix
A−1=ad−bc1(d−c−ba)
Swap the leading diagonal, change the sign of the other two, divide by the determinant.
Find the inverse of (3512).
The determinant is 1, so
A−1=(2−5−13)
Check by multiplying:
(3512)(2−5−13)=(6−510−10−3+3−5+6)=(1001)✓
That last matrix is the identity, I — the matrix equivalent of the number 1, and the definition of an inverse is AA−1=I.
Another: (4325), with determinant 14:
A−1=141(5−3−24)
Solving equations with matrices
Any pair of simultaneous linear equations can be written as one matrix equation.
3x+y=115x+2y=18
becomes
(3512)(xy)=(1118)
In the form Ax=b, multiply both sides by A−1 on the left:
(xy)=A−1b=(2−5−13)(1118)
=(22−18−55+54)=(4−1)
So x=4 and y=−1. Check: 3(4)+(−1)=11 ✓ and 5(4)+2(−1)=18 ✓
Matrix transformations
A 2×2 matrix acting on a position vector transforms the point. These are the ones to know, all centred on the origin:
Transformation
Matrix
Reflection in the x-axis
(100−1)
Reflection in the y-axis
(−1001)
Reflection in y=x
(0110)
Rotation 90° anticlockwise
(01−10)
Rotation 180°
(−100−1)
Enlargement, scale factor k
(k00k)
Rotate (2,3) through 90° anticlockwise about the origin.