"Homework 4" and "Homework 5" are due Tomorrow
1.4 The Matrix Equation \( A\vec{x} = \vec{b} \)
A system of linear equations:
can be written as a vector equation:
Matrix Equation Representation
This can be expressed as a matrix equation:
"Homework 4" and "Homework 5" are due Tomorrow
A system of linear equations:
can be written as a vector equation:
This can be expressed as a matrix equation:
In general, if \( \vec{a}_1, \vec{a}_2, \vec{a}_3, \dots, \vec{a}_n \) are columns of \( A \) and \( x_1, x_2, \dots, x_n \) are elements of column vector \( \vec{x} \), then:
This gives us a way to multiply a matrix by a vector.
Dimensions: \( 3 \times \mathbf{2} \) and \( \mathbf{2} \times 1 \)
These MUST match
Multiply first row of \( A \) by first column of \( \vec{x} \), then 2nd row of \( A \) by first column of \( \vec{x} \), and so on.
Each element is a sum of products.
The dimensions of the matrices are: \(4 \times 2\) multiplied by \(2 \times 1\) results in a \(4 \times 1\) vector.
We use the augmented matrix and row reduction:
So \(x_1 = 0\), \(x_2 = -3\), \(x_3 = 1\).
So this means:
Therefore, for a solution \(\vec{x}\) to exist, the vector \(\vec{b}\) MUST be a linear combination of columns of \(A\).
\(\Rightarrow \vec{b}\) must be in \(\text{span} \{ \vec{a}_1, \vec{a}_2, \vec{a}_3 \}\)
If we know \(\vec{b}\), we know how to find \(\vec{x}\).
For an \(A\) that is \(3 \times 3\), can we form every possible vector in \(\mathbb{R}^3\)?
In other words, is \(\text{span} \{ \vec{a}_1, \vec{a}_2, \vec{a}_3 \} = \mathbb{R}^3\)?
Suppose \(A = \begin{bmatrix} 1 & 2 & 4 \\ 0 & 1 & 5 \\ -2 & -4 & -3 \end{bmatrix}\).
Is there a solution \(\vec{x} = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix}\) such that:
for ANY \(b_1, b_2, b_3\)?
There is a pivot in each column, so a solution always exists for ANY \(b_1, b_2, b_3\).
Therefore, this matrix's columns span \(\mathbb{R}^3\).
So if \(b_1 + b_2 + b_3 \neq 0\), then there is no solution.
So \(\text{span} \{ \vec{a_1}, \vec{a_2}, \vec{a_3} \} \neq \mathbb{R}^3\).
The columns of an \(m \times n\) matrix \(A\) span \(\mathbb{R}^m\) if the reduced row echelon form of \(A\) has a pivot position in every column.
Then, the following four statements are logically equivalent:
The equation \(A\vec{x} = \vec{b}\) is called homogeneous if \(\vec{b} = \vec{0} = \begin{bmatrix} 0 \\ \vdots \\ 0 \end{bmatrix}\).
\(A\vec{x} = \vec{0}\) always has the trivial solution \(\vec{x} = \vec{0}\).
\(A\vec{x} = \vec{0}\) has nontrivial solutions if \(A\) does not have pivot position in every row.
\[A = \begin{bmatrix} 3 & 3 & 6 \\ -9 & -9 & -18 \\ 0 & -4 & 12 \end{bmatrix}\]
\[A\vec{x} = \vec{0} \rightarrow \begin{bmatrix} 3 & 3 & 6 & 0 \\ -9 & -9 & -18 & 0 \\ 0 & -4 & 12 & 0 \end{bmatrix}\]
\[\sim \dots \sim \begin{bmatrix} 1 & 1 & 2 & 0 \\ 0 & 1 & -3 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}\]
so \(\vec{x} = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} -5x_3 \\ 3x_3 \\ x_3 \end{bmatrix} = x_3 \begin{bmatrix} -5 \\ 3 \\ 1 \end{bmatrix}\)
line in \(\mathbb{R}^3\)
parametric vector form (\(x_3\) is the parameter)
same \(A\) :
\[A = \begin{bmatrix} 3 & 3 & 6 \\ -9 & -9 & -18 \\ 0 & -4 & 12 \end{bmatrix}\]
\[\vec{b} = \begin{bmatrix} 12 \\ -36 \\ 8 \end{bmatrix}\]
Solve the following system represented by an augmented matrix:
Performing row reduction to reach row-echelon form:
From the reduced matrix, we identify the variables:
The general solution vector \( \vec{x} \) is:
Note: The term \( x_3 \begin{bmatrix} -5 \\ 3 \\ 1 \end{bmatrix} \) represents the solution of the homogeneous system \( A\vec{x} = \vec{0} \).
The solution of a non-homogeneous system \( A\vec{x} = \vec{b} \) is a shifted version of the solution of the homogeneous system \( A\vec{x} = \vec{0} \), provided that \( A\vec{x} = \vec{b} \) is consistent. Geometrically, these solutions represent parallel lines or planes (having the same slopes).
Key Concept:
Solution of \( A\vec{x} = \vec{b} \) is a shifted version of solution of \( A\vec{x} = \vec{0} \) if \( A\vec{x} = \vec{b} \) is consistent.