By the end of this chapter, you will be able to:
Mastering these skills will help you solve complex problems efficiently and give you a strong foundation for many technical and scientific careers!
Analytical Chemistry Technology professionals in Kenya often encounter complex data sets and systems of linear equations in quantitative analysis, calibration, and instrument calibration. Mastery of matrices enables efficient handling of such data, simplifying calculations and enhancing accuracy in problem solving. This chapter introduces matrices, their types, orders, and operations, emphasizing practical applications relevant to analytical chemistry contexts.
Matrices are rectangular arrays of numbers arranged in rows and columns, used to organize and process data systematically. In analytical chemistry, matrices help represent calibration coefficients, linear systems from titration data, and spectrophotometric absorbance relationships. This section covers the fundamental concepts of matrices, preparing you for advanced applications in chemical data analysis.
Matrices are classified based on their size, shape, and element arrangement. Understanding these types is crucial when selecting appropriate operations or interpreting data matrices in analytical chemistry.
A row matrix has exactly one row and multiple columns. It is useful for representing single sets of measurements or coefficients.
$$ A = \begin{bmatrix} a_1 & a_2 & \dots & a_n \end{bmatrix} $$
A column matrix consists of multiple rows and exactly one column. It often represents vectors such as concentration values or absorbance readings.
$$ B = \begin{bmatrix} b_1 \\ b_2 \\ \vdots \\ b_m \end{bmatrix} $$
A square matrix has equal numbers of rows and columns (\( n \times n \)). It frequently arises in systems of linear equations related to chemical equilibria or calibration matrices.
$$ C = \begin{bmatrix} c_{11} & c_{12} & \dots & c_{1n} \\ c_{21} & c_{22} & \dots & c_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ c_{n1} & c_{n2} & \dots & c_{nn} \end{bmatrix} $$
A zero matrix contains all zero elements and is denoted by \( O \). It is used as an additive identity in matrix operations.
$$ O = \begin{bmatrix} 0 & 0 & \dots & 0 \\ 0 & 0 & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \dots & 0 \end{bmatrix} $$
Example 1:
Given a row matrix representing absorbance values from 3 samples: \( A = [0.12, 0.35, 0.48] \), express it clearly.
Answer:
\( A = \begin{bmatrix} 0.12 & 0.35 & 0.48 \end{bmatrix} \)
Example 2:
Express the concentration vector of 4 solutions as a column matrix: 0.1 mol/L, 0.25 mol/L, 0.5 mol/L, 0.75 mol/L.
Answer:
\( B = \begin{bmatrix} 0.1 \\ 0.25 \\ 0.5 \\ 0.75 \end{bmatrix} \)
Example 3:
Form a square matrix from calibration coefficients:
\[ C = \begin{bmatrix} 1.2 & 0.5 \\ 0.4 & 1.1 \end{bmatrix} \]
This represents a 2 × 2 matrix.
The order of a matrix defines its size by specifying the number of rows and columns, denoted as \( m \times n \). This is fundamental in determining the feasibility of matrix operations such as addition or multiplication in analytical chemistry computations.
If a matrix has \( m \) rows and \( n \) columns, its order is:
$$ \text{Order} = m \times n $$
Example 1:
Determine the order of the matrix
$$ A = \begin{bmatrix} 2 & 5 & 7 \\ 1 & 3 & 0 \end{bmatrix} $$
Solution:
Number of rows \( m = 2 \)
Number of columns \( n = 3 \)
Answer:
Order of \( A = 2 \times 3 \)
Example 2:
Given the matrix
$$ B = \begin{bmatrix} 4 \\ 7 \\ 9 \\ 2 \end{bmatrix} $$
Find its order.
Solution:
Number of rows \( m = 4 \)
Number of columns \( n = 1 \)
Answer:
Order of \( B = 4 \times 1 \)
Example 3:
A matrix representing calibration data has 5 rows and 5 columns. What is its order?
Answer:
Order \( = 5 \times 5 \)
Matrix operations include addition, subtraction, scalar multiplication, and matrix multiplication, essential in solving linear systems and data transformations in analytical chemistry.
Matrices can be added or subtracted only if they have the same order \( m \times n \). The operation is performed element-wise.
$$ C = A \pm B \implies c_{ij} = a_{ij} \pm b_{ij} $$
Example 1:
Add matrices
$$ A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} $$
Solution:
$$ C = A + B = \begin{bmatrix} 1 + 5 & 2 + 6 \\ 3 + 7 & 4 + 8 \end{bmatrix} = \begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix} \)
Example 2:
Subtract matrices
$$ A = \begin{bmatrix} 10 & 15 & 20 \\ 25 & 30 & 35 \end{bmatrix}, \quad B = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} $$
Solution:
$$ C = A - B = \begin{bmatrix} 10 - 1 & 15 - 2 & 20 - 3 \\ 25 - 4 & 30 - 5 & 35 - 6 \end{bmatrix} = \begin{bmatrix} 9 & 13 & 17 \\ 21 & 25 & 29 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 9 & 13 & 17 \\ 21 & 25 & 29 \end{bmatrix} \)
Multiplying a matrix by a scalar involves multiplying every element by that scalar.
$$ C = kA \implies c_{ij} = k \times a_{ij} $$
Example 1:
Multiply matrix
$$ A = \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix} $$
by scalar \( k = 3 \).
Solution:
$$ C = 3 \times \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix} = \begin{bmatrix} 3 \times 2 & 3 \times 4 \\ 3 \times 6 & 3 \times 8 \end{bmatrix} = \begin{bmatrix} 6 & 12 \\ 18 & 24 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 6 & 12 \\ 18 & 24 \end{bmatrix} \)
Example 2:
Scale the concentration matrix
$$ B = \begin{bmatrix} 0.1 & 0.2 & 0.3 \end{bmatrix} $$
by \( k = 10 \).
Solution:
$$ C = 10 \times \begin{bmatrix} 0.1 & 0.2 & 0.3 \end{bmatrix} = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \)
Two matrices \( A \) and \( B \) can be multiplied only if the number of columns in \( A \) equals the number of rows in \( B \). The product matrix \( C = AB \) has order equal to the number of rows of \( A \) and columns of \( B \).
Each element \( c_{ij} \) is calculated as:
$$ c_{ij} = \sum_{k=1}^n a_{ik} b_{kj} $$
where \( n \) is the number of columns in \( A \) (or rows in \( B \)).
Example 1:
Multiply
$$ A = \begin{bmatrix} 1 & 2 \end{bmatrix} \quad (1 \times 2) $$
and
$$ B = \begin{bmatrix} 3 \\ 4 \end{bmatrix} \quad (2 \times 1) $$
Solution:
Number of columns in \( A = 2 \), number of rows in \( B = 2 \) (compatible)
$$ C = AB = \begin{bmatrix} (1 \times 3) + (2 \times 4) \end{bmatrix} = \begin{bmatrix} 3 + 8 \end{bmatrix} = \begin{bmatrix} 11 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 11 \end{bmatrix} \)
Example 2:
Multiply
$$ A = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} \quad (2 \times 2) $$
and
$$ B = \begin{bmatrix} 5 & 7 \\ 6 & 8 \end{bmatrix} \quad (2 \times 2) $$
Solution:
Calculate each element of \( C \):
$$ c_{11} = (1 \times 5) + (3 \times 6) = 5 + 18 = 23 $$
$$ c_{12} = (1 \times 7) + (3 \times 8) = 7 + 24 = 31 $$
$$ c_{21} = (2 \times 5) + (4 \times 6) = 10 + 24 = 34 $$
$$ c_{22} = (2 \times 7) + (4 \times 8) = 14 + 32 = 46 $$
So,
$$ C = \begin{bmatrix} 23 & 31 \\ 34 & 46 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 23 & 31 \\ 34 & 46 \end{bmatrix} \)
Example 3:
Multiply
$$ A = \begin{bmatrix} 2 & 0 & 1 \\ 3 & 1 & 4 \end{bmatrix} \quad (2 \times 3) $$
and
$$ B = \begin{bmatrix} 1 & 2 \\ 0 & 1 \\ 4 & 0 \end{bmatrix} \quad (3 \times 2) $$
Solution:
Calculate each element of \( C \) (order \( 2 \times 2 \)):
$$ c_{11} = (2 \times 1) + (0 \times 0) + (1 \times 4) = 2 + 0 + 4 = 6 $$
$$ c_{12} = (2 \times 2) + (0 \times 1) + (1 \times 0) = 4 + 0 + 0 = 4 $$
$$ c_{21} = (3 \times 1) + (1 \times 0) + (4 \times 4) = 3 + 0 + 16 = 19 $$
$$ c_{22} = (3 \times 2) + (1 \times 1) + (4 \times 0) = 6 + 1 + 0 = 7 $$
$$ C = \begin{bmatrix} 6 & 4 \\ 19 & 7 \end{bmatrix} $$
Answer:
\( C = \begin{bmatrix} 6 & 4 \\ 19 & 7 \end{bmatrix} \)
$$ \begin{bmatrix} 4 & 7 & 1 \\ 2 & 5 & 9 \\ 3 & 6 & 8 \\ 1 & 0 & 4 \end{bmatrix} $$
(3 marks)
$$ A = \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix}, \quad B = \begin{bmatrix} 1 & 3 \\ 5 & 7 \end{bmatrix} $$
(4 marks)
$$ A = \begin{bmatrix} 1 & 0 & 2 \\ -1 & 3 & 1 \end{bmatrix} $$
by scalar \( k = 5 \).
(4 marks)
$$ A = \begin{bmatrix} 3 & 5 \\ 2 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} $$
(6 marks)
$$ A = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix}, \quad B = \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} $$
(5 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 matrices by defining their types, including singular, non-singular, identity, and echelon matrices, and explaining their distinct properties. The concept of matrix order was discussed to clarify the dimensions that define matrices. Basic matrix operations such as addition, subtraction, multiplication by a scalar, and the conditions for compatibility in matrix multiplication were explored in detail. The chapter then focused on the determinant and inverse of a 2x2 matrix, providing the foundation for solving matrix equations. Using these concepts, the method of solving simultaneous equations with two unknowns through matrices was demonstrated. Finally, the chapter covered eigenvalues and eigenvectors, highlighting their significance in matrix theory and applications. Together, these topics form a comprehensive understanding of matrix algebra essential for scientific and engineering problem solving.
Calculate the sum of matrices $$A = \begin{bmatrix} 2 & 3 \\ 5 & 7 \end{bmatrix}$$ and $$B = \begin{bmatrix} 4 & 1 \\ 6 & 2 \end{bmatrix}.$$ (2 marks)
Multiply the matrix $$C = \begin{bmatrix} 3 & 0 \\ 1 & 4 \end{bmatrix}$$ by the scalar 5.
(2 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.