Applications of Matrices and Determinants

Chapter 1 · Tamil Nadu State Board

  • 27 min read
  • 5-question quiz

Every key point below shows the sentence from your textbook it comes from. Book back answers are solved and checked against the book; answers we could not prove are left out. How we check content

In short

This lesson explains how matrices and determinants help solve systems of linear equations. It introduces non-singular matrices, inverses, adjoints, rank, and elementary row operations as useful tools. It also shows how matrices can be used in geometry and cryptography. These methods matter because systems of linear equations can model problems in many fields.

Written by AI from this lesson. How we check it

Key points

  • A square matrix is non-singular when its determinant is non-zero; a singular matrix has determinant zero.
    From your textbook
    “a non-singular matrix if its determinant is not equal to zero and a square matrix is called singular if its determinant is zero”
  • The adjoint is formed by transposing the matrix of cofactors.
    From your textbook
    “The adjoint matrix of A is defined as the transpose of the matrix of cofactors of A.”
  • A matrix inverse multiplies with the original matrix in either order to give the identity matrix.
    From your textbook
    “AB BA In = = , then the matrix B is called an inverse of A.”
  • A square matrix has an inverse exactly when it is non-singular.
    From your textbook
    “A−1exists if and only if A is non-singular.”
  • The rank of a matrix is the order of its largest minor that is not zero.
    From your textbook
    “the order of a highest order non-vanishing minor of the matrix A”
  • In row-echelon form, rank is counted by the non-zero rows.
    From your textbook
    “The rank of a matrix in row echelon form is the number of non-zero rows in it.”
  • An inverse matrix can decode a message that was encoded using a non-singular matrix.
    From your textbook
    “The receiver decodes (decrypts) the message to retrieve the original message by using the inverse of the matrix.”
Test yourself: 5 questions

Formulas in this chapter

  • Adjoint identityA(adj A) = (adj A)A = |A|InExplained here
  • Inverse using the adjointA⁻¹ = (1 / |A|) adj AExplained here
  • Coordinate transformationx = X cos θ − Y sin θ; y = X sin θ + Y cos θExplained here
  • Inverse coordinate transformationX = x cos θ + y sin θ; Y = −x sin θ + y cos θExplained here
  • Matrix form of a linear systemAX = BExplained here
  • Solution using matrix inversionX = A⁻¹BExplained here
  • Cramer’s Rule for three unknownsx1 = D1 / D, x2 = D2 / D, x3 = D3 / DExplained here

Why matrices are used to solve equations

Matrices help handle systems of linear equations that model real-world problems. This chapter introduces four ways to solve such systems: the matrix inversion method, Cramer’s rule, the Gaussian elimination method, and the rank method.

Ideas and tools covered

  • Adjoint and inverse of a square matrix
  • Elementary row and column transformations
  • Row-echelon form and rank
  • Consistency of systems of linear equations
  • Testing for non-trivial solutions of homogeneous systems

Singular and non-singular square matrices

Definition

Non-singular matrix
A square matrix is non-singular when its determinant is not equal to zero.

Definition

Singular matrix
A square matrix is singular when its determinant is zero.

A matrix of order n is a square matrix with n rows and n columns. Matrix division is not defined by a rule in this chapter. Instead, for a matrix A, we look for a matrix B such that AB and BA both equal the unit matrix I.

Minors, cofactors, and the adjoint

Definition

Minor of aij
Delete the ith row and jth column of A; the determinant of the remaining sub-matrix is the minor Mij.

Definition

Cofactor of aij
The cofactor is Aij = (−1)i+j Mij.

Definition

Adjoint matrix
The adjoint of A is the transpose of its matrix of cofactors, and is denoted adj A.

To form the matrix of cofactors, replace each entry of A with its cofactor. Then transpose that matrix to get adj A. The adjoint has the same order as A.

For a square matrix, multiplying entries in a row by their matching cofactors and adding gives the determinant. Pairing a row’s entries with the cofactors from a different row gives 0.

The adjoint identity

Adjoint identity

A(adj A) = (adj A)A = |A|In

A is a square matrix, adj A is its adjoint, |A| is its determinant, and In is the identity matrix of order n.

The identity applies to every square matrix. If A is singular, then |A| = 0, so both products are the zero matrix.

Remember: The adjoint is made by transposing the matrix of cofactors, and multiplying A by its adjoint gives |A|In.

Inverse of a square matrix

Definition

Inverse of a square matrix
A square matrix B is an inverse of A if AB = BA = Iₙ.

An inverse of A is written as A⁻¹. A square matrix can have at most one inverse. If A has an inverse, then AA⁻¹ = A⁻¹A = Iₙ.

Definition

Non-singular matrix
A square matrix is non-singular when its determinant is not 0.

A square matrix has an inverse exactly when it is non-singular. A singular matrix has determinant 0, so it has no inverse.

Inverse using the adjoint

A⁻¹ = (1 / |A|) adj A

A is the square matrix, |A| is its determinant, and adj A is its adjoint; this formula applies when |A| ≠ 0.

Worked example

If A = [[a, b], [c, d]] is non-singular, find A⁻¹.

Try it first, then show the solution
  1. The determinant is |A| = ad − bc, and it is not 0.
  2. For this matrix, adj A = [[d, −b], [−c, a]].
  3. Use A⁻¹ = (1 / |A|) adj A.

Answer: A⁻¹ = (1 / (ad − bc)) [[d, −b], [−c, a]].

Properties of matrix inverses

Useful inverse rules

  • (A⁻¹)⁻¹ = A.
  • (Aᵀ)⁻¹ = (A⁻¹)ᵀ.
  • (λA)⁻¹ = λ⁻¹A⁻¹, where λ is a non-zero scalar.
  • If A is non-singular and AB = AC, then B = C. This is the left cancellation law.
  • If A is non-singular and BA = CA, then B = C. This is the right cancellation law.
  • If A and B are non-singular and have the same order, then AB is non-singular and (AB)⁻¹ = B⁻¹A⁻¹. The order of the factors reverses.
  • If A is non-singular, then A⁻¹ is also non-singular.

Cancellation needs the matrix being cancelled to be non-singular. For a singular A, AB = AC or BA = CA does not always mean B = C.

When cancellation is valid

ConditionConclusion
A is non-singular and AB = ACB = C
A is non-singular and BA = CAB = C
A is singular and AB = AC or BA = CAB and C need not be equal

Properties of the adjoint matrix

Results for a non-singular square matrix A of order n

  • adj(A⁻¹) = (adj A)⁻¹ = A / |A|.
  • adj(adj A) = |A|ⁿ⁻² A.
  • adj(λA) = λⁿ⁻¹ adj A, where λ is a non-zero scalar.
  • adj(Aᵀ) = (adj A)ᵀ.
  • For a non-singular matrix of odd order, adj A is positive.
  • If A is symmetric, adj A is also symmetric.
  • For non-singular A and B of the same order, adj(AB) = (adj B)(adj A).

The adjoint has its own useful rules for inverse, transpose, scalar multiplication, and products. In the product rule, the order of the adjoints reverses, just as it does in the inverse product rule.

Remember: Before using an inverse formula or cancellation law, check that the matrix is non-singular.

Finding a Matrix Inverse from a Matrix Equation

A matrix equation can help find unknown values and then the inverse of a matrix. In Example 1.10, the equation is A² + xA + yI₂ = O. Comparing corresponding entries gives x = −9 and y = 14.

The resulting equation is A² − 9A + 14I₂ = O. Post-multiplying it by A⁻¹ gives an equation that can be rearranged to find A⁻¹.

Worked example

For A = [[4, 3], [2, 5]], find x and y such that A² + xA + yI₂ = O. Hence, find A⁻¹.

Try it first, then show the solution
  1. A² = [[22, 27], [18, 31]].
  2. Compare the entries in A² + xA + yI₂ = O. This gives 22 + 4x + y = 0, 27 + 3x = 0, 18 + 2x = 0, and 31 + 5x + y = 0.
  3. Solving gives x = −9 and y = 14. Thus, A² − 9A + 14I₂ = O.
  4. Post-multiply by A⁻¹ and rearrange to obtain A⁻¹ = 1/14 [[5, −3], [−2, 4]].

Answer: x = −9, y = 14, and A⁻¹ = 1/14 [[5, −3], [−2, 4]].

Orthogonal Matrices and Coordinate Rotation

Rotating the coordinate axes changes the coordinates used to describe a point. The rotation matrix in the text connects the old coordinates (x, y) with the new coordinates (X, Y). Its inverse gives the transformation back.

Coordinate transformation

x = X cos θ − Y sin θ; y = X sin θ + Y cos θ

x and y are the original coordinates; X and Y are the new coordinates; θ is the angle of rotation.

Inverse coordinate transformation

X = x cos θ + y sin θ; Y = −x sin θ + y cos θ

x and y are the original coordinates; X and Y are the new coordinates; θ is the angle of rotation.

Definition

Orthogonal matrix
A square matrix A is orthogonal when AAᵀ = AᵀA = I.

For an orthogonal matrix, the inverse equals the transpose: A⁻¹ = Aᵀ. The rotation matrix shown in the text is orthogonal because multiplying it by its transpose gives I₂.

Worked example

If A = [[6, 3, 2], [a, b, c], [1, 7, −1]] is orthogonal, find a, b, and c, and hence A⁻¹.

Try it first, then show the solution
  1. Since A is orthogonal, AAᵀ = I₃. Comparing entries gives a² + b² + c² = 13, 6a + 3b + 2c = 0, 6b + 3a + 7c = 0, and 2b + 7a − c = 0.
  2. Solving gives a = −2, b = 3, and c = 2.

Answer: a = −2, b = 3, c = 2, and A⁻¹ = Aᵀ.

Remember: For an orthogonal matrix, use A⁻¹ = Aᵀ.

Matrix Methods in Cryptography

Definition

Cryptography
Cryptography is communication between people in which information is kept unknown to others.

Encryption and decryption

EncryptionDecryption
Changes information in plain form into an unreadable coded form.Changes the coded message back into its original form.
Uses an encryption matrix.Uses the inverse of that matrix as the decryption matrix.

How the message WELCOME is encoded and decoded

  • The letters A to Z are assigned the numbers 1-26, and a blank space is assigned 0.
  • The encoding matrix is [[1, 1, 1], [2, 1, 0], [1, 0, 0]].
  • WELCOME is split into WEL, COM, and E. The number rows are [23 5 12], [3 15 13], and [5 0 0]. Zeros are added to the final row to make its length 3.
  • Post-multiplying the rows by the encoding matrix gives [45 28 23], [46 18 3], and [5 5 5].
  • The receiver post-multiplies the coded rows by the inverse matrix and recovers [23 5 12], [3 15 13], and [5 0 0]. These rows give WELCOME.

Remember: The sender encodes with a non-singular matrix. The receiver decodes with its inverse.

Rank of a Matrix

Definition

Sub-matrix
A sub-matrix is formed by deleting some rows and some columns from a matrix.

Definition

Minor
A minor is the determinant of a square sub-matrix.

Definition

Rank of a matrix
The rank of a matrix A, written ρ(A), is the order of its highest-order non-vanishing minor; the rank of a zero matrix is 0.

Important facts about rank

  • A matrix with at least one non-zero element has rank at least 1.
  • The rank of the identity matrix In is n.
  • If ρ(A) = r, at least one minor of order r is non-zero, and every minor of order r + 1 or higher vanishes.
  • For an m × n matrix, ρ(A) ≤ min{m, n}.
  • A square matrix A of order n has an inverse if and only if ρ(A) = n.

Remember: Rank is the order of the largest square minor whose determinant is not zero.

Finding Rank Using Minors and Row-Echelon Form

To find rank using minors, test the largest possible square minors first. If they all vanish, check minors of the next smaller order until you find a non-zero one. This method can take a long time for large matrices.

In row-echelon form, the entries below the leading diagonal are zero. The rank of a matrix in this form is the number of its non-zero rows. A matrix that is not in row-echelon form can be reduced to that form using elementary row operations.

Worked example

Find the rank of the 3 × 3 matrix with rows (1, 2, 3), (2, 1, 4), and (3, 0, 5), by reducing it to row-echelon form.

Try it first, then show the solution
  1. Apply elementary row operations to reduce the matrix to row-echelon form.
  2. The resulting row-echelon form has two non-zero rows.

Answer: ρ(A) = 2.

Worked example

Find the rank of the 4 × 3 matrix with rows (4, 3, 6), (3, 1, 7), (1, 2, 1), and (2, 4, 2), by reducing it to echelon form.

Try it first, then show the solution
  1. Apply elementary row operations to obtain an echelon form.
  2. The resulting echelon form has three non-zero rows.

Answer: ρ(A) = 3.

Remember: After reducing a matrix to row-echelon form, count its non-zero rows to get its rank.

Elementary Matrices and Row Operations

Definition

Elementary matrix
An elementary matrix is obtained from an identity matrix by applying exactly one elementary transformation.

A row operation on a matrix A can be performed by pre-multiplying A by a suitable elementary matrix. A column operation can be performed by post-multiplying A by an elementary matrix. This chapter uses elementary row operations.

Row operations represented by elementary matrices

  • R2 → R2 + λR3 corresponds to pre-multiplication by an elementary matrix made by applying that operation to the identity matrix.
  • Swapping R2 and R3 corresponds to pre-multiplication by the identity matrix with those rows swapped.
  • Multiplying R2 by λ corresponds to pre-multiplication by the identity matrix with that row multiplied by λ.

Every non-singular matrix can be changed into an identity matrix by a sequence of elementary row operations. The text illustrates this result using A = [[2, 1], [3, 4]], whose determinant is 8 − 3 = 11 ≠ 0, and reduces it to I2.

Remember: Elementary row operations can reduce a non-singular matrix to the identity matrix.

Finding a Matrix Inverse by the Gauss-Jordan Method

A non-singular square matrix has an inverse. The Gauss-Jordan method finds that inverse by turning the matrix into the identity matrix using elementary row operations. Apply each row operation to both parts of the augmented matrix [A | Iₙ].

Steps for finding A⁻¹

  • Place the identity matrix Iₙ to the right of A to form [A | Iₙ].
  • Use elementary row operations to change the left side, A, into Iₙ.
  • Apply the same operations to the right side. When the left side becomes Iₙ, the right side is A⁻¹.

Remember: In the Gauss-Jordan method, the row operations that turn A into Iₙ turn Iₙ into A⁻¹.

If elementary matrices E₁, E₂, ..., Eₖ turn A into Iₙ, then Eₖ ... E₂E₁A = Iₙ. The inverse is A⁻¹ = Eₖ ... E₂E₁.

Worked example

The extracted text includes Examples 1.20 and 1.21, but the matrices and row-operation steps are broken up and cannot be read reliably.

Try it first, then show the solution
  1. The examples cannot be reproduced without guessing the missing matrix entries.

Answer: No reliable inverse can be stated from the extracted text.

Forming a System of Linear Equations

A system of linear equations can model a practical situation with unknown values. Each equation describes one condition. A solution must satisfy every equation in the system at the same time.

Worked example

Three people buy rice and sugar. Person A buys 5 Kilograms of rice and 3 Kilograms of sugar for ` 440. Person B buys 6 Kilograms of rice and 2 Kilograms of sugar for ` 400. Person C buys 8 Kilograms of rice and 5 Kilograms of sugar for ` 720. Let x and y be the prices in rupees per Kilogram of rice and sugar, respectively. Form the system.

Try it first, then show the solution
  1. For Person A, the cost equation is 5x + 3y = 440.
  2. For Person B, the cost equation is 6x + 2y = 400.
  3. For Person C, the cost equation is 8x + 5y = 720.

Answer: The system is 5x + 3y = 440, 6x + 2y = 400, and 8x + 5y = 720.

Definition

Solution of a system of linear equations
A solution is a set of values for the unknowns that satisfies every equation in the system.

Definition

Homogeneous system of linear equations
A system is homogeneous when all its right-hand-side constants are zero.

Definition

Non-homogeneous system of linear equations
A system is non-homogeneous when at least one right-hand-side constant is non-zero.

Writing Linear Equations in Matrix Form

A system of m linear equations in n unknowns can be written as AX = B. The coefficient matrix A contains the coefficients of the unknowns. The column matrix X contains the unknowns, and B contains the right-hand-side constants.

Matrix form of a linear system

AX = B

A is the coefficient matrix, X is the column matrix of unknowns, and B is the column matrix of right-hand-side constants.

Definition

Augmented matrix
The augmented matrix [A | B] places the right-hand-side constants beside the coefficient matrix A.

Parts of the matrix equation

MatrixWhat it contains
ACoefficients of the unknowns
XThe unknowns arranged in a column
BRight-hand-side constants arranged in a column
[A | B]The coefficient matrix with the constants placed beside it

Meaning of a solution to linear equations

A solution must make every equation in the system true. Two linear equations can meet at one point, represent the same line, or represent parallel lines that never meet.

Three possible outcomes

What happensResult
The lines meet at one point.The system is consistent and has a unique solution.
The equations represent the same line.The system is consistent and has infinitely many solutions.
The lines are parallel and do not meet.The system is inconsistent and has no solution.

Definition

Consistent system
A system of linear equations is consistent if it has at least one solution.

Definition

Inconsistent system
A system of linear equations is inconsistent if it has no solution.

Remember: A contradiction means there is no solution; an identity such as 0 = 0 can mean the equations describe the same line.

Changing equations without changing their solutions

Allowed equation changes

  • Interchange any two equations.
  • Replace an equation by a non-zero constant multiple of itself.
  • Replace an equation by itself plus a non-zero multiple of another equation in the system.

Each of these changes keeps the solution set unchanged. They can make a system easier to work with.

Matrix inversion method

This method applies when the coefficient matrix is square and non-singular. Write the system as AX = B. Multiply both sides on the left by A⁻¹ to isolate X.

Solution using matrix inversion

X = A⁻¹B

A is the coefficient matrix, X is the column of unknowns, and B is the column of constants.

Worked example

Solve 5x + 2y = 3 and 3x + 2y = 5 using matrix inversion.

Try it first, then show the solution
  1. Write the system as AX = B, where A = [[5, 2], [3, 2]], X = [x, y]ᵀ, and B = [3, 5]ᵀ.
  2. Find det(A) = 5 × 2 − 3 × 2 = 4. Since 4 ≠ 0, A⁻¹ exists.
  3. Use A⁻¹ = (1/4)[[2, −2], [−3, 5]].
  4. Calculate X = A⁻¹B.

Answer: x = −1 and y = 4.

Remember: Check that A is square and non-singular before using X = A⁻¹B.

When matrix inversion can be used

When the number of equations equals the number of unknowns, the coefficient matrix is square. If it is also non-singular, the system can be solved using matrix inversion, Cramer’s rule, or Gaussian elimination.

Methods for solving the system

  • Matrix inversion method
  • Cramer’s rule
  • Gaussian elimination method

Cramer’s Rule

Cramer’s Rule solves a system of linear equations when its coefficient matrix is square and non-singular. Let D be the determinant of the coefficient matrix. Replace one column at a time with the constants from the right-hand sides to form D1, D2, and D3.

Cramer’s Rule for three unknowns

x1 = D1 / D, x2 = D2 / D, x3 = D3 / D

D is the determinant of the coefficient matrix. D1, D2, and D3 are formed by replacing its first, second, and third columns, respectively, with the constants b1, b2, and b3.

How to form the Cramer determinants

  • For D1, replace the first column of D with b1, b2, b3.
  • For D2, replace the second column of D with b1, b2, b3.
  • For D3, replace the third column of D with b1, b2, b3.

Remember: Cramer’s Rule cannot be applied when D = 0.

Worked example

Solve by Cramer’s Rule: x1 − x2 = 3, x1 + x2 + x3 = 17, x2 + x3 = 7.

Try it first, then show the solution
  1. Evaluate the coefficient determinant: D = 6.
  2. Evaluate the replacement determinants: D1 = 12, D2 = −6, and D3 = 24.
  3. Use Cramer’s Rule: x1 = 12/6, x2 = −6/6, and x3 = 24/6.

Answer: x1 = 2, x2 = −1, x3 = 4.

Worked example

A ball follows y = ax² + bx + c through (10, 8), (20, 16), and (40, 22). The farthest boundary line meets the path’s vertical plane at (70, 0). With 6 runs needed from the last ball, can you conclude that the team won?

Try it first, then show the solution
  1. Substitute the three points into y = ax² + bx + c to form three equations in a, b, and c.
  2. The determinants are D = 6000, D1 = −7800, D2 = 20000, and D3 = −6000.
  3. Using Cramer’s Rule gives a = −13/10, b = 20/3, and c = 0.
  4. The resulting path is y = −13/10x² + 20/3x.
  5. At x = 70, the ball’s height is 6 metres.

Answer: Yes. At the boundary line, the ball is 6 metres high. The text concludes that a fielder cannot jump and catch it, so the ball goes for a super six and the team wins.

Gaussian Elimination and Back Substitution

Gaussian elimination changes the augmented matrix into row-echelon form using elementary row operations. Then solve the equations from the last one upwards. This method can be used even when the coefficient matrix is singular or rectangular.

Definition

Back substitution
Back substitution means starting with the last equation and using its result to solve the equations above it.

Worked example

Solve by Gaussian elimination: 4x + 3y + 6z = 25, 5x + 7y = 13, 9x + y + z = 1.

Try it first, then show the solution
  1. Reduce the augmented matrix to row-echelon form.
  2. The resulting equations are x + 5y + 7z = 13, 17y + 22z = 27, and 199z = 398.
  3. From the last equation, z = 2.
  4. Substitute z = 2 into the second equation to get y = −1.
  5. Substitute y = −1 and z = 2 into the first equation to get x = 4.

Answer: x = 4, y = −1, z = 2.

Worked example

A rocket’s speed is approximated by v(t) = at² + bt + c for 0 ≤ t ≤ 100. Its speeds at t = 3, 6, and 9 seconds are 64, 133, and 208 miles per second. Find its speed at t = 15 seconds using Gaussian elimination.

Try it first, then show the solution
  1. Use the three given speed values to form equations for a, b, and c.
  2. Gaussian elimination and back substitution give a = 1/3, b = 20, and c = 1.
  3. So v(t) = 1/3t² + 20t + 1.
  4. Substitute t = 15 into the speed formula.

Answer: v(15) = 376 miles per second.

Consistency and Solutions of Linear Systems

To test consistency, reduce the augmented matrix to row-echelon form and compare the ranks of A and [A | B]. If the ranks are equal, the system is consistent. The examples show that a consistent system can have either a unique solution or infinitely many solutions.

What the examples show

SystemResult
Ranks are equal and there are three independent equations for three unknowns.The system has a unique solution.
Rank of A is 2 and rank of [A | B] is 3.The system is inconsistent.
Rank of A and rank of [A | B] are both 2, with three unknowns.The system has infinitely many solutions, described using one parameter.

Worked example

Test consistency and solve: x + 2y − z = 3, 3x − y + 3z = 1, 2x + y − 2z = 0, x + 3y − 3z = 0.

Try it first, then show the solution
  1. Reduce the augmented matrix to row-echelon form.
  2. The ranks of A and [A | B] are both 3, so the system is consistent.
  3. Back substitution gives z = 4, y = 4, and x = −1.

Answer: The unique solution is x = −1, y = 4, z = 4.

Worked example

Test consistency and solve: 4x + 2y − 6z = 8, 3x + y − 3z = 9, x − 3y + z = 21.

Try it first, then show the solution
  1. Reduce the augmented matrix to row-echelon form.
  2. The ranks are ρ(A) = 2 and ρ([A | B]) = 3.
  3. The reduced equations include 0 = 0 and 0 = 1.

Answer: The system is inconsistent, so it has no solution.

Remember: Gaussian elimination can test consistency even when the coefficient matrix is singular or rectangular.

Consistency of a system using ranks

Definition

Consistent system
A system of linear equations is consistent if it has at least one solution.

Definition

Inconsistent system
A system of linear equations is inconsistent if it has no solution.

Write the equations as AX = B and form the augmented matrix [A | B]. Use elementary row operations to find the ranks of A and [A | B]. Compare these ranks and the number of unknowns to decide whether solutions exist and how many there are.

Rouché - Capelli theorem

Rank conditionWhat it means
ρ(A) = ρ([A | B]) = number of unknownsThe system is consistent and has a unique solution.
ρ(A) = ρ([A | B]) < number of unknownsThe system is consistent and has infinitely many solutions.
ρ(A) ≠ ρ([A | B])The system is inconsistent and has no solution.

When the system has infinitely many solutions, the number of free parameters is the number of unknowns minus the common rank. For 3 unknowns, a common rank of 2 gives a one-parameter family, while a common rank of 1 gives a two-parameter family.

Remember: First compare ρ(A) with ρ([A | B]). If they differ, there is no solution.

Worked examples of testing consistency

Worked example

Test the consistency of the system x − y + z = 9, 2x − 2y + 2z = 18, 3x − 3y + 3z = 27, and solve it if possible.

Try it first, then show the solution
  1. There are 3 unknowns. Row reduction gives ρ(A) = ρ([A | B]) = 1.
  2. Since the common rank is less than 3, the system is consistent and has infinitely many solutions.
  3. The equivalent equations reduce to x − y + z = 9, with the other two equations giving 0 = 0.
  4. Let y = s and z = t. Then x = 9 + s − t.

Answer: The system is consistent. Its solutions are x = 9 + s − t, y = s, z = t, where s and t are parameters. This is a two-parameter family.

Worked example

Test the consistency of the system x − y + z = 9, −x + y + z = 4, x − y + 2z = 6, and x − y + 3z = 7.

Try it first, then show the solution
  1. There are 3 unknowns. Row reduction gives ρ(A) = 3 and ρ([A | B]) = 4.
  2. The ranks are unequal, so the system is inconsistent.
  3. The echelon form includes the contradictory equation 0 = −11.

Answer: The system is inconsistent and has no solution.

Conditions for one or more solutions

Worked example

Find the condition on a, b, and c so that x + y + z = a, x + 2y + 3z = b, and x + 3y + 5z = c have a one-parameter family of solutions.

Try it first, then show the solution
  1. There are 3 unknowns. For a one-parameter family, the ranks must be equal to 2.
  2. After row reduction, the third row of the augmented matrix is [0 0 0 | c − 2b + a].
  3. For that row to be a zero row, c − 2b + a = 0.

Answer: The required condition is c = 2b − a.

Worked example

For what values of λ and μ does the system x + y + z = 2, x + 2y + 3z = 7, and x + 3y + λz = μ have no solution, a unique solution, or infinitely many solutions?

Try it first, then show the solution
  1. Row reduction gives a final row with coefficient 7 − λ and right-hand side 9 − μ.
  2. If λ = 7 and μ ≠ 9, the coefficient row is zero but its right-hand side is non-zero. The system is inconsistent.
  3. If λ ≠ 7, the coefficient rank and augmented rank are both 3, for any real value of μ.
  4. If λ = 7 and μ = 9, both ranks are 2, which is less than the 3 unknowns.

Answer: No solution when λ = 7 and μ ≠ 9. A unique solution when λ ≠ 7, for any real μ. Infinitely many solutions when λ = 7 and μ = 9.

Remember: A zero row of coefficients with a non-zero value on the right means a contradiction and no solution.

Questions students ask

Short, direct answers to what students search for in this chapter.

What is a non-singular matrix?

A non-singular matrix is a square matrix whose determinant is not equal to zero. This condition distinguishes it from a singular matrix, whose determinant is zero.

How do you find the adjoint of a square matrix?

First replace every entry of the square matrix with its corresponding cofactor to form the matrix of cofactors. Then transpose that matrix. The resulting matrix is the adjoint, denoted adj A.

What is the difference between a minor and a cofactor?

The minor Mij is the determinant left after deleting the ith row and jth column. The cofactor Aij is found by multiplying that minor by the sign factor (−1)i+j.

What is the adjoint identity for a square matrix?

For a square matrix A, A(adj A) and (adj A)A both equal |A|In. Here |A| is the determinant of A, and In is the identity matrix of order n.

When does a square matrix have an inverse?

A square matrix A has an inverse if and only if it is non-singular. This means its determinant |A| is not 0. A singular matrix has determinant 0 and has no inverse.

What is the formula for the inverse of a 2 by 2 matrix?

For A = [[a, b], [c, d]], the determinant is ad − bc. If ad − bc is not 0, then A⁻¹ = (1 / (ad − bc)) [[d, −b], [−c, a]].

Show 23 more questions

What is the reversal law for the inverse of a product?

If A and B are non-singular square matrices of the same order, then AB is non-singular and (AB)⁻¹ = B⁻¹A⁻¹. The factors appear in reverse order in the inverse.

Can matrices be cancelled from both sides of an equation?

Yes, when the matrix being cancelled is non-singular. If A is non-singular, AB = AC gives B = C, and BA = CA also gives B = C. If A is singular, these conclusions need not hold.

How do you find the inverse of a matrix using a matrix equation?

Form an equation involving the matrix, unknown constants, and the identity matrix. Compare corresponding entries to find the constants. Then multiply the equation by the matrix inverse and rearrange to isolate the inverse.

What is an orthogonal matrix?

An orthogonal matrix is a square matrix A for which AAᵀ = AᵀA = I. Its inverse is its transpose, so A⁻¹ = Aᵀ. The rotation matrix in the text is an example of an orthogonal matrix.

How does a rotation matrix change coordinates?

The rotation matrix relates the original coordinates (x, y) to the new coordinates (X, Y) after the axes are rotated through an angle θ. Its inverse transformation converts the coordinates back to the new coordinate system.

How are matrices used to encrypt and decrypt a message?

The sender converts letters into numbers and post-multiplies each number row by a non-singular encryption matrix. The receiver post-multiplies the coded rows by the inverse matrix, which restores the original number rows and message.

What is the rank of a matrix?

The rank of a matrix A, written ρ(A), is the order of its highest-order minor that does not vanish. The rank of a zero matrix is defined as 0.

How do you find the rank of a matrix in row-echelon form?

Count the non-zero rows. The rank of a matrix in row-echelon form equals its number of non-zero rows. To find the rank of a matrix not in this form, use elementary row operations to reduce it first.

What is an elementary matrix?

An elementary matrix is made by applying exactly one elementary transformation to an identity matrix. Pre-multiplying a matrix by an elementary matrix can carry out the corresponding row operation on it.

How do you find the inverse of a matrix using the Gauss-Jordan method?

Place the identity matrix to the right of the matrix, forming [A | Iₙ]. Use elementary row operations to change A into Iₙ. Apply every operation to both sides. When the left side is Iₙ, the right side is the inverse A⁻¹.

What is a solution of a system of linear equations?

A solution is a set of values for the unknowns that makes every equation in the system true at the same time. The values must work in all the equations, not just one of them.

What is a homogeneous system of linear equations?

A homogeneous system is a system of linear equations in which every right-hand-side constant is zero. If at least one right-hand-side constant is non-zero, the system is non-homogeneous.

What does AX = B mean in a system of linear equations?

AX = B is the matrix form of a system of linear equations. A is the coefficient matrix, X is the column of unknowns, and B is the column of right-hand-side constants. The augmented matrix is written as [A | B].

What does a consistent system of linear equations mean?

A consistent system of linear equations has at least one solution. It may have exactly one solution or infinitely many solutions. In a graph of two equations, the lines meet at one point or represent the same line.

When does a system of linear equations have infinitely many solutions?

A system has infinitely many solutions when its equations represent the same line, so one equation does not provide enough information to fix each unknown to a single value. The system is still consistent because every point on that line satisfies both equations.

What is an inconsistent system of linear equations?

An inconsistent system has no solution. Its equations cannot be true together. For two linear equations in two unknowns, this happens when the equations represent distinct parallel lines, which never meet.

How do you solve a system using the matrix inversion method?

Write the system as AX = B, with A as the coefficient matrix, X as the unknowns, and B as the constants. If A is square and non-singular, find A⁻¹ and calculate X = A⁻¹B.

When can I use Cramer’s Rule?

Cramer’s Rule applies when the coefficient matrix is square and non-singular. Its determinant D must not be zero. If D = 0, the rule cannot be used to find the unknowns.

How do I find x1 using Cramer’s Rule?

Find D, the determinant of the coefficient matrix. Make D1 by replacing the first column of that matrix with the constants from the right-hand sides. Then x1 = D1 / D, provided D is not zero.

What is back substitution in Gaussian elimination?

Back substitution is the step after reducing a system to row-echelon form. Start with the last equation, find its unknown, and substitute that result into the equations above it to find the remaining unknowns.

How can I test if a system of linear equations is consistent?

Reduce the augmented matrix to row-echelon form and compare the ranks of A and [A | B]. If the ranks are equal, the system is consistent. The examples show that a consistent system may have one solution or infinitely many solutions.

How do I test whether a system of linear equations is consistent?

Write the system as AX = B, then use elementary row operations on the augmented matrix [A | B]. Compare the ranks of A and [A | B]. If the ranks are equal, the system is consistent; if they differ, it is inconsistent and has no solution.

When does a system of linear equations have a unique solution?

A system has a unique solution when the rank of its coefficient matrix equals the rank of its augmented matrix, and both equal the number of unknowns. In symbols, ρ(A) = ρ([A | B]) = number of unknowns.

Book back answers

3 textbook exercises, solved and checked against the book. Questions we could not prove are left out.

Choose the Correct or the most suitable answer from the given four alternatives

  1. If A, B, and C are invertible matrices of some order, then which one of the following is not true? (1) adj A = |A| A−1 (2) adj(AB) = adj(A) adj(B) (3) det(A−1) = (det A)−1 (4) (ABC)−1 = C−1 B−1 A−1

    • adj A = |A| A−1
    • adj(AB) = adj(A) adj(B)
    • det(A−1) = (det A)−1
    • (ABC)−1 = C−1 B−1 A−1
    Try it, then show the answer

    adj(AB) = adj(A) adj(B)

    The chapter states that adj(AB) = adj(B)adj(A), with the factors in reverse order. So option (2) is not true in general.

    From the book: “adj adj adj( ) ( )( ) AB B A =”

  2. If ρ(A) = ρ([A|B]), then the system AX = B of linear equations is (1) consistent and has a unique solution (2) consistent (3) consistent and has infinitely many solution (4) inconsistent

    • consistent and has a unique solution
    • consistent
    • consistent and has infinitely many solution
    • inconsistent
    Try it, then show the answer

    consistent

    Equal ranks of the coefficient and augmented matrices are precisely the condition for consistency; the ranks alone do not determine whether the solution is unique.

    From the book: “A system of linear equations, written in the matrix form as AX B = , is consistent if and only if the rank of the coefficient matrix is equal to the rank of the augmented matrix”

EXERCISES

  1. The homogenous system of linear equations AX = 0 (ii) has a non trivial solution, if |A| = 0.

    Try it, then show the answer

    True

    For a square coefficient matrix, a homogeneous system has a non-trivial solution if and only if its determinant is zero.

    From the book: “the homogeneous system (2) has a non-trivial solution if and only if the determinant of the coefficient matrix is zero.”

Practice

Question 1 of 5Score 0

What condition makes a square matrix non-singular?

Exam questions

Practice questions with model answers. These are not from an official paper.

Define the inverse of a square matrix.2 marks

A square matrix B of the same order as A is an inverse of A if AB = BA = I, where I is the identity matrix.

When does a square matrix have an inverse?2 marks

A square matrix has an inverse if and only if it is non-singular, which means its determinant is not zero.

How is the rank of a matrix defined?2 marks

The rank is the order of the highest-order minor that does not vanish. The rank of a zero matrix is defined as zero.

Explain how matrices are used to encode and decode a message.5 marks

Matrices can be used in cryptography to transform a message into coded form and recover the original message. This process involves encryption and decryption using related matrices.

  1. Encryption and decryption: Encryption changes information from plain form into an unreadable coded form. Decryption changes the coded message back into its original form.
  2. Secret key: The sender and receiver use a secret technique called a key. A non-singular matrix can be chosen as the key for encoding the message.
  3. Encoding matrix: The sender uses the chosen matrix to encrypt the message. This matrix is called the encoding matrix.
  4. Convert letters into numbers: In the example, letters A to Z are assigned numbers 1 to 26, and a blank space is assigned 0. The message is then represented as row matrices of numbers.
  5. Encode the message: The message is divided into groups of three, converted into row matrices, and each row matrix is post-multiplied by the encoding matrix to produce coded rows.
  6. Decode the message: The receiver post-multiplies each coded row by the inverse of the encoding matrix. The resulting row matrices are converted back into letters to recover the message.

Example: The chapter encodes “WELCOME” as row matrices and, after decoding, retrieves “WELCOME”.

Thus, an encoding matrix and its inverse enable the sender to code a message and the receiver to recover it.

Watch out

  • Do not confuse singular and non-singular matrices: a singular matrix has determinant zero, while a non-singular matrix has a non-zero determinant.
  • Do not assume every square matrix has an inverse; only a non-singular square matrix has one.

Still stuck on this lesson?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →