MATH 2050 Linear Algebra

(Section 4)
2009 Winter


Assignment 6   -   Solutions

  1. Use Cramer’s rule to solve the linear system
            4x - 3y = 6 ;  x + 2y = 7
    and also solve the system using the inverse A-1 of the coefficient matrix A.


    det A = 11
    det A1 = 33
    det A2 = 22
    x = 3  and  y = 2
    inverse of A = [ 2 3 ; -1 4 ] / 11
    X = (invA)B

    x = 3  and  y = 2


  1. Use Cramer’s rule to solve the linear system
            x + 3y + 2z = 9 ;   2x - 2y + 5z = 3 ;
     3x + y - 4z = 1
    and verify your answer by substituting it into the left side of the linear system.


    row reduction of  det A
    det A = 88
    OR   use a cofactor expansion down column 1:
    cofactor expansion of  det A
    det A = 88

    For   A1   use a cofactor expansion along row 3:
    cofactor expansion of  det A1
    det A1 = 88

    For   A2   use a cofactor expansion down column 1:
    cofactor expansion of  det A2
    det A2 = 176

    For   A3   use a cofactor expansion along row 3:
    cofactor expansion of  det A3
    det A3 = 88

    x = z = 1,  y = 2

    (x,y,z) = (1,2,1)

    Verification of this solution:
    (1,2,1) satisfies the first equation     [tick mark]
    (1,2,1) satisfies the second equation     [tick mark]
    (1,2,1) satisfies the third equation     [tick mark]


  1. Find the adjugate [the transpose of the matrix of cofactors]
    and hence the inverse   (A-1)   of the matrix
            A = [ 1 3 2 ; 2 -2 5 ; 3 1 -4 ]
    and use this inverse matrix to verify your answer to question (2) above.


    The sub-matrix   Aij   is what remains of matrix   A   after the deletion of row i and column j.
    The cofactors are   (-1)^(i+j) det(A_ij)
    cofactors c11 and c12
    cofactors c13 and c21
    cofactors c22 and c23
    cofactors c31 and c32
    cofactor c33
    adjugate A = 
[  3  14 19 ]
[ 23 -10 -1 ]
[  8   8 -8 ]
    From question 2,   det A = 88

    inverse of A

    X = (invA)B

    X = [ 1 2 1 ]T


  1. Find the eigenvalues and corresponding set of basic eigenvectors for
    [ -3 2 ; -4 3 ]
    Write down the matrix   P   that diagonalizes   A
    and verify by matrix multiplication that   P -1AP = D.
    Hence find   A 43.


    Characteristic equation  lambda^2 - 1 = 0
    lambda = ±1

    l = –1:
    eigenvector for lambda = -1
    The (–1)-eigenvector is therefore any non-zero multiple of   [ 1 1 ]T

    l = +1:
    eigenvector for lambda = +1
    The (1)-eigenvector is therefore any non-zero multiple of   [ 1 2 ]

    The set of basic eigenvectors is

    { [ 1 1 ], [ 1 2 ] },  leading to P

    inverse of P = [ 2 -1 ; -1 1 ]
    verifies  P^(-1)AP = D
    A = PDP^(-1)
    A^n = PD^n P^(-1)
    D^2 = I
    D^43 = D

    A^43 = A


  1. Find the eigenvalues and corresponding set of basic eigenvectors for
            A = [ -1 2 3 ; 0 1 0 ; 0 0 2 ]
    Write down the matrix   P   that diagonalizes   A .


    The matrix   A   is upper triangular   eigenvalues are -1, 1 and 2
    All eigenvalues have multiplicity 1, which guarantees the existence of a matrix   P   that diagonalizes   A
    D = diag(-1, 1, 2)

    l = –1:
    solving (-1I - A)X = O
    The (–1)-eigenvector is therefore any non-zero multiple of   [ 1 0 0 ]T

    l = +1:
    solving (+1I - A)X = O
    The (1)-eigenvector is therefore any non-zero multiple of   [ 1 1 0 ]T

    l = +2:
    solving (+2I - A)X = O
    The (2)-eigenvector is therefore any non-zero multiple of   [ 1 0 1 ]T

    Therefore the matrix   P   that diagonalizes   A   is

    P = 
[ 1 1 1 ]
[ 0 1 0 ]
[ 0 0 1 ]

    and the set of basic eigenvectors is just the three columns of   P .


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

      Created 2009 02 09 and most recently modified 2009 02 18 by Dr. G.H. George