By the end of this chapter, you will be able to:
Mastering these skills will help you tackle complex engineering problems efficiently and make your work more effective in the real world.
Matrices are essential tools for organizing and manipulating data in various professional fields across Kenya. Whether managing resource allocation in county government offices, analyzing financial transactions in SACCOs, or scheduling in hospitals, matrices provide a structured way to handle complex information. Mastery of matrix types and operations equips diploma-level students with the ability to solve practical problems involving multiple variables efficiently. This chapter focuses on understanding different matrix types and performing basic matrix operations up to order 3 by 3, fundamental for decision-making and data analysis in diverse sectors.
A matrix is a rectangular arrangement of numbers in rows and columns, enclosed in brackets. Matrices are used to store data, to describe systems of linear equations and to model transformations, so they appear in circuit analysis, structural calculations, inventory records and computer graphics. The size of a matrix is written as rows × columns, so a matrix with 2 rows and 3 columns is a 2 × 3 matrix. This topic describes the main types of matrix, each with its special properties.
Matrices are named by their shape and by the pattern of their elements. Recognising the type tells you which operations are possible and which shortcuts apply. Example: an electrical workshop records the number of three kinds of cable sold in each of four weeks, and the record forms a 4 × 3 matrix, while the totals for one week form a row matrix.
A row matrix has only one row and any number of columns, so its size is 1 × n. It is used to hold one record with several attributes. Example: a technician records the resistance of four resistors in ohms as the 1 × 4 matrix:
[ 10 22 47 100 ]
A column matrix has only one column and any number of rows, so its size is m × 1. It is used to hold a single quantity measured several times or for several items. Example: the number of units of a product sold on each of four days is written as the 4 × 1 matrix:
[ 12 ]
[ 18 ]
[ 15 ]
[ 20 ]
A square matrix has the same number of rows and columns, so its size is n × n. Determinants, inverses and traces are defined only for square matrices, so they are central to solving systems of equations. Example: three currents in a three-loop circuit lead to a 3 × 3 coefficient matrix:
[ 4 -1 0 ]
[-1 5 -2 ]
[ 0 -2 6 ]
A zero matrix, also called a null matrix, has every element equal to zero, and it can be of any size. It plays the same role in matrix addition as the number zero does in ordinary addition. Example: a 2 × 3 zero matrix records no sales of three items on each of two days:
[ 0 0 0 ]
[ 0 0 0 ]
An identity matrix is a square matrix with 1 on the main diagonal and 0 everywhere else. It is written I, and it works like the number 1 in multiplication. Example: the 3 × 3 identity matrix is:
[ 1 0 0 ]
[ 0 1 0 ]
[ 0 0 1 ]
A diagonal matrix is a square matrix in which all elements outside the main diagonal are zero. The diagonal elements themselves may be any numbers, including zero. Example: a matrix that scales three quantities by the factors 2, 5 and 3 is:
[ 2 0 0 ]
[ 0 5 0 ]
[ 0 0 3 ]
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 matrices and their various types, including row, column, square, zero, identity, and diagonal matrices, each serving specific roles in engineering computations. It then covered matrix operations such as addition, subtraction, and multiplication for matrices up to size 3 by 3, emphasizing the step-by-step procedures essential for handling engineering data. The concept of the inverse of a matrix was explored in detail, beginning with the calculation of the determinant, followed by the transpose and adjoint, leading to the determination of the inverse matrix. These foundational tools were applied to solve systems of simultaneous linear equations involving up to three variables using three methods: the inverse method, Cramer's rule, and row reduction. Through these methods, students learned to efficiently solve engineering problems involving multiple unknowns. The chapter combined theoretical understanding with practical calculation techniques to build competence in manipulating matrices for real-world engineering scenarios.
Calculate the sum of the two matrices representing daily patient arrivals at a county referral hospital and a nearby health centre:
\[
A = \begin{bmatrix} 12 & 15 \\ 20 & 18 \end{bmatrix}, \quad B = \begin{bmatrix} 8 & 5 \\ 7 & 10 \end{bmatrix}
\]
(2 marks)
A SACCO has the following loan distribution in thousands of Ksh across three branches represented by matrix \(A\):
\[
A = \begin{bmatrix} 120 & 150 & 100 \end{bmatrix}
\]
and the repayment rates in decimals represented by matrix \(B\):
\[
B = \begin{bmatrix} 0.8 \\ 0.75 \\ 0.9 \end{bmatrix}
\]
Find the matrix product \(AB\) and interpret the result. (3 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.