Department of Mathematics and Statistics
2009 Winter
For matrices
find, where possible, the products
AB, BA and
BTAT and
the matrix A-1.
![AB = [ 15 1 0 ; -3 -1 -4 ]](t1w09/q1b.gif)
Matrix B has dimensions
(2×3).
Matrix A has dimensions
(2×2).
The number of columns in B does not match
the number of rows in A .
Therefore BA does not exist.
![BT AT = [ 15 -3 ; 1 -1 ; 0 -4 ]](t1w09/q1c.gif)
[Note that there is no need to evaluate the product
BTAT directly!]
![inverse of A = [ 1/2 1/2 ; 0 -1 ]](t1w09/q1d.gif)
or one may use Gaussian elimination to carry
[ A | I ] to
[ I | A-1 ].
or one may quote
![[inverse of a upper triangular 2x2 matrix]](t1w09/q1e.gif)
Find, where possible, conditions on k, such that
the linear system

has
Represent the linear system by an augmented matrix:
![[A|B] =
[ 1 0 2 | 0 ]
[ k 1 2 | 3 ]
[ 0 k+1 2 | 6k ]](t1w09/q2b.gif)
Use row operations to carry the matrix to row-echelon form:
![[row operation]](t1w09/q2c.gif)
![[row operation]](t1w09/q2d.gif)
![[ 1 0 2 | 0 ]
[ 0 1 2(1-k) | 3 ]
[ 0 0 2k^2 | 3(k-1) ]](t1w09/q2e.gif)
If k = 0 then the system becomes
![[ 1 0 2 | 0 ]
[ 0 1 2 | 3 ]
[ 0 0 0 | 1 ]](t1w09/q2f.gif)
rank A = 2 but
rank (A|b) = 3
the system is inconsistent (no solution).
Otherwise the row-echelon form becomes
![[ 1 0 2 | 0 ]
[ 0 1 2(1-k) | 3 ]
[ 0 0 1 | 3(k-1)/(2k^2) ]](t1w09/q2g.gif)
rank A = rank (A|b) = n = 3
the system has a unique solution.
There are no other possibilities. Therefore the system has
|
no solution when k = 0 and a unique solution otherwise. |
|---|
Why is the linear system
![]()
guaranteed to have infinitely many solutions?
| It is an under-determined homogeneous linear system. |
Solve this linear system.
Use row operations to carry the homogeneous system to reduced
row-echelon form:
![]()
![[ 1 0 1/5 ]
[ 0 1 -3/5 ]](t1w09/q3e.gif)
z is a free parameter; call it the real number
t.
Reading the reduced row-echelon form:

If one re-defines the free parameter as
z = 5s, then the solution may also be expressed
in the simpler form
![]()
Verify that
is a solution to the related linear system
![]()
and hence write down its complete solution.
![]()
![]()
The complete solution to the inhomogeneous system is the
sum of any one particular solution to the inhomogeneous
system with the most general solution to the homogeneous
system:
![]()
Show that ATA is symmetric for all matrices A .
First note that ATA
is a square matrix for all matrices A :
Let the dimensions of A be
(m×n), then the dimensions of
AT are
(n×m).
The number of columns in AT
matches the number of rows in A so that
the product ATA
is defined and has dimensions
(n×n), which is square.
For any pair of matrices A, B
for which the product BA is defined,
(BA)T = AT
BT.
Setting B = AT:
![]()
Therefore ATA
is symmetric for all matrices A .
BONUS QUESTION:
Find conditions on a, b, c,
d, such that the matrix
commutes with the matrix
![]()
![]()
![]()
![]()
This generates a system of four simultaneous equations:

(which also satisfies the other two equations).
Therefore the most general matrix that commutes with
is
![[ a 2(a-d) ; 3(a-d) d ]](t1w09/q5g.gif)
It is easy to verify that
![AB = BA = [7a-6d 2a ; 3a 6a-6d ]](t1w09/q5h.gif)
There are four other valid equivalent alternative answers,
depending on which two of a, b,
c, d are taken as the free
parameters.
[The only invalid pair is (b, c).]
![[ a b ; 3b/2 a-b/2 ] ; [ a 2c/3 ; c a-c/3 ] ;
[ d+b/2 b ; 3b/2 d ] ; [ d+c/3 2c/3 ; c d ]](t1w09/q5i.gif)