Types: N/A
Examples: N/A
Constructions: N/A
Generalizations: N/A

Properties: N/A
Sufficiencies: N/A
Questions: N/A

Template for Complete Solutions for Toy GLSP

Recall the general linear-systems problem from 17.6 Toy GLSP.

[361171223124584]3×5[x1x2x3x4x5]5×1=[13613]3×1

Recall that we have already transformed our GLSP into 17.3 Reduced Row Echelon Form via multiplication on the left by elementary matrices.

[120130012200000]3×5[x1x2x3x4x5]5×1=[410]3×1

How can we use reduced row echelon form to find our particular solution and trivial solution?

x=p+z

\begin{proof}[Solution.]
Let's start by looking for our particular solution p. The columns with a leading entry of 1 are pivot columns. All columns that do not meet this criteria are nonpivot columns.

U=[1pivot col. 120pivot col. 2130012200nonpivot col. 100nonpivot col. 20nonpivot col. 3]3×5

We need to find the values of x when multiplied with A on the right that produce our resulting vector y.

[120130012200000]3×5[]5×1=[410]3×1

We can rewrite y as a linear combination of our pivot columns.

[410]=[400]+[010]=4[100]+1[010]

Therefore, we need:

Mathematically, we write

[120130012200000]3×5[40100]5×1=[410]3×1

Now, we need to find the vectors that second U to 0. In other words, how do we find the trivial solution?

Before continuing, let

In our example, we see that r=2 and f=3.

Claim

Each nonpivot column can be written as a linear combination of previous pivot columns.

For our matrix U, we can say that column 2 is a linear combination of column 1. Let's look first at nonpivot column 1.

[U(:,2)]3×1=[200]=2[100]=2[U(:,1)]3×12U(:,1)=1U(:,2)2U(:,1)+1U(:,2)=02[100]+1[200]=[000]
Can we get a special solution using this equation?

We can use this equation to a special trivial solution associated with nonpivot column 1. Formally, we are constructing a vector z1R5 that encodes the linear dependence relations in the columns of U.

Therefore,

Uz1=[120130012200000]3×5[21000]5×1=[000], with z1=[21000].

We can move on to the next pivot column.

U(:,4)=[120]=1[100]+2[010]=1U(:,1)+2U(:,3)

Again, let's use 04 Vector Arithmetic to set the right-hand side of the equation to zero so we can find our trivial solution.

U(:,4)+1U(:,1)2U(:,3)=01[120]+1[100]2[010]=0

From our linear combination, we can construct z2R5 such that

Uz2=[120130012200000][10210]=[000], with z2=[10210]

Finally, we can rewrite our last nonpivot column as

U(:,5)=[320]=3[100]2[010]=3U(:,1)2U(:,3)

Once again, set the right side to zero using vector arithmetic.

3U(:,1)+2U(:,3)+1U(:,5)=3[100]+2[010]+1[320]

Pulling out our scalars, we can construct z3R5 such that

Uz3=[120130012200000][30201]=[000], with z3=[30201]

We now have three 6.7 Linearly Independent Vectors to the linear-systems problem

Ux=0

provided by z1,z2,z3 as well one particular solution given by

p=[40100].

Combining these using our 18.1 Template for Complete Solutions to GLSP, we see that

Ux=U[p+z]=U[p+c1z1+c2z2+c3z3]=Up+U(c1z1)+U(c2z2)+U(c3z3)=y+c1Uz1+c2Uz2+c3Uz3=y+c10+c20+c30=y+0=y

To conclude, we say that our final solution is our particular solution plus any linear combination of our trivial solutions.

x=[40100]+c1[21000]+c2[12210]+c3[30201]

\end{proof}