Skip to content

Lecture Two: Determinants, Inverse Matrices and Systems of Equations

Special Types of Matrices

Symmetric Matrices

  • Definition: A matrix A is symmetric if AT=A. In other words, the transpose of the matrix is equal to the matrix itself.

  • Properties:

    • A symmetric matrix must always be square (i.e., the number of rows must equal the number of columns).
    • The elements across the main diagonal of a symmetric matrix are symmetric with respect to the diagonal.
  • Example:

A=[1xyx2zyz3]

In this case, the matrix is symmetric because AT=A.

  • Example 1: Show that the matrix A is symmetric:A=[12420174176]AT=[12420174176]A=ATHence, A is a symmetric matrix.

Skew-Symmetric Matrices

  • Definition: A matrix A is skew-symmetric if AT=A. In other words, the transpose of the matrix is the negative of the matrix.

  • Properties:

    • A skew-symmetric matrix must be square (i.e., the number of rows must equal the number of columns).
    • All diagonal entries of a skew-symmetric matrix must be 0, because the transpose of the diagonal element must equal its negative, which is only possible if it is zero.
  • Example:

    A=[0xyx0zyz0]

    This matrix is skew-symmetric because AT=A.

Determinants

Determinant of a 2×2 Matrix

For a matrix A of size 2×2:

A=[abcd]

The determinant is calculated as:

det(A)=adbc

where adbc0.


Determinant of a 3×3 Matrix

For a matrix A of size 3×3:

A=[abcdefghi]

The determinant is calculated as:

|A|=a|efhi|b|dfgi|+c|degh|

This simplifies to:

|A|=a(eifh)b(difg)+c(dheg)

Sign Rule for 3×3 Determinants

To calculate the determinant of a 3×3 matrix, you can use the sign rule based on the positions of the elements in the matrix. The signs alternate in a checkerboard pattern, as shown below:

|+++++|

This pattern helps determine the signs when calculating the determinant by cofactor expansion along any row or column.


Examples

  • Example 1: Determinant of a 2×2 Matrix:
B=[1426]

The determinant of B is:

|B|=1(6)4(2)=2
  • Example 2: Determinant of a 3×3 Matrix:
F=[1276013104]

Using cofactor expansion, we get:

|F|=1|01104|(2)|6134|+7|60310|

Calculating the smaller determinants:

|F|=1(010)+2(243)+7(600)|F|=10+42+420=452

Properties of Determinants

For any square matrix A of size n×n and scalar kR, the following properties hold:

  • Multiplication Property:
det(AB)=det(A)det(B)
  • Scalar Multiplication Property:
det(kA)=kndet(A)
  • Transpose Property:det(AT)=det(A)

> $\det(A)$ is often written as $|A|$.

Inverse of a Matrix

Definition

An n×n matrix A has an inverse if its determinant is non-zero (det(A)0), and the inverse A1 satisfies the following condition:

AA1=A1A=In

Where In is the identity matrix of size n×n. If matrix A has an inverse, it is called non-singular (or invertible). If it does not have an inverse, it is called singular (or non-invertible).


Theorem: Uniqueness of the Inverse

A matrix can have only one inverse.


Adjoint of a Matrix

The adjoint of a square 2×2 matrix A is defined as:

A=[abcd],adj(A)=[dbca]

Theorem: Singularity

Any matrix is singular (non-invertible) if det(A)=0. Conversely, a matrix is non-singular (invertible) if det(A)0.


Properties of Inverse Matrices

For square matrices A and B, and scalar kR, the following properties hold:

  • Product Property:
(AB)1=B1A1
  • Transpose Property:
(A1)T=(AT)1
  • Determinant Property:
det(A1)=1det(A)
  • Scalar Multiplication Property:(kA)1=1kA1

Examples

  • Example 1: Show that A is non-singular.

    Given matrix A:

A=[10420174176]

The determinant of A is calculated as:

|A|=1|017176|0|21746|+4|20417|

Simplifying:

|A|=1(289)0+4(34)=425

Since |A|0, matrix A is non-singular.


  • Example 2: Find the values of k that make matrix A singular.

    Given matrix A:

A=[k22k+5]

For singularity, we require the determinant to be 0:

|A|=k(k+5)2(2)=0

Simplifying:

k2+5k+4=0

Factoring the quadratic equation:

(k+1)(k+4)=0

Hence, k=1 or k=4. Therefore, the matrix A is singular when k=1 or k=4.

Inverse of a 2×2 Matrix

The inverse of a 2×2 matrix A:

A=[abcd]

If matrix A is a 2×2 matrix and has a non-zero determinant, its inverse is given by:

A1=1det(A)adj(A)

Which simplifies to:

A1=1adbc  [dbca]

Inverse of a 3×3 Matrix

For a 3×3 matrix A, the inverse exists if and only if the determinant of A is non-zero. The inverse is calculated as:

A1=1det(A)adj(A)

Where:

  • det(A) is the determinant of A.
  • adj(A) is the adjoint of A, which is the transpose of its cofactor matrix.

Matrix Representation

If A is given as:

A=[abcdefghi]
  1. Determinant (det(A))
    The determinant of A is calculated as:

    det(A)=a(eifh)b(difg)+c(dheg)
  2. Cofactor Matrix
    The cofactor matrix is obtained by calculating the determinant of the minor for each element of A following the Sign rule.

The cofactor matrix for A is:

Cofactor(A)=[e(i)f(h)d(i)f(g)d(h)e(g)b(i)c(h)a(i)c(g)a(h)b(g)b(f)c(e)a(f)c(d)a(e)b(d)]
  1. Adjugate Matrix
    The adjugate of A is the transpose of the cofactor matrix:

    adj(A)=Cofactor(A)T
  2. Inverse Formula
    Using the determinant and adjugate, the inverse is given by:

    A1=1det(A)adj(A)

Simplified Example

For a matrix:

A=[213102314]
  • Calculate |A| using the formula.

    |A|=a(eifh)b(difg)+c(dheg)|A|=2(02)1(46)+3(10)=1
  • Find the adjoint.

    adj(A)=[0(4)1(2)1(4)2(3)1(1)0(3)1(4)1(3)2(4)3(3)2(1)1(3)1(2)0(3)2(2)1(3)2(0)1(1)]adj(A)=[221111211]

    Applying the Sign rule:

    adj(A)=[221111211]
  • Transpose the adjoint.

    [221111211]T=[212211111]
  • Substitute into the inverse formula.

    A1=1det(A)adj(A)A1=11[212211111]A1=[212211111]

Inverse and Systems of Equations

System of Equations and Matrix Representation

A system of linear equations can be represented in matrix form as:

AX=B

Where:

  • A is the coefficient matrix,
  • X is the column vector of unknowns, and
  • B is the column vector of constants (the right-hand side of the equations).

If A1 (the inverse of matrix A) exists, the solution to the system of equations is given by:

X=A1B

Theorem: Solution Existence

The n×n system of equations AX=B has a solution if A1 exists. The solution is then obtained by calculating:

X=A1B

Example 6: Condition for a Solution

Consider the system of equations:

x+y=12x+ky=0

The coefficient matrix A is:

A=[112k]

The determinant of A is:

|A|=1(k)2(1)=k2

For the system to have a solution, |A|0. Setting the determinant equal to zero:

k2=0k=2

Thus, the system has a solution when k2.


Example 7: Solving a System Using the Inverse of a 2x2 Matrix

Solve the following system of equations for x and y:

2x+y=82x+3y=16

The coefficient matrix A, unknown vector X, and right-hand side vector B are:

A=[2123],X=[xy],B=[816]

To solve for X=A1B, first find the inverse of A:

A1=12(3)1(2)[3122]A1=18[3122]

Now, calculate X=A1B:

[xy]=18 [3122] [816]=18[3(8)1(16)2(8)+2(16)]18 [848]=[16][xy]=[16]

Thus, x=1 and y=6.

Cramer's Rule for Solving Systems of Equations

Cramer's Rule provides a method to solve a system of linear equations using determinants. For a system represented by AX=B, where A is an n×n matrix, the solution is given by the following steps.

Definitions:

  • Δ: The determinant of the coefficient matrix A.
  • Δx: The determinant of the matrix obtained by replacing the first column of A with B.
  • Δy: The determinant of the matrix obtained by replacing the second column of A with B.

Solution for 2 Variables

For a system with two variables x and y, the solution is:

x=ΔxΔ,y=ΔyΔ

Example 8: Solving a System Using Cramer's Rule

Solve the following system for x and y using Cramer's Rule:

2x+y=82x+3y=16

First, calculate the determinant of the coefficient matrix A:

Δ=|2123|=2(3)(2)(1)=6+2=8

Next, calculate Δx by replacing the first column of A with B:

Δx=|81163|=8(3)16(1)=2416=8

Now, calculate Δy by replacing the second column of A with B:

Δy=|28216|=2(16)(2)(8)=32+16=48

Finally, solve for x and y:

x=ΔxΔ=88=1y=ΔyΔ=488=6

Thus, the solution is x=1 and y=6.

Key Takeaways

  • Symmetric matrices are equal to their transposes and must be square, with the elements mirrored across the main diagonal.
  • Skew-symmetric matrices are the negative of their transposes and must be square, with all diagonal elements equal to zero.
  • The determinant of a 2×2 matrix is calculated as adbc.
  • For a 3×3 matrix, the determinant can be computed using cofactor expansion along any row or column.
  • Determinants have several important properties, such as being invariant under transpose and related to the matrix multiplication.
  • A matrix is invertible (non-singular) if its determinant is non-zero.
  • The inverse of a 2×2 matrix can be found using the adjoint and determinant.
  • The inverse matrix properties allow for operations such as multiplication and transposition of matrices.
  • A system of equations can be solved using the inverse of the coefficient matrix if it is invertible.
  • Cramer's Rule provides an alternative method for solving systems using determinants.
  • Both methods give the same results, and the system has a solution if the determinant of the coefficient matrix is non-zero.