Skip to content

Matrix operations | CBSE - Wyatt's Notes

flowchart TD
A[01 Matrix Operations] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]

Study notes for CBSE Class 12 mathematics - Matrix operations.

  • Matrix addition and scalar multiplication
  • Matrix multiplication: (AB)ij=kaikbkj(AB)_{ij} = \sum_k a_{ik}b_{kj}
  • Determinant of a 2x2 matrix: det(abcd)=adbc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc
  • Determinant of a 3x3 matrix using cofactor expansion
  • Inverse of a matrix: A1=1det(A)adj(A)A^{-1} = \frac{1}{\det(A)}\text{adj}(A), exists only if det(A)0\det(A) \neq 0
  • Properties: (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1}, (AB)T=BTAT(AB)^T = B^T A^T
  • Scalar multiplication: kAkA multiplies every entry of AA by kk
  • A matrix is symmetric if AT=AA^T = A, skew-symmetric if AT=AA^T = -A

Worked Example 1 — Matrix Multiplication

Section titled “Worked Example 1 — Matrix Multiplication”

Problem: Given A=(1234)A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} and B=(5678)B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}, find ABAB and BABA.

Solution:

AB=(15+2716+2835+4736+48)=(19224350)AB = \begin{pmatrix} 1 \cdot 5 + 2 \cdot 7 & 1 \cdot 6 + 2 \cdot 8 \\ 3 \cdot 5 + 4 \cdot 7 & 3 \cdot 6 + 4 \cdot 8 \end{pmatrix} = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}

BA=(51+6352+6471+8372+84)=(23343146)BA = \begin{pmatrix} 5 \cdot 1 + 6 \cdot 3 & 5 \cdot 2 + 6 \cdot 4 \\ 7 \cdot 1 + 8 \cdot 3 & 7 \cdot 2 + 8 \cdot 4 \end{pmatrix} = \begin{pmatrix} 23 & 34 \\ 31 & 46 \end{pmatrix}

Note: ABBAAB \neq BA (matrix multiplication is not commutative).

Worked Example 2 — Determinant and Inverse of a 3x3 Matrix

Section titled “Worked Example 2 — Determinant and Inverse of a 3x3 Matrix”

Problem: Find the determinant and inverse of A=(123014560)A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix}.

Solution:

Determinant (expanding along first row): det(A)=1146020450+30156\det(A) = 1\begin{vmatrix} 1 & 4 \\ 6 & 0 \end{vmatrix} - 2\begin{vmatrix} 0 & 4 \\ 5 & 0 \end{vmatrix} + 3\begin{vmatrix} 0 & 1 \\ 5 & 6 \end{vmatrix} =1(024)2(020)+3(05)=24+4015=1= 1(0 - 24) - 2(0 - 20) + 3(0 - 5) = -24 + 40 - 15 = 1

Cofactor matrix: C=(2420518154541)C = \begin{pmatrix} -24 & 20 & -5 \\ 18 & -15 & 4 \\ 5 & -4 & 1 \end{pmatrix}

Adjugate (transpose of cofactor matrix): adj(A)=(2418520154541)\text{adj}(A) = \begin{pmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{pmatrix}

Inverse: A1=1det(A)adj(A)=(2418520154541)A^{-1} = \frac{1}{\det(A)}\text{adj}(A) = \begin{pmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{pmatrix}

Verification: AA1=IAA^{-1} = I (identity matrix).

Worked Example 3 — Solving a System Using Matrix Inverse

Section titled “Worked Example 3 — Solving a System Using Matrix Inverse”

Problem: Solve the system: x+2y=5x + 2y = 5 3x+4y=113x + 4y = 11

Solution:

In matrix form AX=BAX = B: (1234)(xy)=(511)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 5 \\ 11 \end{pmatrix}

Determinant: det(A)=1423=2\det(A) = 1 \cdot 4 - 2 \cdot 3 = -2

A1=12(4231)=(211.50.5)A^{-1} = \frac{1}{-2}\begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix} = \begin{pmatrix} -2 & 1 \\ 1.5 & -0.5 \end{pmatrix}

X=A1B=(211.50.5)(511)=(10+117.55.5)=(12)X = A^{-1}B = \begin{pmatrix} -2 & 1 \\ 1.5 & -0.5 \end{pmatrix}\begin{pmatrix} 5 \\ 11 \end{pmatrix} = \begin{pmatrix} -10 + 11 \\ 7.5 - 5.5 \end{pmatrix} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}

So x=1x = 1, y=2y = 2.

  1. If A=(2013)A = \begin{pmatrix} 2 & 0 \\ 1 & 3 \end{pmatrix} and B=(1425)B = \begin{pmatrix} 1 & 4 \\ 2 & 5 \end{pmatrix}, find ABAB and BABA.
  2. Find the determinant of A=(3124)A = \begin{pmatrix} 3 & 1 \\ -2 & 4 \end{pmatrix} and hence find A1A^{-1}.
  3. Using the matrix inverse method, solve: 2x+y=72x + y = 7, x+3y=11x + 3y = 11.
  1. If A=(102010201)A = \begin{pmatrix} 1 & 0 & 2 \\ 0 & 1 & 0 \\ 2 & 0 & 1 \end{pmatrix}, find det(A)\det(A) and determine whether A1A^{-1} exists.
  2. Show that if AA and BB are invertible matrices, then (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1} using A=(1235)A = \begin{pmatrix} 1 & 2 \\ 3 & 5 \end{pmatrix} and B=(2111)B = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}.
  • For 3x3 determinants, expand along the row or column with the most zeros
  • Check that det(A)0\det(A) \neq 0 before computing the inverse
  • Matrix multiplication requires the number of columns in the first matrix to equal the number of rows in the second
  • The adjugate matrix is the transpose of the cofactor matrix, not the cofactor matrix itself
  • The identity matrix II satisfies AI=IA=AAI = IA = A for any square matrix AA
  • A matrix multiplied by its inverse gives the identity: AA1=A1A=IAA^{-1} = A^{-1}A = I
  1. When computing cofactors, pay attention to the sign pattern: (+++++)\begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix}.
  2. Verify your inverse by multiplying AA1AA^{-1} and confirming you get the identity matrix.
  3. For a 2x2 matrix, the inverse is 1adbc(dbca)\frac{1}{ad-bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}.
  4. If det(A)=0\det(A) = 0, the matrix is singular and the system may have no solution or infinitely many solutions.
  5. Practice expanding determinants along different rows to build speed and accuracy.
  6. For a triangular matrix (upper or lower), the determinant is the product of diagonal entries.

Matrix operations are rules for combining grids of numbers. Multiplication is not just multiplying corresponding entries — it is a dot-product process that combines rows of one matrix with columns of another, encoding how linear transformations compose. The determinant measures the scaling factor of a transformation: if it is zero, the transformation squashes space into a lower dimension, losing information and making the matrix impossible to invert. Finding an inverse is like asking “what transformation undoes this one?” The adjugate method is systematic but tedious; for 2x2 matrices there is a simple shortcut of swapping diagonal elements and negating off-diagonal ones.

Mistake 1: Assuming matrix multiplication is commutative

Section titled “Mistake 1: Assuming matrix multiplication is commutative”

Matrix multiplication is NOT commutative: ABBAAB \neq BA as a rule. Students often rearrange the order of matrices in products without realising this changes the result. For example, if AA is 2×32 \times 3 and BB is 3×23 \times 2, then ABAB is 2×22 \times 2 while BABA is 3×33 \times 3 — they are not even the same size. Always preserve the order of multiplication.

Mistake 2: Forgetting the sign pattern when computing cofactors

Section titled “Mistake 2: Forgetting the sign pattern when computing cofactors”

The cofactor expansion of a determinant requires alternating signs: (+++++)\begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix}. Students often forget the negative signs on the off-diagonal positions, leading to incorrect determinants and inverses. A memory aid: the sign at position (i,j)(i,j) is (1)i+j(-1)^{i+j}.

Mistake 3: Attempting to invert a singular matrix

Section titled “Mistake 3: Attempting to invert a singular matrix”

A matrix has an inverse only if its determinant is non-zero. Students sometimes compute the adjugate and divide by zero, or write A1A^{-1} without checking det(A)\det(A). If det(A)=0\det(A) = 0, the matrix is singular and no inverse exists. Always check the determinant first before attempting to find the inverse.

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Ensure you have mastered the prerequisite material before attempting this advanced content.

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Ensure you have mastered the prerequisite material before attempting this advanced content.

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Ensure you have mastered the prerequisite material before attempting this advanced content.