MATH 2050 Linear Algebra

(Section 4)
2009 Winter

Assignment 1   –   Solutions

  1. Identify which of the matrices below are in reduced row-echelon form and which are in row-echelon (but not fully reduced) form.   Where a matrix is in row-echelon (or reduced row-echelon) form, circle the leading ones.   Where a matrix is not in row-echelon form, state why not.

    1. A = 
[ 1 0 2 0 ]
[ 0 1 0 4 ]
[ 0 0 1 1 ]
[ 0 0 0 1 ]


      Row-echelon form (but not fully reduced, due to the non-zero entries above the two right-most leading ones).
      matrix A


    2. B = 
[ 1 0 -3 0 0 ]
[ 0 1  5 0 0 ]
[ 0 0  0 1 0 ]
[ 0 0  0 0 1 ]


      Reduced row-echelon form
      matrix B


    3. C = 
[ 1 1 0 ]
[ 0 1 0 ]
[ 0 2 1 ]
[ 0 0 0 ]


      Not in row-echelon form.   There is a non-zero entry below the second leading one.


    4. D = 
[ 1 0 3 0 ]
[ 0 1 7 0 ]
[ 0 0 0 1 ]
[ 0 0 0 0 ]


      Reduced row-echelon form
      matrix D


    5. E = 
[ 1 1 0 0 2 ]
[ 0 0 1 0 3 ]
[ 0 0 0 1 1 ]


      Reduced row-echelon form
      matrix E



  1. x + y = 17
x - y = 13


    From equation 2 subtract equation 1:
    [A|b] = 
[ 1  1 | 17 ]
[ 1 -1 | 13 ]
    reduced row-echelon form = 
[ 1 0 | 15 ]
[ 0 1 |  2 ]
    Reading the reduced row-echelon form:
    1 x + 0 y = 15   and
    0 x + 1 y = 2
    r = rank(A) = rank(A|b) = n = 2   Therefore there is a unique solution.
    The output from the linear system reduction program is available here.
    This system is so simple that other methods work well.
    x and y are two numbers whose sum is 17 and whose difference is 13.
    Obviously the larger number x is 15, halfway between 13 and 17, while y is the gap between 15 and each of 13 and 17.
    Therefore this system has a

      unique solution:  
      (x, y) = (15, 2)  


  1. w + y - z + 2
x + y + z = 1
w + 2x + 3y + z = 4


    [A|b] = 
[ 1 0 1 -1 | 2 ]
[ 0 1 1  1 | 1 ]
[ 1 2 3  1 | 4 ]
    reduced row-echelon form = 
[ 1 0 1 -1 | 2 ]
[ 0 1 1  1 | 1 ]
[ 0 0 0  0 | 0 ]
    r = rank(A) = rank(A|b) = 2   but   n = 4
    p = nr = 4 – 2 = 2
    There is a two-parameter family of solutions.
    w and x are leading variables and y and z are the free parameters (call them s and t).
    Reading the reduced row-echelon form:
    1 w + 0 x + 1 y – 1 z = 2
    0 w + 1 x + 1 y + 1 z = 1
    0 w + 0 x + 0 y + 0 z = 0
    The third equation is redundant (it does not add any information not already provided by the first two equations).   Therefore there are

      infinitely many solutions:
      x = (2, 1, 0, 0) + (-1, -1, 1, 0)s + (1, -1, 0, 1)t  

    The output from the linear system reduction program is available here.
    One can easily verify that this family of solutions satisfies all three equations of the linear system for all choices of the parameters s and t:
    substitute into  w + y - z = 2     tick mark
    substitute into  x + y + z = 1     tick mark
    substitute into  w + 2x + 3y + z = 4     tick mark



  1. x + y - z = 1
2x - y + 3z = 2
3y - 5z = 1


    [A|b] = 
[ 1  1 -1 | 1 ]
[ 2 -1  3 | 2 ]
[ 0  3 -5 | 1 ]
    [A|b] = 
[ 1  1  -1  | 1 ]
[ 0  1 -5/3 | 0 ]
[ 0  0   0  | 1 ]
    The output from the linear system reduction program is available here.
    This row-echelon form has a leading one in the column for the right-side constants.
    The system is inconsistent.
    The bottom row is equivalent to the equation   0 x + 0 y + 0 z = 1, which has

      no solution  


  1. Find the conditions on a, b, c, d, so that the cubic curve   y = ax3 + bx2 + cx + d   passes through all four points (–1, –8), (0, 1), (1, 2) and (2, 13).


    The equation of the cubic curve is satisfied by all four points:
    -a + b - c + d = -8
0 + 0 + 0 + d = 1
a + b + c + d = 2
8a + 4b + 2c + d = 13
    One could use row 2 to replace d by 1 in the other three equations, thereby reducing the system to three equations in three unknowns.   It would also make sense the rearrange the order of the equations before beginning the Gaussian elimination, placing rows 1, 2, 3 and 4 into rows 2, 4, 1 and 3 respectively, then removing new equation 4 upon noting d = 1:
    a + b + c = 1
-a + b - c = -9
8a + 4b + 2c = 12
    This alternate solution is completed on
    another page.
    Proceeding systematically with the original system instead,
    [row reduction]
    [row reduction]
    [row reduction]
    [row reduction]
    [row reduction]

    The values of the coefficients are therefore

      a = 3 , b = –4 , c = 2   and   d = 1  

    One can verify that the curve   y = 3x3 – 4x2 + 2x + 1   does indeed pass through all four points:
    (–1, –8) :     3×–1 – 4×1 + 2×–1 + 1 = –8     tick mark
    (0, 1) :         3×0 – 4×0 + 2×0 + 1 = 1     tick mark
    (1, 2) :         3×1 – 4×1 + 2×1 + 1 = 2     tick mark
    (2, 13) :       3×8 – 4×4 + 2×2 + 1 = 13     tick mark


      Return to the Index of Assignment Solutions   [To the Index of Assignment Solutions.]
      Back to previous page   [Return to your previous page]

      Created 2008 12 29 and most recently modified 2009 01 16 by Dr. G.H. George