Linear Algebra: Matrices

Linear algebra is a branch of mathematics that studies vectors, vector spaces, and linear transformations

System of Equations

Augmented Matrix

The augmented matrix for the above system of equations is:

Gauss Elimination

Using Gauss Elimination, we perform row operations to simplify the augmented matrix. Our goal is to transform it into an upper triangular form.

Step 1: Fix and modify and

Performing these operations, the updated matrix becomes:

Step 2: Simplify further

Divide by 5 to normalize the pivot:

Next, eliminate the second element in :

Step 3: Normalize

The system is now ready for back substitution to find the solution.


Types of Solutions

  1. Consistent Systems: at least one solution. - Unique Solution: exactly one solution. - -
    • Infinitely Many Solutions: infinite number of solutions.
  2. Inconsistent Systems: no solution.

Row Echelon Form (REF)

  • All rows consisting entirely of zeros are at the bottom.
  • The first nonzero element (pivot) in each row is to the right of the pivot in the row above it.
  • Below each pivot, all entries are zero.

Reduced Row Echelon Form (RREF)

  • The matrix is in REF.
  • Each pivot is 1.
  • Each pivot is the only nonzero entry in its column.

Example

The given matrix represents an augmented matrix for a system of linear equations. It is written as:

We aim to solve this system using Gaussian Elimination and also find its Row Echelon Form (REF) and Reduced Row Echelon Form (RREF).

Step 1: Fix (First row)

Keep R1 as it is. Eliminate the first element in and by performing the following row operations:

Performing these operations gives:

Step 2: Normalize and Eliminate Below It

Next, eliminate the second element in using :

This gives:

At this stage, the matrix is in Row Echelon Form (REF):

Reduced Row Echelon Form (RREF)

Each pivot is , and all elements above and below pivots are Proceed as follows:

Step 1: Normalize

Divide by :

Step 2: Eliminate Above β€˜s Pivot

Using , eliminate the fourth element in and :

Performing these gives:

Step 3: Eliminate Above β€˜s Pivot

Using , eliminate the second element in :

This gives the final Reduced Row Echelon Form (RREF):


Geometry of Linear Equations

Example

  • In the Row Picture, the solution is found by intersecting lines (or planes in higher dimensions).
  • In the Column Picture, the solution is a combination of vectors that equals the result vector.

Row Picture

The Row Picture represents each equation as a line in the plane. The solution to the system of equations is the point where these lines intersect. For the system:

The intersection point is , which satisfies both equations.

Column Picture

The Column Picture focuses on expressing the equations as combinations of column vectors. For a system like:

  • The first column vector is , multiplied by .
  • The second column vector is , multiplied by .
  • The right-hand side is the result vector .

The equation can be rewritten as:

Geometrically, this means the vector can be expressed as a linear combination of and . The coefficients of this combination are and .


Upper Triangular Form

Given the system of equations , it can be transformed into the form , where is an upper triangular matrix.

Breakdown of Gaussian Elimination

Gaussian Elimination is a method used to solve a system of linear equations by transforming the matrix into an upper triangular matrix . This is achieved through a series of row operations:

  • Curable (Row Operations): These are row operations that can transform the matrix into upper triangular form.
    • Swapping rows.
    • Multiplying a row by a non-zero scalar.
    • Adding a multiple of one row to another row.
  • Incurable (Singular): If at any point, the matrix becomes singular (a row becomes all zeros or the determinant becomes zero), the system is classified as incurable. This indicates that the system does not have a unique solution (it may have no solution or infinitely many solutions).

When the matrix is in upper triangular form, solving the system is straightforward using back substitution.

Example

Consider the following system of equations represented by the matrix equation :

We can apply Gaussian elimination to transform into an upper triangular matrix . Let’s perform the row operations:

  1. Eliminate the first column below the pivot (2 in the first row, first column):
    • Subtract times row 1 from row 2.
    • Subtract times row 1 from row 3.

After applying these row operations, we obtain the upper triangular matrix :

Now, the system is in the form , where:

The system is now easy to solve using back substitution:

  1. From the third row: .
  2. From the second row: .
  3. From the first row: .

Thus, the solution is:

Singular Example (Incurable)

Consider the system:

Using Gaussian elimination, we would eventually encounter a row of zeros (i.e., a singular matrix), which indicates the system is either inconsistent or has infinitely many solutions. Specifically, after performing row operations:

The system has no unique solution, and we can conclude that it is incurable (the matrix is singular).