MATH 2121: Lecture 2

Date: 2024-09-05 15:00:16

Reviewed:

Topic / Chapter:

summary

❓Questions

Notes

Row Reduction to Echelon Form
  • Introduction

    • goal: give an algorthm to determine how many solutions (0, 1, ) does a lin. sys. have
      • and find out the value of solutions, when they exist
    • such algorithm: row reduction to echelon form
      • formalize the way we solve lin. sys.also called: Gausiian elimination
  • Defining reduced echelon form

    • row in matrix: nonzero if "not every entry in the row" is zero
      • nonzero column: defined similarly
    • leading entry in a row: first non-zero entry in the row
      • starting from left to right
    • matrix of size is in echelon form if:
      1. if a row is nonzero: every row above it is also nonzero
      2. the leading entry in a nonzero row: strictly right of the leading entry of any earlier row
        • 👨‍🎓 i.e. in somewhat triangular form?
      3. if a row is nonzero: every entry below its leading entry in the same column is zero
        • implied from the second principle
    • by definition
      • every one-row matrix is in echelon form
      • one-column matrix in echelon form: where * is any number
    Examples
    • echelon form:
    • NOT echelon form:
    • a matrix in echelon form is reduced is
      1. each nonzero row has leading entry 1
      2. the leading 1 in each nonzero row is the only nonzero number in its column
    • reduced echelon form: matrix in echelon form that is reduced
      • 👨‍🎓 solved?
    • reduced echelon form looks like:
    • ⭐ theorem: each matrix is row equivalent to exactly one matrix in reduced echelon form
    • : reduced echelon form of
  • Solving a linear system from reduce echelon form

    • pivot position in a matrix : location containing a leading 1 in

      • aka:
    • pivot column in a matrix A: column containing a pivot position

    • for lin. sys. in with aug. matrix

      • the var is ...
        • basic if is a pivot column of
        • free if is not a pivot column of
    • case study

      • which means system:

        • are basic
        • and is free
      • to solve the system: choose any values for the free var., and solve for the basic var.

      • solution to above system: all in form

    • theorem: consider a lin. sys. whose augmented matrix is A

      • the system has 0 solutions / is inconsistent
        • if the last column of contains a pivot
        • which the row will look like:
          • i.e. equivalent of saying
      • the system has only 1 solution
        • if there are no free variables and the last column is not a pivot
      • otherwise: the system has infinitely many solutions
    • once is computed and free / basic var. are identified

      • we can write down all solutions to system as in the above example
      • let all free var. to be arbitrary, and solve it for basic var.
  • Computing reduced echelon form

    • algorithm to compute has two parts
      • row reduction to echelon form
      • reducing it to
    • example
      • for general algorithm: input: matrix
      • procedure
        1. begin with the leftmost nonzero column

          • this will be the pivot column, pivot being the top position
          • boxed: pivot position
        2. select a nonzero entry in the current pivot column

          • if needed: perform row operation to swap the row with the top one
        3. use row operations to create zeros below the boxed pivot position

        4. repeat steps 1-3 on the bottom right sub-matrix

        5. now: we have a echelon form: now reduce it (w/ replacements)

        • now: rescale rightmost pivot, and cancel entries above rightmost pivot
          • repeat (heading left)
        • final result
    • for a general matrix : follow the algorithm below
      • input: matrix
      • procedure:
        1. begin with the leftmost nonzero column
          • i.e. the pivot column, position being the top position of column
        2. select a nonzero entry in current pivot column
          • swap rows as needed
        3. use row operations to create zeros in the entries below the pivot
        4. apply previous step for sub-matrix that remains
          • repeat until the entire matrix is in echelon form
        5. start from the rightmost pivot position in matrix
          • rescale this row to have leading entry 1
          • use row operation to create zeros in entries in the same column as the pivot
          • repeat this for the pivot {above = left}
      • output: