Basic Operation on Matrices

2.2 Basic Operation on Matrices
MATHEMATICS • Form 5 • Chapter 2: Matrices

2.2 Basic Operation on Matrices

Basic operations on matrices include addition, subtraction, scalar multiplication, and matrix multiplication. Matrix operations follow specific conditions based on their orders and obey certain arithmetic laws. This topic also covers the properties of identity matrices, the derivation and calculation of inverse matrices for \(2 \times 2\) matrices, and using the matrix method to solve simultaneous linear equations in real-world contexts.

Learning Objectives

  • Add and subtract matrices of the same order.
  • Multiply a matrix by a number (scalar multiplication).
  • Multiply two matrices conforming to compatible order conditions (\(m \times n\) and \(n \times p\)).
  • Explain the characteristics of an identity matrix.
  • Explain the meaning of an inverse matrix and determine the inverse matrix for a \(2 \times 2\) matrix.
  • Use the matrix method to solve simultaneous linear equations and real-life problems.

Matrix Operations and Properties Flowchart

Check the conditions required for addition, subtraction, scalar multiplication, matrix multiplication and inverse matrices at a glance.

Addition / Subtraction

Same order required

Add or subtract each corresponding element. The result has the same order as the original matrices.

Scalar Multiplication

Multiply every element

\(nA\) means every element inside matrix \(A\) is multiplied by the real number \(n\).

Matrix Multiplication

Columns of \(A\) = rows of \(B\)

\(A_{m \times n} \times B_{n \times p} = AB_{m \times p}\). Use the row-by-column method.

Inverse Matrix

Determinant must not be zero

\(A^{-1}\) exists only when \(|A| = ad - bc \neq 0\).

Brief Explanation

Understand the conditions and laws for each basic matrix operation.

Addition and Subtraction

Addition and subtraction can only be performed on matrices with the same order. Add or subtract each corresponding element to obtain a single matrix with the same order.

Scalar Multiplication

Scalar multiplication is repeated addition of the matrix. Every element inside the matrix is multiplied by the real number \(n\), called the scalar.

\[ \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix} \pm \begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} = \begin{bmatrix} a_{11} \pm b_{11} & a_{12} \pm b_{12} \\ a_{21} \pm b_{21} & a_{22} \pm b_{22} \end{bmatrix} \]

Laws of Arithmetic Operations

Addition obeys the Commutative Law, \(A + B = B + A\), and the Associative Law, \((A + B) + C = A + (B + C)\). Subtraction does not obey these laws. The Distributive Law gives \(h(A + B) = hA + hB\) and \(h(A - B) = hA - hB\).

Zero Matrix

A zero matrix, \(O\), has all elements equal to zero. For any matrix \(A\), \(A + O = A\) and \(A - O = A\).

Multiplication of Two Matrices

The number of columns in the first matrix \(A\) must equal the number of rows in the second matrix \(B\). If \(A\) is of order \(m \times n\) and \(B\) is of order \(n \times p\), the resulting matrix \(AB\) is of order \(m \times p\). Multiply corresponding elements of each row in \(A\) by each column in \(B\) and sum them. Matrix multiplication is generally not commutative, so \(AB \neq BA\).

\[ \begin{bmatrix} a & b \\ c & d \end{bmatrix} \begin{bmatrix} e & f \\ g & h \end{bmatrix} = \begin{bmatrix} ae + bg & af + bh \\ ce + dg & cf + dh \end{bmatrix} \]

Identity Matrix

An identity matrix, \(I\), is a square matrix where elements along the main diagonal are \(1\), and all other elements are \(0\). For any compatible matrix \(A\), \(AI = IA = A\).

Inverse Matrix

If \(AA^{-1} = A^{-1}A = I\), then \(A^{-1}\) is the inverse matrix of \(A\). For \(A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\), the inverse exists only when the determinant \(ad - bc \neq 0\).

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

Solving Simultaneous Linear Equations using Matrix Method

Express the equations \(ax + by = p\) and \(cx + dy = q\) in matrix form \(AX = B\). Pre-multiply both sides by \(A^{-1}\) to obtain \(X = A^{-1}B\).

\[ \begin{bmatrix} a & b \\ c & d \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} p \\ q \end{bmatrix} \quad\Rightarrow\quad \begin{bmatrix} x \\ y \end{bmatrix} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \begin{bmatrix} p \\ q \end{bmatrix} \]

Try Answering First

Read the question, answer it in your mind, then press “Check Answer”.

1

Given \(A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\) and \(B = \begin{bmatrix} 5 & -1 \\ 0 & 2 \end{bmatrix}\), find \(A + B\).

Answer: \(\begin{bmatrix} 2+5 & 3+(-1) \\ 1+0 & 4+2 \end{bmatrix} = \begin{bmatrix} 7 & 2 \\ 1 & 6 \end{bmatrix}\)
2

Determine whether matrix \(M = \begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix}\) has an inverse matrix.

Answer: Determinant \(|M| = (2)(2) - (4)(1) = 4 - 4 = 0\). Since \(ad - bc = 0\), matrix \(M\) does not have an inverse matrix.
3

Find matrix \(P\) if \(\begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix} P = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\).

Answer: \(P\) is the inverse of \(\begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix}\). \(P = \frac{1}{(3)(2) - (1)(5)} \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix} = \frac{1}{1} \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix} = \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix}\)

Common Mistakes

  • ! Attempting to add or subtract matrices with different orders, for example adding a \(1 \times 2\) matrix to a \(2 \times 1\) matrix.
  • ! Assuming matrix multiplication is commutative, \(AB = BA\), which is generally false.
  • ! Multiplying elements element-by-element instead of using the row-by-column method when multiplying two matrices.
  • ! Squaring a matrix by squaring each individual entry inside the matrix instead of multiplying the matrix by itself, \(L^2 = LL\).
  • ! Forgetting to change signs of \(b\) and \(c\) to \(-b\) and \(-c\), or forgetting to swap \(a\) and \(d\) when finding the inverse matrix.
  • ! Pre-multiplying versus post-multiplying incorrectly when solving \(AX = B\), writing \(X = BA^{-1}\) instead of \(X = A^{-1}B\).

Misconceptions

Misconception

\(A^{-1} = \frac{1}{A}\).

Correct Fact

Matrix division does not exist. \(A^{-1}\) represents the multiplicative inverse such that \(AA^{-1} = I\).

Misconception

All square matrices have inverses.

Correct Fact

An inverse only exists if the determinant \(ad - bc \neq 0\).

Misconception

Any diagonal matrix is an identity matrix.

Correct Fact

An identity matrix must specifically have \(1\) along the main diagonal and \(0\) elsewhere.

Summary

  • Matrices can undergo addition and subtraction if and only if they have the same order.
  • Scalar multiplication scales all elements equally.
  • Multiplication of two matrices \(A_{m \times n}\) and \(B_{n \times p}\) yields a matrix of order \(m \times p\).
  • An identity matrix \(I\) satisfies \(AI = IA = A\).
  • A \(2 \times 2\) matrix has an inverse \(A^{-1} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\) provided \(|A| = ad - bc \neq 0\).
  • This inverse matrix facilitates solving linear systems via \(X = A^{-1}B\).

Short Activity

Complete all parts first, then press the check answer button.

A. Objective Quiz

1 Which condition must be met for matrix multiplication \(AB\) to be possible?

2 What is the determinant of matrix \(K = \begin{bmatrix} 4 & 2 \\ 3 & 5 \end{bmatrix}\)?

B. Fill in the Blanks

3 An inverse matrix does not exist when the determinant \(ad - bc\) is equal to .

4 For any compatible square matrix \(A\) and identity matrix \(I\), multiplying \(AI\) yields matrix .

C. Drag and Drop: Match the Concept with Its Property or Formula

Drag each concept to the correct property or formula. On a phone, tap the answer choice first, then tap the matching box.

Concept / Operation
Identity Matrix Property
Commutative Law of Addition
Determinant of \(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\)
Solution to \(AX = B\)
Property / Formula
\(AI = IA = A\) Correct Try again Empty
\(A + B = B + A\) Correct Try again Empty
\(ad - bc\) Correct Try again Empty
\(X = A^{-1}B\) Correct Try again Empty
 

Key Terms

Order of a matrix Corresponding elements Scalar Identity matrix (I) Inverse matrix (A⁻¹) Determinant (ad − bc) Matrix equation

Basic Operation on Matrices

2.2 Basic Operation on Matrices
MATHEMATICS • Form 5 • Chapter 2: Matrices

2.2 Basic Operation on Matrices

Basic operations on matrices include addition, subtraction, scalar multiplication, and matrix multiplication. Matrix operations follow specific conditions based on their orders and obey certain arithmetic laws. This topic also covers the properties of identity matrices, the derivation and calculation of inverse matrices for \(2 \times 2\) matrices, and using the matrix method to solve simultaneous linear equations in real-world contexts.

Learning Objectives

  • Add and subtract matrices of the same order.
  • Multiply a matrix by a number (scalar multiplication).
  • Multiply two matrices conforming to compatible order conditions (\(m \times n\) and \(n \times p\)).
  • Explain the characteristics of an identity matrix.
  • Explain the meaning of an inverse matrix and determine the inverse matrix for a \(2 \times 2\) matrix.
  • Use the matrix method to solve simultaneous linear equations and real-life problems.

Matrix Operations and Properties Flowchart

Check the conditions required for addition, subtraction, scalar multiplication, matrix multiplication and inverse matrices at a glance.

Addition / Subtraction

Same order required

Add or subtract each corresponding element. The result has the same order as the original matrices.

Scalar Multiplication

Multiply every element

\(nA\) means every element inside matrix \(A\) is multiplied by the real number \(n\).

Matrix Multiplication

Columns of \(A\) = rows of \(B\)

\(A_{m \times n} \times B_{n \times p} = AB_{m \times p}\). Use the row-by-column method.

Inverse Matrix

Determinant must not be zero

\(A^{-1}\) exists only when \(|A| = ad - bc \neq 0\).

Brief Explanation

Understand the conditions and laws for each basic matrix operation.

Addition and Subtraction

Addition and subtraction can only be performed on matrices with the same order. Add or subtract each corresponding element to obtain a single matrix with the same order.

Scalar Multiplication

Scalar multiplication is repeated addition of the matrix. Every element inside the matrix is multiplied by the real number \(n\), called the scalar.

\[ \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix} \pm \begin{bmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{bmatrix} = \begin{bmatrix} a_{11} \pm b_{11} & a_{12} \pm b_{12} \\ a_{21} \pm b_{21} & a_{22} \pm b_{22} \end{bmatrix} \]

Laws of Arithmetic Operations

Addition obeys the Commutative Law, \(A + B = B + A\), and the Associative Law, \((A + B) + C = A + (B + C)\). Subtraction does not obey these laws. The Distributive Law gives \(h(A + B) = hA + hB\) and \(h(A - B) = hA - hB\).

Zero Matrix

A zero matrix, \(O\), has all elements equal to zero. For any matrix \(A\), \(A + O = A\) and \(A - O = A\).

Multiplication of Two Matrices

The number of columns in the first matrix \(A\) must equal the number of rows in the second matrix \(B\). If \(A\) is of order \(m \times n\) and \(B\) is of order \(n \times p\), the resulting matrix \(AB\) is of order \(m \times p\). Multiply corresponding elements of each row in \(A\) by each column in \(B\) and sum them. Matrix multiplication is generally not commutative, so \(AB \neq BA\).

\[ \begin{bmatrix} a & b \\ c & d \end{bmatrix} \begin{bmatrix} e & f \\ g & h \end{bmatrix} = \begin{bmatrix} ae + bg & af + bh \\ ce + dg & cf + dh \end{bmatrix} \]

Identity Matrix

An identity matrix, \(I\), is a square matrix where elements along the main diagonal are \(1\), and all other elements are \(0\). For any compatible matrix \(A\), \(AI = IA = A\).

Inverse Matrix

If \(AA^{-1} = A^{-1}A = I\), then \(A^{-1}\) is the inverse matrix of \(A\). For \(A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\), the inverse exists only when the determinant \(ad - bc \neq 0\).

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

Solving Simultaneous Linear Equations using Matrix Method

Express the equations \(ax + by = p\) and \(cx + dy = q\) in matrix form \(AX = B\). Pre-multiply both sides by \(A^{-1}\) to obtain \(X = A^{-1}B\).

\[ \begin{bmatrix} a & b \\ c & d \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} p \\ q \end{bmatrix} \quad\Rightarrow\quad \begin{bmatrix} x \\ y \end{bmatrix} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \begin{bmatrix} p \\ q \end{bmatrix} \]

Try Answering First

Read the question, answer it in your mind, then press “Check Answer”.

1

Given \(A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\) and \(B = \begin{bmatrix} 5 & -1 \\ 0 & 2 \end{bmatrix}\), find \(A + B\).

Answer: \(\begin{bmatrix} 2+5 & 3+(-1) \\ 1+0 & 4+2 \end{bmatrix} = \begin{bmatrix} 7 & 2 \\ 1 & 6 \end{bmatrix}\)
2

Determine whether matrix \(M = \begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix}\) has an inverse matrix.

Answer: Determinant \(|M| = (2)(2) - (4)(1) = 4 - 4 = 0\). Since \(ad - bc = 0\), matrix \(M\) does not have an inverse matrix.
3

Find matrix \(P\) if \(\begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix} P = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\).

Answer: \(P\) is the inverse of \(\begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix}\). \(P = \frac{1}{(3)(2) - (1)(5)} \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix} = \frac{1}{1} \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix} = \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix}\)

Common Mistakes

  • ! Attempting to add or subtract matrices with different orders, for example adding a \(1 \times 2\) matrix to a \(2 \times 1\) matrix.
  • ! Assuming matrix multiplication is commutative, \(AB = BA\), which is generally false.
  • ! Multiplying elements element-by-element instead of using the row-by-column method when multiplying two matrices.
  • ! Squaring a matrix by squaring each individual entry inside the matrix instead of multiplying the matrix by itself, \(L^2 = LL\).
  • ! Forgetting to change signs of \(b\) and \(c\) to \(-b\) and \(-c\), or forgetting to swap \(a\) and \(d\) when finding the inverse matrix.
  • ! Pre-multiplying versus post-multiplying incorrectly when solving \(AX = B\), writing \(X = BA^{-1}\) instead of \(X = A^{-1}B\).

Misconceptions

Misconception

\(A^{-1} = \frac{1}{A}\).

Correct Fact

Matrix division does not exist. \(A^{-1}\) represents the multiplicative inverse such that \(AA^{-1} = I\).

Misconception

All square matrices have inverses.

Correct Fact

An inverse only exists if the determinant \(ad - bc \neq 0\).

Misconception

Any diagonal matrix is an identity matrix.

Correct Fact

An identity matrix must specifically have \(1\) along the main diagonal and \(0\) elsewhere.

Summary

  • Matrices can undergo addition and subtraction if and only if they have the same order.
  • Scalar multiplication scales all elements equally.
  • Multiplication of two matrices \(A_{m \times n}\) and \(B_{n \times p}\) yields a matrix of order \(m \times p\).
  • An identity matrix \(I\) satisfies \(AI = IA = A\).
  • A \(2 \times 2\) matrix has an inverse \(A^{-1} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\) provided \(|A| = ad - bc \neq 0\).
  • This inverse matrix facilitates solving linear systems via \(X = A^{-1}B\).

Short Activity

Complete all parts first, then press the check answer button.

A. Objective Quiz

1 Which condition must be met for matrix multiplication \(AB\) to be possible?

2 What is the determinant of matrix \(K = \begin{bmatrix} 4 & 2 \\ 3 & 5 \end{bmatrix}\)?

B. Fill in the Blanks

3 An inverse matrix does not exist when the determinant \(ad - bc\) is equal to .

4 For any compatible square matrix \(A\) and identity matrix \(I\), multiplying \(AI\) yields matrix .

C. Drag and Drop: Match the Concept with Its Property or Formula

Drag each concept to the correct property or formula. On a phone, tap the answer choice first, then tap the matching box.

Concept / Operation
Identity Matrix Property
Commutative Law of Addition
Determinant of \(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\)
Solution to \(AX = B\)
Property / Formula
\(AI = IA = A\) Correct Try again Empty
\(A + B = B + A\) Correct Try again Empty
\(ad - bc\) Correct Try again Empty
\(X = A^{-1}B\) Correct Try again Empty
 

Key Terms

Order of a matrix Corresponding elements Scalar Identity matrix (I) Inverse matrix (A⁻¹) Determinant (ad − bc) Matrix equation