By the end of this chapter, you will be able to:
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.
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.
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 \).
Example 1: Identify the order and elements of matrix
$$ B = \begin{bmatrix} 5 & -2 & 0 \\ 3 & 7 & 4 \end{bmatrix} $$
Given: matrix \( B \)
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 \)
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 \)
Answer: Elements are \( a_{11} = 2 \), \( a_{21} = 6 \), \( a_{12} = 4 \).
Matrices are classified by their order and special properties important in electronics engineering calculations, such as square, diagonal, identity, zero, and transpose matrices.
Example 1: Determine the type of matrix
$$ E = \begin{bmatrix} 3 & 0 & 0 \\ 0 & 5 & 0 \\ 0 & 0 & 7 \end{bmatrix} $$
Given: matrix \( E \)
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 \)
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} $$
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} $$
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:
Answer: Addition is not possible since orders differ.
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} $$
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:
Since number of columns in \( A \) (2) equals number of rows in \( B \) (2), multiplication is possible.
Answer: Multiplication \( AB \) is defined.
Given matrix \( A = \begin{bmatrix} 4 & 5 \\ 6 & 7 \end{bmatrix} \), find the transpose \( A^T \). (3 marks)
Add matrices \( X = \begin{bmatrix} 3 & 2 \\ 1 & 4 \end{bmatrix} \) and \( Y = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \). (4 marks)
Multiply matrix \( M = \begin{bmatrix} 1 & 0 \\ 2 & 3 \end{bmatrix} \) by scalar \( 4 \). (3 marks)
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)
\( A = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \),
\( B = \begin{bmatrix} 4 & 5 \\ 6 & 7 \end{bmatrix} \). (2 marks)
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis 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.
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)
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)
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)
Verify if the matrix \( C = \begin{bmatrix} 7 & 2 \\ 3 & 5 \end{bmatrix} \) is a square matrix. (4 marks)
At the start of this chapter we promised you would be able to:
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.