Iitk Problem Set
Iitk Problem Set
Problem Set 2
(a) Two linear equations in two variables with exactly one solution.
Solution:
x+y =2
o
. They represent two lines in R2 intersecting at a point.
x−y =0
(b) Two linear equations in two variables with infinitely many solutions.
Solution:
x+y =2
o
. They represent the same line in R2 .
2x + 2y = 4
(c) Two linear equations in two variables with no solutions.
Solution:
x+y =2
o
. They represent two parallel lines in R2 , no intersection.
2x + 2y = 1
(d) Three linear equations in two variables with exactly one solution.
Solution:
x+y =2 o
x − y = 0 . They represent three lines in R2 with a single point in common.
2x − y = 1
(e) Three linear equations in two variables with no solutions.
Solution:
x+y =2 o
x − y = 0 . They represent three lines in R2 with no point in common.
2x + 2y = 1
3. Suppose that x and y are two distinct solutions of the system Ax = b. Prove that there are
infinitely many solutions to this system, by showing that λx + (1 − λ)y is also a solution, for
each λ ∈ R. Do you have a geometric interpretation?
Solution: If A is m × n matrix then the line segment joining the two points in Rn is also a
solution. So, the system Ax = b cannot have finite number of solutions over R.
2
4. Let B be a square invertible matrix. Then, prove that the system Ax = b and BAx = Bb are
row-equivalent.
Solution:
As B is invertible, there exists elementary matrices Ei ’s such that B = E1 E2 · · · Ek . Thus, the
system BAx = Bb is obtained from Ax = b by k elementary row operations.
Conversely, as B −1 = Ek−1 Ek−1
−1
· · · E1−1 and inverse of elementary matrices are also elementary
matrices, we do obtain Ax = b from BAx = Bb by k elementary row operations. Thus, the
above two systems are row equivalent.
5. [T] Suppose Ax = b and Cx = b have same solutions for every b. Is it true that A = C?
Solution: First, as Ax = b and Cx = b have same solutions, A and C have same shapes, that
is, same number of rows and columns, as well as same null space, Null(A) = {x ∈ Rn : Ax = 0}
(follows from taking b = 0).
Now, if we take b to be the first column of A then x = [ 1 0 . . . 0 ]T solves Ax = b and
therefore also solves Cx = b which in turn implies that the first columns of A and C are same.
Same argument holds for other columns as well. Thus A = C.
6. [T] Find matrices A and B with the given property or explain why you can not find them?
1
0
(a) The only solution to Ax = 2 is x =
.
1
3
Solution: Any A satisfying the given equation has to be a 3 × 2 matrix. The linear system
has a unique solution when rank of A is 2 and [ 1 2 3 ]T ∈ {Ax : x ∈ R2 }. Among many
possibilities, one such A is
1 1
0 2 .
0 3
1
0
(b) The only solution to Bx = is x = 2.
1
3
Solution: Any B satisfying the given equation has to be a 2 × 3 matrix which implies that
the null space of B, N (B), can not be trivial and hence we either have an infinitely many
solutions (when [0 1]T lies in the column space of B) or no solution. Thus, finding a B that
exhibits a unique solution is not possible.
1 2 2
7. Using Gauss Jordan method, find the inverse of 2 1 2 .
2 2 1
Solution:
1 2 2 1 0 0 1 2 2 1 0 0
R2 ←R2 −2R1 R3 ←R3 −(2/3)R2
2 1 2 0 1 0 −−−−−−−−→ 0 −3 −2 −2 1 0 −−−−−−−−−−−→
R3 ←R3 −2R1
2 2 1 0 0 1 0 −2 −3 −2 0 1
3
1 2 2 1 0 0 1 2 2 1 0 0
R3 ←(−3/5)R3
0 −3 −2 −2 1 0 −−−−−−−−−→ 0 −3 −2 −2 1 0
0 0 −5/3 −2/3 −2/3 1 0 0 1 2/5 2/5 −3/5
1 2 0 1/5 −4/5 6/5
R2 ←R2 +2R3 R2 ←(−1/3)R2
−−−−−−−−→ 0 −3 0 −6/5 9/5 −6/5 −−−−−−−−−→
R1 ←R1 −2R3
0 0 1 2/5 2/5 −3/5
1 2 0 1/5 −4/5 6/5 1 0 0 −3/5 2/5 2/5
R1 ←R1 −2R2
0 1 0 2/5 −3/5 2/5 − −−−−−−−→ 0 1 0 2/5 −3/5 2/5
0 0 1 2/5 2/5 −3/5 0 0 1 2/5 2/5 −3/5
−3/5 2/5 2/5
Thus, the inverse is 2/5 −3/5 2/5 .
2/5 2/5 −3/5
8. (T) Let B ∈ Mn (R) be a real skew-symmetric matrix. Show that I − B is non singular.
Solution:
Let if possible I − B be singular. Then, the system (I − B)x = 0 has a non-trivial solution, say
x0 6= 0. Hence, Bx0 = x0 . Also, xT0 Bx0 ∈ R and hence
Thus, xT0 Bx0 = 0. But, 0 = xT0 Bx0 = xT0 (Bx0 ) = xT0 x0 and hence x0 = 0.
Solution: First, suppose that A is singular. Then, AB is singular as well. We therefore have,
det(A) = 0 and det(AB) = 0 which leads to det(AB) = 0 = det(A)det(B).
Now we assume that A is non-singular. Recall that, for a non-singular square matrix, the
reduced row echelon form is the identity matrix, I. In other words, there exist elementary
matrices Es , Es−1 , . . . , E2 , E1 such that
A = Es Es−1 . . . E2 E1 I.
We therefore have
AB = Es Es−1 . . . E2 E1 B.
Thus the problem of showing det(AB) = det(A)det(B) reduces to showing
Now, for the proof, we use the defining properties 1, 2 and 3 discussed in class. We have
(a) det(Eij B) = −det(B) (property 2) = det(Eij )detB (using det(Eij ) = −det(I) = −1, follows
from properties 2 and 1).
4
(b) det(Ei (c)B) = c det(B) (property 3a) = det(Ei (c))det(B) (using det(Ei (c)) = c det(I) = c,
follows from properties 3a and 1).
(c) det(Eij (c)B) = det(B) (property 6) = det(Eij (c))det(B) (using det(Eij (c)) = 1, follows
from property 6 on the identity matrix).
10. Let A ∈ Mn (R). Then prove that det(A) = det(AT ). If A ∈ Mn (C) then det(A) = det(A∗ ).
Solution:
Recall that, a square matrix can be reduced to an upper form using elementary row operations.
In other words, there exist elementary matrices Es , Es−1 , . . . , E2 , E1 such that
Es Es−1 . . . E2 E1 A = U.
EA = U
with det(E) = det(E T ) = ±1. We also have det(U ) = det(U T ) for the upper triangular matrix
U . Thus
det(U )
det(A) = ,
det(E)
and
AT E T = U T
yields
det(U T ) det(U )
det(AT ) = T
= = det(A).
det(E ) det(E)
T
Thus, det(Ā) = det (Ā) = det(A∗ ). The equality det(Ā) = detA follows from the determi-
nant formula:
X X
det(Ā) = (sgn σ) a1σ(1) a2σ(2) · · · anσ(n) = (sgn σ)a1σ(1) a2σ(2) · · · anσ(n) = det(A).
σ∈Sn σ∈Sn
13. Let A be an n × n matrix. Prove that the following statements are equivalent:
(a) det(A) 6= 0.
(b) A is invertible.
(c) The homogeneous system Ax = 0 has only the trivial solution.
(d) The row-reduced echelon form of A is In .
(e) A is a product of elementary matrices.
(f) The system Ax = b has a unique solution for every .
¯
(g) The system Ax = b is consistent for every b.
Solution:
13a =⇒ 13b
CT
By, definition, whenever det(A) 6= 0, A−1 = , where C is the co-factor matrix.
det(A)
13b =⇒ 13a
As A is invertible, AA−1 = In and hence det(A) det(A−1 ) = det(In ) = 1. Hence, det(A) 6= 0.
13b =⇒ 13c
As A is invertible, A−1 A = In . Let x0 be a solution of the homogeneous system Ax = 0. Then,
Let xT = [x1 , x2 , . . . , xn ]. As 0 is the only solution of the linear system Ax = 0, the final
equations are x1 = 0, x2 = 0, . . . , xn = 0. These equations can be rewritten as
1 · x1 + 0 · x2 + 0 · x3 + · · · + 0 · xn = 0
0 · x1 + 1 · x2 + 0 · x3 + · · · + 0 · xn = 0
0 · x1 + 0 · x2 + 1 · x3 + · · · + 0 · xn = 0
.. .
. = ..
0 · x1 + 0 · x2 + 0 · x3 + · · · + 1 · xn = 0.
That is, the final system of homogeneous system is given by In · x = 0. Or equivalently, the
row-reduced echelon form of the augmented matrix [A 0] is [In 0]. That is, the row-reduced
echelon form of A is In .
13d =⇒ 13e
Suppose that the row-reduced echelon form of A is In . Then there exist elementary matrices
E1 , E2 , . . . , Ek such that
E1 E2 · · · Ek A = In . (1)
Now, the matrix Ej−1 is an elementary matrix and is the inverse of Ej for 1 ≤ j ≤ k. Therefore,
successively multiplying Equation (1) on the left by E1−1 , E2−1 , . . . , Ek−1 , we get
−1
A = Ek−1 Ek−1 · · · E2−1 E1−1
14. A ∈ Mn (C). Then det(A) = 0 if and only if the system Ax = 0 has a non-trivial solution.
15. (T) Let A be an n × n matrix. Then, the two statements given below cannot hold together.
7
16. Suppose the 4 × 4 matrix M has 4 equal rows all containing a, b, c, d. We know that det(M ) = 0.
The problem is to find by any method
1+a b c d
a 1+b c d
det(I + M ) = .
a b 1+c d
a b c 1+d
1+a b c d
−1 1 0 0
det(I + M ) = .
−1 0 1 0
−1 0 0 1
1+a+c+d a b d
0 1 0 0
det(I + M ) = .
0 0 1 0
0 0 0 1
Thus, det(I + M ) = 1 + a + b + c + d.
17. The numbers 1375, 1287, 4191 and 5731 are all divisible by 11. Prove that 11 also divides the
determinant of the matrix
1 1 4 5
3 2 1 7
.
7 8 9 3
5 7 1 1
1 1 4 5 1 1 4 5
3 2 1 7 3 2 1 7
= .
7 8 9 3 7 8 9 3
5 7 1 1 1375 1287 4191 5731
1 x1 x21 · · · x1n−1
1 x2 x22 · · · xn−1
2
An = . . . ... .
. . . ... .
1 xn x2n · · · xnn−1 .
1 x1 x21 · · · xn−1
1
1 x2 x22 · · · xn−1
2
F (x) = . . . ... . .
. . . ... .
2
1 x x ··· x n−1
n−1
Q
Then F is a polynomial of degree n − 1 with roots x1 , x2 , . . . , xn−1 . So, F (x) = c (x − xi )
i=1
where c is coefficient of xn−1 which is clearly det(An−1 ). Therefore,
n−1
Y
F (x) = det(An−1 ) (x − xi ).
i=1