Types: N/A
Examples: N/A
Constructions: N/A
Generalizations: N/A
Properties: N/A
Sufficiencies: N/A
Let's experiment with gravity. Suppose we study a falling object (ball). We will measure the height
Suppose we collect the following data.
![[Pasted image 20240524134524.png#invert]]
We have three data points:
where
To create a model of our data, we want to find the coefficients
With this in mind, let's plug in our data points.
Do you see a 10 Matrix-Vector Multiplication problem? Do you see columns?
- First two columns are linearly independent.
- It is also not possible to create column 3 by multiplying a scalar against column 2.
- & Note that in a quadratic equation, the columns are always linearly independent.
Remark.
In it's current form, our linear-systems problem is difficult to solve. Instead of attempting to solve it how it currently is, let's transform
\begin{proof}[Solution.]
Step 1: Identify first pivot
We want to identify the first entry with row and column index 1. This entry must be nonzero and will be referred to as the first pivot of our matrix. Likewise, column 1 will be referred to as the first pivot column.
For our matrix,
Column
Step 2: Create zeroes in all entries below the first pivot
To turn our matrix into an 8.9 Upper-Triangular Matrix, we can multiply the original system of equation by a sequence of shear matrices to introduce zeroes in all entries to our pivot column
In our case, we need to annihilate entries
First, let's transform
When modifying row 2, we do not want to touch rows 1 or 3. We can do this by multiplying
- & Recall in 11 Matrix-Matrix Multiplication, we can introduce a zero by adding a scalar multiple of row 1 to row 2.
We need to find what our
- Notice that our
value is negative. We make this value negative to cancel out our entry in .
For our shear matrix, we let. Thus, we multiply on the left by :
Because we are working with an equation, anything done to the left of the
Next, let's create a zero at
Again, we do not touch the other rows. We will multiply on the left by shear matrix
Step 3: Identify next pivot
To continue transforming our matrix into an 8.9 Upper-Triangular Matrix, we move to the next row down and next column to the right. The first nonzero entry in this row is the second pivot, and this column is called the second pivot column.
In our case, our second pivot is at entry
Column
When we think about constructing an upper-triangular matrix, we generally prefer to choose our pivots along the diagonal because it is easier to keep track of. In much more complex situations like computer memory optimization, it may be better to choose a pivot that is not along the diagonal.
Step 4: Create zeros in all entries below current pivot
Again, we use a series of shear matrices to introduce zeros in all entries under the current pivot in our current pivot column.
Let's identify where we need to introduce zeros.
Because we want to eliminate the entry at row 3 column 2 of
Now that we have our shear matrix
Step 5: Repeat until all sub-diagonal elements are zero
If matrix
In our gravity model, we are already done and do not need to repeat steps 3 and 4.
Now, we have transformed our original matrix
Now, our system is designed so any solution of
Using our linear equation result from row 3, we see
Finally, we find
Plugging into our original model
We can simplify our quadratic polynomial by completing the square.
Our model indicates that we started our experiment at
- ! Our model EXACTLY matches our collected data. In real life, this is very rare as there are many ways to introduce errors into data.
Remark. This example demonstrates regular Gaussian Elimination to solve a system of
\end{proof}