Comprehensive Study Guide to Matrices, Gaussian Elimination, and Matrix Transformations

Matrix Fundamentals and Definitions

  • A matrix is defined as a rectangular array of numbers arranged in rows and columns.

  • The order (or dimension) of a matrix is given by the product form rows×columns\text{rows} \times \text{columns} (m×nm \times n).

  • The elements of an m×nm \times n matrix are denoted by aija_{ij}, representing the entry situated in the ii-th row and jj-th column.

  • Matrix classification by dimension:

    • Row Matrix: A matrix possessing only 11 row, having order 1×n1 \times n. Example: A=(12)A = \begin{pmatrix} 1 & 2 \end{pmatrix}.

    • Column Matrix: A matrix possessing only 11 column, having order m×1m \times 1. Example: B=(125)B = \begin{pmatrix} 1 \\ 2 \\ 5 \end{pmatrix}.

    • Scalar: A 1×11 \times 1 matrix containing a single numerical value.

    • Square Matrix: A matrix with an equal number of rows and columns (m=nm = n). Example: C=(146257179)C = \begin{pmatrix} 1 & 4 & 6 \\ 2 & 5 & 7 \\ 1 & 7 & 9 \end{pmatrix} of order 3×33 \times 3.

  • Examples of matrix order determination:

    • A=(341083)A = \begin{pmatrix} 3 & 4 & 1 \\ 0 & 8 & 3 \end{pmatrix} has order 2×32 \times 3.

    • A=(1457)A = \begin{pmatrix} 1 & 4 \\ 5 & 7 \end{pmatrix} has order 2×22 \times 2.

    • For the matrix A=(243665)A = \begin{pmatrix} 2 & 4 & 3 \\ 6 & 6 & 5 \end{pmatrix}:

    • Number of rows: 22

    • Number of columns: 33

    • Total number of elements: 66

    • Order: 2×32 \times 3

    • The element in position a23a_{23} is 55.

Matrix Operations and Equality

  • Equality of Matrices: Two matrices are equal if and only if:

    • They possess the identical order.

    • Every corresponding pair of elements aij=bija_{ij} = b_{ij} is equal.

  • Matrix Addition:

    • Condition: Matrices must have the exact same order (conformable for addition).

    • Rule: Corresponding elements of each matrix are added directly.

    • Worked Example:     (345213)+(212316)=(3+24+15+22+31+13+6)=(557529)\begin{pmatrix} 3 & 4 & 5 \\ 2 & 1 & 3 \end{pmatrix} + \begin{pmatrix} 2 & 1 & 2 \\ 3 & 1 & 6 \end{pmatrix} = \begin{pmatrix} 3+2 & 4+1 & 5+2 \\ 2+3 & 1+1 & 3+6 \end{pmatrix} = \begin{pmatrix} 5 & 5 & 7 \\ 5 & 2 & 9 \end{pmatrix}

  • Matrix Subtraction:

    • Condition: Matrices must have the exact same order (conformable for subtraction).

    • Rule: Corresponding elements of each matrix are subtracted directly.

    • Worked Example:     (15−23)−(3−134)=(1−35−(−1)−2−33−4)=(−26−5−1)\begin{pmatrix} 1 & 5 \\ -2 & 3 \end{pmatrix} - \begin{pmatrix} 3 & -1 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 1-3 & 5-(-1) \\ -2-3 & 3-4 \end{pmatrix} = \begin{pmatrix} -2 & 6 \\ -5 & -1 \end{pmatrix}

  • Scalar Multiplication:

    • Multiplying an m×nm \times n matrix AA by a scalar constant kk multiplies every individual entry by kk, generating the matrix kAkA.

    • The resulting matrix kAkA retains the original order m×nm \times n.

    • Worked Example:     3(2135)=(3(2)3(1)3(3)3(5))=(63915)3 \begin{pmatrix} 2 & 1 \\ 3 & 5 \end{pmatrix} = \begin{pmatrix} 3(2) & 3(1) \\ 3(3) & 3(5) \end{pmatrix} = \begin{pmatrix} 6 & 3 \\ 9 & 15 \end{pmatrix}

  • Matrix Multiplication:

    • Conformability Condition: Two matrices AA and BB can be multiplied to form the product ABAB if and only if the number of columns in the first matrix AA equals the number of rows in the second matrix BB.

    • If AA has order m×km \times k and BB has order k×nk \times n, the product matrix ABAB has order m×nm \times n.

    • Multiplication Rule: Compute the sum of products of corresponding entries by multiplying rows into columns.

    • General algebraic form for 2×32 \times 3 multiplied by 3×23 \times 2:     (abcdef)(rstuvw)=(ar+bt+cvas+bu+cwdr+et+fvds+eu+fw)\begin{pmatrix} a & b & c \\ d & e & f \end{pmatrix} \begin{pmatrix} r & s \\ t & u \\ v & w \end{pmatrix} = \begin{pmatrix} ar + bt + cv & as + bu + cw \\ dr + et + fv & ds + eu + fw \end{pmatrix}

    • Worked Example 1 (2×22 \times 2 by 2×32 \times 3):     (86−13)(24571−2)=(8(2)+6(7)8(4)+6(1)8(5)+6(−2)−1(2)+3(7)−1(4)+3(1)−1(5)+3(−2))\begin{pmatrix} 8 & 6 \\ -1 & 3 \end{pmatrix} \begin{pmatrix} 2 & 4 & 5 \\ 7 & 1 & -2 \end{pmatrix} = \begin{pmatrix} 8(2) + 6(7) & 8(4) + 6(1) & 8(5) + 6(-2) \\ -1(2) + 3(7) & -1(4) + 3(1) & -1(5) + 3(-2) \end{pmatrix}     =(16+4232+640−12−2+21−4+3−5−6)=(58382819−1−11)= \begin{pmatrix} 16 + 42 & 32 + 6 & 40 - 12 \\ -2 + 21 & -4 + 3 & -5 - 6 \end{pmatrix} = \begin{pmatrix} 58 & 38 & 28 \\ 19 & -1 & -11 \end{pmatrix}

    • Worked Example 2 (2×32 \times 3 by 3×23 \times 2):     (−1203−21)(−12−2310)=((−1)(−1)+2(−2)+0(1)(−1)(2)+2(3)+0(0)3(−1)+(−2)(−2)+1(1)3(2)+(−2)(3)+1(0))=(−3420)\begin{pmatrix} -1 & 2 & 0 \\ 3 & -2 & 1 \end{pmatrix} \begin{pmatrix} -1 & 2 \\ -2 & 3 \\ 1 & 0 \end{pmatrix} = \begin{pmatrix} (-1)(-1) + 2(-2) + 0(1) & (-1)(2) + 2(3) + 0(0) \\ 3(-1) + (-2)(-2) + 1(1) & 3(2) + (-2)(3) + 1(0) \end{pmatrix} = \begin{pmatrix} -3 & 4 \\ 2 & 0 \end{pmatrix}

Systems of Simultaneous Linear Equations

  • Matrices provide a systematic structure to solve systems of linear equations.

  • Two-Variable Simultaneous System:

    • Given the system:     2x+3y=8(Equation 1)2x + 3y = 8 \quad \text{(Equation 1)}     3x−y=1(Equation 2)3x - y = 1 \quad \text{(Equation 2)}

    • Multiplying Equation 2 by 33 on both sides:     9x−3y=3(Equation 3)9x - 3y = 3 \quad \text{(Equation 3)}

    • Adding Equation 1 and Equation 3:     11x=11  ⟹  x=111x = 11 \implies x = 1

    • Substituting x=1x = 1 into Equation 1:     2(1)+3y=8  ⟹  3y=6  ⟹  y=22(1) + 3y = 8 \implies 3y = 6 \implies y = 2

    • Geometric Interpretation: Each equation defines a straight line in the Cartesian plane. The unique algebraic solution corresponds to the single point of intersection (1,2)\left(1, 2\right).


Two straight lines in the plane intersecting at the point (1,2)
  • Matrix Representation of Linear Systems:

    • Coefficient Matrix (AA): Formed by extracting the coefficients of variables in order (xx in column 1, yy in column 2, zz in column 3).

    • Unknown Column Matrix (XX): Contains the unknowns (xyz)\begin{pmatrix} x \\ y \\ z \end{pmatrix}.

    • Right-Hand Side Column Matrix (BB): Contains the constants.

    • Single Matrix Equation Form: AX=BAX = B.

    • Augmented Matrix ((A∣B)(A | B)): Formed by adjoining the right-hand side constant matrix BB to the coefficient matrix AA.

  • Worked Three-Variable Example:

    • System:     2x−y+z=52x - y + z = 5     x−3y+2z=2x - 3y + 2z = 2     2x+y+4z=−32x + y + 4z = -3

    • Coefficient Matrix:     A=(2−111−32214)A = \begin{pmatrix} 2 & -1 & 1 \\ 1 & -3 & 2 \\ 2 & 1 & 4 \end{pmatrix}

    • Unknown Matrix and Constant Matrix:     X=(xyz),B=(52−3)X = \begin{pmatrix} x \\ y \\ z \end{pmatrix}, \quad B = \begin{pmatrix} 5 \\ 2 \\ -3 \end{pmatrix}

    • Matrix Equation:     (2−111−32214)(xyz)=(52−3)\begin{pmatrix} 2 & -1 & 1 \\ 1 & -3 & 2 \\ 2 & 1 & 4 \end{pmatrix} \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 5 \\ 2 \\ -3 \end{pmatrix}

    • Augmented Matrix:     (2−11∣51−32∣2214∣−3)\begin{pmatrix} 2 & -1 & 1 & | & 5 \\ 1 & -3 & 2 & | & 2 \\ 2 & 1 & 4 & | & -3 \end{pmatrix}

  • Additional Example:

    • System:     3x−2y+z=123x - 2y + z = 12     2x−z=62x - z = 6     y+z=3y + z = 3

    • Coefficient Matrix: (3−2120−1011)\begin{pmatrix} 3 & -2 & 1 \\ 2 & 0 & -1 \\ 0 & 1 & 1 \end{pmatrix}

    • Augmented Matrix: (3−21∣1220−1∣6011∣3)\begin{pmatrix} 3 & -2 & 1 & | & 12 \\ 2 & 0 & -1 & | & 6 \\ 0 & 1 & 1 & | & 3 \end{pmatrix}

Elementary Row Operations and Upper Triangular Form

  • Elementary Row Operations (EROs): The three valid operations that can be performed on an augmented matrix without altering the solution set of the system:

    1. Interchange any two rows (Ri↔RjR_i \leftrightarrow R_j).

    2. Multiply any row by a non-zero scalar (kRi→Rik R_i \rightarrow R_i, where k≠0k \neq 0).

    3. Add a scalar multiple of another row to a row (Ri+kRj→RiR_i + k R_j \rightarrow R_i).

  • Upper Triangular Matrix: A square matrix where all entries situated below the leading (main) diagonal are zero.

  • Strategy for Converting a Matrix to Upper Triangular Form:

    1. Start at the top-left entry a11a_{11}. If zero, interchange rows with a row below to obtain a non-zero entry.

    2. Keep row 1 fixed; use EROs to create zeros in all remaining entries in column 1.

    3. Move to diagonal entry a22a_{22}. If zero, interchange with a row below to establish a non-zero entry.

    4. Keep row 1 and row 2 fixed; use EROs to eliminate non-zero entries below a22a_{22} in column 2.

    5. Continue iteratively down the diagonal until all entries below the main diagonal are zero.

  • Worked Conversion Examples:

    • Example 1: Transform A=(341215122)A = \begin{pmatrix} 3 & 4 & 1 \\ 2 & 1 & 5 \\ 1 & 2 & 2 \end{pmatrix} to upper triangular form:     (1220−3100−17)\begin{pmatrix} 1 & 2 & 2 \\ 0 & -3 & 1 \\ 0 & 0 & -17 \end{pmatrix}

    • Example 2: Transform A=(027121265)A = \begin{pmatrix} 0 & 2 & 7 \\ 1 & 2 & 1 \\ 2 & 6 & 5 \end{pmatrix} to upper triangular form:     (12102700−4)\begin{pmatrix} 1 & 2 & 1 \\ 0 & 2 & 7 \\ 0 & 0 & -4 \end{pmatrix}

Gaussian Elimination

  • Definition: The process of using elementary row operations on the augmented matrix of a system of equations to reach upper triangular form, followed by back-substitution to solve for all unknowns.

  • Complete Worked Solution:

    • Solve the system:     2x−y+z=52x - y + z = 5     x−3y+2z=2x - 3y + 2z = 2     2x+y+4z=−32x + y + 4z = -3

    • Step 1: Write down the augmented matrix:     (2−11∣51−32∣2214∣−3)\begin{pmatrix} 2 & -1 & 1 & | & 5 \\ 1 & -3 & 2 & | & 2 \\ 2 & 1 & 4 & | & -3 \end{pmatrix}

    • Step 2: Perform EROs to achieve upper triangular form:

    • Operation 2R2−R1→R22R_2 - R_1 \rightarrow R_2:       (2−11∣50−53∣−1214∣−3)\begin{pmatrix} 2 & -1 & 1 & | & 5 \\ 0 & -5 & 3 & | & -1 \\ 2 & 1 & 4 & | & -3 \end{pmatrix}

    • Operation R3−R1→R3R_3 - R_1 \rightarrow R_3:       (2−11∣50−53∣−1023∣−8)\begin{pmatrix} 2 & -1 & 1 & | & 5 \\ 0 & -5 & 3 & | & -1 \\ 0 & 2 & 3 & | & -8 \end{pmatrix}

    • Operation 5R3+2R2→R35R_3 + 2R_2 \rightarrow R_3:       (2−11∣50−53∣−10021∣−42)\begin{pmatrix} 2 & -1 & 1 & | & 5 \\ 0 & -5 & 3 & | & -1 \\ 0 & 0 & 21 & | & -42 \end{pmatrix}

    • Step 3: Write the upper triangular matrix back into equation form:     2x−y+z=5(Equation 1)2x - y + z = 5 \quad \text{(Equation 1)}     −5y+3z=−1(Equation 2)-5y + 3z = -1 \quad \text{(Equation 2)}     21z=−42(Equation 3)21z = -42 \quad \text{(Equation 3)}

    • Step 4: Perform back-substitution:

    • From Equation 3:       z=−4221=−2z = \frac{-42}{21} = -2

    • Substitute z=−2z = -2 into Equation 2:       −5y+3(−2)=−1  ⟹  −5y−6=−1  ⟹  −5y=5  ⟹  y=−1-5y + 3(-2) = -1 \implies -5y - 6 = -1 \implies -5y = 5 \implies y = -1

    • Substitute y=−1y = -1 and z=−2z = -2 into Equation 1:       2x−(−1)+(−2)=5  ⟹  2x+1−2=5  ⟹  2x−1=5  ⟹  2x=6  ⟹  x=32x - (-1) + (-2) = 5 \implies 2x + 1 - 2 = 5 \implies 2x - 1 = 5 \implies 2x = 6 \implies x = 3

    • Final Solution: (x,y,z)=(3,−1,−2)(x, y, z) = (3, -1, -2).

    • Geometric Meaning: The three linear equations represent three planes in three-dimensional space that intersect at the single point (3,−1,−2)\left(3, -1, -2\right).

  • Practice System:   x−4y+z=15x - 4y + z = 15   x+3y−2z=−9x + 3y - 2z = -9   2x−y+z=82x - y + z = 8

Geometric Interpretation of Solutions to Systems of Linear Equations

  • In three dimensions, each linear equation ax+by+cz=dax + by + cz = d defines a plane. The nature of the solution to a system of three such equations corresponds to the geometric configuration of their intersections.

  • Criteria for Parallel and Coincident Planes:

    • Parallel Planes: Two planes are parallel if the variable coefficients (a,b,c)(a, b, c) are identical scalar multiples of each other, but the constant terms dd are not in the same ratio (a1a2=b1b2=c1c2≠d1d2\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2} \neq \frac{d_1}{d_2}.

  • Example: x+2y−2z=−7x + 2y - 2z = -7 and 2x+4y−4z=62x + 4y - 4z = 6 are parallel.


Two parallel planes separated in space
  • Coincident (Identical) Planes: Two planes are coincident if the variable coefficients and the constant terms are all the same scalar multiple (a1a2=b1b2=c1c2=d1d2\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2} = \frac{d_1}{d_2}.

    • Example: x+2y−2z=−7x + 2y - 2z = -7 and 2x+4y−4z=−142x + 4y - 4z = -14 are coincident.


Two coincident planes lying on top of one another
  • Unique Solution:

    • Occurs when row reduction yields a bottom row (00k∣d)\begin{pmatrix} 0 & 0 & k & | & d \end{pmatrix} where k≠0k \neq 0.

  • Geometrically, all three planes intersect at a single unique point.

  • Example: For 3x−2y+z+0.9=03x - 2y + z + 0.9 = 0, x=0.2−3y+zx = 0.2 - 3y + z, and 2z=42z = 4, the solution is (x,y,z)=(−0.2,0.1,−0.1)(x, y, z) = (-0.2, 0.1, -0.1).


Three planes intersecting at a unique point
  • Infinite Number of Solutions:

    • Occurs when row reduction yields a redundant row of zeros: (000∣0)\begin{pmatrix} 0 & 0 & 0 & | & 0 \end{pmatrix}.

    • Three distinct geometric configurations exist:

    • Case (i): Planes are not parallel and intersect at a common line (star / sheaf formation):

      • None of the planes are parallel; they intersect along a shared line.

      • System:         x+2y−2z=−7x + 2y - 2z = -7         x−2y+z=6x - 2y + z = 6         3x+2y−3z=−83x + 2y - 3z = -8

      • Solution expressed parametrically in terms of z=tz = t:         (x,y,z)=(t−12, 3t−134, t)(x, y, z) = \left(t - \frac{1}{2}, \, \frac{3t - 13}{4}, \, t\right)


Three non-parallel planes intersecting along a single common line in a star formation
  • Case (ii): Two planes are coincident and intersect the third plane along a line:

    • Two equations describe the identical plane, which intersects the remaining plane along a common line.

    • System:     x+y+z=1x + y + z = 1     2x+2y+z=32x + 2y + z = 3     2x+2y+2z=22x + 2y + 2z = 2

    • Reduction yields z=−1z = -1 and x+y=2x + y = 2, producing infinite solutions along a line.


Two coincident planes intersecting a third non-parallel plane along a line
  • Case (iii): All three planes are coincident:

    • All three equations represent the exact same plane.

    • System:     x+y−z=1x + y - z = 1     −2x−2y+2z=−2-2x - 2y + 2z = -2     3x+3y−3z=33x + 3y - 3z = 3

    • Row reduced form:     (11−1∣1000∣0000∣0)\begin{pmatrix} 1 & 1 & -1 & | & 1 \\ 0 & 0 & 0 & | & 0 \\ 0 & 0 & 0 & | & 0 \end{pmatrix}


Three coincident planes lying in the identical geometric plane
  • No Solution (Inconsistent Systems):

    • Occurs when row reduction generates a contradiction row of the form (000∣k)\begin{pmatrix} 0 & 0 & 0 & | & k \end{pmatrix} where k≠0k \neq 0 (0=k0 = k).

  • Three distinct geometric configurations exist:

    • Case (i): Three planes intersect pairwise in three parallel lines (triangular prism formation):

    • No two planes are parallel, but each pair intersects along a line; the three intersection lines are parallel, leaving no mutual point of intersection.

    • System:       x+2y−2z=−7x + 2y - 2z = -7       3x+2y−3z=−153x + 2y - 3z = -15       5x+2y−4z=−95x + 2y - 4z = -9

    • Row reduction leads to 0≠140 \neq 14, confirming no solution.


Three planes intersecting pairwise along three parallel lines forming an open prism
  • Case (ii): Two planes are parallel and intersected by a third plane ('Z' formation):

    • Two planes are parallel and non-intersecting; the third transversal plane intersects both.

    • System:     x−y+3z=−2x - y + 3z = -2     2x+3y−z=12x + 3y - z = 1     −4x−6y+2z=5-4x - 6y + 2z = 5

    • Equations 2 and 3 have proportional coefficients (−2×-2 \times) but inconsistent constants (5≠−2(1)5 \neq -2(1)). Row reduction yields 0≠70 \neq 7.


Two parallel planes cut by a transversal plane in a Z formation
  • Case (iii): All three planes are mutually parallel:

    • The normal vectors are scalar multiples across all three equations, but all constant terms differ in ratio.

    • System:     x+y+z=1x + y + z = 1     2x+2y+2z=32x + 2y + 2z = 3     −3x−3y−3z=4-3x - 3y - 3z = 4

    • No intersections exist.


Three mutually parallel planes with no intersection points
  • Parameter-based System Problems:

    • Find the values of ss and tt for which the system has no solution, infinite solutions, and a unique solution:     x−2y+z=8x - 2y + z = 8     2x+y−z=−32x + y - z = -3     x+3y+sz=tx + 3y + s z = t

    • Find the value of aa for which the system has no solution:     x+2y−z=−6x + 2y - z = -6     2x−y+z=72x - y + z = 7     x−3y+az=4x - 3y + a z = 4

    • Find the value of aa for which the system has infinite solutions:     x+2y+3z=4x + 2y + 3z = 4     −x+3y−2z=−3-x + 3y - 2z = -3     2x−6y+az=62x - 6y + a z = 6

Ill-Conditioning in Linear Systems

  • Definition: A system of equations is ill-conditioned when small changes in the coefficients or in the right-hand side constant terms result in very large changes in the computed solution.

  • Geometric Cause: In two dimensions, this behavior arises when lines are almost parallel (their slopes are exceedingly close in value). A tiny shift in a line translates the point of intersection across a wide distance.

  • Base System Evaluation:

    • Equations:     x+0.99y=1.99x + 0.99y = 1.99     0.99x+0.98y=1.970.99x + 0.98y = 1.97

    • Augmented Matrix:     (10.99∣1.990.990.98∣1.97)\begin{pmatrix} 1 & 0.99 & | & 1.99 \\ 0.99 & 0.98 & | & 1.97 \end{pmatrix}

    • Applying R2−0.99R1→R2R_2 - 0.99 R_1 \rightarrow R_2:     (10.99∣1.990−0.0001∣−0.0001)\begin{pmatrix} 1 & 0.99 & | & 1.99 \\ 0 & -0.0001 & | & -0.0001 \end{pmatrix}

    • Calculated Solution: y=1y = 1 and x=1x = 1.

    • Gradient Analysis:

    • Equation 1: y=−10099x+19999  ⟹  slope≈−1.010101, y-intercept≈2.010101y = -\frac{100}{99}x + \frac{199}{99} \implies \text{slope} \approx -1.010101, \, y\text{-intercept} \approx 2.010101

    • Equation 2: y=−9998x+19798  ⟹  slope≈−1.010204, y-intercept≈2.010204y = -\frac{99}{98}x + \frac{197}{98} \implies \text{slope} \approx -1.010204, \, y\text{-intercept} \approx 2.010204


Two nearly parallel lines intersecting at (1,1)
  • Perturbed System Evaluation (Demonstrating Sensitivity):

    • Modify the constant in the first equation slightly from 1.991.99 to 2.002.00 (≈0.5%\approx 0.5\% change):     x+0.99y=2.00x + 0.99y = 2.00     0.99x+0.98y=1.970.99x + 0.98y = 1.97

    • Augmented Matrix:     (10.99∣2.000.990.98∣1.97)\begin{pmatrix} 1 & 0.99 & | & 2.00 \\ 0.99 & 0.98 & | & 1.97 \end{pmatrix}

    • Applying R2−0.99R1→R2R_2 - 0.99 R_1 \rightarrow R_2:     (10.99∣2.000−0.0001∣−0.01)\begin{pmatrix} 1 & 0.99 & | & 2.00 \\ 0 & -0.0001 & | & -0.01 \end{pmatrix}

    • New Solution:     −0.0001y=−0.01  ⟹  y=100-0.0001y = -0.01 \implies y = 100     x+0.99(100)=2.00  ⟹  x=2.00−99=−97x + 0.99(100) = 2.00 \implies x = 2.00 - 99 = -97

    • The solution shifts massively from (1,1)\left(1, 1\right) to (−97,100)\left(-97, 100\right).

Determinants of Square Matrices

  • Properties:

    • The determinant is defined only for square matrices (n×nn \times n).

    • The determinant is a scalar number, not a matrix. It is denoted as det⁡(A)\det(A) or ∣A∣|A|.

  • Determinant of a 2×22 \times 2 Matrix:

    • For matrix A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}:     det⁡(A)=∣A∣=∣abcd∣=ad−bc\det(A) = |A| = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc

    • Worked Example 1:     A=(−1−22−3)  ⟹  det⁡(A)=(−1)(−3)−(−2)(2)=3−(−4)=7A = \begin{pmatrix} -1 & -2 \\ 2 & -3 \end{pmatrix} \implies \det(A) = (-1)(-3) - (-2)(2) = 3 - (-4) = 7

    • Worked Example 2:     A=(−4−263)  ⟹  det⁡(A)=(−4)(3)−(−2)(6)=−12−(−12)=0A = \begin{pmatrix} -4 & -2 \\ 6 & 3 \end{pmatrix} \implies \det(A) = (-4)(3) - (-2)(6) = -12 - (-12) = 0

  • Determinant of a 3×33 \times 3 Matrix:

    • Computed by cofactor expansion along the top row using smaller 2×22 \times 2 minors.

    • The signs follow the standard checkerboard pattern:     (+−+−+−+−+)\begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix}

    • Expansion formula along the first row:     det⁡(A)=∣abcdefghi∣=a∣efhi∣−b∣dfgi∣+c∣degh∣\det(A) = \begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = a \begin{vmatrix} e & f \\ h & i \end{vmatrix} - b \begin{vmatrix} d & f \\ g & i \end{vmatrix} + c \begin{vmatrix} d & e \\ g & h \end{vmatrix}     =a(ei−fh)−b(di−gf)+c(dh−ge)= a(ei - fh) - b(di - gf) + c(dh - ge)

    • Worked Example 1:     A=(1−23−43102−1)A = \begin{pmatrix} 1 & -2 & 3 \\ -4 & 3 & 1 \\ 0 & 2 & -1 \end{pmatrix}     det⁡(A)=1∣312−1∣−(−2)∣−410−1∣+3∣−4302∣\det(A) = 1 \begin{vmatrix} 3 & 1 \\ 2 & -1 \end{vmatrix} - (-2) \begin{vmatrix} -4 & 1 \\ 0 & -1 \end{vmatrix} + 3 \begin{vmatrix} -4 & 3 \\ 0 & 2 \end{vmatrix}     =1(3(−1)−1(2))+2((−4)(−1)−1(0))+3((−4)(2)−3(0))= 1(3(-1) - 1(2)) + 2((-4)(-1) - 1(0)) + 3((-4)(2) - 3(0))     =1(−5)+2(4)+3(−8)=−5+8−24=−21= 1(-5) + 2(4) + 3(-8) = -5 + 8 - 24 = -21

    • Worked Example 2:     A=(351580460)A = \begin{pmatrix} 3 & 5 & 1 \\ 5 & 8 & 0 \\ 4 & 6 & 0 \end{pmatrix}     Expanding along the third column:     det⁡(A)=1(5(6)−8(4))−0+0=30−32=−2\det(A) = 1(5(6) - 8(4)) - 0 + 0 = 30 - 32 = -2

  • Singular and Non-Singular Definitions:

    • A matrix whose determinant is zero (det⁡(A)=0\det(A) = 0) is called a singular matrix.

    • A matrix whose determinant is non-zero (det⁡(A)≠0\det(A) \neq 0) is called a non-singular matrix.

Inverse of a Matrix and System Inversion

  • Conditions for the Existence of a Multiplicative Inverse (A−1A^{-1}):

    1. The matrix must be square (n×nn \times n).

    2. The matrix must be non-singular (det⁡(A)≠0\det(A) \neq 0).

  • Inverse of a 2×22 \times 2 Matrix:

    • For non-singular A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} where ad−bc≠0ad - bc \neq 0:     A−1=1ad−bc(d−b−ca)A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}

    • The matrix (d−b−ca)\begin{pmatrix} d & -b \\ -c & a \end{pmatrix} is called the adjoint (or adjugate) of AA, denoted adj⁡(A)\operatorname{adj}(A).

    • Worked Example:     A=(2413)A = \begin{pmatrix} 2 & 4 \\ 1 & 3 \end{pmatrix}

    • det⁡(A)=(2)(3)−(4)(1)=6−4=2\det(A) = (2)(3) - (4)(1) = 6 - 4 = 2

    • adj⁡(A)=(3−4−12)\operatorname{adj}(A) = \begin{pmatrix} 3 & -4 \\ -1 & 2 \end{pmatrix}

    • A−1=12(3−4−12)=(32−2−121)A^{-1} = \frac{1}{2} \begin{pmatrix} 3 & -4 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} \frac{3}{2} & -2 \\ -\frac{1}{2} & 1 \end{pmatrix}

  • Inverse of a 3×33 \times 3 Matrix by Elementary Row Operations:

    • Identity Matrix (II): An n×nn \times n matrix containing only 11s on the leading diagonal and 00s elsewhere.

    • Method:

    1. Form the augmented matrix (A∣I)\left(A | I\right).

    2. Apply EROs to transform the left block into the identity matrix II.

    3. The right block simultaneously transforms into A−1A^{-1}, giving (I∣A−1)\left(I | A^{-1}\right).

    • Step-by-Step Worked Example for A=(1112−3−1523)A = \begin{pmatrix} 1 & 1 & 1 \\ 2 & -3 & -1 \\ 5 & 2 & 3 \end{pmatrix}:

    • Step 1: Set up augmented matrix:       (111∣1002−3−1∣010523∣001)\begin{pmatrix} 1 & 1 & 1 & | & 1 & 0 & 0 \\ 2 & -3 & -1 & | & 0 & 1 & 0 \\ 5 & 2 & 3 & | & 0 & 0 & 1 \end{pmatrix}

    • Step 2: Apply R2−2R1→R2R_2 - 2R_1 \rightarrow R_2 and R3−5R1→R3R_3 - 5R_1 \rightarrow R_3:       (111∣1000−5−3∣−2100−3−2∣−501)\begin{pmatrix} 1 & 1 & 1 & | & 1 & 0 & 0 \\ 0 & -5 & -3 & | & -2 & 1 & 0 \\ 0 & -3 & -2 & | & -5 & 0 & 1 \end{pmatrix}

    • Step 3: Apply 5R1+R2→R15R_1 + R_2 \rightarrow R_1 and 5R3−3R2→R35R_3 - 3R_2 \rightarrow R_3:       (502∣3100−5−3∣−21000−1∣−19−35)\begin{pmatrix} 5 & 0 & 2 & | & 3 & 1 & 0 \\ 0 & -5 & -3 & | & -2 & 1 & 0 \\ 0 & 0 & -1 & | & -19 & -3 & 5 \end{pmatrix}

    • Step 4: Apply R1+2R3→R1R_1 + 2R_3 \rightarrow R_1, R2−3R3→R2R_2 - 3R_3 \rightarrow R_2, and −R3→R3-R_3 \rightarrow R_3:       (500∣−35−5100−50∣5510−15001∣193−5)\begin{pmatrix} 5 & 0 & 0 & | & -35 & -5 & 10 \\ 0 & -5 & 0 & | & 55 & 10 & -15 \\ 0 & 0 & 1 & | & 19 & 3 & -5 \end{pmatrix}

    • Step 5: Apply R1÷5→R1R_1 \div 5 \rightarrow R_1 and R2÷(−5)→R2R_2 \div (-5) \rightarrow R_2:       (100∣−7−12010∣−11−23001∣193−5)\begin{pmatrix} 1 & 0 & 0 & | & -7 & -1 & 2 \\ 0 & 1 & 0 & | & -11 & -2 & 3 \\ 0 & 0 & 1 & | & 19 & 3 & -5 \end{pmatrix}

    • Resulting Inverse Matrix:       A−1=(−7−12−11−23193−5)A^{-1} = \begin{pmatrix} -7 & -1 & 2 \\ -11 & -2 & 3 \\ 19 & 3 & -5 \end{pmatrix}

  • Solving Systems of Equations Using Inverse Matrices:

    • For the matrix equation AX=BAX = B, multiplying by A−1A^{-1} gives:     X=A−1BX = A^{-1} B

    • Worked Example 1 (Two Variables):     2x+3y=12x + 3y = 1     x−y=3x - y = 3

    • In matrix form: (231−1)(xy)=(13)\begin{pmatrix} 2 & 3 \\ 1 & -1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 1 \\ 3 \end{pmatrix}

    • det⁡(A)=2(−1)−3(1)=−5\det(A) = 2(-1) - 3(1) = -5

    • A−1=−15(−1−3−12)A^{-1} = -\frac{1}{5} \begin{pmatrix} -1 & -3 \\ -1 & 2 \end{pmatrix}

    • Solution calculation:       (xy)=−15(−1−3−12)(13)=−15((−1)(1)+(−3)(3)(−1)(1)+2(3))=−15(−105)=(2−1)\begin{pmatrix} x \\ y \end{pmatrix} = -\frac{1}{5} \begin{pmatrix} -1 & -3 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} 1 \\ 3 \end{pmatrix} = -\frac{1}{5} \begin{pmatrix} (-1)(1) + (-3)(3) \\ (-1)(1) + 2(3) \end{pmatrix} = -\frac{1}{5} \begin{pmatrix} -10 \\ 5 \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}

    • Solution: x=2x = 2, y=−1y = -1.

    • Worked Example 2 (Three Variables):     x+3y−z=0x + 3y - z = 0     2x−4y+z=102x - 4y + z = 10     x−2y+3z=5x - 2y + 3z = 5

    • Inversion yields A−1=125(10715−430−510)A^{-1} = \frac{1}{25} \begin{pmatrix} 10 & 7 & 1 \\ 5 & -4 & 3 \\ 0 & -5 & 10 \end{pmatrix}

    • Solution calculation:       (xyz)=125(10715−430−510)(0105)=(3−10)\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \frac{1}{25} \begin{pmatrix} 10 & 7 & 1 \\ 5 & -4 & 3 \\ 0 & -5 & 10 \end{pmatrix} \begin{pmatrix} 0 \\ 10 \\ 5 \end{pmatrix} = \begin{pmatrix} 3 \\ -1 \\ 0 \end{pmatrix}

Matrix Transpose and Special Matrix Classes

  • Transpose of a Matrix:

    • The transpose of a matrix AA, denoted ATA^T, is formed by interchanging its rows and columns.

    • Row 1 becomes Column 1, Row 2 becomes Column 2, and so forth.

    • If AA has order m×nm \times n, then ATA^T has order n×mn \times m.

    • For square matrices, taking the transpose corresponds to reflecting elements across the leading diagonal.

    • Examples:

    • B=(345213)  ⟹  BT=(324153)B = \begin{pmatrix} 3 & 4 & 5 \\ 2 & 1 & 3 \end{pmatrix} \implies B^T = \begin{pmatrix} 3 & 2 \\ 4 & 1 \\ 5 & 3 \end{pmatrix}

    • (241)T=(241)\begin{pmatrix} 2 \\ 4 \\ 1 \end{pmatrix}^T = \begin{pmatrix} 2 & 4 & 1 \end{pmatrix}

    • A=(2−110−43)  ⟹  AT=(20−1−413)A = \begin{pmatrix} 2 & -1 & 1 \\ 0 & -4 & 3 \end{pmatrix} \implies A^T = \begin{pmatrix} 2 & 0 \\ -1 & -4 \\ 1 & 3 \end{pmatrix}

  • Special Matrix Classes Defined by Transposition:

    • Symmetric Matrix: A square matrix AA is symmetric if and only if:     AT=AA^T = A

    • Skew-Symmetric Matrix: A square matrix AA is skew-symmetric if and only if:     AT=−AA^T = -A

    • Orthogonal Matrix: A square matrix AA is orthogonal if and only if:     AT=A−1  ⟹  AAT=IA^T = A^{-1} \implies A A^T = I

    • Determinant of an orthogonal matrix:       det⁡(AAT)=det⁡(I)  ⟹  (det⁡(A))2=1  ⟹  det⁡(A)=±1\det(A A^T) = \det(I) \implies (\det(A))^2 = 1 \implies \det(A) = \pm 1

Algebraic Properties of Matrices

  • Addition Properties:

    • Commutativity: A+B=B+AA + B = B + A

    • Associativity: A+(B+C)=(A+B)+CA + (B + C) = (A + B) + C

  • Multiplication Properties:

    • Non-Commutative: In general, AB≠BAAB \neq BA

    • Associativity: A(BC)=(AB)CA(BC) = (AB)C

    • Distributive Laws:     A(B+C)=AB+ACA(B + C) = AB + AC     (A+B)C=AC+BC(A + B)C = AC + BC

  • Transpose Properties:

    • (A+B)T=AT+BT(A + B)^T = A^T + B^T

    • (kA)T=kAT(kA)^T = k A^T

    • Reversal Rule for Transpose: (AB)T=BTAT(AB)^T = B^T A^T

  • Inverse Properties:

    • Reversal Rule for Inverse: (AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1}

  • Determinant Multiplicative Property:   det⁡(AB)=det⁡(A)det⁡(B)\det(AB) = \det(A) \det(B)

Matrix Transformations in the Two-Dimensional Plane

  • Geometric transformations in the plane (excluding translations) can be represented by 2×22 \times 2 matrices acting on a column vector (xy)\begin{pmatrix} x \\ y \end{pmatrix}.

  • Mapping formula:   (x′y′)=(abcd)(xy)\begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix}

  • Under any linear transformation represented by a matrix, the origin (0,0)\left(0, 0\right) remains fixed at the origin. Consequently, translations are not linear matrix transformations.

  • Rotations About the Origin:

    • The general matrix for an anticlockwise rotation through angle θ\theta about the origin:     Rθ=(cos⁡(θ)−sin⁡(θ)sin⁡(θ)cos⁡(θ))R_\theta = \begin{pmatrix} \cos(\theta) & -\sin(\theta) \\ \sin(\theta) & \cos(\theta) \end{pmatrix}

    • The general matrix for a clockwise rotation through angle θ\theta about the origin:     R−θ=Rθ−1=(cos⁡(θ)sin⁡(θ)−sin⁡(θ)cos⁡(θ))R_{-\theta} = R_\theta^{-1} = \begin{pmatrix} \cos(\theta) & \sin(\theta) \\ -\sin(\theta) & \cos(\theta) \end{pmatrix}


Rotation of a point through angle theta about the origin
  • Standard 90∘90^\circ Rotations:

    • 90∘90^\circ Anticlockwise Rotation: (0−110)\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}

    • 90∘90^\circ Clockwise Rotation: (01−10)\begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}

  • Worked Example (90∘90^\circ Anticlockwise Rotation of P(5,2)P(5, 2)):   (0−110)(52)=(0(5)−1(2)1(5)+0(2))=(−25)\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} 5 \\ 2 \end{pmatrix} = \begin{pmatrix} 0(5) - 1(2) \\ 1(5) + 0(2) \end{pmatrix} = \begin{pmatrix} -2 \\ 5 \end{pmatrix}   Resulting in the image point Q(−2,5)Q(-2, 5).


Rotation of point P(5,2) by 90 degrees anticlockwise to Q(-2,5)
  • Worked Example (60∘60^\circ Anticlockwise Rotation of (3,4)(3, 4)):     R60∘=(cos⁡(60∘)−sin⁡(60∘)sin⁡(60∘)cos⁡(60∘))=(12−323212)R_{60^\circ} = \begin{pmatrix} \cos(60^\circ) & -\sin(60^\circ) \\ \sin(60^\circ) & \cos(60^\circ) \end{pmatrix} = \begin{pmatrix} \frac{1}{2} & -\frac{\sqrt{3}}{2} \\ \frac{\sqrt{3}}{2} & \frac{1}{2} \end{pmatrix}     (x′y′)=(12−323212)(34)=(32−23332+2)\begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} \frac{1}{2} & -\frac{\sqrt{3}}{2} \\ \frac{\sqrt{3}}{2} & \frac{1}{2} \end{pmatrix} \begin{pmatrix} 3 \\ 4 \end{pmatrix} = \begin{pmatrix} \frac{3}{2} - 2\sqrt{3} \\ \frac{3\sqrt{3}}{2} + 2 \end{pmatrix}

    • Reflections in the Plane:

  • Reflection in the yy-axis:

    • Transformation Matrix: (−1001)\begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}

    • Effect on (2,−3)\left(2, -3\right):       (−1001)(2−3)=(−2−3)\begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} 2 \\ -3 \end{pmatrix} = \begin{pmatrix} -2 \\ -3 \end{pmatrix}


Reflection of point across the y-axis
  • Reflection in the xx-axis:

    • Transformation Matrix: (100−1)\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}

    • Effect on (2,−3)\left(2, -3\right):     (100−1)(2−3)=(23)\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} \begin{pmatrix} 2 \\ -3 \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \end{pmatrix}


Reflection of point across the x-axis
  • General Reflection in a Line Through the Origin Inclined at Angle θ\theta to the Positive xx-axis:     Mθ=(cos⁡(2θ)sin⁡(2θ)sin⁡(2θ)−cos⁡(2θ))M_\theta = \begin{pmatrix} \cos(2\theta) & \sin(2\theta) \\ \sin(2\theta) & -\cos(2\theta) \end{pmatrix}

    • Property: Because reflecting a point twice across the same line restores the original coordinates, every reflection matrix is equal to its own inverse:       Mθ−1=MθM_\theta^{-1} = M_\theta

  • Worked Example (Inverse Reflection Problem):

    • A point reflected across the line y=−2xy = -2x produces an image at (−2,7)(-2, 7).

    • The original point coordinates are A=(−4.4,5.8)A = (-4.4, 5.8).

    • Dilation (Scaling):

  • Scaling is represented by diagonal matrices (kx00ky)\begin{pmatrix} k_x & 0 \\ 0 & k_y \end{pmatrix}, where kxk_x scales the xx-coordinate and kyk_y scales the yy-coordinate.

  • Scaling in xx-direction only by factor 44 on (2,3)\left(2, 3\right):     (4001)(23)=(83)\begin{pmatrix} 4 & 0 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} 2 \\ 3 \end{pmatrix} = \begin{pmatrix} 8 \\ 3 \end{pmatrix}


Scaling in the x direction from (2,3) to (8,3)
  • Scaling in yy-direction only by factor 33 on (2,3)\left(2, 3\right):   (1003)(23)=(29)\begin{pmatrix} 1 & 0 \\ 0 & 3 \end{pmatrix} \begin{pmatrix} 2 \\ 3 \end{pmatrix} = \begin{pmatrix} 2 \\ 9 \end{pmatrix}


Scaling in the y direction from (2,3) to (2,9)
  • Scaling in both directions simultaneously by kx=4k_x = 4 and ky=5k_y = 5 on (2,3)\left(2, 3\right):     (4005)(23)=(815)\begin{pmatrix} 4 & 0 \\ 0 & 5 \end{pmatrix} \begin{pmatrix} 2 \\ 3 \end{pmatrix} = \begin{pmatrix} 8 \\ 15 \end{pmatrix}

    • Determining Transformation Matrices from Point Mappings:

  • Problem: Find the 2×22 \times 2 matrix that transforms (−3,2)→(−8,−13)(-3, 2) \rightarrow (-8, -13) and (5,4)→(6,7)(5, 4) \rightarrow (6, 7).

  • In matrix equation form:     (abcd)(−3524)=(−86−137)\begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} -3 & 5 \\ 2 & 4 \end{pmatrix} = \begin{pmatrix} -8 & 6 \\ -13 & 7 \end{pmatrix}

  • The resulting matrix is:     (2−13−2)\begin{pmatrix} 2 & -1 \\ 3 & -2 \end{pmatrix}

    • Composite Transformations and Inverse Matrix Transformations:

  • Problem: A point TT undergoes a reflection across a line making an anticlockwise angle of 30∘30^\circ with the xx-axis, followed by an anticlockwise rotation of 45∘45^\circ, arriving at image point KK. Find the transformation matrix mapping from KK back to TT.

  • Forward Transformation:     K=R45∘M30∘TK = R_{45^\circ} M_{30^\circ} T

  • Reverse Transformation:     T=(R45∘M30∘)−1K=M30∘−1R45∘−1K=M30∘R−45∘KT = \left(R_{45^\circ} M_{30^\circ}\right)^{-1} K = M_{30^\circ}^{-1} R_{45^\circ}^{-1} K = M_{30^\circ} R_{-45^\circ} K

  • Resulting Transformation Matrix:     M−1=(1−3221+3221+3221−322)M^{-1} = \begin{pmatrix} \frac{1 - \sqrt{3}}{2\sqrt{2}} & \frac{1 + \sqrt{3}}{2\sqrt{2}} \\ \frac{1 + \sqrt{3}}{2\sqrt{2}} & \frac{1 - \sqrt{3}}{2\sqrt{2}} \end{pmatrix}