Determinants - Adjoint of Matrix Computing Inverse of Matrix

  • In this topic, we will learn about determinants, the adjoint of a matrix, and how to compute the inverse of a matrix.

What is a Determinant?

  • The determinant is a scalar value that is calculated from the elements of a square matrix.
  • It provides important information about the matrix, such as its invertibility and its effect on transformations.
  • The determinant of a square matrix A is denoted as |A| or det(A).

Properties of Determinants

  1. The determinant of a 1x1 matrix (scalar) is equal to the single element in it.
  1. The determinant of a 2x2 matrix can be calculated using the ad-bc formula.
  1. The determinant of a matrix is equal to the determinant of its transpose.
  1. If a matrix has all its elements as zero, its determinant is also zero.
  1. Swapping two rows or columns of a matrix changes the sign of its determinant.
  1. The determinant of a matrix can be expanded using cofactor expansion or row operations.

The Adjoint of a Matrix

  • The adjoint of a matrix A, denoted as adj(A), is obtained by taking the transpose of the cofactor matrix of A.
  • The cofactor of an element aij is defined as the determinant of the (n-1)x(n-1) matrix when the ith row and jth column are deleted.
  • The adjoint of a matrix is useful in calculating the inverse of a matrix.

Computing the Inverse of a Matrix

  • The inverse of a matrix A, denoted as A-1, is the matrix that satisfies the property: A * A-1 = I, where I is the identity matrix.
  • The inverse of a matrix exists only if its determinant is non-zero.
  • The inverse of a 2x2 matrix can be calculated using the formula A-1 = (1/|A|) * adj(A).
  • For higher order matrices, the inverse can be calculated using matrix operations and the adjoint.
  • The inverse of a matrix is useful in solving systems of linear equations and many other mathematical operations.
  1. Determinant Properties:
  • The determinant of a matrix is equal to zero if any two rows or columns are proportional.
  • The determinant of a matrix is equal to the product of its eigenvalues.
  • If two rows or columns of a matrix are interchanged, the determinant remains the same in magnitude but changes sign.
  • Adding a multiple of one row or column to another does not change the determinant.
  • Multiplying all elements of a row or column by a scalar multiplies the determinant by the same scalar.
  1. Cofactor Expansion:
  • Cofactor expansion is a method used to calculate the determinant of a matrix.
  • It involves expanding the determinant along a row or column by using the cofactors of the elements.
  • The cofactor of an element aij is the signed determininant of the matrix obtained by removing row i and column j and multiplying it by (-1)i+j.
  • The determinant of an n×n matrix can be calculated by expanding along any row or column.
  1. Example: Cofactor Expansion
  • Consider a 3x3 matrix A: A = | 2 1 3 | | 4 -2 0 | | 1 3 -1 |

  • To calculate the determinant using cofactor expansion, choose a row or column (e.g. the first row).

  • The cofactor expansion along the first row will be: det(A) = (2 * C11) + (1 * C12) + (3 * C13) = 2 * det | -2 0 | - 1 * det | 4 0 | + 3 * det | 4 -2 | | 3 -1 | | 1 -2 | | 1 3 |

  • Calculate determinants of 2x2 matrices and substitute their values to find the determinant of A.

  1. The Adjoint Matrix:
  • The adjoint of a matrix A is obtained by taking the transpose of its cofactor matrix.
  • The cofactor of an element aij is the determinant of the (n-1)x(n-1) matrix obtained by deleting row i and column j.
  • The adjoint matrix is denoted as adj(A).
  • The adjoint of a matrix is used in finding the inverse of a matrix.
  1. Example: Adjoint Matrix
  • Consider a 3x3 matrix A: A = | 2 1 3 | | 4 -2 0 | | 1 3 -1 |

  • To find the adjoint matrix (adj(A)), calculate the cofactors of each element: C11 = det | -2 0 | = 2, C12 = det | 4 0 | = 4, C13 = det | 4 -2 | = -20 | 3 -1 | | 1 -2 | | 1 3 |

  • Arrange the cofactors in their respective positions and transpose the matrix to obtain the adjoint matrix.

  1. Inverse of a Matrix:
  • The inverse of a matrix A, denoted as A-1, is the matrix that satisfies the property: A * A-1 = I, where I is the identity matrix.
  • The inverse of a matrix exists only if its determinant is non-zero.
  • The inverse of a 2x2 matrix can be calculated using the formula A-1 = (1/|A|) * adj(A).
  • For higher order matrices, the inverse can be calculated using matrix operations and the adjoint.
  1. Example: Inverse of 2x2 Matrix
  • Consider a 2x2 matrix A: A = | a b | | c d |

  • To find the inverse of matrix A, calculate its determinant: |A| = ad - bc.

  • If the determinant is non-zero, the inverse exists.

  • Calculate the adjoint matrix adj(A), and then find A-1 = (1/|A|) * adj(A).

  1. Example: Inverse of 3x3 Matrix
  • Consider a 3x3 matrix A: A = | 2 1 3 | | 4 -2 0 | | 1 3 -1 |

  • To find the inverse of matrix A, calculate its determinant: |A| = 2 * det | -2 0 | - 1 * det | 4 0 | + 3 * det | 4 -2 | = 24 | 3 -1 | | 1 -2 | | 1 3 |

  • Since the determinant is non-zero, the inverse exists.

  • Calculate the adjoint matrix adj(A) and find A-1 = (1/|A|) * adj(A) using the formula.

  1. Inverse of Identity Matrix:
  • The inverse of an identity matrix I is itself, as I * I-1 = I.
  • Every non-zero scalar value k also has an inverse, where k * k-1 = 1.
  • The inverse of a product of matrices is the product of their inverses in reverse order, i.e., (AB)-1 = B-1 * A-1.
  1. Applications of Inverse Matrices:
  • Inverse matrices are used to solve systems of linear equations.
  • They are important in cryptography algorithms, such as RSA encryption.
  • Inverse matrices are used in calculating eigenvalues and eigenvectors.
  • They are also used in solving optimization problems and finding matrix powers.
  1. The Determinant of the Product of Matrices:
  • The determinant of the product of two matrices A and B is equal to the product of their determinants, i.e., |AB| = |A| * |B|.
  • This property is useful when calculating the determinant of a product of several matrices.
  1. Non-Invertible Matrices:
  • A matrix A is non-invertible if its determinant is zero.
  • If a matrix is non-invertible, it is also called a singular matrix.
  • Non-invertible matrices do not have an inverse and cannot be used to solve systems of equations.
  1. Finding Inverse using Row Operations:
  • The inverse of a matrix can be found by performing row operations on the given matrix until it reaches the identity matrix.
  • The same row operations are performed on the identity matrix to obtain the inverse.
  • Row operations include swapping rows, scaling rows, and adding or subtracting rows.
  1. Example: Finding Inverse using Row Operations:
  • Consider a 3x3 matrix A: A = | 2 1 3 | | 4 -2 0 | | 1 3 -1 |
  • To find the inverse of A, augment A with the identity matrix of the same size.
  • Perform row operations on A until it reaches the identity matrix.
  • Perform the same row operations on the identity matrix to obtain the inverse of A.
  1. Rule of Sarrus:
  • The rule of Sarrus is a method used to calculate the determinant of a 3x3 matrix.
  • It involves “triangulating” the matrix and summing the products along the forward diagonal and subtracting the products along the reverse diagonal.
  • The rule of Sarrus can be used when calculating the determinant by hand.
  1. Example: Rule of Sarrus
  • Consider a 3x3 matrix A: A = | 2 1 3 | | 4 -2 0 | | 1 3 -1 |

  • To calculate the determinant using the rule of Sarrus, we “triangulate” the matrix and sum the products along the forward diagonal and subtract the products along the reverse diagonal.

  1. Cramer’s Rule:
  • Cramer’s rule is used to solve systems of linear equations using determinants.
  • It provides a method to find the values of variables by evaluating determinants.
  • Cramer’s rule states that each variable is equal to the ratio of the determinant of the matrix formed by replacing the coefficients of that variable with the constants, divided by the determinant of the coefficient matrix.
  1. Example: Cramer’s Rule
  • Consider the system of equations: 2x + 3y - z = 5 4x - 2y + 6z = 7 x + 4y - z = 3
  • To solve this system of equations using Cramer’s rule, we need to calculate the determinants of the coefficient matrix and the matrices formed by replacing each column with the constant vector.
  1. Inverse of Block Matrices:
  • A block matrix is a matrix composed of smaller matrices called blocks.
  • The inverse of a block matrix can be found by using the formula: A-1 = |A B|-1 = |(A - BD2-1C)-1 (BD2-1)-1 | |C D| |(D - CA-1B)-1 -(D - CA-1B)-1CA-1B|
  • This formula is useful when dealing with matrices that have block structures.
  1. Conclusion:
  • Determinants, the adjoint of a matrix, and the inverse of a matrix are important topics in linear algebra.
  • Determinants provide valuable information about a matrix, such as invertibility and transformation effects.
  • The adjoint matrix is used to find the inverse and perform various calculations.
  • The inverse of a matrix plays a crucial role in solving systems of equations and other mathematical operations.
  • Understanding these concepts will help in solving complex mathematical problems and real-world applications.