👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Applied Mathematics
Study mode

Algebra – Matrices and Determinants

Learning objective
Understand the concepts of matrices and determinants and their applications in engineering problems.

Introduction to Matrices and Determinants

In mechanical engineering and many other fields, solving complex problems often requires organizing and manipulating large sets of numbers or equations efficiently. Matrices and determinants are powerful mathematical tools that help engineers do just that.

A matrix is a rectangular array of numbers arranged in rows and columns. It can represent data, coefficients of equations, or transformations in space. Determinants are special numbers calculated from square matrices that provide important information, such as whether a system of equations has a unique solution or if a mechanical structure is stable.

Understanding these concepts is essential for entrance exams like DRDO CEPTAM 11 and for practical engineering problem-solving.

Matrices

A matrix is an ordered collection of numbers arranged in rows and columns. The size or dimension of a matrix is given by the number of rows and columns it contains, denoted as m x n, where m is the number of rows and n is the number of columns.

For example, a 3x3 matrix looks like this:

a11 a12 a13 a21 a22 a23 a31 a32 a33 3x3 Matrix A =

Here, aij represents the element in the ith row and jth column.

Types of Matrices

  • Row Matrix: Has only one row (1 x n).
  • Column Matrix: Has only one column (m x 1).
  • Square Matrix: Number of rows equals number of columns (n x n).
  • Zero Matrix: All elements are zero.
  • Identity Matrix: A square matrix with 1's on the main diagonal and 0's elsewhere.

Basic Matrix Operations

Understanding how to perform operations on matrices is crucial. The main operations include addition, subtraction, and multiplication.

Matrix Addition and Subtraction

Matrices can be added or subtracted only if they have the same dimensions. The operation is performed element-wise.

For example, given two 2x2 matrices:

\[A = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 2 \\ 1 & 0 \end{bmatrix}\]

Their sum is:

\[A + B = \begin{bmatrix} 1+5 & 3+2 \\ 2+1 & 4+0 \end{bmatrix} = \begin{bmatrix} 6 & 5 \\ 3 & 4 \end{bmatrix}\]

Matrix Multiplication

Matrix multiplication is more involved and is only defined when the number of columns of the first matrix equals the number of rows of the second matrix.

If A is an m x n matrix and B is an n x p matrix, their product AB is an m x p matrix.

The element in the ith row and jth column of AB is calculated as:

\[(AB)_{ij} = \sum_{k=1}^n a_{ik} b_{kj}\]

For example, multiplying two 2x2 matrices:

\[A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 2 & 0 \\ 1 & 2 \end{bmatrix}\]

Calculate element-wise:

  • (AB)11 = 1x2 + 2x1 = 2 + 2 = 4
  • (AB)12 = 1x0 + 2x2 = 0 + 4 = 4
  • (AB)21 = 3x2 + 4x1 = 6 + 4 = 10
  • (AB)22 = 3x0 + 4x2 = 0 + 8 = 8

So,

\[AB = \begin{bmatrix} 4 & 4 \\ 10 & 8 \end{bmatrix}\] A = 1 2 3 4 x B = 2 0 1 2 = AB = 4 4 10 8

Determinants

The determinant is a scalar value associated with a square matrix. It provides important information about the matrix, such as whether the matrix is invertible and properties related to linear transformations.

Properties of Determinants

  • The determinant of an identity matrix is always 1.
  • If any two rows or columns are identical, the determinant is zero.
  • Swapping two rows or columns changes the sign of the determinant.
  • If a row or column is multiplied by a scalar, the determinant is multiplied by the same scalar.
  • The determinant of a product of matrices equals the product of their determinants.

Calculating Determinants

Determinant of a 2x2 Matrix

For a matrix

\[A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\]

the determinant is:

\[\det A = ad - bc\]

Determinant of a 3x3 Matrix (Expansion by Minors)

For a 3x3 matrix

\[A = \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{bmatrix}\]

the determinant is calculated by expanding along the first row:

\[\det A = a_{11}C_{11} + a_{12}C_{12} + a_{13}C_{13}\]

where Cij is the cofactor of element aij, defined as:

\[C_{ij} = (-1)^{i+j} M_{ij}\]

and Mij is the minor of aij, i.e., the determinant of the 2x2 matrix formed by deleting the ith row and jth column.

Calculate determinant of a11 a12 a13 a21 a22 a23 a31 a32 a33 = a11 x det a22 a23 a32 a33 - a12 x det a21 a23 a31 a33

Inverse Matrix

The inverse of a square matrix A is another matrix, denoted A-1, such that when multiplied with A, it yields the identity matrix:

\[A \times A^{-1} = I\]

The inverse exists only if the determinant of A is non-zero. If the determinant is zero, the matrix is called singular and does not have an inverse.

Finding the Inverse

For a 2x2 matrix

\[A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\]

the inverse is given by:

\[A^{-1} = \frac{1}{\det A} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\]

where \(\det A = ad - bc eq 0\).

For larger matrices, the inverse is found using the adjoint matrix and determinant:

\[A^{-1} = \frac{1}{\det A} \times \text{adj}(A)\]

The adjoint matrix is the transpose of the cofactor matrix.

graph TD    A[Start: Given matrix A]    B{Is det(A) ≠ 0?}    C[Find Cofactor matrix]    D[Transpose cofactor matrix to get adjoint]    E[Calculate inverse as (1/det(A)) x adjoint]    F[Inverse matrix A⁻¹ obtained]    G[No inverse exists]    A --> B    B -- Yes --> C    C --> D    D --> E    E --> F    B -- No --> G

Applications of Matrices and Determinants in Engineering

Matrices and determinants are widely used in mechanical engineering for:

  • Solving systems of linear equations representing forces, displacements, or currents.
  • Analyzing stability and stiffness of mechanical structures.
  • Transforming coordinates in kinematics and dynamics.
  • Modeling and simulation of mechanical systems.
Key Concept

Why Matrices and Determinants Matter

They simplify complex engineering problems into manageable mathematical forms, enabling efficient computation and analysis.

Formula Bank

Determinant of 2x2 Matrix
\[ \det\begin{bmatrix}a & b \\ c & d\end{bmatrix} = ad - bc \]
where: a,b,c,d are elements of the matrix
Determinant of 3x3 Matrix (Expansion by Minors)
\[ \det A = a_{11}C_{11} + a_{12}C_{12} + a_{13}C_{13} \]
where: \(a_{ij}\) = element, \(C_{ij}\) = cofactor
Inverse of 2x2 Matrix
\[ A^{-1} = \frac{1}{\det A} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \]
where: a,b,c,d = elements of matrix A, \(\det A eq 0\)
Matrix Multiplication
\[ (AB)_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj} \]
where: \(a_{ik}\) = element of A, \(b_{kj}\) = element of B
Inverse Matrix Method for System of Equations
\[ X = A^{-1}B \]
where: A = coefficient matrix, B = constants vector, X = variables vector

Worked Examples

Example 1: Finding the Determinant of a 3x3 Matrix Easy
Calculate the determinant of matrix \[ \begin{bmatrix} 1 & 2 & 3 \\ 0 & 4 & 5 \\ 1 & 0 & 6 \end{bmatrix} \] using expansion by minors.

Step 1: Expand along the first row:

\[ \det A = a_{11}C_{11} + a_{12}C_{12} + a_{13}C_{13} \] where \(a_{11} = 1\), \(a_{12} = 2\), \(a_{13} = 3\).

Step 2: Calculate cofactors:

  • \(C_{11} = (-1)^{1+1} \times \det \begin{bmatrix} 4 & 5 \\ 0 & 6 \end{bmatrix} = 1 \times (4 \times 6 - 0 \times 5) = 24\)
  • \(C_{12} = (-1)^{1+2} \times \det \begin{bmatrix} 0 & 5 \\ 1 & 6 \end{bmatrix} = -1 \times (0 \times 6 - 1 \times 5) = -1 \times (-5) = 5\)
  • \(C_{13} = (-1)^{1+3} \times \det \begin{bmatrix} 0 & 4 \\ 1 & 0 \end{bmatrix} = 1 \times (0 \times 0 - 1 \times 4) = -4\)

Step 3: Substitute values:

\[ \det A = 1 \times 24 + 2 \times 5 + 3 \times (-4) = 24 + 10 - 12 = 22 \]

Answer: The determinant is 22.

Example 2: Matrix Multiplication Medium
Multiply matrices \[ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \quad \text{and} \quad B = \begin{bmatrix} 2 & 0 \\ 1 & 2 \end{bmatrix} \]

Step 1: Check dimensions: A is 2x2, B is 2x2, multiplication is possible.

Step 2: Calculate each element of \(AB\):

  • \((AB)_{11} = 1 \times 2 + 2 \times 1 = 2 + 2 = 4\)
  • \((AB)_{12} = 1 \times 0 + 2 \times 2 = 0 + 4 = 4\)
  • \((AB)_{21} = 3 \times 2 + 4 \times 1 = 6 + 4 = 10\)
  • \((AB)_{22} = 3 \times 0 + 4 \times 2 = 0 + 8 = 8\)

Answer:

\[ AB = \begin{bmatrix} 4 & 4 \\ 10 & 8 \end{bmatrix} \]
Example 3: Finding the Inverse of a 2x2 Matrix Easy
Find the inverse of matrix \[ \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix} \] and verify by multiplication.

Step 1: Calculate determinant:

\[ \det A = 4 \times 6 - 7 \times 2 = 24 - 14 = 10 eq 0 \]

Step 2: Use inverse formula:

\[ A^{-1} = \frac{1}{10} \begin{bmatrix} 6 & -7 \\ -2 & 4 \end{bmatrix} = \begin{bmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{bmatrix} \]

Step 3: Verify by multiplication:

\[ A \times A^{-1} = \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix} \times \begin{bmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{bmatrix} \]

Calculate elements:

  • (1,1): 4x0.6 + 7x(-0.2) = 2.4 - 1.4 = 1
  • (1,2): 4x(-0.7) + 7x0.4 = -2.8 + 2.8 = 0
  • (2,1): 2x0.6 + 6x(-0.2) = 1.2 - 1.2 = 0
  • (2,2): 2x(-0.7) + 6x0.4 = -1.4 + 2.4 = 1

Result is the identity matrix:

\[ I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \]

Answer: The inverse matrix is

\[ \begin{bmatrix} 0.6 & -0.7 \\ -0.2 & 0.4 \end{bmatrix} \]
Example 4: Solving System of Linear Equations Using Matrix Inverse Medium
Solve the system: \[ 2x + 3y = 8 \] \[ 5x + 4y = 13 \] using the matrix inverse method.

Step 1: Write in matrix form \(AX = B\):

\[ A = \begin{bmatrix} 2 & 3 \\ 5 & 4 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \end{bmatrix}, \quad B = \begin{bmatrix} 8 \\ 13 \end{bmatrix} \]

Step 2: Calculate determinant of A:

\[ \det A = 2 \times 4 - 3 \times 5 = 8 - 15 = -7 eq 0 \]

Step 3: Find inverse of A:

\[ A^{-1} = \frac{1}{-7} \begin{bmatrix} 4 & -3 \\ -5 & 2 \end{bmatrix} = \begin{bmatrix} -\frac{4}{7} & \frac{3}{7} \\ \frac{5}{7} & -\frac{2}{7} \end{bmatrix} \]

Step 4: Calculate \(X = A^{-1} B\):

\[ X = \begin{bmatrix} -\frac{4}{7} & \frac{3}{7} \\ \frac{5}{7} & -\frac{2}{7} \end{bmatrix} \times \begin{bmatrix} 8 \\ 13 \end{bmatrix} \]

Calculate components:

  • \(x = -\frac{4}{7} \times 8 + \frac{3}{7} \times 13 = -\frac{32}{7} + \frac{39}{7} = \frac{7}{7} = 1\)
  • \(y = \frac{5}{7} \times 8 - \frac{2}{7} \times 13 = \frac{40}{7} - \frac{26}{7} = \frac{14}{7} = 2\)

Answer: \(x = 1\), \(y = 2\)

Example 5: Determinant Application in Engineering Problem Hard
A mechanical framework has a stiffness matrix: \[ K = \begin{bmatrix} 10 & -2 & 0 \\ -2 & 5 & -1 \\ 0 & -1 & 3 \end{bmatrix} \] Determine if the structure is stable by evaluating the determinant of \(K\).

Step 1: Calculate determinant of \(K\) using expansion by minors along the first row:

\[ \det K = 10 \times \det \begin{bmatrix} 5 & -1 \\ -1 & 3 \end{bmatrix} - (-2) \times \det \begin{bmatrix} -2 & -1 \\ 0 & 3 \end{bmatrix} + 0 \times (\ldots) \]

Step 2: Calculate minors:

  • \(\det \begin{bmatrix} 5 & -1 \\ -1 & 3 \end{bmatrix} = 5 \times 3 - (-1) \times (-1) = 15 - 1 = 14\)
  • \(\det \begin{bmatrix} -2 & -1 \\ 0 & 3 \end{bmatrix} = -2 \times 3 - (-1) \times 0 = -6 - 0 = -6\)

Step 3: Substitute values:

\[ \det K = 10 \times 14 - (-2) \times (-6) + 0 = 140 - 12 + 0 = 128 \]

Step 4: Interpretation:

Since \(\det K = 128 eq 0\), the stiffness matrix is non-singular, indicating the mechanical framework is stable and the system of equations describing it has a unique solution.

Answer: The structure is stable.

Tips & Tricks

Tip: Remember the determinant of the identity matrix is always 1.

When to use: Quickly check if a matrix is invertible or when verifying calculations.

Tip: Use row operations to simplify matrices before calculating determinants.

When to use: For larger matrices, this reduces calculation time and errors.

Tip: Always check the determinant before attempting to find the inverse matrix.

When to use: To avoid wasting time on matrices that are singular (non-invertible).

Tip: For 2x2 matrices, memorize the inverse formula to save time during exams.

When to use: Quick calculations under time pressure.

Tip: Use matrix multiplication properties to verify inverse correctness.

When to use: Confirm your solution by checking if \(A \times A^{-1} = I\).

Common Mistakes to Avoid

❌ Calculating determinant by incorrectly expanding minors or cofactors.
✓ Follow the cofactor expansion method carefully, paying attention to the alternating signs.
Why: Students often forget the sign pattern (+, -, +, ...) in cofactor expansion, leading to wrong answers.
❌ Attempting to find inverse of a matrix with zero determinant.
✓ Always check determinant first; if zero, inverse does not exist.
Why: Lack of checking determinant wastes time and causes confusion.
❌ Confusing matrix multiplication order (assuming \(AB = BA\)).
✓ Remember matrix multiplication is not commutative; multiply in the correct order.
Why: Misunderstanding matrix properties leads to incorrect results.
❌ Forgetting to multiply adjoint by \(1/\det A\) when finding inverse.
✓ Always divide the adjoint matrix by the determinant to get the inverse.
Why: Omitting this step results in an incorrect inverse matrix.
❌ Mixing up rows and columns during matrix operations.
✓ Keep track of row and column indices carefully during calculations.
Why: Carelessness leads to wrong multiplication or addition results.
✨ AI exam tools — try them free (included in every plan)
Tip: select any text above to Explain / Example / Simplify it.
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
Algebra – Matrices and Determinants · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.