202009251201 Homework 1 (Q1)

Solve the system \mathbf{A}\mathbf{x} = \mathbf{0} for each matrix \mathbf{A} below.

(a)

\mathbf{A}= \begin{bmatrix}  1 & 3 & 5 & 7 \\ 3 & 5 & 7 & 9 \\ 5 & 7 & 9 & 1 \\  \end{bmatrix}

(b)

\mathbf{A}= \begin{bmatrix}  1 & 0 & 1 & 1 \\ 1 & 1 & 0 & 1 \\ 1 & 1 & -2 & 0 \\  \end{bmatrix}

(c)

\mathbf{A}= \begin{bmatrix}  4 & 6 & 0 & 1 & -9 \\ 1 & 2 & -4 & 5 & 7 \\ 2 & 3 & 6 & 4 & 2 \\ 1 & 0 & 3 & 2 & -5 \\  \end{bmatrix}

(d)

\mathbf{A}= \begin{bmatrix}  1 & 2 & 3 & 1 & 1 \\ 1 & 4 & 0 & 1 & 2 \\ 0 & 2 & -3 & 0 & 1 \\ 1 & 0 & 0 & 0 & 0 \\  \end{bmatrix}


Recall

Observe that \mathbf{A}‘s in (a) and (b) are 3-by-4 matrices, and in (c) and (d) are 4-by-5 matrices. Multiplication of two matrices \mathbf{A} and \mathbf{B} results in a matrix product \mathbf{A}\mathbf{B}. By convention, should an m-by-n matrix \mathbf{A} be written on the left, \mathbf{A} is meant the multiplicand, and should an n-by-p matrix \mathbf{B} be written on the right, \mathbf{B} is meant the multiplier. The matrix product \mathbf{AB} will become an m-by-p matrix.


Solution.

(a)

Let a 4-by-1 column vector \mathbf{x} be

\mathbf{x} = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \\ x_4 \end{bmatrix}.

Then,

\begin{aligned} \mathbf{A}\mathbf{x} & = \mathbf{0} \\ \begin{bmatrix} 1 & 3 & 5 & 7 \\ 3 & 5 & 7 & 9 \\ 5 & 7 & 9 & 1 \\ \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \\ x_4 \\ \end{bmatrix} & = \mathbf{0} \\ \begin{bmatrix} (1)(x_1)+(3)(x_2)+(5)(x_3)+(7)(x_4) \\ (3)(x_1)+(5)(x_2)+(7)(x_3)+(9)(x_4) \\ (5)(x_1)+(7)(x_2)+(9)(x_3)+(1)(x_4) \\ \end{bmatrix} & = \begin{bmatrix} 0 \\ 0 \\ 0 \\ \end{bmatrix} \end{aligned}

Here we have four unknowns but three equations.

\begin{Bmatrix} 15x_1+ 45x_2+75x_3+105x_4 & = 0 \\ 15x_1+25x_2+35x_3+45x_4 & = 0 \\ 15x_1+21x_2+27x_3+3x_4 & = 0 \\ \end{Bmatrix}

It is feasible to carry through all the calculations, but do let us not work in so awkward a manner.

Performing row operations of matrices and using shorthand notations (e.g., R_1 stands for Row 1; 5R_2 stands for 5 times each entry in Row 2; R_1-R_3 means every entry in Row 3 is to be subtracted from the corresponding entry in Row 1.)

(1) R_3-5R_1

\begin{bmatrix}  1 & 3 & 5 & 7 \\ 3 & 5 & 7 & 9 \\ 0 & -8 & -16 & -34 \\  \end{bmatrix}

(2) R_2 - 3R_1

\begin{bmatrix}  1 & 3 & 5 & 7 \\ 0 & -4 & -8 & 12 \\ 0 & -8 & -16 & -34 \\  \end{bmatrix}

(3) R_3 - 2R_2

\begin{bmatrix}  1 & 3 & 5 & 7 \\ 0 & -4 & -8 & 12 \\ 0 & 0 & 0 & -58 \\  \end{bmatrix}

(4) R_3 \div (-58)

\begin{bmatrix}  1 & 3 & 5 & 7 \\ 0 & -4 & -8 & 12 \\ 0 & 0 & 0 & 1 \\  \end{bmatrix}

(5) R_2-12R_3

\begin{bmatrix}  1 & 3 & 5 & 7 \\ 0 & -4 & -8 & 0 \\ 0 & 0 & 0 & 1 \\  \end{bmatrix}

(6) R_1-7R_3

\begin{bmatrix}  1 & 3 & 5 & 0 \\ 0 & -4 & -8 & 0 \\ 0 & 0 & 0 & 1 \\  \end{bmatrix}

(7) R_2 \div (-4)

\begin{bmatrix}  1 & 3 & 5 & 0 \\ 0 & 1 & 2 & 0 \\ 0 & 0 & 0 & 1 \\  \end{bmatrix}

(8) R_1-3R_2

\begin{bmatrix}  1 & 0 & -1 & 0 \\ 0 & 1 & 2 & 0 \\ 0 & 0 & 0 & 1 \\  \end{bmatrix}

The matrix above is called the reduced row-echelon form of \mathbf{A}.

Now that the simplification has come handy:

\begin{aligned} x_1 -x_3 &=0 \\ x_2 +2x_3 & = 0 \\ x_4 & = 0 \\ \end{aligned}

and the answer is \mathbf{x}=\begin{bmatrix} x \\ -2x \\ x \\ 0 \end{bmatrix}.


Questions (b), (c), and (d) are left the readers.

Leave a Reply

Your email address will not be published. Required fields are marked *