Electronics Engineering  ·  Level 6
Engineering Mathematics I
Chapter 8: Apply matrices
📚 13 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • correctly perform matrix operations following proper mathematical procedures
  • accurately find the inverse of matrices using standard mathematical methods
  • solve simultaneous equations using matrices with confidence and accuracy

Mastering these skills will help you handle complex engineering problems efficiently and open doors to advanced electronics design and analysis.

Matrices play a central role in electronics engineering mathematics, providing a powerful tool for modelling and solving systems of linear equations, signal processing, and network analysis. In Kenya’s electronics industry, engineers frequently use matrices to analyze circuits, transform signals, and optimize designs. This chapter introduces the fundamental concepts of matrices, focusing on their representation, operations, and applications relevant to electronics engineering problems.

8.1 Matrix

Matrices are rectangular arrays of numbers arranged in rows and columns that represent data or coefficients in systems of equations. In electronics, they simplify complex circuit analysis and signal transformations. Understanding matrix notation, types, and basic operations is essential for manipulating and applying them effectively.

8.1.1 Matrix Definition and Notation

A matrix \( A \) with \( m \) rows and \( n \) columns is written as:

$$ A = \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{bmatrix} $$

where \( a_{ij} \) is the element in row \( i \) and column \( j \).

Worked Examples

Example 1: Identify the order and elements of matrix

$$ B = \begin{bmatrix} 5 & -2 & 0 \\ 3 & 7 & 4 \end{bmatrix} $$

Given: matrix \( B \)

  • Number of rows \( m = 2 \)
  • Number of columns \( n = 3 \)

Answer: Matrix \( B \) is of order \( 2 \times 3 \).

Example 2: Write the element in the second row, third column of matrix

$$ C = \begin{bmatrix} 1 & 0 & 4 \\ -3 & 2 & 5 \\ 7 & 8 & 9 \end{bmatrix} $$

Given: matrix \( C \)

  • Element \( a_{23} = 5 \)

Answer: The element in row 2, column 3 is 5.

Example 3: For matrix

$$ D = \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix} $$

Write the element \( a_{11} \), \( a_{21} \), and \( a_{12} \).

Given: matrix \( D \)

  • \( a_{11} = 2 \)
  • \( a_{21} = 6 \)
  • \( a_{12} = 4 \)

Answer: Elements are \( a_{11} = 2 \), \( a_{21} = 6 \), \( a_{12} = 4 \).


8.1.2 Types of Matrices

Matrices are classified by their order and special properties important in electronics engineering calculations, such as square, diagonal, identity, zero, and transpose matrices.

Worked Examples

Example 1: Determine the type of matrix

$$ E = \begin{bmatrix} 3 & 0 & 0 \\ 0 & 5 & 0 \\ 0 & 0 & 7 \end{bmatrix} $$

Given: matrix \( E \)

  • \( E \) is a \( 3 \times 3 \) square matrix
  • Non-zero elements only on the main diagonal

Answer: Matrix \( E \) is a diagonal matrix.

Example 2: Identify if matrix

$$ F = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} $$

is an identity matrix.

Given: matrix \( F \)

  • \( F \) is a \( 3 \times 3 \) square matrix
  • Diagonal elements are 1, off-diagonal elements are 0

Answer: Matrix \( F \) is an identity matrix.

Example 3: Find the transpose of matrix

$$ G = \begin{bmatrix} 2 & 4 \\ 6 & 8 \\ 10 & 12 \end{bmatrix} $$

Given: matrix \( G \)

Formula for transpose: \( G^T \) is formed by swapping rows and columns

$$ G^T = \begin{bmatrix} 2 & 6 & 10 \\ 4 & 8 & 12 \end{bmatrix} $$

Answer: Transpose of \( G \) is

$$ \begin{bmatrix} 2 & 6 & 10 \\ 4 & 8 & 12 \end{bmatrix} $$


8.1.3 Matrix Addition and Subtraction

Matrix addition and subtraction require matrices to be of the same order. Each element in the resulting matrix is the sum or difference of corresponding elements.

Given two matrices \( A = [a_{ij}] \) and \( B = [b_{ij}] \) of the same order, their sum \( C = A + B \) is:

$$ c_{ij} = a_{ij} + b_{ij} $$

Similarly, subtraction is:

$$ d_{ij} = a_{ij} - b_{ij} $$

Worked Examples

Example 1: Add matrices

$$ A = \begin{bmatrix} 1 & 3 \\ 5 & 7 \end{bmatrix} - \quad B = \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix} $$

Given:

$$ C = A + B $$

$$ C = \begin{bmatrix} 1+2 & 3+4 \\ 5+6 & 7+8 \end{bmatrix} $$

$$ = \begin{bmatrix} 3 & 7 \\ 11 & 15 \end{bmatrix} $$

Answer: \( C = \begin{bmatrix}3 & 7 \\ 11 & 15 \end{bmatrix} \)

Example 2: Subtract matrices

$$ A = \begin{bmatrix} 7 & 5 & 3 \\ 2 & 6 & 4 \end{bmatrix} - \quad B = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} $$

Calculate \( D = A - B \)

$$ D = \begin{bmatrix} 7-1 & 5-2 & 3-3 \\ 2-4 & 6-5 & 4-6 \end{bmatrix} $$

$$ = \begin{bmatrix} 6 & 3 & 0 \\ -2 & 1 & -2 \end{bmatrix} $$

Answer: \( D = \begin{bmatrix}6 & 3 & 0 \\ -2 & 1 & -2 \end{bmatrix} \)

Example 3: Verify if addition is possible for matrices

$$ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix} - \quad B = \begin{bmatrix} 7 & 8 \end{bmatrix} $$

Given:

  • \( A \) order \( 3 \times 2 \)
  • \( B \) order \( 1 \times 2 \)

Answer: Addition is not possible since orders differ.


8.1.4 Scalar Multiplication and Matrix Multiplication

Scalar multiplication involves multiplying every element of a matrix by a scalar. Matrix multiplication involves multiplying two matrices \( A \) and \( B \), where the number of columns in \( A \) equals the number of rows in \( B \).

For scalar \( k \) and matrix \( A = [a_{ij}] \):

$$ (kA)_{ij} = k \times a_{ij} $$

For matrices \( A_{m \times n} \) and \( B_{n \times p} \), product \( C_{m \times p} = AB \):

$$ c_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj} $$

Worked Examples

Example 1: Scalar multiplication

$$ A = \begin{bmatrix} 1 & -2 \\ 3 & 4 \end{bmatrix} - \quad k = 3 $$

Calculate \( 3A \)

$$ 3A = \begin{bmatrix} 3 \times 1 & 3 \times (-2) \\ 3 \times 3 & 3 \times 4 \end{bmatrix} = \begin{bmatrix} 3 & -6 \\ 9 & 12 \end{bmatrix} $$

Answer: \( 3A = \begin{bmatrix}3 & -6 \\ 9 & 12 \end{bmatrix} \)

Example 2: Matrix multiplication

$$ A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} - \quad B = \begin{bmatrix} 7 & 8 \\ 9 & 10 \\ 11 & 12 \end{bmatrix} $$

Calculate \( C = AB \)

Calculate element \( c_{11} \):

$$ c_{11} = 1 \times 7 + 2 \times 9 + 3 \times 11 = 7 + 18 + 33 = 58 $$

Calculate element \( c_{12} \):

$$ c_{12} = 1 \times 8 + 2 \times 10 + 3 \times 12 = 8 + 20 + 36 = 64 $$

Calculate element \( c_{21} \):

$$ c_{21} = 4 \times 7 + 5 \times 9 + 6 \times 11 = 28 + 45 + 66 = 139 $$

Calculate element \( c_{22} \):

$$ c_{22} = 4 \times 8 + 5 \times 10 + 6 \times 12 = 32 + 50 + 72 = 154 $$

So,

$$ C = \begin{bmatrix} 58 & 64 \\ 139 & 154 \end{bmatrix} $$

Answer: \( C = \begin{bmatrix}58 & 64 \\ 139 & 154 \end{bmatrix} \)

Example 3: Check if matrix multiplication is possible

$$ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix} - \quad B = \begin{bmatrix} 7 & 8 & 9 \\ 10 & 11 & 12 \end{bmatrix} $$

Given:

  • \( A \) order \( 3 \times 2 \)
  • \( B \) order \( 2 \times 3 \)

Since number of columns in \( A \) (2) equals number of rows in \( B \) (2), multiplication is possible.

Answer: Multiplication \( AB \) is defined.


Practice Questions

  1. Given matrix \( A = \begin{bmatrix} 4 & 5 \\ 6 & 7 \end{bmatrix} \), find the transpose \( A^T \). (3 marks)

  2. Add matrices \( X = \begin{bmatrix} 3 & 2 \\ 1 & 4 \end{bmatrix} \) and \( Y = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \). (4 marks)

  3. Multiply matrix \( M = \begin{bmatrix} 1 & 0 \\ 2 & 3 \end{bmatrix} \) by scalar \( 4 \). (3 marks)

  4. Calculate the product of matrices

\( P = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix} \) and

\( Q = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \). (6 marks)

  1. Determine if the following matrices can be added:

\( A = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \),

\( B = \begin{bmatrix} 4 & 5 \\ 6 & 7 \end{bmatrix} \). (2 marks)

The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒8.2 Order of a matrix

In electronics engineering, matrices are fundamental in analyzing circuits, signal processing, and system modelling. Understanding the order of a matrix is essential for correctly performing matrix operations such as addition, multiplication, and inversion, wh…

🔒8.3 Square matrix

Square matrices are fundamental in electronics engineering mathematics, especially when analyzing circuits, systems, and transformations where the number of inputs equals the number of outputs. In Kenya’s electronics industry, tasks such as network analysis, f…

🔒8.4 Compatibility in addition

In electronics engineering, especially in matrix analysis for circuits and signal processing, understanding when two matrices can be added is fundamental. Compatibility in addition means that matrices must have the same dimensions to be added element-wise. Thi…

🔒8.5 Multiplication of matrices

Matrix multiplication is fundamental in electronics engineering for system modelling, signal processing, and circuit analysis in Kenya’s technological industries. It allows combining transformations, solving simultaneous equations, and representing complex net…

🔒8.6 Multiplication of a matrix by a scalar Matrix multiplication

In electronics engineering, matrices are essential for analyzing circuits, signal processing, and system modeling. Multiplying a matrix by a scalar or multiplying two matrices is foundational for manipulating system parameters and transforming signals. Kenyan…

🔒8.7 Identity matrix

The identity matrix plays a fundamental role in electronics engineering mathematics, especially in solving systems of linear equations and analyzing circuit networks using matrix methods. For electronics engineers in Kenya working with circuit analysis, signal…

🔒8.8 Determinant of a 2 x 2 matrix

The determinant of a matrix is a scalar value that can be computed from the elements of a square matrix and encodes important properties such as invertibility. In electronics engineering, determinants are used in solving systems of linear equations related to…

🔒8.9 Inverse of a 2 x 2 matrix

In electronics engineering, matrices are widely used to analyze circuits, control systems, and signal processing. Finding the inverse of a matrix is crucial when solving systems of linear equations, especially in network analysis and filter design. The inverse…

🔒8.10 Singular matrix

In electronics engineering, matrices are essential for solving systems of linear equations related to circuit analysis, signal processing, and control systems. A singular matrix is a special type of square matrix that cannot be inverted, which poses challenges…

🔒8.11 Solutions of simultaneous equations in two unknowns by

Simultaneous equations with two unknowns frequently arise in electronics engineering problems such as analyzing circuits with two mesh currents or two node voltages. Solving these equations accurately is essential for designing and troubleshooting electronic s…

🔒8.12 Matrix method

The matrix method is a fundamental technique in electronics engineering mathematics, especially useful for solving systems of linear equations that model electrical circuits and signal processing problems. In Kenya’s electronics industry, engineers often encou…

🔒8.13 Crammer rule

Crammer rule is an efficient mathematical technique to solve systems of linear equations using determinants. This method is particularly useful in electronics engineering when analyzing circuits with multiple variables such as currents and voltages in simultan…

Chapter Summary

This chapter introduced the concept of a matrix as a rectangular array of numbers arranged in rows and columns. The order of a matrix was defined by the number of rows and columns it contains, leading to special cases such as the square matrix where the number of rows equals the number of columns. The conditions for compatibility in addition and multiplication of matrices were explained, emphasizing that matrices must have specific orders to be added or multiplied. The chapter also covered the multiplication of a matrix by a scalar and the process of matrix multiplication itself. The role and properties of the identity matrix were discussed as a fundamental element in matrix operations. The determinant of a 2 x 2 matrix was defined and calculated, providing a basis for finding the inverse of a 2 x 2 matrix and identifying a singular matrix when the determinant equals zero. Finally, the chapter demonstrated how to solve simultaneous equations in two unknowns using the matrix method and Cramer's rule, linking matrix theory to practical problem-solving in electronics engineering.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

Written Assessment

  1. Calculate the sum of the matrices below, which represent voltage readings from two sensor arrays in an electronic circuit:
    \[ A = \begin{bmatrix} 3 & 5 \\ 7 & 9 \end{bmatrix}, \quad B = \begin{bmatrix} 1 & 4 \\ 2 & 6 \end{bmatrix} \]
    (2 marks)

  2. Determine the order of the matrix that represents the gain coefficients of a 3-stage amplifier:
    \[ G = \begin{bmatrix} 2 & 0 & 1 \\ 4 & 3 & 5 \end{bmatrix} \]
    (1 mark)

🔒18 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. A signal processing circuit in a Nairobi-based electronics firm uses a matrix \( A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix} \) and matrix \( B = \begin{bmatrix} 5 & 1 \\ 2 & 3 \end{bmatrix} \). Find the order of the matrix \( A \). (4 marks)

  2. Verify if the matrix \( C = \begin{bmatrix} 7 & 2 \\ 3 & 5 \end{bmatrix} \) is a square matrix. (4 marks)

🔒18 more in this section.
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 18 questions Start quiz ▾
0%
0 / 2
🔒

16 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • correctly perform matrix operations following proper mathematical procedures
  • accurately find the inverse of matrices using standard mathematical methods
  • solve simultaneous equations using matrices with confidence and accuracy

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.