Obtain the following matrices and describe them
(a)A=[aij] is a 3×3 matrix such that aij=a if ij and
zero otherwise.
(b)B=[bij] is a 3×3 matrix such that bij=i+j (Hint observe BT).
(c)C=[cij] is a 2×2 matrix such that c11=c22=a and
c12=b and c21=b, verify the orthogonality of C.
(d)D=[dij] is 3×3 matrix such that d12=a,  d13=a2,
and c23=a, and others are zero ,then compute D3 and  comment on the
resulting matrix.
SOLUTION :
(a)A=[aij] is a 3×3 matrix such that
aij=a.
since A is defined as a 3×3 matrix and the elements are
defined as aij=a.
in as much as ij
then a11=a,a12=a,a13=a,

a21=0,a22=a,a23=a,

a31=0,a32=0,a33=a,

A=[aaa0aa00a]

Hence the resulting matrix is an upper triangular or echelon   matrix.
(b) B=[bij] is a 3×3 such that bij=i+j,
here our matrix is defined as B=bij=i+j, taking values for
i,j yields a11=1+1=2,a12=1+2=3,a13=1+3=4

a21=2+1=3,a22=2+2=4,a23=2+3=5,

a31=3+1=4,a32=3+2=5,a33=3+3=6

hence the matrix B is
B=[234345456]

(c) C=[cij] is 2×2 matrix, such that
c11=c22=a,c12=b and c21=b
this matrix is simple to construct since the elements have
been defined and its a square 2×2 matrix. hence
C=[abba]

to verify the orthogonality of this matrix, we use the
formula for orthogonality which is CCT=I where is an identity matrix,
so we begin with CT CT=[abba]
so  CCT=[abba]×[abba]

=[a2+b200a2+b2]

hence the matrix is orthogonal as it yields a square matrix.
CCT=a2+b2[1001]
.
(d)D=[dij] is 3×3 matrix such that
d12=a, d13=a2, d23=a while others are zero,
now we are to compute D3 after constructing the matrix D which is.
D=[0aa300a000]

to compute D3=D2×D
now for D2=[0aa300a000]×[0aa300a000]

=[00a2000000]
 
now D3=D2×D=[00a2000000]×[0aa300a000]

=[000000000]

hence the resulting matrix is a NULL matrix.