A vector has both magnitude and direction . A scalar has only magnitude.
A vector in 2D can be written as a = ( a 1 a 2 ) \mathbf{a} = \begin{pmatrix} a_1 \\ a_2 \end{pmatrix} a = ( a 1 a 2 ) or as the Column vector ( a 1 , a 2 ) (a_1, a_2) ( a 1 , a 2 ) . In 3D: a = ( a 1 a 2 a 3 ) \mathbf{a} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix} a = a 1 a 2 a 3 .
Magnitude (Modulus):
∣ a ∣ = a 1 2 + a 2 2 |\mathbf{a}| = \sqrt{a_1^2 + a_2^2} ∣ a ∣ = a 1 2 + a 2 2 In 3D: ∣ a ∣ = a 1 2 + a 2 2 + a 3 2 |\mathbf{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2} ∣ a ∣ = a 1 2 + a 2 2 + a 3 2 .
Unit Vector:
a ^ = a ∣ a ∣ \hat{\mathbf{a}} = \frac{\mathbf{a}}{|\mathbf{a}|} a ^ = ∣ a ∣ a A unit vector has magnitude 1. The standard unit vectors are i = ( 1 0 0 ) \mathbf{i} = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} i = 1 0 0 j = ( 0 1 0 ) \mathbf{j} = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} j = 0 1 0 k = ( 0 0 1 ) \mathbf{k} = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} k = 0 0 1 .
Any vector in 3D can be written as a = a 1 i + a 2 j + a 3 k \mathbf{a} = a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k} a = a 1 i + a 2 j + a 3 k .
Example: Find the unit vector in the direction of a = ( 3 , − 4 ) \mathbf{a} = (3, -4) a = ( 3 , − 4 ) .
∣ a ∣ = 9 + 16 = 5 |\mathbf{a}| = \sqrt{9 + 16} = 5 ∣ a ∣ = 9 + 16 = 5
a ^ = ( 3 5 , − 4 5 ) \hat{\mathbf{a}} = \left(\frac{3}{5}, -\frac{4}{5}\right) a ^ = ( 5 3 , − 5 4 ) Addition:
( a 1 a 2 ) + ( b 1 b 2 ) = ( a 1 + b 1 a 2 + b 2 ) \begin{pmatrix} a_1 \\ a_2 \end{pmatrix} + \begin{pmatrix} b_1 \\ b_2 \end{pmatrix} = \begin{pmatrix} a_1 + b_1 \\ a_2 + b_2 \end{pmatrix} ( a 1 a 2 ) + ( b 1 b 2 ) = ( a 1 + b 1 a 2 + b 2 ) Vector addition is commutative (a + b = b + a \mathbf{a} + \mathbf{b} = \mathbf{b} + \mathbf{a} a + b = b + a ) and associative (( a + b ) + c = a + ( b + c ) ( \mathbf{a} + \mathbf{b}) + \mathbf{c} = \mathbf{a} + (\mathbf{b} + \mathbf{c}) ( a + b ) + c = a + ( b + c ) ).
Scalar Multiplication:
K ( a 1 a 2 ) = ( k a 1 k a 2 ) K\begin{pmatrix} a_1 \\ a_2 \end{pmatrix} = \begin{pmatrix} ka_1 \\ ka_2 \end{pmatrix} K ( a 1 a 2 ) = ( k a 1 k a 2 ) Scalar multiplication distributes over vector addition: k ( a + b ) = k a + k b k(\mathbf{a} + \mathbf{b}) = k\mathbf{a} + k\mathbf{b} k ( a + b ) = k a + k b .
Scalar Product (Dot Product):
a ⋅ b = a 1 b 1 + a 2 b 2 + a 3 b 3 = ∣ a ∣ ∣ b ∣ cos θ \mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + a_3 b_3 = |\mathbf{a}||\mathbf{b}|\cos\theta a ⋅ b = a 1 b 1 + a 2 b 2 + a 3 b 3 = ∣ a ∣∣ b ∣ cos θ Where θ \theta θ is the angle between a \mathbf{a} a and b \mathbf{b} b .
Proof of the dot product formula. By the cosine rule in the triangle formed by a \mathbf{a} a b \mathbf{b} b And a − b \mathbf{a} - \mathbf{b} a − b :
∣ a − b ∣ 2 = ∣ a ∣ 2 + ∣ b ∣ 2 − 2 ∣ a ∣ ∣ b ∣ cos θ |\mathbf{a} - \mathbf{b}|^2 = |\mathbf{a}|^2 + |\mathbf{b}|^2 - 2|\mathbf{a}||\mathbf{b}|\cos\theta ∣ a − b ∣ 2 = ∣ a ∣ 2 + ∣ b ∣ 2 − 2∣ a ∣∣ b ∣ cos θ Expanding the left side: ( a − b ) ⋅ ( a − b ) = ∣ a ∣ 2 − 2 a ⋅ b + ∣ b ∣ 2 (\mathbf{a} - \mathbf{b}) \cdot (\mathbf{a} - \mathbf{b}) = |\mathbf{a}|^2 - 2\mathbf{a} \cdot \mathbf{b} + |\mathbf{b}|^2 ( a − b ) ⋅ ( a − b ) = ∣ a ∣ 2 − 2 a ⋅ b + ∣ b ∣ 2 .
Comparing: − 2 a ⋅ b = − 2 ∣ a ∣ ∣ b ∣ cos θ -2\mathbf{a} \cdot \mathbf{b} = -2|\mathbf{a}||\mathbf{b}|\cos\theta − 2 a ⋅ b = − 2∣ a ∣∣ b ∣ cos θ Hence a ⋅ b = ∣ a ∣ ∣ b ∣ cos θ \mathbf{a} \cdot \mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta a ⋅ b = ∣ a ∣∣ b ∣ cos θ .
Example: Find the angle between a = ( 2 , 1 , − 1 ) \mathbf{a} = (2, 1, -1) a = ( 2 , 1 , − 1 ) and b = ( 1 , − 3 , 2 ) \mathbf{b} = (1, -3, 2) b = ( 1 , − 3 , 2 ) .
a ⋅ b = 2 ( 1 ) + 1 ( − 3 ) + ( − 1 ) ( 2 ) = 2 − 3 − 2 = − 3 \mathbf{a} \cdot \mathbf{b} = 2(1) + 1(-3) + (-1)(2) = 2 - 3 - 2 = -3 a ⋅ b = 2 ( 1 ) + 1 ( − 3 ) + ( − 1 ) ( 2 ) = 2 − 3 − 2 = − 3 ∣ a ∣ = 4 + 1 + 1 = 6 |\mathbf{a}| = \sqrt{4 + 1 + 1} = \sqrt{6} ∣ a ∣ = 4 + 1 + 1 = 6 ∣ b ∣ = 1 + 9 + 4 = 14 |\mathbf{b}| = \sqrt{1 + 9 + 4} = \sqrt{14} ∣ b ∣ = 1 + 9 + 4 = 14 cos θ = − 3 6 14 = − 3 84 = − 3 2 21 \cos\theta = \frac{-3}{\sqrt{6}\sqrt{14}} = \frac{-3}{\sqrt{84}} = \frac{-3}{2\sqrt{21}} cos θ = 6 14 − 3 = 84 − 3 = 2 21 − 3 θ = arccos ( − 3 2 21 ) ≈ 109.1 ° \theta = \arccos\left(\frac{-3}{2\sqrt{21}}\right) \approx 109.1° θ = arccos ( 2 21 − 3 ) ≈ 109.1° The position vector of point A A A relative to an origin O O O is O A → = a \overrightarrow{OA} = \mathbf{a} O A = a .
The displacement from A A A to B B B is A B → = b − a \overrightarrow{AB} = \mathbf{b} - \mathbf{a} A B = b − a .
Triangle law of vector addition: A B → + B C → = A C → \overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC} A B + B C = A C .
Example: Given O A → = ( 3 , 1 , − 2 ) \overrightarrow{OA} = (3, 1, -2) O A = ( 3 , 1 , − 2 ) and O B → = ( − 1 , 4 , 3 ) \overrightarrow{OB} = (-1, 4, 3) O B = ( − 1 , 4 , 3 ) Find A B → \overrightarrow{AB} A B and the distance A B AB A B .
A B → = O B → − O A → = ( − 1 − 3 , 4 − 1 , 3 − ( − 2 ) ) = ( − 4 , 3 , 5 ) \overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA} = (-1 - 3, 4 - 1, 3 - (-2)) = (-4, 3, 5) A B = O B − O A = ( − 1 − 3 , 4 − 1 , 3 − ( − 2 )) = ( − 4 , 3 , 5 ) A B = ∣ A B → ∣ = 16 + 9 + 25 = 50 = 5 2 AB = |\overrightarrow{AB}| = \sqrt{16 + 9 + 25} = \sqrt{50} = 5\sqrt{2} A B = ∣ A B ∣ = 16 + 9 + 25 = 50 = 5 2 a ⋅ a = ∣ a ∣ 2 \mathbf{a} \cdot \mathbf{a} = |\mathbf{a}|^2 a ⋅ a = ∣ a ∣ 2 a ⋅ b = 0 \mathbf{a} \cdot \mathbf{b} = 0 a ⋅ b = 0 if and only if a \mathbf{a} a is perpendicular to b \mathbf{b} b (for non-zero vectors)a ⋅ b = b ⋅ a \mathbf{a} \cdot \mathbf{b} = \mathbf{b} \cdot \mathbf{a} a ⋅ b = b ⋅ a (commutative)a ⋅ ( b + c ) = a ⋅ b + a ⋅ c \mathbf{a} \cdot (\mathbf{b} + \mathbf{c}) = \mathbf{a} \cdot \mathbf{b} + \mathbf{a} \cdot \mathbf{c} a ⋅ ( b + c ) = a ⋅ b + a ⋅ c (distributive)a ⋅ ( k b ) = k ( a ⋅ b ) \mathbf{a} \cdot (k\mathbf{b}) = k(\mathbf{a} \cdot \mathbf{b}) a ⋅ ( k b ) = k ( a ⋅ b ) Example: Determine the value of k k k for which the vectors a = ( k , 2 , − 1 ) \mathbf{a} = (k, 2, -1) a = ( k , 2 , − 1 ) and b = ( 3 , k , 4 ) \mathbf{b} = (3, k, 4) b = ( 3 , k , 4 ) are perpendicular.
a ⋅ b = 0 \mathbf{a} \cdot \mathbf{b} = 0 a ⋅ b = 0
3 k + 2 k − 4 = 0 3k + 2k - 4 = 0 3 k + 2 k − 4 = 0
5 k = 4 5k = 4 5 k = 4
K = 4 5 K = \frac{4}{5} K = 5 4 The position vector of a point that divides the line segment from A A A to B B B in the ratio m : n m : n m : n Is:
r = n a + m b m + n \mathbf{r} = \frac{n\mathbf{a} + m\mathbf{b}}{m + n} r = m + n n a + m b The midpoint of A B AB A B (when m = n = 1 m = n = 1 m = n = 1 ):
r = a + b 2 \mathbf{r} = \frac{\mathbf{a} + \mathbf{b}}{2} r = 2 a + b Example: Find the position vector of the point dividing the line from A ( 1 , 2 , 3 ) A(1, 2, 3) A ( 1 , 2 , 3 ) to B ( 7 , − 2 , 5 ) B(7, -2, 5) B ( 7 , − 2 , 5 ) in the ratio 2 : 1 2:1 2 : 1 .
r = 1 ⋅ ( 7 , − 2 , 5 ) + 2 ⋅ ( 1 , 2 , 3 ) 3 = ( 7 , − 2 , 5 ) + ( 2 , 4 , 6 ) 3 = ( 9 , 2 , 11 ) 3 = ( 3 , 2 3 , 11 3 ) \mathbf{r} = \frac{1 \cdot (7, -2, 5) + 2 \cdot (1, 2, 3)}{3} = \frac{(7, -2, 5) + (2, 4, 6)}{3} = \frac{(9, 2, 11)}{3} = (3, \frac{2}{3}, \frac{11}{3}) r = 3 1 ⋅ ( 7 , − 2 , 5 ) + 2 ⋅ ( 1 , 2 , 3 ) = 3 ( 7 , − 2 , 5 ) + ( 2 , 4 , 6 ) = 3 ( 9 , 2 , 11 ) = ( 3 , 3 2 , 3 11 ) Three points A A A , B B B , C C C are collinear if and only if A B → \overrightarrow{AB} A B is parallel to A C → \overrightarrow{AC} A C I.e., A B → = k A C → \overrightarrow{AB} = k\overrightarrow{AC} A B = k A C for some scalar k k k .
Example: Determine whether A ( 1 , 2 , − 1 ) A(1, 2, -1) A ( 1 , 2 , − 1 ) , B ( 3 , 5 , 1 ) B(3, 5, 1) B ( 3 , 5 , 1 ) And C ( 5 , 8 , 3 ) C(5, 8, 3) C ( 5 , 8 , 3 ) are collinear.
A B → = ( 2 , 3 , 2 ) \overrightarrow{AB} = (2, 3, 2) A B = ( 2 , 3 , 2 ) A C → = ( 4 , 6 , 4 ) = 2 ( 2 , 3 , 2 ) = 2 A B → \overrightarrow{AC} = (4, 6, 4) = 2(2, 3, 2) = 2\overrightarrow{AB} A C = ( 4 , 6 , 4 ) = 2 ( 2 , 3 , 2 ) = 2 A B .
Since A C → = 2 A B → \overrightarrow{AC} = 2\overrightarrow{AB} A C = 2 A B The points are collinear. B B B is the midpoint of A C AC A C .
A matrix is a rectangular array of numbers. An m × n m \times n m × n matrix has m m m rows and n n n columns.
A = ( a 11 a 12 ⋯ a 1 n a 21 a 22 ⋯ a 2 n ⋮ ⋮ ⋱ ⋮ a m 1 a m 2 ⋯ a m n ) A = \begin{pmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{pmatrix} A = a 11 a 21 ⋮ a m 1 a 12 a 22 ⋮ a m 2 ⋯ ⋯ ⋱ ⋯ a 1 n a 2 n ⋮ a mn Addition: C = A + B C = A + B C = A + B where c i j = a i j + b i j c_{ij} = a_{ij} + b_{ij} c ij = a ij + b ij (matrices must have the same dimensions).
Scalar Multiplication: k A kA k A has entries k a i j ka_{ij} k a ij .
Matrix Multiplication: If A A A is m × n m \times n m × n and B B B is n × p n \times p n × p Then C = A B C = AB C = A B is m × p m \times p m × p where:
C i j = ∑ k = 1 n a i k b k j C_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj} C ij = k = 1 ∑ n a ik b k j Why the dimensions must match. The entry c i j c_{ij} c ij is the dot product of row i i i of A A A with Column j j j of B B B . For this dot product to be defined, row i i i of A A A and column j j j of B B B must Have the same length, which means the number of columns of A A A equals the number of rows of B B B .
Matrix multiplication is associative (( A B ) C = A ( B C ) (AB)C = A(BC) ( A B ) C = A ( B C ) ) and distributive over addition (A ( B + C ) = A B + A C A(B+C) = AB + AC A ( B + C ) = A B + A C ), but not commutative (A B ≠ B A AB \neq BA A B = B A ).
Example: Calculate A B AB A B where A = ( 2 1 − 1 3 ) A = \begin{pmatrix} 2 & 1 \\ -1 & 3 \end{pmatrix} A = ( 2 − 1 1 3 ) and B = ( 1 4 0 − 2 ) B = \begin{pmatrix} 1 & 4 \\ 0 & -2 \end{pmatrix} B = ( 1 0 4 − 2 ) .
A B = ( 2 ( 1 ) + 1 ( 0 ) 2 ( 4 ) + 1 ( − 2 ) − 1 ( 1 ) + 3 ( 0 ) − 1 ( 4 ) + 3 ( − 2 ) ) = ( 2 6 − 1 − 10 ) AB = \begin{pmatrix} 2(1) + 1(0) & 2(4) + 1(-2) \\ -1(1) + 3(0) & -1(4) + 3(-2) \end{pmatrix} = \begin{pmatrix} 2 & 6 \\ -1 & -10 \end{pmatrix} A B = ( 2 ( 1 ) + 1 ( 0 ) − 1 ( 1 ) + 3 ( 0 ) 2 ( 4 ) + 1 ( − 2 ) − 1 ( 4 ) + 3 ( − 2 ) ) = ( 2 − 1 6 − 10 ) Verify non-commutativity:
B A = ( 1 ( 2 ) + 4 ( − 1 ) 1 ( 1 ) + 4 ( 3 ) 0 ( 2 ) + ( − 2 ) ( − 1 ) 0 ( 1 ) + ( − 2 ) ( 3 ) ) = ( − 2 13 2 − 6 ) ≠ A B BA = \begin{pmatrix} 1(2) + 4(-1) & 1(1) + 4(3) \\ 0(2) + (-2)(-1) & 0(1) + (-2)(3) \end{pmatrix} = \begin{pmatrix} -2 & 13 \\ 2 & -6 \end{pmatrix} \neq AB B A = ( 1 ( 2 ) + 4 ( − 1 ) 0 ( 2 ) + ( − 2 ) ( − 1 ) 1 ( 1 ) + 4 ( 3 ) 0 ( 1 ) + ( − 2 ) ( 3 ) ) = ( − 2 2 13 − 6 ) = A B Determinant:
det A = ∣ A ∣ = ∣ a b c d ∣ = a d − b c \det A = |A| = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc det A = ∣ A ∣ = a c b d = a d − b c The determinant measures the area scaling factor of the linear transformation represented by A A A . If det A = 0 \det A = 0 det A = 0 The transformation collapses the plane onto a line (or a point), and the matrix is not Invertible.
Inverse:
A − 1 = 1 det A ( d − b − c a ) A^{-1} = \frac{1}{\det A}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix} A − 1 = det A 1 ( d − c − b a ) The inverse exists if and only if det A ≠ 0 \det A \neq 0 det A = 0 .
Verification: A A − 1 = 1 a d − b c ( a b c d ) ( d − b − c a ) = 1 a d − b c ( a d − b c 0 0 a d − b c ) = I AA^{-1} = \frac{1}{ad-bc}\begin{pmatrix} a & b \\ c & d \end{pmatrix}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix} = \frac{1}{ad-bc}\begin{pmatrix} ad-bc & 0 \\ 0 & ad-bc \end{pmatrix} = I A A − 1 = a d − b c 1 ( a c b d ) ( d − c − b a ) = a d − b c 1 ( a d − b c 0 0 a d − b c ) = I .
Example: Find the inverse of A = ( 3 5 1 2 ) A = \begin{pmatrix} 3 & 5 \\ 1 & 2 \end{pmatrix} A = ( 3 1 5 2 ) .
det A = 3 ( 2 ) − 5 ( 1 ) = 6 − 5 = 1 \det A = 3(2) - 5(1) = 6 - 5 = 1 det A = 3 ( 2 ) − 5 ( 1 ) = 6 − 5 = 1
A − 1 = ( 2 − 5 − 1 3 ) A^{-1} = \begin{pmatrix} 2 & -5 \\ -1 & 3 \end{pmatrix} A − 1 = ( 2 − 1 − 5 3 ) A system A x = b A\mathbf{x} = \mathbf{b} A x = b has solution x = A − 1 b \mathbf{x} = A^{-1}\mathbf{b} x = A − 1 b (provided A A A is Invertible). If det A = 0 \det A = 0 det A = 0 The system has either no solutions or infinitely many solutions.
Example: Solve the system:
3 x + 5 y = 11 3x + 5y = 11 3 x + 5 y = 11 x + 2 y = 5 x + 2y = 5 x + 2 y = 5
( x y ) = ( 3 5 1 2 ) − 1 ( 11 5 ) = ( 2 − 5 − 1 3 ) ( 11 5 ) = ( 22 − 25 − 11 + 15 ) = ( − 3 4 ) \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 3 & 5 \\ 1 & 2 \end{pmatrix}^{-1}\begin{pmatrix} 11 \\ 5 \end{pmatrix} = \begin{pmatrix} 2 & -5 \\ -1 & 3 \end{pmatrix}\begin{pmatrix} 11 \\ 5 \end{pmatrix} = \begin{pmatrix} 22 - 25 \\ -11 + 15 \end{pmatrix} = \begin{pmatrix} -3 \\ 4 \end{pmatrix} ( x y ) = ( 3 1 5 2 ) − 1 ( 11 5 ) = ( 2 − 1 − 5 3 ) ( 11 5 ) = ( 22 − 25 − 11 + 15 ) = ( − 3 4 ) Solution: x = − 3 x = -3 x = − 3 , y = 4 y = 4 y = 4 .
2D Transformations:
Transformation Matrix Reflection in x x x -axis ( 1 0 0 − 1 ) \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} ( 1 0 0 − 1 ) Reflection in y y y -axis ( − 1 0 0 1 ) \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix} ( − 1 0 0 1 ) Rotation by θ \theta θ about origin ( cos θ − sin θ sin θ cos θ ) \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix} ( cos θ sin θ − sin θ cos θ ) Enlargement by scale factor k k k ( k 0 0 k ) \begin{pmatrix} k & 0 \\ 0 & k \end{pmatrix} ( k 0 0 k )
The determinant of a transformation matrix gives the area scale factor. A negative determinant Indicates the transformation involves a reflection.
Example: Rotate the point ( 3 , 2 ) (3, 2) ( 3 , 2 ) by 90 ∘ 90^\circ 9 0 ∘ anticlockwise about the origin.
( 0 − 1 1 0 ) ( 3 2 ) = ( − 2 3 ) \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}\begin{pmatrix} 3 \\ 2 \end{pmatrix} = \begin{pmatrix} -2 \\ 3 \end{pmatrix} ( 0 1 − 1 0 ) ( 3 2 ) = ( − 2 3 ) The image is ( − 2 , 3 ) (-2, 3) ( − 2 , 3 ) .
Example: Reflect the point ( 4 , − 1 ) (4, -1) ( 4 , − 1 ) in the y y y -axis.
( − 1 0 0 1 ) ( 4 − 1 ) = ( − 4 − 1 ) \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}\begin{pmatrix} 4 \\ -1 \end{pmatrix} = \begin{pmatrix} -4 \\ -1 \end{pmatrix} ( − 1 0 0 1 ) ( 4 − 1 ) = ( − 4 − 1 ) The image is ( − 4 , − 1 ) (-4, -1) ( − 4 , − 1 ) .
Example: Use the matrix ( 3 0 0 3 ) \begin{pmatrix} 3 & 0 \\ 0 & 3 \end{pmatrix} ( 3 0 0 3 ) to describe the Transformation.
This is an enlargement by scale factor 3 centred at the origin. The determinant is 9 > 0 9 > 0 9 > 0 Confirming it is a pure enlargement (no reflection). Every point ( x , y ) (x, y) ( x , y ) maps to ( 3 x , 3 y ) (3x, 3y) ( 3 x , 3 y ) .
The relationship with the identity matrix ( 1 0 0 1 ) \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} ( 1 0 0 1 ) is that This matrix represents an enlargement by scale factor 1 (i.e., the identity/no transformation).
The vector product of a = ( a 1 , a 2 , a 3 ) \mathbf{a} = (a_1, a_2, a_3) a = ( a 1 , a 2 , a 3 ) and b = ( b 1 , b 2 , b 3 ) \mathbf{b} = (b_1, b_2, b_3) b = ( b 1 , b 2 , b 3 ) is:
a × b = ∣ i j k a 1 a 2 a 3 b 1 b 2 b 3 ∣ = ( a 2 b 3 − a 3 b 2 a 3 b 1 − a 1 b 3 a 1 b 2 − a 2 b 1 ) \mathbf{a} \times \mathbf{b} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix} = \begin{pmatrix} a_2 b_3 - a_3 b_2 \\ a_3 b_1 - a_1 b_3 \\ a_1 b_2 - a_2 b_1 \end{pmatrix} a × b = i a 1 b 1 j a 2 b 2 k a 3 b 3 = a 2 b 3 − a 3 b 2 a 3 b 1 − a 1 b 3 a 1 b 2 − a 2 b 1 Properties:
a × b = − ( b × a ) \mathbf{a} \times \mathbf{b} = -(\mathbf{b} \times \mathbf{a}) a × b = − ( b × a ) (anti-commutative)∣ a × b ∣ = ∣ a ∣ ∣ b ∣ sin θ |\mathbf{a} \times \mathbf{b}| = |\mathbf{a}||\mathbf{b}|\sin\theta ∣ a × b ∣ = ∣ a ∣∣ b ∣ sin θ a × b \mathbf{a} \times \mathbf{b} a × b is perpendicular to both a \mathbf{a} a and b \mathbf{b} b a × b = 0 \mathbf{a} \times \mathbf{b} = \mathbf{0} a × b = 0 if a \mathbf{a} a and b \mathbf{b} b are parallelGeometric interpretation: ∣ a × b ∣ |\mathbf{a} \times \mathbf{b}| ∣ a × b ∣ is the area of the parallelogram with Sides a \mathbf{a} a and b \mathbf{b} b . The area of the triangle is 1 2 ∣ a × b ∣ \frac{1}{2}|\mathbf{a} \times \mathbf{b}| 2 1 ∣ a × b ∣ .
Example: Find a × b \mathbf{a} \times \mathbf{b} a × b where a = ( 1 , 2 , 3 ) \mathbf{a} = (1, 2, 3) a = ( 1 , 2 , 3 ) and b = ( 4 , − 1 , 2 ) \mathbf{b} = (4, -1, 2) b = ( 4 , − 1 , 2 ) .
a × b = ( ( 2 ) ( 2 ) − ( 3 ) ( − 1 ) ( 3 ) ( 4 ) − ( 1 ) ( 2 ) ( 1 ) ( − 1 ) − ( 2 ) ( 4 ) ) = ( 4 + 3 12 − 2 − 1 − 8 ) = ( 7 10 − 9 ) \mathbf{a} \times \mathbf{b} = \begin{pmatrix} (2)(2) - (3)(-1) \\ (3)(4) - (1)(2) \\ (1)(-1) - (2)(4) \end{pmatrix} = \begin{pmatrix} 4 + 3 \\ 12 - 2 \\ -1 - 8 \end{pmatrix} = \begin{pmatrix} 7 \\ 10 \\ -9 \end{pmatrix} a × b = ( 2 ) ( 2 ) − ( 3 ) ( − 1 ) ( 3 ) ( 4 ) − ( 1 ) ( 2 ) ( 1 ) ( − 1 ) − ( 2 ) ( 4 ) = 4 + 3 12 − 2 − 1 − 8 = 7 10 − 9 Verification: a ⋅ ( a × b ) = 1 ( 7 ) + 2 ( 10 ) + 3 ( − 9 ) = 7 + 20 − 27 = 0 \mathbf{a} \cdot (\mathbf{a} \times \mathbf{b}) = 1(7) + 2(10) + 3(-9) = 7 + 20 - 27 = 0 a ⋅ ( a × b ) = 1 ( 7 ) + 2 ( 10 ) + 3 ( − 9 ) = 7 + 20 − 27 = 0 . Confirmed perpendicular.
[ a , b , c ] = a ⋅ ( b × c ) [\mathbf{a}, \mathbf{b}, \mathbf{c}] = \mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}) [ a , b , c ] = a ⋅ ( b × c ) This equals the volume of the parallelepiped formed by vectors a \mathbf{a} a , b \mathbf{b} b And c \mathbf{c} c .
The three vectors are coplanar if and only if [ a , b , c ] = 0 [\mathbf{a}, \mathbf{b}, \mathbf{c}] = 0 [ a , b , c ] = 0 .
Properties:
[ a , b , c ] = [ b , c , a ] = [ c , a , b ] [\mathbf{a}, \mathbf{b}, \mathbf{c}] = [\mathbf{b}, \mathbf{c}, \mathbf{a}] = [\mathbf{c}, \mathbf{a}, \mathbf{b}] [ a , b , c ] = [ b , c , a ] = [ c , a , b ] (cyclic permutation)[ a , b , c ] = − [ b , a , c ] [\mathbf{a}, \mathbf{b}, \mathbf{c}] = -[\mathbf{b}, \mathbf{a}, \mathbf{c}] [ a , b , c ] = − [ b , a , c ] (swapping two vectors negates)Example: Show that the vectors ( 1 , 2 , − 1 ) (1, 2, -1) ( 1 , 2 , − 1 ) , ( 3 , 1 , 2 ) (3, 1, 2) ( 3 , 1 , 2 ) And ( 0 , 5 , − 5 ) (0, 5, -5) ( 0 , 5 , − 5 ) are coplanar.
b × c = ( 1 ⋅ ( − 5 ) − 2 ⋅ 5 2 ⋅ 0 − ( − 1 ) ⋅ ( − 5 ) 3 ⋅ 5 − 1 ⋅ 0 ) = ( − 5 − 10 0 − 5 15 − 0 ) = ( − 15 − 5 15 ) \mathbf{b} \times \mathbf{c} = \begin{pmatrix} 1 \cdot (-5) - 2 \cdot 5 \\ 2 \cdot 0 - (-1) \cdot (-5) \\ 3 \cdot 5 - 1 \cdot 0 \end{pmatrix} = \begin{pmatrix} -5 - 10 \\ 0 - 5 \\ 15 - 0 \end{pmatrix} = \begin{pmatrix} -15 \\ -5 \\ 15 \end{pmatrix} b × c = 1 ⋅ ( − 5 ) − 2 ⋅ 5 2 ⋅ 0 − ( − 1 ) ⋅ ( − 5 ) 3 ⋅ 5 − 1 ⋅ 0 = − 5 − 10 0 − 5 15 − 0 = − 15 − 5 15 a ⋅ ( b × c ) = 1 ( − 15 ) + 2 ( − 5 ) + ( − 1 ) ( 15 ) = − 15 − 10 − 15 = − 40 \mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}) = 1(-15) + 2(-5) + (-1)(15) = -15 - 10 - 15 = -40 a ⋅ ( b × c ) = 1 ( − 15 ) + 2 ( − 5 ) + ( − 1 ) ( 15 ) = − 15 − 10 − 15 = − 40 Wait, that is not zero. Let me recompute. b = ( 3 , 1 , 2 ) \mathbf{b} = (3, 1, 2) b = ( 3 , 1 , 2 ) , c = ( 0 , 5 , − 5 ) \mathbf{c} = (0, 5, -5) c = ( 0 , 5 , − 5 ) .
b × c = ( 1 ( − 5 ) − 2 ( 5 ) 2 ( 0 ) − 3 ( − 5 ) 3 ( 5 ) − 1 ( 0 ) ) = ( − 15 15 15 ) \mathbf{b} \times \mathbf{c} = \begin{pmatrix} 1(-5) - 2(5) \\ 2(0) - 3(-5) \\ 3(5) - 1(0) \end{pmatrix} = \begin{pmatrix} -15 \\ 15 \\ 15 \end{pmatrix} b × c = 1 ( − 5 ) − 2 ( 5 ) 2 ( 0 ) − 3 ( − 5 ) 3 ( 5 ) − 1 ( 0 ) = − 15 15 15 Wait, let me be careful. The cross product formula gives:
b × c = ( b 2 c 3 − b 3 c 2 , b 3 c 1 − b 1 c 3 , b 1 c 2 − b 2 c 1 ) \mathbf{b} \times \mathbf{c} = (b_2 c_3 - b_3 c_2, b_3 c_1 - b_1 c_3, b_1 c_2 - b_2 c_1) b × c = ( b 2 c 3 − b 3 c 2 , b 3 c 1 − b 1 c 3 , b 1 c 2 − b 2 c 1 ) = ( 1 ⋅ ( − 5 ) − 2 ⋅ 5 , 2 ⋅ 0 − 3 ⋅ ( − 5 ) , 3 ⋅ 5 − 1 ⋅ 0 ) = (1 \cdot (-5) - 2 \cdot 5, 2 \cdot 0 - 3 \cdot (-5), 3 \cdot 5 - 1 \cdot 0) = ( 1 ⋅ ( − 5 ) − 2 ⋅ 5 , 2 ⋅ 0 − 3 ⋅ ( − 5 ) , 3 ⋅ 5 − 1 ⋅ 0 ) = ( − 15 , 15 , 15 ) = (-15, 15, 15) = ( − 15 , 15 , 15 ) .
a ⋅ ( b × c ) = 1 ( − 15 ) + 2 ( 15 ) + ( − 1 ) ( 15 ) = − 15 + 30 − 15 = 0 \mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}) = 1(-15) + 2(15) + (-1)(15) = -15 + 30 - 15 = 0 a ⋅ ( b × c ) = 1 ( − 15 ) + 2 ( 15 ) + ( − 1 ) ( 15 ) = − 15 + 30 − 15 = 0 .
Confirmed coplanar. ■ \blacksquare ■
Equation of a plane: r ⋅ n = d \mathbf{r} \cdot \mathbf{n} = d r ⋅ n = d Where n \mathbf{n} n is the normal vector And d d d is a constant.
In Cartesian form: a x + b y + c z = d ax + by + cz = d a x + b y + cz = d .
The normal vector n = ( a , b , c ) \mathbf{n} = (a, b, c) n = ( a , b , c ) is perpendicular to every vector in the plane.
Angle between two planes: The angle between their normal vectors.
cos θ = ∣ n 1 ⋅ n 2 ∣ ∣ n 1 ∣ ∣ n 2 ∣ \cos\theta = \frac{|\mathbf{n}_1 \cdot \mathbf{n}_2|}{|\mathbf{n}_1||\mathbf{n}_2|} cos θ = ∣ n 1 ∣∣ n 2 ∣ ∣ n 1 ⋅ n 2 ∣ Angle between a line and a plane: If the line has direction d \mathbf{d} d and the plane has Normal n \mathbf{n} n The angle ϕ \phi ϕ between the line and the plane satisfies:
sin ϕ = ∣ d ⋅ n ∣ ∣ d ∣ ∣ n ∣ \sin\phi = \frac{|\mathbf{d} \cdot \mathbf{n}|}{|\mathbf{d}||\mathbf{n}|} sin ϕ = ∣ d ∣∣ n ∣ ∣ d ⋅ n ∣ Distance from a point to a plane:
D = ∣ n ⋅ r 0 − d 0 ∣ ∣ n ∣ D = \frac{|\mathbf{n} \cdot \mathbf{r}_0 - d_0|}{|\mathbf{n}|} D = ∣ n ∣ ∣ n ⋅ r 0 − d 0 ∣ Where r 0 \mathbf{r}_0 r 0 is the position vector of the point and d 0 d_0 d 0 is the constant in the plane Equation.
Example: Find the equation of the plane through ( 1 , 2 , − 1 ) (1, 2, -1) ( 1 , 2 , − 1 ) , ( 3 , 0 , 2 ) (3, 0, 2) ( 3 , 0 , 2 ) And ( 0 , 1 , 4 ) (0, 1, 4) ( 0 , 1 , 4 ) .
A B → = ( 2 , − 2 , 3 ) , A C → = ( − 1 , − 1 , 5 ) \overrightarrow{AB} = (2, -2, 3), \quad \overrightarrow{AC} = (-1, -1, 5) A B = ( 2 , − 2 , 3 ) , A C = ( − 1 , − 1 , 5 ) n = A B → × A C → = ( ( − 2 ) ( 5 ) − ( 3 ) ( − 1 ) ( 3 ) ( − 1 ) − ( 2 ) ( 5 ) ( 2 ) ( − 1 ) − ( − 2 ) ( − 1 ) ) = ( − 10 + 3 − 3 − 10 − 2 − 2 ) = ( − 7 − 13 − 4 ) \mathbf{n} = \overrightarrow{AB} \times \overrightarrow{AC} = \begin{pmatrix} (-2)(5) - (3)(-1) \\ (3)(-1) - (2)(5) \\ (2)(-1) - (-2)(-1) \end{pmatrix} = \begin{pmatrix} -10 + 3 \\ -3 - 10 \\ -2 - 2 \end{pmatrix} = \begin{pmatrix} -7 \\ -13 \\ -4 \end{pmatrix} n = A B × A C = ( − 2 ) ( 5 ) − ( 3 ) ( − 1 ) ( 3 ) ( − 1 ) − ( 2 ) ( 5 ) ( 2 ) ( − 1 ) − ( − 2 ) ( − 1 ) = − 10 + 3 − 3 − 10 − 2 − 2 = − 7 − 13 − 4 Using point ( 1 , 2 , − 1 ) (1, 2, -1) ( 1 , 2 , − 1 ) : − 7 x − 13 y − 4 z = − 7 ( 1 ) − 13 ( 2 ) − 4 ( − 1 ) = − 7 − 26 + 4 = − 29 -7x - 13y - 4z = -7(1) - 13(2) - 4(-1) = -7 - 26 + 4 = -29 − 7 x − 13 y − 4 z = − 7 ( 1 ) − 13 ( 2 ) − 4 ( − 1 ) = − 7 − 26 + 4 = − 29 .
7 x + 13 y + 4 z = 29 7x + 13y + 4z = 29 7 x + 13 y + 4 z = 29 Two non-parallel planes intersect in a line. To find the line of intersection:
The direction vector is d = n 1 × n 2 \mathbf{d} = \mathbf{n}_1 \times \mathbf{n}_2 d = n 1 × n 2 Find a point on both planes by setting one variable (e.g., z = 0 z = 0 z = 0 ) and solving the resulting 2 × 2 2 \times 2 2 × 2 system Example: Find the line of intersection of x + y + z = 6 x + y + z = 6 x + y + z = 6 and 2 x − y + z = 3 2x - y + z = 3 2 x − y + z = 3 .
Direction: d = ( 1 , 1 , 1 ) × ( 2 , − 1 , 1 ) = ( 1 + 1 , 2 − 1 , − 1 − 2 ) = ( 2 , 1 , − 3 ) \mathbf{d} = (1, 1, 1) \times (2, -1, 1) = (1+1, 2-1, -1-2) = (2, 1, -3) d = ( 1 , 1 , 1 ) × ( 2 , − 1 , 1 ) = ( 1 + 1 , 2 − 1 , − 1 − 2 ) = ( 2 , 1 , − 3 ) .
Set z = 0 z = 0 z = 0 : x + y = 6 x + y = 6 x + y = 6 and 2 x − y = 3 2x - y = 3 2 x − y = 3 . Adding: 3 x = 9 3x = 9 3 x = 9 So x = 3 x = 3 x = 3 , y = 3 y = 3 y = 3 .
Line: r = ( 3 , 3 , 0 ) + t ( 2 , 1 , − 3 ) \mathbf{r} = (3, 3, 0) + t(2, 1, -3) r = ( 3 , 3 , 0 ) + t ( 2 , 1 , − 3 ) .
Example: Find the shortest distance from the point ( 2 , 1 , 3 ) (2, 1, 3) ( 2 , 1 , 3 ) to the plane 2 x − y + 2 z = 5 2x - y + 2z = 5 2 x − y + 2 z = 5 .
n = ( 2 , − 1 , 2 ) \mathbf{n} = (2, -1, 2) n = ( 2 , − 1 , 2 ) , ∣ n ∣ = 4 + 1 + 4 = 3 |\mathbf{n}| = \sqrt{4 + 1 + 4} = 3 ∣ n ∣ = 4 + 1 + 4 = 3 .
D = ∣ 2 ( 2 ) − 1 ( 1 ) + 2 ( 3 ) − 5 ∣ 3 = ∣ 4 − 1 + 6 − 5 ∣ 3 = 4 3 D = \frac{|2(2) - 1(1) + 2(3) - 5|}{3} = \frac{|4 - 1 + 6 - 5|}{3} = \frac{4}{3} D = 3 ∣2 ( 2 ) − 1 ( 1 ) + 2 ( 3 ) − 5∣ = 3 ∣4 − 1 + 6 − 5∣ = 3 4 Example: Find the angle between the planes 2 x − y + 2 z = 5 2x - y + 2z = 5 2 x − y + 2 z = 5 and x + 3 y − z = 2 x + 3y - z = 2 x + 3 y − z = 2 .
n 1 = ( 2 , − 1 , 2 ) \mathbf{n}_1 = (2, -1, 2) n 1 = ( 2 , − 1 , 2 ) , n 2 = ( 1 , 3 , − 1 ) \mathbf{n}_2 = (1, 3, -1) n 2 = ( 1 , 3 , − 1 ) .
∣ n 1 ∣ = 3 |\mathbf{n}_1| = 3 ∣ n 1 ∣ = 3 , ∣ n 2 ∣ = 11 |\mathbf{n}_2| = \sqrt{11} ∣ n 2 ∣ = 11 .
n 1 ⋅ n 2 = 2 − 3 − 2 = − 3 \mathbf{n}_1 \cdot \mathbf{n}_2 = 2 - 3 - 2 = -3 n 1 ⋅ n 2 = 2 − 3 − 2 = − 3 .
cos θ = ∣ − 3 ∣ 3 11 = 1 11 ≈ 0.3015 \cos\theta = \frac{|-3|}{3\sqrt{11}} = \frac{1}{\sqrt{11}} \approx 0.3015 cos θ = 3 11 ∣ − 3∣ = 11 1 ≈ 0.3015 θ ≈ 72.5 ° \theta \approx 72.5° θ ≈ 72.5° det A = ∣ a b c d e f g h i ∣ = a ( e i − f h ) − b ( d i − f g ) + c ( d h − e g ) \det A = \begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = a(ei - fh) - b(di - fg) + c(dh - eg) det A = a d g b e h c f i = a ( e i − f h ) − b ( d i − f g ) + c ( d h − e g ) This is the cofactor expansion along the first row. You can expand along any row or column; choose The one with the most zeros for efficiency.
Properties of determinants:
det ( A B ) = det ( A ) det ( B ) \det(AB) = \det(A)\det(B) det ( A B ) = det ( A ) det ( B ) det ( A − 1 ) = 1 det ( A ) \det(A^{-1}) = \frac{1}{\det(A)} det ( A − 1 ) = d e t ( A ) 1 det ( A T ) = det ( A ) \det(A^T) = \det(A) det ( A T ) = det ( A ) Swapping two rows negates the determinant A row of zeros gives determinant zero If two rows are equal, the determinant is zero A^{-1} = \frac{1}{\det A}\mathrm{adj(A) Where \mathrm{adj(A) is the adjugate (transpose of the cofactor matrix).
The cofactor C i j C_{ij} C ij is ( − 1 ) i + j (-1)^{i+j} ( − 1 ) i + j times the determinant of the 2 × 2 2 \times 2 2 × 2 matrix obtained by Deleting row i i i and column j j j .
Example: Find the inverse of A = ( 1 0 2 − 1 3 1 2 1 0 ) A = \begin{pmatrix} 1 & 0 & 2 \\ -1 & 3 & 1 \\ 2 & 1 & 0 \end{pmatrix} A = 1 − 1 2 0 3 1 2 1 0 .
det A = 1 ( 0 − 1 ) − 0 ( 0 − 2 ) + 2 ( − 1 − 6 ) = − 1 + 0 − 14 = − 15 \det A = 1(0 - 1) - 0(0 - 2) + 2(-1 - 6) = -1 + 0 - 14 = -15 det A = 1 ( 0 − 1 ) − 0 ( 0 − 2 ) + 2 ( − 1 − 6 ) = − 1 + 0 − 14 = − 15 .
Cofactor matrix:
C = ( − 1 2 − 7 2 − 4 − 1 − 6 − 3 3 ) C = \begin{pmatrix} -1 & 2 & -7 \\ 2 & -4 & -1 \\ -6 & -3 & 3 \end{pmatrix} C = − 1 2 − 6 2 − 4 − 3 − 7 − 1 3 \mathrm{adj(A) = C^T = \begin{pmatrix} -1 & 2 & -6 \\ 2 & -4 & -3 \\ -7 & -1 & 3 \end{pmatrix} .
A − 1 = 1 − 15 ( − 1 2 − 6 2 − 4 − 3 − 7 − 1 3 ) = ( 1 15 − 2 15 2 5 − 2 15 4 15 1 5 7 15 1 15 − 1 5 ) A^{-1} = \frac{1}{-15}\begin{pmatrix} -1 & 2 & -6 \\ 2 & -4 & -3 \\ -7 & -1 & 3 \end{pmatrix} = \begin{pmatrix} \frac{1}{15} & -\frac{2}{15} & \frac{2}{5} \\ -\frac{2}{15} & \frac{4}{15} & \frac{1}{5} \\ \frac{7}{15} & \frac{1}{15} & -\frac{1}{5} \end{pmatrix} A − 1 = − 15 1 − 1 2 − 7 2 − 4 − 1 − 6 − 3 3 = 15 1 − 15 2 15 7 − 15 2 15 4 15 1 5 2 5 1 − 5 1 A scalar λ \lambda λ is an eigenvalue of A A A if there exists a non-zero vector v \mathbf{v} v such That:
A v = λ v A\mathbf{v} = \lambda\mathbf{v} A v = λ v The vector v \mathbf{v} v is called an eigenvector corresponding to λ \lambda λ .
Geometric interpretation: When A A A acts on v \mathbf{v} v It only stretches or compresses v \mathbf{v} v (by factor λ \lambda λ ) without changing its direction.
Finding Eigenvalues: Solve the characteristic equation det ( A − λ I ) = 0 \det(A - \lambda I) = 0 det ( A − λ I ) = 0 .
Example: Find the eigenvalues and eigenvectors of A = ( 4 1 2 3 ) A = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} A = ( 4 2 1 3 ) .
det ( 4 − λ 1 2 3 − λ ) = 0 \det\begin{pmatrix} 4 - \lambda & 1 \\ 2 & 3 - \lambda \end{pmatrix} = 0 det ( 4 − λ 2 1 3 − λ ) = 0 ( 4 − λ ) ( 3 − λ ) − 2 = 0 (4 - \lambda)(3 - \lambda) - 2 = 0 ( 4 − λ ) ( 3 − λ ) − 2 = 0 12 − 7 λ + λ 2 − 2 = 0 12 - 7\lambda + \lambda^2 - 2 = 0 12 − 7 λ + λ 2 − 2 = 0 λ 2 − 7 λ + 10 = 0 \lambda^2 - 7\lambda + 10 = 0 λ 2 − 7 λ + 10 = 0 ( λ − 5 ) ( λ − 2 ) = 0 (\lambda - 5)(\lambda - 2) = 0 ( λ − 5 ) ( λ − 2 ) = 0 λ = 5 \lambda = 5 λ = 5 or λ = 2 \lambda = 2 λ = 2 .
For λ = 5 \lambda = 5 λ = 5 : ( A − 5 I ) v = 0 (A - 5I)\mathbf{v} = \mathbf{0} ( A − 5 I ) v = 0 :
( − 1 1 2 − 2 ) ( v 1 v 2 ) = ( 0 0 ) \begin{pmatrix} -1 & 1 \\ 2 & -2 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} ( − 1 2 1 − 2 ) ( v 1 v 2 ) = ( 0 0 ) − v 1 + v 2 = 0 -v_1 + v_2 = 0 − v 1 + v 2 = 0 So v 1 = v 2 v_1 = v_2 v 1 = v 2 . Eigenvector: ( 1 1 ) \begin{pmatrix} 1 \\ 1 \end{pmatrix} ( 1 1 ) .
For λ = 2 \lambda = 2 λ = 2 : ( A − 2 I ) v = 0 (A - 2I)\mathbf{v} = \mathbf{0} ( A − 2 I ) v = 0 :
( 2 1 2 1 ) ( v 1 v 2 ) = ( 0 0 ) \begin{pmatrix} 2 & 1 \\ 2 & 1 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} ( 2 2 1 1 ) ( v 1 v 2 ) = ( 0 0 ) 2 v 1 + v 2 = 0 2v_1 + v_2 = 0 2 v 1 + v 2 = 0 So v 2 = − 2 v 1 v_2 = -2v_1 v 2 = − 2 v 1 . Eigenvector: ( 1 − 2 ) \begin{pmatrix} 1 \\ -2 \end{pmatrix} ( 1 − 2 ) .
Example: Find the eigenvalues and eigenvectors of ( 5 2 1 4 ) \begin{pmatrix} 5 & 2 \\ 1 & 4 \end{pmatrix} ( 5 1 2 4 ) .
det ( 5 − λ 2 1 4 − λ ) = ( 5 − λ ) ( 4 − λ ) − 2 = λ 2 − 9 λ + 18 = 0 \det\begin{pmatrix} 5 - \lambda & 2 \\ 1 & 4 - \lambda \end{pmatrix} = (5 - \lambda)(4 - \lambda) - 2 = \lambda^2 - 9\lambda + 18 = 0 det ( 5 − λ 1 2 4 − λ ) = ( 5 − λ ) ( 4 − λ ) − 2 = λ 2 − 9 λ + 18 = 0 ( λ − 6 ) ( λ − 3 ) = 0 (\lambda - 6)(\lambda - 3) = 0 ( λ − 6 ) ( λ − 3 ) = 0 λ = 6 \lambda = 6 λ = 6 or λ = 3 \lambda = 3 λ = 3 .
For λ = 6 \lambda = 6 λ = 6 : ( − 1 2 1 − 2 ) v = 0 \begin{pmatrix} -1 & 2 \\ 1 & -2 \end{pmatrix}\mathbf{v} = \mathbf{0} ( − 1 1 2 − 2 ) v = 0 Giving v 1 = 2 v 2 v_1 = 2v_2 v 1 = 2 v 2 . Eigenvector: ( 2 1 ) \begin{pmatrix} 2 \\ 1 \end{pmatrix} ( 2 1 ) .
For λ = 3 \lambda = 3 λ = 3 : ( 2 2 1 1 ) v = 0 \begin{pmatrix} 2 & 2 \\ 1 & 1 \end{pmatrix}\mathbf{v} = \mathbf{0} ( 2 1 2 1 ) v = 0 Giving v 1 = − v 2 v_1 = -v_2 v 1 = − v 2 . Eigenvector: ( 1 − 1 ) \begin{pmatrix} 1 \\ -1 \end{pmatrix} ( 1 − 1 ) .
If an n × n n \times n n × n matrix A A A has n n n linearly independent eigenvectors, it can be diagonalised: A = P D P − 1 A = PDP^{-1} A = P D P − 1 Where D D D is a diagonal matrix containing the eigenvalues and P P P has the Eigenvectors as columns.
Applications:
Computing A k = P D k P − 1 A^k = PD^kP^{-1} A k = P D k P − 1 is efficient because D k D^k D k is trivial (just raise diagonal entries to power k k k ). Solving systems of differential equations. See the examples integrated throughout the sections above.
Vectors are arrows in space: A vector is like an arrow — it has a direction and a length. The direction tells you where it points, and the length (magnitude) tells you how far. Vectors are essential for describing anything that has both direction and size: force, velocity, acceleration, displacement.
Why it matters: Vectors are the language of physics and engineering. They describe forces on structures, motion of objects, fields in space, and transformations in computer graphics. Understanding vector operations (addition, dot product, cross product) is fundamental to these fields.
The key insight: The dot product measures how aligned two vectors are (parallel = maximum, perpendicular = zero), while the cross product measures how perpendicular they are (parallel = zero, perpendicular = maximum).
Confusing scalar and vector products: The scalar product gives a scalar (number); the vector product gives a vector perpendicular to both inputs.
Matrix multiplication is not commutative: , A B ≠ B A AB \neq BA A B = B A . Always multiply in the specified order.
Dimension mismatch: You can only multiply an m × n m \times n m × n matrix by an n × p n \times p n × p matrix. The “inner dimensions” must match.
Forgetting the determinant in the inverse: The inverse is \dfrac{1}{\det A} \mathrm{adj(A) not just \mathrm{adj(A) . Forgetting the 1 / det A 1/\det A 1/ det A factor gives a wrong answer unless det A = 1 \det A = 1 det A = 1 .
Normal vector direction: The normal to a plane can point in either direction; check consistency when computing angles. The angle between planes should be between 0 0 0 and π / 2 \pi/2 π /2 .
Eigenvector scaling: Eigenvectors are not unique — any non-zero scalar multiple is also an eigenvector. Always state the direction, not a specific magnitude.
Sign errors in the cross product: The cross product is anti-commutative: a × b = − ( b × a ) \mathbf{a} \times \mathbf{b} = -(\mathbf{b} \times \mathbf{a}) a × b = − ( b × a ) . Getting the order wrong negates the result.
Cofactor sign errors: The cofactor C i j C_{ij} C ij includes a factor of ( − 1 ) i + j (-1)^{i+j} ( − 1 ) i + j . For position ( 2 , 3 ) (2, 3) ( 2 , 3 ) This is ( − 1 ) 5 = − 1 (-1)^5 = -1 ( − 1 ) 5 = − 1 . Getting the sign wrong invalidates the entire inverse.
Confusing rotation direction: A positive angle in the rotation matrix represents anticlockwise rotation. For clockwise rotation by θ \theta θ Use − θ -\theta − θ or swap the signs of the off-diagonal entries.
Given a = ( 2 , − 1 , 3 ) \mathbf{a} = (2, -1, 3) a = ( 2 , − 1 , 3 ) and b = ( 4 , 2 , − 1 ) \mathbf{b} = (4, 2, -1) b = ( 4 , 2 , − 1 ) Find \mathbf{a} \cdot \mathbf{b}$$|\mathbf{a}|$$|\mathbf{b}| And the angle between them.
Find the equation of the plane containing the points (1, 0, 2)$$(3, 1, -1) And ( 0 , 2 , 4 ) (0, 2, 4) ( 0 , 2 , 4 ) .
Calculate a × b \mathbf{a} \times \mathbf{b} a × b for a = ( 1 , 3 , − 2 ) \mathbf{a} = (1, 3, -2) a = ( 1 , 3 , − 2 ) and b = ( 4 , − 1 , 5 ) \mathbf{b} = (4, -1, 5) b = ( 4 , − 1 , 5 ) . Verify that a × b \mathbf{a} \times \mathbf{b} a × b is perpendicular to both a \mathbf{a} a and b \mathbf{b} b .
Find the eigenvalues and eigenvectors of ( 5 2 1 4 ) \begin{pmatrix} 5 & 2 \\ 1 & 4 \end{pmatrix} ( 5 1 2 4 ) .
Compute the determinant and inverse of ( 2 0 1 − 1 3 2 1 1 − 1 ) \begin{pmatrix} 2 & 0 & 1 \\ -1 & 3 & 2 \\ 1 & 1 & -1 \end{pmatrix} 2 − 1 1 0 3 1 1 2 − 1 .
Show that the vectors (1, 2, -1)$$(3, 1, 2) And ( 0 , 5 , − 5 ) (0, 5, -5) ( 0 , 5 , − 5 ) are coplanar.
Find the shortest distance from the point ( 2 , 1 , 3 ) (2, 1, 3) ( 2 , 1 , 3 ) to the plane 2 x − y + 2 z = 5 2x - y + 2z = 5 2 x − y + 2 z = 5 .
Solve the system of equations using matrices:
2 x + y − z = 8 2x + y - z = 8 2 x + y − z = 8 x − y + 3 z = 1 x - y + 3z = 1 x − y + 3 z = 1 3 x + 2 y + z = 11 3x + 2y + z = 11 3 x + 2 y + z = 11
Find the line of intersection of the planes x + 2 y − z = 4 x + 2y - z = 4 x + 2 y − z = 4 and 3 x − y + 2 z = 1 3x - y + 2z = 1 3 x − y + 2 z = 1 .
Find the angle between the planes 2 x − y + 2 z = 5 2x - y + 2z = 5 2 x − y + 2 z = 5 and x + 3 y − z = 2 x + 3y - z = 2 x + 3 y − z = 2 .
Use the matrix ( 3 0 0 3 ) \begin{pmatrix} 3 & 0 \\ 0 & 3 \end{pmatrix} ( 3 0 0 3 ) to describe the transformation. What is the relationship between this matrix and ( 1 0 0 1 ) \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} ( 1 0 0 1 ) ?
Find the area of the triangle with vertices A ( 1 , 0 , 2 ) A(1, 0, 2) A ( 1 , 0 , 2 ) , B ( 3 , − 1 , 4 ) B(3, -1, 4) B ( 3 , − 1 , 4 ) And C ( 0 , 2 , − 1 ) C(0, 2, -1) C ( 0 , 2 , − 1 ) .
Given O A → = ( 1 , − 1 , 3 ) \overrightarrow{OA} = (1, -1, 3) O A = ( 1 , − 1 , 3 ) and O B → = ( 4 , 2 , − 1 ) \overrightarrow{OB} = (4, 2, -1) O B = ( 4 , 2 , − 1 ) Find the position vector of the point P P P on A B AB A B such that A P : P B = 3 : 1 AP : PB = 3 : 1 A P : P B = 3 : 1 .
Find the angle between the lines r = ( 0 , 0 , 0 ) + s ( 1 , 2 , − 1 ) \mathbf{r} = (0, 0, 0) + s(1, 2, -1) r = ( 0 , 0 , 0 ) + s ( 1 , 2 , − 1 ) and r = ( 1 , 1 , 0 ) + t ( 2 , − 1 , 3 ) \mathbf{r} = (1, 1, 0) + t(2, -1, 3) r = ( 1 , 1 , 0 ) + t ( 2 , − 1 , 3 ) .
A 2 × 2 2 \times 2 2 × 2 matrix A A A has eigenvalues λ 1 = 2 \lambda_1 = 2 λ 1 = 2 and λ 2 = 5 \lambda_2 = 5 λ 2 = 5 with corresponding eigenvectors ( 1 1 ) \begin{pmatrix} 1 \\ 1 \end{pmatrix} ( 1 1 ) and ( 1 − 2 ) \begin{pmatrix} 1 \\ -2 \end{pmatrix} ( 1 − 2 ) . Find A A A and use it to compute A 3 A^3 A 3 .
Reflect the point ( 2 , 5 ) (2, 5) ( 2 , 5 ) in the line y = x y = x y = x using a matrix method. Verify your answer geometrically.
A[4_Vectors] --> B[Key Concepts]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
D --> G[Real-world usage]
This topic covers the mathematical techniques and concepts related to vectors and matrices, including key theorems, methods, and problem-solving approaches.
Key concepts include:
fundamental definitions and theorems algebraic and graphical methods proof and logical reasoning problem-solving strategies applications and modelling Regular practice with a variety of question types is essential to build fluency and confidence in applying these mathematical techniques.
Algebra and Functions — Vector operations use algebraic techniques including dot product and cross product.Trigonometry — Angles between vectors are calculated using trigonometric relationships and the dot product formula.Mechanics — Forces, displacement, and velocity are vector quantities analysed using vector algebra.