A matrix is a rectangular array of numbers (or real-valued functions) arranged in rows and columns, enclosed in square brackets. If a matrix A has m rows and n columns, we say A is of orderm×n, and write A=[aij]m×n, 1≤i≤m,1≤j≤n, where aij is the entry common to the ith row and jth column.
The book classifies matrices by shape and pattern of entries:
Row matrix: only one row, order 1×n.
Column matrix: only one column, order m×1.
Zero (null/void) matrixO: every entry is 0.
Square matrix: number of rows = number of columns, order n×n. The entries a11,a22,…,ann form the principal (main/leading) diagonal.
Diagonal matrix: a square matrix in which every off-diagonal entry is 0 (i.e. aij=0 whenever i=j); the diagonal entries themselves may be anything, including 0.
Scalar matrix: a diagonal matrix whose diagonal entries are all equal to the same constant c.
Unit (identity) matrixIn: a diagonal matrix whose diagonal entries are all 1. Every unit matrix is a scalar matrix (with c=1), and every square zero matrix is a (trivial) scalar/diagonal matrix.
Upper triangular matrix: a square matrix with every entry below the main diagonal equal to 0, i.e. aij=0 for all i>j.
Lower triangular matrix: a square matrix with every entry above the main diagonal equal to 0, i.e. aij=0 for all i<j.
Triangular matrix: a matrix that is either upper or lower triangular. A matrix that is simultaneously upper and lower triangular is necessarily a diagonal matrix.
Note
Matrices are commonly represented by capital letters A,B,C,…. In this chapter every entry is a real number or a real-valued function of real variables. Constructing a matrix from a rule aij=f(i,j) simply means substituting every valid pair (i,j) into f and arranging the results in the m×n grid.
Substitute each (i,j) into the given rule and fill the array row by row.
(i) is a 2×3 array using aij=(i−2j)2/2.
(ii) is a 3×4 array using aij=∣3i−4j∣/4.
✓Final answer
A=(2102922258);
A=4121454521414923434132547.
We evaluate the given formula for aij at every valid pair (i,j) and arrange the values in m rows and n columns.
To construct A=[aij]m×n we simply compute aij for i=1,…,m and j=1,…,n, in that order, and place the result in row i, column j.
Step 1. Part (i): set up the 2×3 grid. Here aij=2(i−2j)2, i=1,2 and j=1,2,3.