Lecture Notes in Linear Algebra: Dr. Abdullah Al-Azemi
Lecture Notes in Linear Algebra: Dr. Abdullah Al-Azemi
February 4, 2017
Contents
1.2 Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Determinants 43
2.1 Determinants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3 Vectors in Rn 65
3.2 Vectors in Rn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
i
ii CONTENTS
6 Diagonalization 111
4 Vectors in Rn 125
1.2 Matrices
Definition 1.2.1
Example 1.2.1
1
2 Chapter 1. Linear Equations and Matrices
Example 1.2.2
List all of the entries of the matrix A = (aij ) ∈ R3 , for 1 ≤ i ≤ 3 and 1 ≤ j ≤ 3, where
i + j, if i > j
aij = 0, if i = j
i − j,
if i < j
Solution:
1. The ”zero matrix”, say O, is an m × n matrix whose entries are all equal to 0.
0 ··· 0
. ... ..
..
O= .
0 ··· 0
1.2. Matrices 3
2. The ”diagonal matrix”, D, is a square matrix in Rn , where D = (dij ) so that dij = 0 for all
i 6= j.
d11
...
0
D=
0 dnn
3. The ”scalar matrix” is a diagonal matrix S whose all diagonal entries are equal to some a scalar
c.
c
...
0
S=
0 c
4. The ”identity matrix” (or unit matrix) is a scalar matrix In whose all diagonal entries are
equal to 1.
1
...
0
In =
0 1
5. The ”lower triangular matrix”, L, is a square matrix in Rn , where L = (lij ) so that lij = 0 for
all i < j.
l11
. ...
0
..
L=
ln1 ... lnn
6. The ”upper triangular matrix”, U , is a square matrix in Rn , where U = (uij ) so that uij = 0
for all i > j.
u11 ... u1n
... ..
U =
.
0 unn
Remark 1.2.1. Two m × n matrices A = (aij ) and B = (bij ) are said to be equal if aij = bij for all
1 ≤ i ≤ m and 1 ≤ j ≤ n.
Example 1.2.3
Solution:
4 Chapter 1. Linear Equations and Matrices
• Matrix transpose
Definition 1.2.2
a d
a b c T
Example 1.2.1. If A = , then A =
b e
.
d e f
2×3 c f
3×2
Example 1.2.4
Q#6
pg. 20
If A is an n × n lower triangular matrix, then AT is an n × n upper triangular matrix.
Solution:
Since A is a lower triangular, then aij = 0 for all i < j. Therefore, the transpose of A, AT = (aji )
has entries aji = 0 if j > i and thus it is an upper triangular.
To add two m × n matrices A = (aij ) and B = (bij ), we must have the size(A) = size(B). Then,
A ± B = C, where C = (cij ) with cij = aij ± bij , for all 1 ≤ i ≤ m and 1 ≤ j ≤ n.
1.2. Matrices 5
Example 1.2.5
Solution:
Clearly, A+B is not possible as they have different sizes. On the other hand, size(AT ) = size(B),
and
2 3 −1 1 2 4 1 1 −5
AT − B = − = .
1 0 1 5 1 1 −4 −1 0
2×3 2×3 2×3
Example 1.2.6
Q#5
pg.20
Show that the sum and the difference of two lower triangular matrices is a lower triangular
matrix.
Solution:
Let A = (aij ) and B = (bij ) be two n × n matrices so that both are lower triangular matrices.
Thus, aij = 0 and bij = 0 for all i < j. If (cij ) = C = A ± B with cij = aij ± bij , then cij = 0 for
all i < j. Therefore, C is again a lower triangular matrix.
Remark 1.2.1
The sum and the difference of two upper triangular matrices is an upper triangular matrix.
• Scalar multiplication
If A = (aij ) is an m × n matrix and c is a real number, then c A = (c · aij ) for all 1 ≤ i ≤ m and
1 ≤ j ≤ n.
6 Chapter 1. Linear Equations and Matrices
Definition 1.3.1
Example 1.3.1
Solution:
Definition 1.3.2
Let A = (aij ) be an m × p matrix and B = (bij ) be a p × n matrix. Then, the product of A and
B, (AB), is the m × n matrix C = (cij ) = rowi (A) · colj (B) where
p
X
cij = ai1 b1j + ai2 b2j + · · · + aip bpj = aik bkj , for 1 ≤ i ≤ m and 1 ≤ j ≤ n.
k=1
Note that the entry (i, j) of the product AB equals to the dot product of rowi (A) by the colj (B).
Remark 1.3.1
Example 1.3.2
b11 b12
a a12 a13
If A = 11 , and B =
b21
b22 , then
a21 a22 a23
2×3 b31 b32
3×2
a b + a12 b21 + a13 b31 a11 b12 + a12 b22 + a13 b32
AB = 11 11
a21 b11 + a22 b21 + a23 b31 a21 b12 + a22 b22 + a23 b32
2×2
Example 1.3.3
Solution:
• Clearly, AB is not possible to compute since # columns in A is not the same as # rows of
B.
• AB T : excercise.
1 1 4+2 1+5 −1 + 1 6 6 0
4 1 −1
• AT B = =
0 −2 −4 −10 −2 =
−4 −10
−2
2 5 1
2 0 8 2 −2 8 2 −2
Remark 1.3.2
1 0 0 0
In general, AB 6= BA. For instance, consider A = and B = . Check it yourself!!
1 0 1 1
It is always true that AB = BA if A = In or that A = B.
8 Chapter 1. Linear Equations and Matrices
Example 1.3.4
Let A = 1 −2 0 . Find all values of c so that c A · AT = 15.
Solution:
1
T
Note that cA · A = c 1 −2 0 ·−2 = 5c. Therefore, 5c = 15 and hence c = 3.
0
Example 1.3.5
1 −2 3 1 4
Let A =
4 2 1
, and B =
3 −1
. Compute the (3, 2)-entry of AB.
0 1 −2 −2 2
Solution:
Definition 1.3.3
That is, Ax is a linear combination of columns of A and the entries of x are the coefficients.
1.3. Dot Product and Matrix Multiplication 9
Example 1.3.6
Write the following product as a linear combination of the columns of the first matrix.
1 3 1 3
3
2 1
= 3 2 + (−2) 1 .
−2
4 2 4 2
Example 1.3.7
Q#9
pg.38
If A is an m × p matrix and B is a p × n matrix, then
Solution:
TRUE or FALSE:
⋆ If a matrix B has a column of zeros, then the product AB has a column of zeros as well. (TRUE).
reason: Assume that column j of B is a column of zero. Then, colj (AB) = A colj (B) = 0.
10 Chapter 1. Linear Equations and Matrices
Example 1.3.8
1 2
−2 3 4
Let A =
3 4
and B = . Find the columns of AB as a linear combination
3 2 1
−1 5 2×3
3×2
of columns of A.
Solution:
Clearly,
1 2 1 2
−2
• col1 (AB) = A col1 (B) =
3 4
= −2 3 + 3
4
3
−1 5 −1 5
1 2 1 2
Example 1.3.9
1 1
Compute A2017 , where A = .
0 1
Solution:
Here, we will compute some powers of the matrix A to look for a pattern. That is,
1 1 1 1 1 2 1 2 1 1 1 3
A2 = AA = = , A3 = A 2 A = =
0 1 0 1 0 1 0 1 0 1 0 1
1 3 1 1 1 4 1 (n − 1) 1 1 1 n
A4 = A3 A = = , · · · An = An−1 A = = .
0 1 0 1 0 1 0 1 0 1 0 1
1 2017
Therefore, A2017 = A2016 A= .
0 1
1.3. Dot Product and Matrix Multiplication 11
We say that the form of (1.3.3) is the matrix form A x = B, where x is called the vector of
unknowns. Moreover, we define the augmented form as
h i
A|B . (1.3.4)
Example 1.3.10
Write the following system of linear equations in the matrix form and in the augmented form.
2x − z + 3w = 1
x + 5y = −1
x + y + z = 0
Solution:
Exercise 1.3.1
1 2
1. Let A = . Compute A2 + I2 .
0 −1
Q#6
2. pg.31
: The product of two upper triangular matrices is an upper triangular matrix.
Solution: The proof is NOT required.
1 2
0 1 −3
3. Let A =
4
5 and B = . Express the third row of AB as a linear
−3 1 4
3 6
combination of the rows of B.
1 1
4 1 −1
4. Let A =
0
2 and B = . Find AB and express the second column of AB
2 5 1
2 0
as a linear combination of the columns of A.
1.4. Properties of Matrix Operations 13
1. r (s A) = (rs) A,
2. (r + s) A = r A + s A,
3. r (A + B) = r A + r B,
Example 1.4.1
Q#32
pg.51
If the m × n linear system A x = B has more than one solution, then it has infinitely
many solutions.
Solution:
Ay = B
rAy = rB
A(r y) = r B. (1.4.1)
Similarly, we have
A(s z) = s B. (1.4.2)
A(r y + s z) = (r + s)B.
TRUE or FALSE:
⋆ If x1 and x2 are two solutions for Ax = B, then 23 x1 − 2x2 is also a solution. (FALSE).
3 −1
reason: Since 2
−2 = 2
6= 1.
1. A + B = B + A,
2. (A + B) + C = A + (B + C),
1. A(BC) = (AB)C,
2. A(B + C) = AB + AC,
3. (A + B)C = AC + BC,
Remark 1.4.1
1. Ap Aq = Ap+q ,
2. (Ap )q = Apq ,
3. AB 6= BA,
1.4. Properties of Matrix Operations 15
4. (AB)p 6= Ap B p ,
1. (AT )T = A,
2. (A + B)T = AT + B T ,
3. (AB)T = B T AT ,
Example 1.4.2
2 0 1 4
Let A = and B = . Find AT , B T , AB, (AB)T , and B T AT .
1 −1 3 5
Solution:
2 1 1 3
Clearly, AT = and B T = .
0 −1 4 5
2+0 8 + 0 2 8 2 −2
AB = = ⇒ (AB)T =
1−3 4−5 −2 −1 8 −1
Moreover,
2+0 1 − 3 2 −2
B T AT = =
8+0 4−5 8 −1
16 Chapter 1. Linear Equations and Matrices
Example 1.4.3
T #9
1 2
pg.51
Find a 2 × 2 matrix B 6= O and B 6= I2 so that AB = BA if A =
0 1
Solution:
a b
Let B = . Therefore,
c d
AB = BA ⇒ a + 2c b + 2d a
=
2a + b
,
c d c 2c + d
Definition 1.4.1
1 2 3
0 2
For instance, A =
2 4
5 is a symmetric matrix; where B = is a skew-symmetric
−2 0
3 5 0
matrix.
Example 1.4.4
T #23
pg.51
Let A and B be two symetric matrices. Show that
(a) A + B is symmetric.
Solution:
Example 1.4.5
Solution:
Example 1.4.6
T #26
pg.51
Show that AT A and AAT are both symmetric matrices.
Solution:
It is clear that (AT A)T = AT (AT )T = AT A which shows that AT A is symmetric. In addition,
(AAT )T = (AT )T AT = AAT shows that AAT is also symmetric.
Example 1.4.7
T #27
pg.51
Let A ∈ Mn×n . Show that
(a) AT + A is symmetirc.
(b) A − AT is skew-symmetric.
Solution:
Example 1.4.8
T #28
pg.51
Let A ∈ Mn×n . Then A can be written as A = S + K, where S is symmetric matrix and
K is skew-symmetric matrix.
Solution:
1 1 1 1 1 1
S + K = (AT + A) + (A − AT ) = AT + A + A − AT = A.
2 2 2 2 2 2
1.4. Properties of Matrix Operations 19
Exercise 1.4.1
1 1
1. Let A = .
0 1
Definition 1.6.1
A matrix A ∈ Mm×n is said to be in the reduced row echelon form (r.r.e.f. for short) if it
satisfies the following conditions:
The matrix A is said to be in the row echelon form (r.e.f.) if it does not satisfy the last Condition.
Example 1.6.1
0 0 0 0 0
1 3 0 4
(2) B =
0 0 0 0
is not r.r.e.f. since it has a row of zeros in the second row.
0 0 1 −2
1 0 4 5
(3) C =
0 2 −2
3 is not r.r.e.f. since the leading entry in the second row is not 1.
0 0 1 2
1 0 0 2
(4) D = 0 0 1 3
is not r.r.e.f. since the leading entry of the third row is on the left
0 1 0 0
of the leading entry of the second row. Switch 2nd and 3rd rows to get the r.r.e.f. form.
1.6. Solutions of Linear System of Equations 21
Definition 1.6.2
1. A ≈ A,
2. A ≈ B ⇒ B ≈ A,
3. A ≈ B and B ≈ C ⇒ A ≈ C.
Theorem 1.6.1
Example 1.6.2
1 2 3 9
Find the matrix B which is in r.r.e.f. and is row equivalent to A = 2 −1 1 8.
3 0 −1 3
Solution:
1 2 3 9 1 1 2 3 9 1 0 1 5
r2 −2r1 →r2 − 5 r2 →r2 r1 −2r2 →r1
A −−−−−−→ 0 −5 −5 −10 −−−−−→ 0 1 1 2 −−−−−−→ 0 1 1 2
r3 −3r1 →r3 − 1 r3 →r3 r3 −3r2 →r3
2
0 −6 −10 −24 0 3 5 12 0 0 2 6
22 Chapter 1. Linear Equations and Matrices
1 1
r →r3
0 1 5 1 0 0 2
2 3 r1 −r3 →r1
−−−−→ 0 1 1 2 −−−−−−→ 0 1 0 −1 = B (in r.r.e.f.) ≈ A.
r2 −r3 →r2
0 0 1 3 0 0 1 3
Example 1.6.3
2 4 6 0
Find the matrix B which is in r.r.e.f. and is row equivalent to A =
1 2 4
0
1 3 3 1
Solution:
1
1 2 3 0 1 2 3 0 1 2 3 0
r →r1
2 1 r2 −r1 →r2 r2 ↔r3 r1 −2r2 →r1
A −−−−→ 1 2 4 0 −−−−−−→ 0 0 1 0 −−−→ 0 1 0 1 −−−−−−→
r3 −r1 →r3
1 3 3 1 0 1 0 1 0 0 1 0
1 0 3 −2 1 0 0 −2
r1 −3r3 →r1
0 1 0 1 −−−−−−→ 0 1 0 1 = B (in r.r.e.f.) ≈ A.
0 0 1 0 0 0 1 0
Solving Ax = B
Remark 1.6.1
Note that, the solution of the reduced system is the solution of the original one.
1.6. Solutions of Linear System of Equations 23
Theorem 1.6.2
Example 1.6.4
x + 2y + 3z = 9
2x − y + z = 8
3x − z = 3
Solution:
1 2 3 9 1 2 3 9 1 1 2 3 9
r2 −2r1 →r2 − 5 r2 →r2 r1 −2r2 →r1
2 −1 1 8 −−−−−−→ 0 −5 −5 −10 −−−−−→ 0 1 1 2 −−−−−−→
r3 −3r1 →r3 − 1 r3 →r3 r3 −3r2 →r3
2
3 0 −1 3 0 −6 −10 −24 0 3 5 12
1 0 1 5 1 1 0 1 5 1 0 0 2
2 r3 →r3 r1 −r3 →r1
0 1 1 2 −−−−→ 0 1 1 2 −−−−−−→ 0 1 0 −1
r2 −r3 →r2
0 0 2 6 0 0 1 3 0 0 1 3
2
Therefore, the reduced system is: x = 2, y = −1, and z = 3. Thus, x =
−1 is a unique
3
solution to the system.
Remark 1.6.2
Example 1.6.5
x1 + x2 − x3 + 4x4 = 1
+ x2 − 3x3 + 4x4 = 0
2x1 + 2x2 − 2x3 + 8x4 = 2
Solution:
1 1 −1 4 1 1 1 −1 4 1 1 0 2 0 1
r3 −2r1 →r3 r1 −r2 →r1
0 1 −3 4 0 −−−−−−→ 0 1 −3 4 0 −−−−−−→ 0 1 −3 4 0
2 2 −2 8 2 0 0 0 0 0 0 0 0 0 0
Therefor, the reduced system is:
x1 + 2x3 = 1 x1 = 1 − 2x3
⇒
x2 − 3x3 + 4x4 = 0 x2 = 3x3 − 4x4
We now fix x3 = r and x4 = t for r, t ∈ R to get the following infinite many solutions:
1 − 2r
x1 = 1 − 2r 3r − 4t
⇒ x=
for all r, t ∈ R.
x2 = 3r − 4t
r
t
Remark 1.6.3
The system Ax = B has infinity many solutions if the number of unknowns is more than the
number of equations.
Example 1.6.6
x1 + x2 − x3 + 4x4 = 1
+ x2 − 3x3 + 4x4 = 0
2x1 + 2x2 − 2x3 + 8x4 = 3
Solution:
1.6. Solutions of Linear System of Equations 25
1 1 −1 4 1 1 1 −1 4 1
r3 −2r1 →r3
0 1 −3 4 0 −−−−−−→ 0 1 −3 4 0
2 2 −2 8 2 0 0 0 0 1
At this point, it can be seen that the third row suggests that 0 = 1 which is not possible.
Therefore, this system has no solution.
Remark 1.6.4
The system Ax = B has no solution whenever A ≈ a matrix with a row of zeros while [ A | B ] ≈
a matrix with no rows of zeros.
Example 1.6.7
Solution:
In this kind of questions, it is not necessary to get the r.r.e.f. So, we will try to focus on the last
row which contains the
term ”a”as follows:
1 1 1 2 1 1 1 2 1 1 1 2
r2 −r1 →r2 r3 −r2 →r3
1 2 −1 2 −−−−−−→ 0 1 −2 0 −−−−−−→ 0 1 −2 0
r3 −r1 →r3
2 2 2
1 2 a −5 a 0 1 a −6 a−2 0 0 a −4 a−2
At this point, we have:
Example 1.6.8
x + 2y + 3z = 0
x + 3y + 2z = 0
2x + y − 2z = 0
Solution:
1 2 3 0 1 2 3 0 1 0 5 0 −1
r3 →r3
r −r →r
2 r −2r →r
1 3 2
0 −− −−1−−→
2
0 1 −1
0
1
−− −−2−−→
1
0 1 −1 0
−11
−−−−→
r3 −2r1 →r3 r3 +3r2 →r3
2 1 −2 0 0 −3 −8 0 0 0 −11 0
1 0 5 0 1 0 0 0
r1 −5r3 →r1
0 1 −1 0 −−−−−−→ 0 1 0 0
r2 +r3 →r2
0 0 1 0 0 0 1 0
0
Therefore, the reduced system is: x = 0, y = 0, and z = 0. Thus, x =
0 is a trivial solution.
0
Remark 1.6.5
Example 1.6.9
x1 + x2 − x3 + 4x4 = 0
+ x2 − 3x3 + 4x4 = 0
2x1 + 2x2 − 2x3 + 8x4 = 0
Solution:
1.6. Solutions of Linear System of Equations 27
1 1 −1 4 0 1 1 −1 4 0 1 0 2 0 0
r3 −2r1 →r3 r1 −r2 →r1
0 1 −3 4 0 −−−−−−→ 0 1 −3 4 0 −−−−−−→ 0 1 −3 4 0
2 2 −2 8 0 0 0 0 0 0 0 0 0 0 0
Therefor, the reduced system is:
x1 + 2x3 = 0 x1 = −2x3
⇒
x2 − 3x3 + 4x4 = 0 x2 = 3x3 − 4x4
Remark 1.6.6
The system Ax = O has a non-trivial solution if the number of unknowns is greater than the
number of equations in the reduced system.
Definition 1.6.3
Linear systems with at least one solution are called consistent, and linear system with no
solutions are called inconsistent.
Example 1.6.10
x + y − z = 0
x − y + 3z = 0
2
x + y + (a − 5)z = 0
Solution:
1 1 −1 0 1 1 −1 0
r2 −r1 →r2
1 −1 3 0 −−−−−−→ 0 −2 4 0 .
r3 −r1 →r3
2 2
1 1 a −5 0 0 0 a −4 0
The system has:
28 Chapter 1. Linear Equations and Matrices
Example 1.6.11
x + 3y + kz = 4
2x + ky + 12z = 6
Solution:
1 3 k 4 r2 −2r1 →r2 1
−−−−−−→
3 k 4
.
2 k 12 6 0 k−6 12 − 2k −2
The system:
(a) can not have a unique solution (not equivalent to I because it is not square matrix!!),
(b) has infinite solutions when k 6= 6,
(c) has no solutions when k = 6.
Example 1.6.12
T #11
pg.89
Let u and v be two solutions of the homogenous system Ax = O. Show that ru + sv
(for r, s ∈ R) is a solution to the same system.
Solution:
Example 1.6.13
T #12
pg.89
Let u and v be two solutions of the non-homogenous system Ax = B. Show that u − v
is a solution to the homogenous system Ax = O.
Solution:
A(u − v) = Au − Av = B − B = O.
Exercise 1.6.1
1
3 T
1. Let A =
. Find all constants c ∈ R such that (cA) · (cA) = 5.
−1
3
2. Find the reduced row echelon form (r.r.e.f.) of the following matrix:
2 4 6 0
1 2 4 0
1 3 3 1
1 0 3 3 1
0 1 1 −1 0
3. Let A =
and B =
. Find all value(s) of a such that the
1 −2 3 1 0
0 2 0 a2 + 1 a+2
system Ax = B has at least one solution.
x − y + (a + 3)z = a3 − a − 7
−x + ay − az = a
2(a − 1)y + (a2 + 2)z = 8a − 14.
has (a) no solution, (b) unique solution, and (c) infinite many solutions.
6. Show that if C1 and C2 are solutions of the system Ax = B, then 4C1 − 3C2 is also a
solution of this system.
1.7. The Inverse of a Matrix 31
Unless otherwise specified, all matrices in this section are considered to be square matrices.
Definition 1.7.1
Example 1.7.1
Theorem 1.7.1
Proof:
B = B In = B (A C) = (B A) C = In C = C.
Remark 1.7.1
Example 1.7.2
1 1
Find, if possible, A−1 for A =
2 3
Solution:
1 1 1 0 r2 −2r1 →r2 1
−−−−−−→
1 1 0 r1 −r2 →r1 1
−−−−−−→
0 3 −1
.
2 3 0 1 0 1 −2 1 0 1 −2 1
3 −1
Therefore, A is non-singular and A−1 = .
−2 1
Example 1.7.3
1 0 1
Find, if possible, A−1 for A =
1 1
2
2 0 1
Solution:
1 0 1 1 0 0 1 0 1 1 0 0
r2 −r1 →r2 −r3
1 1 2 0 1 0 −−−−−−→ 0 1 1 −1 1 0 −−→
r3 −2r1 →r3
2 0 1 0 0 1 0 0 −1 −2 0 1
1 0 1 1 0 0 1 0 0 −1 0 1
r1 −r3 →r1
0 1 1 −1 1 0 −−−−−−→ 0 1 0 −3 1 1 .
r2 −r3 →r2
0 0 1 2 0 −1 0 0 1 2 0 −1
−1 0 1
−1
Therefore, A is non-singular and A =
−3 1 1
.
2 0 −1
1.7. The Inverse of a Matrix 33
Example 1.7.4
1 2 −3
Find, if possible, A−1 for A =
1 −2
1
5 −2 −3
Solution:
1 2 −3 1 0 0 1 2 −3 1 0 0
r2 −r1 →r2 r3 −3r2 →r3
1 −2 1 0 1 0 −−−−−−→ 0 −4 4 −1 1 0 −−−−−−→
r3 −5r1 →r3
5 −2 −3 0 0 1 0 −12 12 −5 0 1
1 2 −3 1 0 0
0 −4 4 −1 1 0 .
0 0 0 −2 −3 1
At this point, we can conclude that this matrix is singular with no inverse because of the fact
that the third row in the first part is a zero row. In particular, A−1 does not exist.
Remark 1.7.2
Let A be an n × n matrix:
Example 1.7.5
−3 0
A= is row equivalent to I2 .
0 5
Example 1.7.6
−1 1
A= is row equivalent to a matrix with a row of zeros.
0 0
TRUE or FALSE:
34 Chapter 1. Linear Equations and Matrices
⋆ If A and B are
singular
matrices,
then so is A + B.
(FALSE).
1 0 0 0 1 0
reason: A = and B = are two singular matrices, while A + B = is a non-
0 0 0 1 0 1
singular.
⋆ If A and B are
non-singular
matrices,
then
so is A + B.
(FALSE).
1 0 −1 0 0 0
reason: A = and B = are two non-singular matrices, while A + B = is a
0 1 0 −1 0 0
singular.
Theorem 1.7.2
Proof:
Theorem 1.7.3
Proof:
Since both A and B are non-singular, then both A−1 and B −1 exist. Thus
Theorem 1.7.4
Proof:
A is non-singular, and thus A A−1 = I = A−1 A. Taking the transpose for the whole thing, we
get
1.7. The Inverse of a Matrix 35
Remark 1.7.3
Remark 1.7.4
Remark 1.7.5
Assume that A is a singular n×n matrix. Then the homogenous system Ax = O has a non-trivial
solution.
Example 1.7.7
Solution:
36 Chapter 1. Linear Equations and Matrices
Example 1.7.8
Solution:
Example 1.7.9
Solution:
Since A is singular as we have seen in Example 1.7.4, we can not follow Remark 1.7.4. Therefore,
we use the usual Guass-Jordan method to solve this system, knowing that this system has
nontrivial solution as in Remark 1.7.5.
1 2 −3 0 1 0 −1 0
1 −2 1 0 ≈ ··· ≈
0 1 −1
0
5 −2 −3 0 0 0 0 0
t
x
− z = 0
Thus, the reduced system is . Let z = t ∈ R. Therefore, x =
t
y − z = 0
t
Remark 1.7.6
Exercise 1.7.1
1 0 1
T
1. Let A =
1 1
0. Find (2A)−1 .
2 0 1
h
Hint: If c is a nonzero constant, then what is (cA)−1 ?]
1 2 1 −1 2
2. Let A = , and B = . Find C if (B T + C)A−1 = B T .
1 3 3 2 0
1 2 0 1 1 0
3. Let A−1 = 0 . Find C if A C = B T .
1 −1
and B = 1 0 0
2 0 1 0 1 1
h
Hint: Consider multiplying both sides from the left with A−1 .]
1 2 3
−1
4. Let A =
0 1
2. Find all x, y, z ∈ R such that x y z A= 1 2 3 .
0 0 1
0 1 −1 1 2 −1
5. Let A =
1 1
0 and B =
1 3
0.
0 1 2 1 1 −1
(a) find B −1 .
(b) Find C if A = B C.
(In − A)−1 = A2 + A + In .
1.7. The Inverse of a Matrix 39
CHAPTER 1 REVISION
1 −3 5
3. Let A = and X = . Compute, if possible, X T AT , AT X T , X T X, and XX T .
−2 4 3
1 1
4 1 −1
4. Let A =
0
2 and B = .
2 5 1
2 0
7. Find all values of a such that the following system has at least one solution.
x + y + z = 1
x + 3y + 2z = 2 .
2
x + y + (a − 3)z = a−1
1 2 −1 1 3 2 −1
8. Let A =
1 3
0,B=
2 0
, and C =
1 1
.
1 1 −1 1 −2 0 3
9. Let A and B be skew symmetric matrices. Show that AB is symmetric iff AB = BA.
10. Let A and B be two square matrices such that AB = O. If B is non-singular, find A.
−1 1 2 −1
11. Find a 2×2 matrix C such that AT CB = I2 , where A−1 = and B −1 = .
1 0 0 1
1 0 2 1 2 −2
12. Let P =
1 1
0 and Q =
−1 −1 2
.
1 1 1 0 −1 1
(a) Compute P Q.
(b) Is P singular or non-singular matrix? Explain.
1 2 3
−1
14. Let A =
0 1
2. Find all x, y, z ∈ R such that x y z A= 1 2 3 .
0 0 1
(In − A)−1 = A2 + A + In .
17. ⋆ Let A be an n × n matrix and let U and V be two n × 1 column matrices. Show that if
AU = AV and U 6= V , then A is singular.
x +3y −z +w = 1
2x −y −2z +2w = 2 .
3x +y −z +w = 1
1 2 4 2
19. Let A =
and C =
3 −2 0 −5.
4 3 9 1
2 Determinants
2.1 Determinants
Definition 2.1.1
Example 2.1.1
1 2, and 2 1.
1 2 3, 1 3 2, 2 1 3, 2 3 1, 3 1 2, and 3 2 1.
Definition 2.1.2
43
44 Chapter 2. Determinants
Example 2.1.2
123 0 even + 12 13 23
132 1 odd − 13 12 3 2
213 1 odd − 2 1 23 13
231 2 even + 23 2 1 3 1
312 2 even + 3 1 3 2 12
321 3 odd − 3 2 3 1 2 1
TRUE or FALSE:
Definition 2.1.3
Let A = (aij ) ∈ Mn×n . Then, the determinant of A, denoted by det(A) or A , is
X
det(A) = (±)a1j1 a2j2 a3j3 · · · anjn
where the summation ranges over all permutations j1 j2 · · · jn of the set S = {1, 2, · · · , n}. The
sign is taken as + or − according to the sign of the permutation.
Example 2.1.3
a a12
Compute the determinant of A = 11 .
a21 a22
Solution:
P
Using the definition, we have det(A) = (±)a1j1 a2j2 , where j1 j2 is a permutation of S = {1, 2}.
Thus, j1 j2 ∈ {1 2, 2 1} and
det(A) = + a11 a22 − a12 a21 .
2.1. Determinants 45
Example 2.1.4
a11 a12 a13
Compute the determinant of A = a21 a22 a23 .
a31 a32 a33
Solution:
P
Using the definition, we have det(A) = (±)a1j1 a2j2 a3j3 , where j1 j2 j3 is a permutation of S =
{1, 2, 3}. Thus, j1 j2 j3 ∈ {1 2 3, 1 3 2, 2 1 3, 2 3 1, 3 1 2, 3 2 1} and
det(A) = + a11 a22 a33 − a11 a23 a32 − a12 a21 a33 + a12 a23 a31 + a13 a21 a32 − a13 a22 a31 .
Moreover, this formula can be found by taking the sum of the positive product of the diagonal
entries and the negative product of the anti-diagonal entries in the following matrix:
+ + +− − −
a11 a12 a13 a11 a12
Example 2.1.5
Solution:
A = (2)(5) − (1)(3) = 10 − 3 = 7.
46 Chapter 2. Determinants
Example 2.1.6
Solution:
+ + +− − −
2 0 1 2 0
−2 3 4 −2 3
5 1 2 5 1
In particular,
A = (2)(3)(2) + (0)(4)(5) + (1)(−2)(1)
−(1)(3)(2) − (2)(4)(1) − (0)(−2)(2) = 12 + 0 + (−2) − 15 − 8 − 0 = −13.
⋆ Properties of Determinants:
1. A = AT .
2. If B is obtained from A by interchanging two rows (or two columns), then B = − A .
3. If A has two equal rows (or columns), then A = 0.
4. If A has a row (or a column) of zeros, then A = 0.
5. If B is obtained from A by adding a multiple of a row (or a column) to another row (or column,
respectively), then A = B .
6. If B is obtained from A by multiplying a row (or a column) by a scalar c, then B = c A .
2.1. Determinants 47
Remark 2.1.1
In general, for A ∈ Mn×n , we have c A = cn A .
7. The determinant of lower triangular, upper triangular, diagonal, and scalar matrices can be com-
puted as follows.
Theorem 2.1.1
The determinant of lower triangular, upper triangular, diagonal, and scalar matrices equal
the product of elements of the diagonal.
8. For any A, B ∈ Mn×n , we have A B = A B .
9.
Theorem 2.1.2
1
If A is an n × n non-singular matrix, then A 6= 0 and A−1 = |A|
. This statement
suggests that if A = 0, then A is singular matrix.
Proof:
Example 2.1.7
Solution:
48 Chapter 2. Determinants
If A B = In , then A 6= 0 and B 6= 0.
A−1 A B = A−1 In
In B = A−1
BA = A−1 A = In
Thus, A B = In = B A.
Example 2.1.8
T #16
pg.195
Show that if A ∈ Mn×n is skew-symmetric matrix and n is odd, then A = 0.
Solution:
Since A is skew-symmetric, then AT = −A and taking the determinant for both sides
T
A = − A
T
(−1)n A , where n is odd and (−1)n = −1.
A =
A = AT
= − A .
Therefore, A = − A which means that A = 0.
TRUE or FALSE:
⋆ If A, B ∈ Mn×n with A = B , then A = B. (FALSE).
reason: I2 6= −I2 while I2 = 1 and − I2 = (−1)2 I2 = 1.
Example 2.1.9
T #5
pg.194
If |A B| = 0, then either A = 0 or B = 0.
Solution:
Clearly, |A B| = A B = 0. Then, A = 0 or B = 0.
2.1. Determinants 49
Example 2.1.10
T #8
pg.194
If A B = In , then A 6= 0 and B 6= 0.
Solution:
|A B| = |In | =⇒ |A B| = 1 which implies that A B = 1 and both A and B can not be
zero.
Example 2.1.11
T #9(b)
pg.194
Show that if A−1 = AT , then A = 1 or A = −1.
Solution:
1 2
|A−1 | = |AT | ⇐⇒ = A ⇐⇒ A = 1 ⇐⇒ A = ±1.
|A|
Example 2.1.12
T #10
pg.194
Show that if A is non-singular and A2 = A, then A = 1.
Solution:
Example 2.1.13
T #10
pg.210
Show that for any A, B, C ∈ Mn×n , if A B = A C and A 6= 0, then B = C.
Solution:
Since A 6= 0, then A−1 exists and thus
AB = AC ⇐⇒ A−1 AB = A−1 AC ⇐⇒ B = C.
50 Chapter 2. Determinants
Example 2.1.14
Let A, B ∈ M3×3 with A = 2 and B = −2. Find 2 A−1 (B 2 )T .
Solution:
1
2 A−1 (B 2 )T 23 A−1 B 2 = 8
= BB
|A|
1
= 8 ( ) (−2)(−2) = 16.
2
Example 2.1.15
Evaluate the determinant of the matrix A via reduction to triangular form , where
2 −2 5
A=
0 3
1 .
1 4 2
Solution:
Example 2.1.16
a1 b1 c1 a1 a2 a3
Let a2 b2 c2 = 3. Find −2b1 −2b2 −2b3 .
a3 b3 c3
3a1 − c1 3a2 − c2 3a3 − c3
Solution:
We solve this question in the following two ways (either one works):
2.1. Determinants 51
⋆ solution 1:
a1 b 1 c 1 a1 a2 a3 a1 a2 a3
transpose
(−2)r2 →r2
a2 b 2 c 2 = 3 −−−−−→ b1 b2 b3 = 3 −−−−−−→ −2b1 −2b2 −2b3 =
(−1)r3 →r3
a3 b 3 c 3 c1 c2 c3
−c1 −c2 −c3
a1 a2 a3
r3 +3r1 →r3
(−1)(−2)3 −−−−−−→ −2b1 −2b2 −2b3 = 6.
3a1 − c1 3a2 − c2 3a3 − c3
⋆ solution 2:
a1 a2 a3
a1 a2 a3
r +3r →r
3
−2b1 −2b2 −2b3
=
(−2)(−1) b1 b2 b3
−− −−1−−→
3
3a1 − c1 3a2 − c2 3a3 − c3
c1 − 3a1 c2 − 3a2 c3 − 3a3
a1 a2 a3 a1 b1 c1
transpose
2 b1 b2
b3 −−−−−→ 2 a2 b2
c2 = 2(3) = 6.
c1 c2 c3
a3 b3 c3
52 Chapter 2. Determinants
Exercise 2.1.1
0 4 4 0
1 1 2 0
1. Let D = . Evaluate D .
1 3 5 3
0 1 2 6
h
Hint: |D| = −12.]
a+e b + f a b e f
2. Let A = ,B= , and C = . Show that A = B + C .
c d c d c d
a1 b1 c1 b1 b2 b1 − 3b3
3. Given that a2 b2
c2 = 7, evaluate a1 a2
a1 − 3a3 .
a3 b3 c3
c1 c2 c1 − 3c3
h
Hint: The result is 21.]
a1 a2 a3 2a3 2a2 2a1
4. Let A =
b1 b2
b3
, and B = b3 − a3 b 2 − a2
b 1 − a1 . If A = −4, find B .
c1 c2 c3 c3 + 3b3 c2 + 3b2 c1 + 3b1
h
Hint: The result is 8.]
7 1 0 3
2 0 0 0
5. Let A be a matrix with A−1 =
. Find det (A).
1 3 5 4
6 2 0 5
1 2 4
6. Find all values of α for which the matrix 1 3 9 is singular.
1 α α2
7. Let A and B be two n × n matrices such that A is invertible and B is singular. Prove that
A−1 B is singular.
8. If A and B are 2 × 2 matrices with det (A) = 2 and det (B) = 5, compute 3 A2 (AB −1 )T .
2.2. Cofactor Expansion and Applications 53
Definition 2.2.1
Example 2.2.1
1 2 1
Compute the minors, cofactors, and the coef(A) for A =
0 1
−1.
3 1 −2
Solution:
minors:
cofactors:
1 −1
det(M11 ) =
= -1 =⇒ A11 = (−1)2 (−1) = -1
1 −2
0 −1
det(M12 ) =
= 3 =⇒ A12 = (−1)3 (3) = -3
3 −2
0 1
det(M13 ) =
= -3 =⇒ A13 = (−1)4 (−3) = -3
3 1
2 1
det(M21 ) =
= -5 =⇒ A21 = (−1)3 (−5) = 5
1 −2
1 1
det(M22 ) =
= -5 =⇒ A22 = (−1)4 (−5) = -5
3 −2
1 2
det(M23 ) =
= -5 =⇒ A23 = (−1)5 (−5) = 5
3 1
54 Chapter 2. Determinants
2 1
det(M31 ) =
= -3 =⇒ A31 = (−1)4 (−3) = -3
1 −1
1 1
det(M32 ) =
= -1 =⇒ A32 = (−1)5 (−1) = 1
0 −1
1 2
det(M33 ) =
= 1 =⇒ A33 = (−1)6 (1) = 1
0 1
−1 −3 −3
Therefore, coef(A) =
5 −5
5.
−3 1 1
Theorem 2.2.1
Let A = (aij ) be an n × n matrix with cofactors Aij for all 1 ≤ i, j ≤ n, then for each 1 ≤ i ≤ n
we have
A if i = k,
ai1 Ak1 + ai2 Ak2 + · · · + ain Akn =
0
if i 6= k.
Example 2.2.2
Compute the determinant of A by using the cofactor expansion method, where A is given in
Example 2.2.1.
Solution:
Moreover, we can get the same result using (for instance) the second column of A,
A = a12 A12 + a22 A22 + a32 A32 = (2)(−3) + (1)(−5) + (1)(1) = −10.
2.2. Cofactor Expansion and Applications 55
Note that, if we choose the first row of A and the cofactors of (for instance) the second row of
A, we get
a11 A21 + a12 A22 + a13 A23 = (1)(5) + (2)(−5) + (1)(5) = 0.
Example 2.2.3
0 3 0 1
2 1 1 2
Compute using the cofactor expansion method.
0 0 1 2
0 1 0 1
Solution:
We solve this problem by choosing the row or the column with the maximum number of zeros
as this will ease the computations: Choosing the first column, we have
A = a11 A11 + a21 A21 + a31 A31 + a41 A41
choose 2nd column
z }| {
0 3 0 1
− 3
0 1
✘✘ + (0) ✘✘ + 2 ✘✘
✘ ✘
1 1 2 + (0)
✘✘A41 = (−2)
= (0)
✘ A 11 ✘ A 21 0
1 2
0 0 1 2
1 0 1
0 1 0 1
=O =O
z
}| { z
}|
{
−
3
0 1
3 0 1
3 0 1
+
= (−2) 0 2 + 0 2 + 0 1 2
1 1 −
1
0 1
1 0 1
1 0 1
3 1
= (−2) (+1) = (−2) [3 − 1] = (−2)(2) = −4.
1 1
56 Chapter 2. Determinants
Definition 2.2.2
adj(A) = (coef(A))T .
Example 2.2.4
Solution:
Therefore,
−1 5 −3
adj(A) = (coef(A))T =
−3 −5
1 .
−3 5 1
Theorem 2.2.2
Proof:
2.2. Cofactor Expansion and Applications 57
We first prove that A · adj(A) = A · In ,
a11 a12 ··· a1n A11 A21 ··· An1
a21 a22 ··· a2n A12 A22 ··· An2
A · adj(A) =
. .. ...
..
. .. ...
..
.. . . .
. . .
an1 an2 ··· ann A1n A2n ··· Ann
1
A 0 0 ··· 0
...
0
0 A 0 ··· 0
... ... ..
= A · In .
= 0
0 . = A
1
..
.
..
.
... ...
0
0 ...
0 0 ··· 0 A 1
The proof of adj(A) · A = A · In is similar.
Example 2.2.5
1 2
Let adj(A) = . Find A.
4 6
Solution:
x y w −z
Assume that A = . Then coef(A) = . Therefore,
z w −y x
w −y 1 2
adj(A) = (coef(A))T = = .
−z x 4 6
6 −2
Thus, x = 6, y = −2, z = −4, and w = 1, and A =
−4 1
58 Chapter 2. Determinants
Theorem 2.2.3
1
If A is non-singular, then A−1 = |A|
adj(A).
Proof:
A is non-singular so that A 6= 0 and A−1 exists. Then, by Theorem 2.2.2,
A adj(A) =
A In multiply from left by A−1
A−1 · A adj(A) = A−1 · A In
−1
adj(A) = A A
1
A−1 = adj(A).
|A|
Remark 2.2.1
a b
Let A = be any 2 × 2 non-singular matrix. Thus, ad − bc 6= 0, and
c d
1 1 d −b
A−1 = adj(A) = .
|A| ad − bc −c a
Confirmation:
1 ad − bc −ab + ab 1 0
A · A−1 = = = I2 .
ad − bc cd − cd −cb + ad 0 1
Example 2.2.6
1 2
Find the inverse of A = .
4 6
Solution:
Example 2.2.7
T #8
pg.210
Show that if A is a non-singular n × n matrix, then
n−1
adj(A) = A .
Solution:
Given that A 6= 0, we use Theorem 2.2.2 to get
A adj(A) = |A| In
A adj(A) = |A| In
n
A adj(A) = A |In |
n−1
adj(A) = A
Example 2.2.8
T #12
pg.210
Show that if A is non-singular, then adj(A) is non-singular and
−1 1
adj(A) = A = adj(A−1 ).
|A|
Solution:
Since A is non-singular, A 6= 0. We use Theorem 2.2.2 to get
adj(A) A = A adj(A) = A In
1 1
adj(A) A = A adj(A) = In
|A| |A|
Thus,
1
adj(A−1 ) · A−1 = In
|A|
1
adj(A−1 ) · A−1 · A = In · A
|A|
1
adj(A−1 ) = A (2.2.2)
|A|
Example 2.2.9
Let A be a non-singular 4 × 4 matrix with A−1 = −2. Find
(a) adj(A) , and
(b) 21 AT adj(A−1 ).
Solution:
−1
We have A = 2
since A−1 = −2. Then
3
4−1 3
(a): adj(A) = A = A = −1
2
= −1
8
.
(b):
4
1 T 1
A adj(A−1 ) =
T
A adj(A−1 )
2
2
1 −1 3
= A A
24
1 −1 1
= 4
· · (−2)3 = .
2 2 4
2.2. Cofactor Expansion and Applications 61
Example 2.2.10
Let A be a 4 × 4 matrix with adj(A) = −8. Find 2A adj(2A).
Solution:
2A adj(2A) = |2A| I4
= (2)4 A I4
= (16) (−2) I4 = −32 I4 .
62 Chapter 2. Determinants
Exercise 2.2.1
2 8
1. Let adj(A) = . Find A.
1 4
CHAPTER 2 REVISION
Revision of Chapter 2 ... Have Fun :-)
1. Find all 3 × 3 matrices A, if any, such that adj(A) = −3.
2. Let A and B be two 4 × 4 nonsingular matrices such that det (2A−1 B 2 ) = 32 and
det (B −1 adj(A)) = 4. Find A and B .
1
(adj(A))−1 = A = adj(A−1 ).
det (A)
1 2 −2 3
0 −1 3 1
5. Let A =
. Find det(A) by:
0 2 −6 1
2 4 −3 0
1 −1 2
9. Let A =
0 3
1.
−1 3 1
12. Answer each of the following as True or False (Justify your answer):
(a) If A and B are 2 × 2 matrices such that det (A) = −2 and det (B) = 8, then
det 2AT adj(B −1 ) = 1.
(b) if A and B are two 2 × 2 matrices such that det (adj(A)) = det (adj(B)), then A = B.
1 0 2
13. Let A =
2 1
1.
0 1 1
3 Vectors in Rn
3.2 Vectors in Rn
In this chapter, we deal with vectors in Rn , or sometimes we simply call them n-vectors. For instance,
y1
y2
x = x1 x2 ··· xn , y = . , and z = hz1 , z2 , · · · , zn i are vectors in Rn .
.
.
yn
Vecors in R3 can be manipulated by arrows starting at tail and pointing at head. For instance, vector
u = h3, −2, 4i and −u (which is of the same size in the opposite direction) both have their tail at the
origin O(0, 0, 0) and can be drawn as in the following figure (left). While vector v = h−1, −1, 1i has its
tail P (1, 2, 0) and its head Q(0, 1, 1), see the following figure (right).
y y
P (1, 2, 0)
v = h−1, −1, 1i
−u = h−3, 2, −4i
Q(0, 1, 1)
3
x x
O(0, 0, 0) O(0, 0, 0)
4
u = h3, −2, 4i
−2
z z
65
66 Chapter 3. Vectors in Rn
1. Adding or substracting two vectors, they must have the same number of components:
x1 ± y1
x2 ± y2 n
x±y=
.. ∈R .
.
xn ± yn
2. Multiplying a vector by a scalar:
c x1
c x2 n
cx =
.. ∈ R .
.
c xn
3. Rn is closed under vector addition (i.e. x + y ∈ Rn , ∀ x, y ∈ Rn ):
(a) x + y = y + x,
(b) x + (y + z) = (x + y) + z,
(d) for any x ∈ Rn , ∃(−x) such that x + (−x) = (−x) + x = O. ”additive inverse”
(a) c (x + y) = c x + c y,
(b) (c + d)x = c x + d x,
(c) c (d x) = (c d) x,
(d) 1 x = x where 1 ∈ R.
Definition 3.2.1
The dot (or inner or scalar) product of two vectors x = (x1 , x2 , · · · , xn ) and y = (y1 , y2 , · · · , yn )
in Rn is
n
X
x·y= xi yi = x1 y1 + x2 y2 + · · · + xn yn .
i=1
3.2. Vectors in Rn 67
Definition 3.2.2
While, the distance between the points P (x1 , x2 , · · · , xn ) and Q(y1 , y2 , · · · , yn ) is the length of
−→
the vector z = P Q = Q − P . That is,
q
kzk = (x1 − y1 )2 + (x2 − y2 )2 + · · · + (xn − yn )2 .
Remark 3.2.1
Example 3.2.1
2 5
4 3 4
Let x = and y =
be two vectors in R . Find ky − xk.
3 2
1 1
Solution:
3
−1 √ √
Clearly, y − x =
=⇒ ky − xk = 9+1+1+0= 11.
−1
0
68 Chapter 3. Vectors in Rn
Theorem 3.2.1
If x, y, z ∈ Rn and c ∈ R. Then,
1. x · x > 0 if x 6= 0 and x · x = 0 if x = 0,
2. x · y = y · x,
3. (x + y) · z = x · z + y · z,
4. (c x) · y = x · (c y) = c (x · y).
Example 3.2.2
T #9
pg.246
If x ∈ Rn and c ∈ R, then kc xk = | c | kxk.
Solution:
= | c | kxk.
θ
x
3.2. Vectors in Rn 69
x·y
cos θ = where 0 ≤ θ ≤ π. (3.2.1)
kxk kyk
x·y
−1 ≤ ≤ 1. (3.2.2)
kxk kyk
Remark 3.2.2
π
1. x ⊥ y (orthogonal or perpendicular) ⇐⇒ θ = 2
⇐⇒ cos θ = 0 ⇐⇒ x · y = 0.
Example 3.2.3
Find all values of c so that x = (c, 2, 1, c) and y = (c, −1, −2, −3) are orthogonal.
Solution:
x·y = 0
c2 − 2 − 2 − 3c = 0
c2 − 3c − 4 = 0
(c − 4)(c + 1) = 0 c = 4 or c = −1.
Example 3.2.4
Solution:
a+b+c+d=0 1 1 1 1 0 1 1 0 0 0
=⇒ ∼
a+b−c−d=0 1 1 −1 −1 0 0 0 1 1 0
Solving this system, we get a = −b and c = −d. Let b = r and d = s where r, s ∈ R to get
z = (−r, r, −s, s) which is the form of any vector in R4 that is orthogonal to both x and y.
Example 3.2.5
Show that the triangle with vertices P1 (2, 3, −4), P2 (3, 1, 2), and P3 (7, 0, 1) is a right triangle.
Solution:
P3 P3 P1
−−−→ −−−→
P1 P 3 P2 P3
−−−→
P1 P2
P1 P2 P1 P2 P3 P2
Figure 1 Figure 2 Figure 3
We start with Figure 1 as we do not know if there is a right angle. We create three vectors,
namely
−−→
x = P1 P2 = P2 − P1 = (1, −2, 6)
−−→
y = P1 P3 = P3 − P1 = (5, −3, 5)
−−→
z = P2 P3 = P3 − P2 = (4, −1, −1)
This is draw in Figure 2. Then, we want to find two vectors whose dot product is zero which is
valid by considering x and z. That is
x · z = 4 + 2 − 6 = 0.
Example 3.2.6
Solution:
x·y
By Equation 3.2.1, we have cos θ = kxk kyk
where x · y = 0 + 1 + 0 + 0 = 1 and
√ √
kxk = 02 + 12 + 12 + 02 = 2 = kyk.
1
Therefore, cos θ = 2
which implies that θ = π3 .
Proof:
x·y
By Equation 3.2.1, we have cos θ = kxk kyk
for 0 ≤ θ ≤ π. Thus,
x·y
kxk kyk
= | cos θ| ≤ 1 where kxk kyk is always non-negative
|x · y|
≤ 1 =⇒ |x · y| ≤ kxk kyk.
kxk kyk
Proof:
kx + yk2 = (x + y) · (x + y)
= x·x+x·y+y·x+y·y
kx + yk ≤ kxk + kyk.
Remark 3.2.3
n
If x and y are in R , then kx − yk ≥ kxk − kyk.
Proof:
We simply show that kx − yk ≥ ± kxk − kyk . First
k x k = k (x − y) + y k ≤ k x − y k + k y k → k x k − k y k ≤ k x − y k.
− (k x k − k y k) = k y k − k x k ≤ k y − x k = k x − y k.
TRUE or FALSE:
Definition 3.2.3
The unit vector in Rn is a vector with length 1, i.e. u is a unit vector if kuk = 1.
Remark 3.2.4
1
Given a non-zero vector x ∈ Rn , u = x is a unit vector in the direction of x.
kxk
Example 3.2.7
Solution:
3.2. Vectors in Rn 73
We first find a unit vector in the direction of x and then multiply it by ”−3” to get a vector of
length 3 in the opposite direction. That is,
1 1 1 1 1 −1
u= x= √ (2, 2, −2) = √ (2, 2, −2) = ( √ , √ , √ ).
kxk 4+4+4 2 3 3 3 3
Example 3.2.8
Solution:
ka x + b yk2 = (a x + b y) · (a x + b y)
1 ✟1
= a2 ✟ ✟✯
kxk
✟
2
+ 2 a b✘ ✘ 0 2 ✟✯
y)✿
(x✘· ✘ kyk2
+b ✟ x · y = 0 and kxk2 = kyk2 = 1
| {z } | {z }
orthogonal unit vectors
= a2 + b 2
√
Therefore, by taking the square root for both sides, we get ka x + b yk = a2 + b 2 .
CHAPTER 3 REVISION
Revision of Chapter 3 ... Have Fun :-)
k 4x + 3y k = 5.
4. Let x, y ∈
Rn with k x k = ky k. Show that x − y and x + y are orthogonal.
cos (α) sin (α)
5. Let A = where α ∈ R. Show that if X ∈ R2 , then k X k = k AX k.
− sin (α) cos (α)
6. Let x, y ∈ Rn such that k x k = 2 and k y k = 3 and the angle between them is π3 . Evaluate
k x − y k.
7. Let x, y, and z be three unit vectors in Rn such that each vector is orthogonal to the other
√
two vectors. Show that k x + y + z k = 3.
8. If k x k = 2 and k y k = 3. What are the largest and the smallest possible values for
k x − y k?
9. Use Cauchy-Schwarz’s inequality to show that
Definition 5.1.1
A real vector space V is a set of elements with two operations ⊕ and ⊙ satisfying the following
conditions. For short, we write (V, ⊕, ⊙) is a vector space if
(a) x ⊕ y = y ⊕ x,
(b) x ⊕ (y ⊕ z) = (x ⊕ y) ⊕ z,
(β) if x ∈ V and c ∈ R, then c ⊙ x ∈ V, that is ”V is closed under ⊙”: for all x, y ∈ V and for
all c, d ∈ R
(a) c ⊙ (x ⊕ y) = c ⊙ x ⊕ c ⊙ y,
(b) (c + d) ⊙ x = c ⊙ x ⊕ d ⊙ x,
(c) c ⊙ (d ⊙ x) = (c d) ⊙ x,
(d) 1 ⊙ x = x ⊙ 1 = x.
Remark 5.1.1
(Rn , +, ·) is a vector space. That is, Rn with vector addition and scalar multiplication is a vector
space.
77
78 Chapter 5. Real Vector Spaces
Example 5.1.1
and
c ⊙ (x, y, z) = (cx, cy, 0).
Solution:
Clearly, the α conditions are satisfied because this is the usual vector addition and hence V is
closed under ⊕. Thus, we only check on the β conditions. Let x = (x1 , y1 , z1 ), y = (x2 , y2 , z2 )
be any two vectors in V, then
Example 5.1.2
Solution:
No. If c ∈ R with c < 0, then c ⊙ (x, y, z) = (cx, cy, cz) 6∈ V since cz < 0.
5.1. Real Vector Spaces 79
Example 5.1.3
Is the set of real numbers under the substraction and scalar multiplication a vector space?
Explain.
Solution:
Exercise 5.1.1
Determine whether V with the given operations is a vector space. Justify your answer.
3. Consider R2 with the operations ⊕ and ⊙ where (x, y) ⊕ (x′ , y ′ ) = (2x − x′ , 2y − y ′ ) and
c ⊙ (x, y) = c(x, y). Does the property (c + d) ⊙ X = c ⊙ X ⊕ d ⊙ X hold for all c, d ∈ R
and all X ∈ R2 ? Explain.
4. Consider the set V = {(x, y, z) : x, y, z ∈ R} with the following operations
(a) (T) V = {(x, y) ∈ R2 : y < 0} is closed under the operation c ⊙ (x, y) = (cx, y).
(b) (F) V = {(x, y) ∈ R2 : y < 0} is closed under the operation c ⊙ (x, y) = (cy, x).
5.2. Real Vector Subspaces 81
Definition 5.2.1
Let (V, ⊕, ⊙) be a vector space and let W ⊆ V be non-empty. If (W, ⊕, ⊙) is a vector space,
then W is a subspace of V.
Remark 5.2.1
If V is a vector space, then V and {0} are subspaces of V. They are called trivial subspaces
of V.
Theorem 5.2.1
Let (V, ⊕, ⊙) be a vector space and let W be a subset of V. Then, W is a subspace of V if and
only if the following conditions hold:
1. W 6= φ,
2. for all x, y ∈ W, x ⊕ y ∈ W,
3. for all x ∈ W and c ∈ R, c ⊙ x ∈ W.
Example 5.2.1
Solution:
(x1 , y1 , 0, z12 ) + (x2 , y2 , 0, z22 ) = (x1 + x2 , y1 + y2 , 0, z12 + z22 ) 6∈ W since z12 + z22 6= (z1 + z2 )2 .
For example, (0, 0, 0, 4), (0, 0, 0, 9) ∈ W while the sum of them (0, 0, 0, 15) 6∈ W. Therefore, W is
not a subspace of R4 .
82 Chapter 5. Real Vector Spaces
Example 5.2.2
Solution:
Clearly, (0, 0, 0) 6∈ W and hence W is not a vector space and it is not a subspace of R3 .
Example 5.2.3
Solution:
1. (0, 0, 0, 0) ∈ W, then W 6= φ,
2. let x = (a1 , b1 , a1 , 2a1 − b1 ) and y = (a2 , b2 , a2 , 2a2 − b2 ). Then,
3. for x = (a, b, a, 2a−b) ∈ W and k ∈ R, we have k(a, b, a, 2a−b) = (ka, kb, ka, 2(ka), −kb) ∈
W.
Therefore, W is a subspace of R4 .
Example 5.2.4
Solution:
1. z = 0x + 0y = O ∈ W, implies that W 6= φ,
2. let z1 = ax + by and z2 = cx + dy be two vectors in W. Then,
Therefore, W is a subspace of Rn .
Definition 5.2.2
Let Ax = O be a homogenous system for A ∈ Mm×n and x ∈ Rn . We define the null space (or
the solution space of Ax = O) by
W = { x : Ax = O } ⊆ Rn ,
Example 5.2.5
Solution:
Therefore, W is a subsapce of Rn .
Example 5.2.6
Solution:
Clearly, W might be empty ”φ” if the system Ax = B has no solution. Thus, W is not a subspace
of Rn .
84 Chapter 5. Real Vector Spaces
⋆ Linear Combination:
Definition 5.2.3
Example 5.2.7
Determine whether the vector x = (2, 1, 5) is a linear combination of the set of vectors {x1 , x2 , x3 }
where x1 = (1, 2, 1), x2 = (1, 0, 2), and x3 = (1, 1, 0).
Solution:
c1 + c2 + c3 = 2
2c1 + 0 + c3 = 1
c1 + 2c2 + 0 = 5
So,
we solve the
system:
1 1 1 2 1 1 1 2 1 1 1 2
r2 −2r1 →r2 r2 ↔r3 r1 −r2 →r1
2 0 1 1 −−−−−−→ 0 −2 −1 −3 −−−→ 0 1 −1 3 −−−−−−→
r3 −r1 →r3 r3 +2r2 →r3
1 2 0 5 0 1 −1 3 0 −2 −1 −3
1 0 2 −1 1 1 0 2 −1 1 0 0 1
− 3 r3 →r3 r1 −2r3 →r1
0 1 −1 3 −−−−−→ 0 1 −1 3 −−−−−−→ 0 1 0 2
r2 +r3 →r2
0 0 −3 3 0 0 1 −1 0 0 1 −1
c1 1
Therefore, c2 =
2 is a solution. Thus, x = x1 + 2x2 − x3 (check!).
c3 −1
5.2. Real Vector Subspaces 85
⋆ The Span:
Definition 5.2.4
Let S = {x1 , x2 , · · · , xk } be a subset of a vector space V. Then, the set of all vectors in V that
are linear combination of the vectors in S is denoted by span S or span{x1 , x2 , · · · , xk }.
Example 5.2.8
Let S = {(1, 1, 0, 1), (1, −1, 0, 1), (0, 1, 2, 1)}. Determine whether
belongs to span S.
Solution:
(a) Clearly, x belongs to span S only if x is a linear combination of S. Consider the system
The third row suggests that 0 = −4 which is impossible. Thus this system has no solution
and y is not linear combination of S. Thus, y 6∈ span S.
Theorem 5.2.2
Proof:
z = c c1 x1 + c c2 x2 + · · · + c ck xk ∈ W.
We now go back to show how can we solve Example 5.2.3 by three different method. One method
was already shown in that example.
Example 5.2.9
Solution: Definition
We simply show it by the meaning of the definition of subspaces. Look at the Example 5.2.3.
W = { (a, b, c, d) : 2a − b − d = 0 and a − c = 0 }.
5.2. Real Vector Subspaces 87
2 −1 0 −1
That is W is the solution space of Ax = O where A = and x = (a, b, c, d).
1 0 −1 0
4
Therefore, W is a subspace of R .
Definition 5.3.1
Example 5.3.1
Let S = {x1 , x2 , x3 } where x1 = (1, 2, 1), x2 = (1, 0, 2), and x3 = (1, 1, 0). Does S spans R3 ?
Explain.
Solution:
One way to decide if x is a linear combination of vectors of S is to solve this system as we have
seen in Example 5.2.7.
An easier way (since this is a square coefficient matrix) is by computing the determinant and
make sure that the A 6= 0 where A is the matrix of coefficient. That is,
1 1 1
2 0 1 1
A = 2 0 1 = − = 4 − 1 = 3 6= 0.
1 2 1 2
1 2 0
Since A 6= 0, the system has a unique solution and x = (a, b, c) is a linear combination of
vectors in S. Therefore, S spans R3 .
Example 5.3.2
Let S = {x1 , x2 } where x1 = (1, 1, 0), and x2 = (1, 1, 1). Does S spans R3 ? Explain.
Solution:
5.3. Linear Independence 89
Note that we can not use the determinant argument here since we have no square matrix. Thus,
solving the system, we get
1 1 a 1 1 a
r2 −r1 →r2
1 1 b −−−−−−→ 0 0 b − a .
0 1 c 0 1 c
Remark 5.3.1
Definition 5.3.2
c1 x1 + c2 x2 + · · · + cn xn = 0.
Example 5.3.3
Determine whether x1 = (1, 0, 1, 2), x2 = (0, 1, 1, 2), and x3 = (1, 1, 1, 3) in R4 are linearly
independent or linearly dependent? Explain.
Solution:
Example 5.3.4
Determine whether the vectors x1 = (1, 2, −1), x2 = (1, −2, 1), x3 = (−3, 2, −1), and x4 =
(2, 0, 0) in R3 is linearly independent or linearly dependent? Explain.
Solution:
From the reduced system above, we see that (from the third column) x3 = −x1 − 2x2 and that
(from the fourth column) x4 = x1 + x2 .
5.3. Linear Independence 91
Remark 5.3.2
Example 5.3.5
For what values of α are the vectors (−1, 0, −1), (2, 1, 2), (1, 1, α) in R3 linearly dependent?
Explain.
Solution:
We want the vectors to be linearly dependent, so consider the system c1 (−1, 0, −1) + c2 (2, 1, 2) +
c3 (1, 1, α) = (0, 0, 0). This system has non-trivial solutions only if A = 0, where A is the
matrix whose columns are [−1, 0, −1]T , [2, 1, 2]T , and [1, 1, α]T . That is,
-1 2 1
A = 0 1 1 = 0 ⇐⇒ −(α − 2) − (2 − 1) = 0 ⇐⇒ 2 − α − 1 = 0 ⇐⇒ α = 1.
-1 2 α
Therefore, if α = 1 the vectors are linearly dependent. Otherwise if α ∈ R\{1}, the vectors are
linearly independent.
Example 5.3.6
Suppose that S = {v1 , v2 , v3 } is a linearly independent set of vectors in a vector space V. Show
that T = {w1 , w2 , w3 } is also linearly independent set, where w1 = v1 + v2 + v3 , w2 = v2 + v3 ,
and w3 = v3
Solution:
92 Chapter 5. Real Vector Spaces
c1 w1 + c2 w2 + c3 w3 = 0
c1 (v1 + v2 + v3 ) + c2 (v2 + v3 ) + c3 (v3 ) = 0
c1 v1 + c1 v2 + c1 v3 + c2 v2 + c2 v3 + c3 v3 = 0
(c1 )v1 + (c1 + c2 )v2 + (c1 + c2 + c3 )v3 = 0
But v1 , v2 , v3 are linearly independent, thus c1 = c1 + c2 = c1 + c2 + c3 = 0. Therefore,
c1 = c2 = c3 = 0 and hence T is linealry independent.
Example 5.3.7
Suppose that S = {v1 , v2 , v3 } is a linearly dependent set of vectors in a vector space V. Show
that T = {w1 , w2 , w3 } is also linearly dependent set, where w1 = v1 , w2 = v1 + v2 , and
w3 = v1 + v2 + v3
Solution:
c1 w1 + c2 w2 + c3 w3 = 0
c1 (v1 ) + c2 (v1 + v2 ) + c3 (v1 + v2 + v3 ) = 0
(c1 + c2 + c3 )v1 + (c2 + c3 )v2 + (c3 )v3 = 0
But v1 , v2 , v3 are linearly dependent, thus at least one of c1 + c2 + c3 , c2 + c3 , and c3 is non-zero.
Therefore, one of c1 , c2 , c3 is non-zero and hence T is linealry dependent.
Theorem 5.3.1
Proof:
Theorem 5.3.2
Any subset of a vector space V contains the zero vector is a linearly dependent set.
Proof:
Theorem 5.3.3
If {x1 , x2 , · · · , xn } is a linearly dependent set, then we can express one of the vectors in terms
of the others.
Proof:
Consider the system c1 x1 + c2 x2 + · · · + cn xn = 0 with not all ci zeros, say ck 6= 0. Then, clearly
−c1 −c2 −ck−1 −ck+1 −cn
xk = x1 + x2 + · · · + xk−1 + xk+1 + · · · + xn .
ck ck ck ck ck
Remark 5.3.3
Remark 5.3.4
Definition 5.4.1
The dimension of V is the number of vectors in its basis and is denoted by dim(V).
Remark 5.4.1
Example 5.4.1
x1 = (1, 0, 1, 0), x2 = (0, 1, −1, 2), x3 = (0, 2, 2, 1), and x4 = (1, 0, 0, 1).
Solution:
To show that S is a basis for R4 , we show that S is linearly independent and that S spans R4 .
is,
1 0 0 1 0 0 0 1
0 1 2
0 1 2 0 c1 −c4 →c1 0 1 2 0
|A| = =
= 1 −1 2 = · · · = 1 6= 0.
1 −1 2 0 1 −1 2 0
−1 2 1
0 2 1 1 −1 2 1 1
Therefore, the system has trivial solution and thus S is linearly independent.
Theorem 5.4.1
Let S = {x1 , x2 , · · · , xn } be a basis for a vector space V. Then, every vector in V can be written
in one and only one way as a linear combination of the vectors in S.
Proof:
x = c1 x1 + c2 x2 + · · · + cn xn , and (5.4.1)
x = d1 x1 + d2 x2 + · · · + dn xn . (5.4.2)
c1 − d1 = 0, c2 − d2 = 0, · · · , cn − dn = 0.
Therefore,
c1 = d1 , c2 = d2 , · · · , cn = dn
96 Chapter 5. Real Vector Spaces
and hence x can be written in one and only one way as a linear combination of vectors in S.
Theorem 5.4.2
Let S = {x1 , x2 , · · · , xn } be a set of non-zero vectors of a vector space V and let W = span S.
Then, some subset of S is a basis for W.
Example 5.4.2
Let S = {x1 , x2 , x3 , x4 , x5 } be a set of R4 where x1 = (1, 2, −2, 1), x2 = (−3, 0, −4, 3), x3 =
(2, 1, 1, −1), x4 = (−3, 3, −9, 6), and x5 = (9, 3, 7, −6). Find a subset of S that is a basis for
W = span S. Find dim(W).
Solution:
The leading entries are pointing (appear) on the first two columns, namely columns 1 and
2. Therefore, {x1 , x2 } is linearly independent and it spans W. Thus, {x1 , x2 } is a basis for
5.4. Basis and Dimension 97
Remark 5.4.3
Theorem 5.4.3
Theorem 5.4.4
If S = {x1 , x2 , · · · , xn } and T = {y1 , y2 , · · · , ym } are two bases for a vector space V, then
m = n.
Theorem 5.4.5
If S is a linearly independent set of vectors in a finite dimensional vector space V, then there is
a basis T for V which contains S.
Example 5.4.3
Find a basis for R4 that contains the vectors x1 = (1, 0, 1, 0) and x2 = (−1, 1, −1, 0).
Solution:
Consider the set S = {x1 , x2 , E1 , E2 , E3 , E4 }. The set S spans R4 but it contains some linearly
dependent vectors. In order to delete those, we follow the following procedure:
1 −1 1 0 0 0 0 1 0 0 1 1 0 0
0 1 0 1 0 0 0 0 1 0 1 0 0 0
≈ · r.r.e.f.
····· ≈
1 −1 0 0 1 0 0 0 0 1 0 −1 0 0
0 0 0 0 0 1 0 0 0 0 0 0 1 0
The leading entries pointing on the columns 1, 2, 3, and 6. Therefore, the set {x1 , x2 , E1 , E4 } is
a basis for R4 containing x1 and x2 .
98 Chapter 5. Real Vector Spaces
Theorem 5.4.6
Example 5.4.4
Find all values of a for which S = {(a2 , 0, 1), (0, a, 2), (1, 0, 1)} is a basis for R3 .
Solution:
Since dim(R3 ) = 3 = size of S, it is enough to show that S is linearly independent (or it spans
R3 ) to show that it is a basis for R3 . Consider
Example 5.4.5
Find the dimension of the subspace of all vectors of the form (a, b, c, d) where c = a − b and
d = a + b (for a, b ∈ R).
Solution:
Example 5.4.6
Find the dimension of the subspace of all vectors of the form (a + c, a + b + 2c, a + c, a − b) where
a, b, c ∈ R.
Solution:
The leading entries pointing on the columns 1 and 2. Therefore, the set {(1, 1, 1, 1), (0, 1, 0, −1)}
is a basis for W containing two vectors. Thus, the dimension of W is 2.
Example 5.4.7
Let S = {x1 , x2 , x3 } be a basis for a vector space V. Show that T = {y1 , y2 , y3 } is also a basis
for V, where y1 = x1 + x2 + x3 , y2 = x2 + x3 , and y3 = x3 .
Solution:
Since S is a basis for V, then dim(V) = 3. But the size of T is also 3. Thus, it is enough to
show that T is linearly independent to show that it is a basis for V as well.
Consider the system c1 y1 + c2 y2 + c3 y3 = 0. Therefore,
c1 y1 + c2 y2 + c3 y3 = 0
c1 (x1 + x2 + x3 ) + c2 (x2 + x3 ) + c3 (x3 ) = 0
(c1 )x1 + (c1 + c2 )x2 + (c1 + c2 + c3 )x3 = 0
100 Chapter 5. Real Vector Spaces
Definition 5.5.1
{x : Ax = 0}.
Remark 5.5.1
Example 5.5.1
Solution:
We
first solve the homogenous
system:
1 1 0 2 0 1 1 0 2 0 1 1 0 2 0
r2 +2r1 →r2 r3 +r2 →r3
−2 −2 −− −−
1 −5 0 r −r →r
−−→ 0 0 1 −1 0 −
− − − − −
→ 0 0 1 −1 0
3 1 3
1 1 −1 3 0 0 0 −1 1 0 0 0 0 0 0
The reduced system is
x1 + x2 + 2x4 = 0
102 Chapter 5. Real Vector Spaces
x3 − x4 = 0
Therefore,
−1 −2
1 0
x=r
+t
.
0 1
0 1
n o
Thus, [−1 1 0 0]T , [−2 0 1 1]T spans the null space of A and it is a linearly independent
set, so it is a basis for the null space of A and the nullity of A is 2.
Example 5.5.2
Solution:
We
solve the homogenous
system
Ax = 0:
1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 0
r2 −r1 →r2 r2 +r3 →r2 4 r2 →r2
1 4 −1 0 −−−−−−→ 0 4 −1 0 − −−−−−→ 0 4 0 0 −− − −→ 0 1 0 0
r3 −2r1 →r3
2 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0
We have a trivial solution. Therefore, the null space of A is {0} and the nullity is 0.
5.6. The Rank of a Matrix and its Application 103
Definition 5.6.1
a11 a12 ··· a1n
a a22 ··· a2n
21
Let A =
. .. ...
.. ∈ Mm×n .
.. . .
am1 am2 · · · amn
The set of rows of A are:
x1 = (a11 a12 ··· a1n )
x2 = (a21 a22 ··· a2n )
.. .. ∈ Rn
. .
xm = (am1 am2 ··· amn )
These rows span a subspace of Rn which is called the row space of A. Moreover, the row
rank of A = dim(row space of A).
Similarly, the columns of A are:
a11 a12 a1n
a21 a22 a2n
y1 = .. , y2 = ..
, · · · , yn = .. ∈ Rm .
. . .
am1 am2 amn
These columns span a subspace of Rm which is called the column space of A. Moreover, the
column rank of A = dim(column space of A).
Remark 5.6.1
Theorem 5.6.1
If A and B are two m × n row equivalent matrices, then they have the same row space.
In Example 5.6.1, we illustrate how to find bases for the row and column spaces of a given matrix.
Example 5.6.1
1 −2 0 3 −4
3 2 8 1 4
Let A =
.
2 3 7 2 3
−1 2 0 4 −3
1. find a basis for the row space of A,
2. find a basis for the column space of A,
3. find a basis for the row space that contains only rows of A,
4. find a basis for the column space that contains only columns of A.
Solution:
1. To find a basis for the row space of A, we have to find the r.r.e.f. of A, then the set of
non-zero rows of the r.r.e.f. forms a basis for the row space.
1 −2 0 3 −4
3 2 8 1
4 1 0 2 0 1 ←
≈ · r.r.e.f.
····· ≈
0
1 1 0 1 ←
2 3 7 2 3
0
0 0 1 −1 ←
−1 2 0 4 −3
0 0 0 0 0
Therefore, the set {(1, 0, 2, 0, 1), (0, 1, 1, 0, 1), (0, 0, 0, 1, −1)} forms a basis for the row space
of A. Note that the row rank of A = 3. (That is, nullity of A = 5 - 3 = 2).
2. To find a basis for the column space of A, we have to find a basis for the row space of AT .
Therefore,
1 3 2 −1
11
−2 2 3 2
1 0 0 24 ←
−49
r.r.e.f. 0 1 0 ←
AT =
0 8 7 ≈ ······ ≈
0
24
7
3
0 0 1 3
←
1 2 4
0
0 0 0
−4 4 3 −3
0 0 0 0
5.6. The Rank of a Matrix and its Application 105
n o
Therefore, the set (1, 0, 0, 11
24
), (0, 1, 0, −49
24
), (0, 0, 1, 37 ) is a basis for the row space of AT
and it is a basis for the column space of A. The column rank of A = 3. (That is, nullity
of A = 5 - 3 = 2).
3. To find a basis for the row space of A that containsonly rows of A, we do as follows:
1 3 2 −1
1 0 0 11 24
−2 2 3 2 −49
T
0
r.r.e.f. 1 0 24
A =
0 8 7 0 ≈ ······ ≈
0 7
3
0 1 3
1 2 4
0
0 0 0
−4 4 3 −3
0 0 0 0
↑ ↑ ↑
Then, the leading entries are pointing to column 1, column 2 , and column 3 in the r.r.e.f.
of AT which correspond to row 1, row 2, and row 3 in A. Thus,
4. To find a basis for the column space of A that only contains columns of A, we do the
following:
1 −2 0 3 −4
3
1 0 2 0 1
2 8 1 4 ≈ · r.r.e.f.
····· ≈
0 1 1 0 1
2 3 7 2 3
0 0 0 1 −1
−1 2 0 4 −3
0 0 0 0 0
↑ ↑ ↑
Then, the leading entries are pointing to column 1, column 2 , and column 3 in the r.r.e.f.
of A . Thus,
{(1, 3, 2, −1), (−2, 2, 3, 3), (3, 1, 2, 4)}
Theorem 5.6.2
Theorem 5.6.3
If A is an n × n matrix, then rank(A) = n if and only if A 6= 0.
Theorem 5.6.4
Let A be an n × n matrix. The non-homogenous system Ax = B has a unique solution for every
n × 1 matrix B if and only if rank(A) = n.
Theorem 5.6.5
Let S = {x1 , x2 , · · · , xn } be a set of n vectors in Rn and let A be the matrix whose rows
(columns) are the vectors of S. Then, S is linearly independent if and only if A 6= 0.
Theorem 5.6.6
Example 5.6.2
1 1 4 1 2
0 1 2 1 1
Let A =
0 0 0 1 . Find the rank of A and the nullity of A.
2
1 −1 0 0 2
2 1 6 0 1
Solution:
5.6. The Rank of a Matrix and its Application 107
To find the rank and the nullity of A, we find any basis of any kind of A. So,
1 1 4 1 2
0 1 2 1 1
1 0 2 0 1 ←
0 1 2 0 −1
←
r.r.e.f.
≈ ······ ≈
0 0 0 1 2
0 0 0 1 2 ←
1 −1 0 0 2
0 0 0 0 0
2 1 6 0 1
0 0 0 0 0
Therefore {(1, 0, 2, 0, 1), (0, 1, 2, 0, −1), (0, 0, 0, 1, 2)} is a basis for the row space of A and rank(A)
= 3 which implies that nullity of A = 5 − 3 = 2.
Example 5.6.3
If A is a 3 × 7 matrix, what is the largest possible rank of A (or what is the largest possible
number of linearly independent columns of A)?
Solution:
The largest possible row rank of A is 3 while the largest possible column rank of A is 7, but row
rank of A = column rank of A. Therefore, the largest possible rank of A is 3. The same thing
applies for the largest possible number of linearly independent columns of A.
Example 5.6.4
Solution:
The largest possible rank of A is 3 and thus A must has at least two linearly dependent rows.
Example 5.6.5
1 −2 0 3 −4
3 2 8 1 4
Let A =
.
2 3 7 2 3
−1 2 0 4 −3
108 Chapter 5. Real Vector Spaces
Solution:
1. To get bases for the row space and column spaces of A, we do the following:
1 −2 0 3 −4
3
1 0 2 0 1 ←
2 8 1 4 ≈ · r.r.e.f.
····· ≈ 0 1 1 0 1 ←
2 3 7 2 3
0 0 0 1 −1 ←
−1 2 0 4 −3
0 0 0 0 0
↑ ↑ ↑
On one hand, the set {(1, 0, 2, 0, 1), (0, 1, 1, 0, 1), (0, 0, 0, 1, −1)} forms a basis for the row
space of A. On the other hand, the set {(1, 3, 2, −1), (−2, 2, 3, 2), (3, 1, 2, 4)} forms a basis
for the column space of A that only contains columns of A, but this is fine since there is
no restrictions on the basis of column space of A mentioned in the question.
2. To find a basis for the null space of A, we use the r.r.e.f. of A found in part(1) to find the
reduced homogenous system:
x1 + 2x3 + x5 = 0
x2 + x3 + x5 = 0
x4 − x5 = 0
CHAPTER 5 REVISION
Revision of Chapter 5 ... Have Fun :-)
1. Consider V = { (x, y) : xy = 0 } with the usual vector addition and scalar multiplication
in R2 . Is (V, +, ·) a vector space? Explain.
110 Chapter 5. Real Vector Spaces
Chapter
6 Diagonalization
Definition 6.1.1
Let A ∈ Mn×n . The real number λ is called an eigenvalue of A if there exists a nonzero vector
x ∈ Rn so that
Ax = λx x 6= 0.
In this case, x is called an eigenvector associated with λ. This is called the eigenproblem.
Note that if A is non-singular, then A−1 X = λ1 X.
1 −1 1
For example, let A = and x = . Then,
−1 1 −1
1 −1 1 2 1
Ax = = = 2 = 2x.
−1 1 −1 −2 −1
Therefore, λ = 2 is an eigenvalue of A associated with eigenvector x.
Definition 6.1.2
Remark 6.1.1
Ax = λx, x 6= 0,
λx − Ax = 0, x 6= 0,
(λIn − A)x = 0, x 6= 0,
111
112 Chapter 6. Diagonalization
|λIn − A| = 0 ⇐⇒ fA (λ) = 0.
Example 6.1.1
1 0 2
Let A =
1 0 0
. Find the eigenvalues and the associated eigenvectors.
0 0 −1
Solution:
for i = 1, 2, 3, as follows:
Example 6.1.2
Solution:
114 Chapter 6. Diagonalization
Therefore, A is singular.
Example 6.1.3
Show that if A is an upper (lower) triangular matrix, then the eigenvalues of A are the diagonal
entries.
Solution:
Let A = (aij ) where 1 ≤ i, j ≤ n be an upper triangular matrix, i.e. aij = 0 for all i > j. Recall
that the determinant of an upper triangular matrix is the product of its diagonal entries. Thus,
Therefore, λ1 = a11 , λ2 = a22 , · · · , λn = ann . Similar idea for the case of a lower triangular
matrix.
Example 6.1.4
Solution:
6.1. Eigenvalues and Eigenvectors 115
The characteristic polynomial of A is the same as that of AT , thus A and AT have the same
eigenvalues.
116 Chapter 6. Diagonalization
6.2 Diagonalization
Definition 6.2.1
1. A ≡ A since A = I −1 AI.
2. if B ≡ A, then A ≡ B.
3. if A ≡ B and B ≡ C, then A ≡ C.
Proof.
Therefore,
A = P −1 BP = P −1 Q−1 C QP = (QP )−1 C (QP ) ⇒ A ≡ C.
4. if A ≡ B, then A = B .
5. if A ≡ B, then AT ≡ B T .
6.2. Diagonalization 117
B = P −1 A P,
BT = (P −1 A P )T ,
BT = P T AT (P −1 )T ,
BT = P T AT (P T )−1 .
Theorem 6.2.1
Proof:
Let A and B be two similar n × n matrices. Then, there are P, P −1 such that B = P −1 A P .
Then,
fB (λ) = |λIn − B| = λIn − P −1 A P
−1
P (λP P −1 − A)P
=
✟
= |P✟
✟
−1
|P✚|
| |λIn − A| ✚
= |λIn − A|
= fA (λ).
Therefore, A and B have the same set of eigenvalues since they have the same characteristic
polynomial.
Definition 6.2.2
D = P −1 A P with |P | =
6 0.
Theorem 6.2.2
A matrix A has linearly independent eigenvectors if all of its eigenvalues are real and distinct.
Theorem 6.2.3
Example 6.2.1
1 0 2
Let A =
1 0 0
. If possible, find matrices P and D so that A is diagonalizable.
0 0 −1
Solution:
λ1 = −1, λ2 = 0, λ3 = 1,
−1 0 1
x1 = 1 , x2 = 1 , x3 = 1 .
1 0 0
Since, we have real and distinct eigenvalues, the eigenvectors x1 , x2 , and x3 are linearly inde-
pendent. Thus, A is diagonalizable and
−1 0 0 −1 0 1
D=
0 0
0 and P =
1 1
1 .
0 0 1 1 0 0
6.2. Diagonalization 119
Example 6.2.2
Solution:
λ(λ − 1)(λ − 1) = 0
for i = 1, 2, 3, as follows:
a−c = 0 ⇒ a = c,
120 Chapter 6. Diagonalization
−2c = 0.
At this point, we see that we have only one eigenvector associated to two eigenvalues. That is,
the eigenvectors are linearly dependent and there is no matrices P and D so that D = P −1 A P .
Thus, A is not diagonalizable.
Example 6.2.3
Solution:
λλ(λ − 1) = 0
for i = 1, 2, 3, as follows:
6.2. Diagonalization 121
−a = 0,
a = 0.
b = 0,
a+c = 0 ⇒ a = −c.
CHAPTER 6 REVISION
Revision of Chapter 6 ... Have Fun :-)
1 −5 1
1. Let A = −1 −3 2. Find the eigenvalues and the associated eigenvectors.
0 0 3
1 0 2
2. Let A =
0 2
0.
3 0 2
(a) Show that (0, 1, 0) is an eigenvector of A.
(b) Determine all the eigenvalues of A.
(c) Find, if possible, a nonsingular matrix P and a diagonal matrix D such that D =
P −1 AP .
0 2 −1
3. Let A =
1 −1
1.
0 0 1
(a) Show that (−1, 1, 0) is an eigenvector of A.
(b) Find the eigenvalues of A.
(c) Find the rank of the matrix A + 2 I3 .
(d) Is A diagonalizable? Explain.
10. (from the book) Let A and B be nonsingular n × n matrices. Show that AB −1 and B −1 A
have the same eigenvalues.
11. (from the book) If A and B are nonsingular matrices, then show that AB and BA are
similar.
12. (from the book) Show that if A is diagonalizable, then:
(a) AT is diagonalizable.
(b) Ak is diagonalizable, for any positive integer k.
124 Chapter 6. Diagonalization
Chapter
4 Vectors in Rn
Definition 4.1.1
Example 4.1.1
Solution:
i j k
1 2 2 2 2 1
x × y = 2 1
2 = i−
j+
k = i + 8j − 5k.
−1 −1 3 −1 3 −1
3 −1 −1
125
126 Chapter 4. Vectors in Rn
Remark 4.1.1
i
− −
i×i=0 j×j=0 k×k=0
+ +
i×j=k j×k=i k × j = −i +
k j
i × k = −j j × i = −k k×i=j
−
1. x × y = −y × x,
2. x × (y + z) = x × y + x × z,
3. (x + y) × z = x × z + y × z,
4. c x × y = x × c y = c (x × y),
5. x × x = 0,
6. x × 0 = 0 × x = 0,
7. x × (y × z) = (x · z)y − (x · y)z,
8. (x × y) × z = (x · z)y − (y · z)x.
Example 4.1.2
Solution:
Example 4.1.3
T #4
pg.263
Let x = x1 i + x2 j + x3 k, y = y1 i + y2 j + y3 k, and z = z1 i + z2 j + z3 k be in R3 . Show that
x1 x2 x3
(x × y) · z = y1 y2
y3 .
z1 z2 z3
Solution:
i j k
L.H.S. = (x × y) · z = x1
x2 x3 · (z1 i + z2 j + z3 k)
y1 y2 y3
x2 x3 x1 x3 j + x1 x2 k · (z1 i + z2 j + z3 k)
= i −
y2 y3 y1 y3 y1 y2
x2 x3 x1 x3 x1 x2
=
z1 −
z2 +
z3 = R.H.S.
y2 y3 y1 y3 y1 y2
Remark 4.1.2
Let x, y, z ∈ R3 . Then,
1. (x × y) · z = x · (y × z),
3. x · (y × x) = y · (y × x) = 0.
Example 4.1.4
Solution:
1. x · (y × z) = 6,
2. 2x · (y × z) = 12,
128 Chapter 4. Vectors in Rn
3. x · (z × y) = −6,
4. x · (y × 4x) = 0.
Example 4.1.5
x = 2i − j − 2k and y = 2i + j.
Solution:
The vector x × y is always orthogonal to both x and y. So, we compute that vector and make
its length equals to 12.
i j k
√
x × y = 2 −1
−2 = 2i − 4j + 4k and kx × yk = 4 + 16 + 16 = 6.
2 1 0
Therefore, 16 (x×y) is a unit vector and orthogonal to both x and y; while 12 1
6
(x×y) = 2(x×y)
is a vector of length 12 and orthogonal to both x and y.
Theorem 4.1.1
kx × yk = kxkkyk sin θ.
Proof:
x·y
By Equation 3.2.1, we have cos θ = kxkkyk
. That is, kxk2 kyk2 cos2 θ = (x · y)2 . Thus,
kx × yk2 = (x × y) · (x × y)
= x · [y × (x × y)]
= x · [(y · y)x − (y · x)y]
= (x · x)(y · y) − (x · y)(x · y)
= kxk2 kyk2 − (x · y)2
= kxk2 kyk2 − kxk2 kyk2 cos2 θ
4.1. The Cross Product in Rn 129
Note that sin θ is positive for 0 ≤ θ ≤ π. Taking the square root for both sides of the above
equation, we get
kx × yk = kxkkyk sin θ.
Let x, y, z ∈ R3 , then
π
1. x ⊥ y ⇐⇒ θ = 2
⇐⇒ sin θ = 1 ⇐⇒ kx × yk = kxkkyk,
2. x//y ⇐⇒ θ = 0 or π ⇐⇒ kx × yk = 0 ⇐⇒ x × y = 0,
3. Area of triangle:
1
A∆ = ah
2 kxk x
h
h
sin θ = θ
kxk y
=⇒ h = kxk sin θ and if kyk = a,
kyk = a
1 1
A∆ = kykkxk sin θ = kx × yk.
2 2
4. Area of parallel gram (two triangles):
A = kx × yk.
V olume = |x · (y × z)| .
y
z
x
130 Chapter 4. Vectors in Rn
Example 4.1.6
Find the area of the triangle with vertices: P1 (2, 2, 4), P2 (−1, 0, 5), and P3 (3, 4, 3).
Solution:
−−→ −−→
Let x = P1 P2 = P2 − P1 = (−3, −2, 1) and y = P1 P3 = P3 − P1 = (1, 2, −1). Then,
i j k
x×y = −3
−2 1
1 2 −1
−2 1
−3 1
−3 −2
=
i −
j +
k = 0i − 2j − 4k.
2 −1 1 −1 1 2
√ √ √ √
Therefore, kx × yk = 4 + 16 = 20 = 2 5 and A∆ = 12 kx × yk = 5.
Example 4.1.7
Find the volume of the parallel piped with a vertex at the origin and edges x = i − 2j + 3k,
y = i + 3j + k, and z = 2i + j + 2k.
Solution:
1 −2 3
Volume = x · (y × z) = (x × y) · z = 1
3 1
2 1 2
= 1(6 − 1) − 1(−4 − 3) + 2(−2 − 9) = 5 + 7 − 22 = | − 10| = 10.
4.1. The Cross Product in Rn 131
Exercise 4.1.1
1. Show that two nonzero vectors X and Y in R3 are parallel, if and only if, X × Y = 0.
2. If U and V are nonzero vectors in R3 such that k(2U ) × (2V )k = −4U · V , compute the
angle between U and V .
3. Find the area of the triangle whose vertices are P (1, 0, −1), Q(2, −1, 3) and R(0, 1, −2).
π
5. Let X and Y be two nonzero vectors in R3 , with angle θ = 3
between them. Find kX ×Y k,
if kXk = 3 and k − 2Y k = 4.
Definition 4.2.1
x
while the symmetric form of L is given by: O(0, 0, 0)
x − x0 y − y0 z − z0 z
t := = = .
a b c
Example 4.2.1
1. Find the parametric equation and the symmetric form of the line that passes through the
points P1 and P2 .
Solution:
−−→
1. Let U = P1 P2 = P2 − P1 = (−3, 2, 1) and let P0 = P1 be a fixed point on the line call it
4.2. Planes and Lines in R3 133
−6
−4 = 2 − 3t → t = −3
= 2,
4
2 = −2 + 2t → t = 2
= 2,
5 = 3 + t → t = 5 − 3 = 2.
Therefore, t = 2 and P3 lies on L. The same check can be done using symmetric form of
L.
Remark 4.2.1
Let U 1 = (a1 , b1 , c1 ) and U 2 = (a2 , b2 , c2 ) be two vectors associated with L1 and L2 so that
x − x1 y − y1 z − z1 x − x2 y − y2 z − z2
L1 : = = and L2 : = = . Then,
a1 b1 c1 a2 b2 c2
1. L1 ⊥ L2 ⇐⇒ U 1 ⊥ U 2 ⇐⇒ U 1 · U 2 = 0,
Example 4.2.2
Show that L1 : P1 (4, −1, 4) and U 1 = (1, 1, −3) and L2 : P2 (3, −1, 0) and U 2 = (2, 1, 1) intersect
orthogonally, and find the intersection point.
Solution:
134 Chapter 4. Vectors in Rn
L1 : x = 4 + t1 , y = −1 + t1 , and z = 4 − 3t1 ,
L2 : x = 3 + 2t2 , y = −1 + t2 , and z = t2 .
Definition 4.2.2
ax + by + cz + d = 0.
Remark 4.2.2
Assume that we want to find an equation of a plane Π containing three points P1 (x1 , y1 , z1 ),
P2 (x2 , y2 , z2 ), and P3 (x3 , y3 , z3 ), then we can use either of the following ways:
Example 4.2.3
Let P1 (2, −2, 1), P2 (−1, 0, 3), P3 (5, −3, 4), and P4 (4, −3, 7) be four points in R3 . Then,
2. Is P4 contained in Π? Explain.
Solution:
−−→ −−→
1. Let x = P1 P2 = P2 − P1 = (−3, 2, 2) and y = P1 P3 = P3 − P1 = (3, −1, 3). These
two vectors are contained in Π while N = x × y = (8, 15, −3) is a normal vector to Π.
Therefore, a general form of Π is 8(x − 2) + 15(y + 2) − 3(z − 1) = 0. The standard form
of Π is
8x + 15y − 3z + 17 = 0.
Remark 4.2.3
2. Π1 ⊥ Π2 ⇐⇒ N 1 ⊥ N 2 ⇐⇒ N 1 · N 2 = 0.
N1 N1
Π2
N2
Π1
N2
Π1 //Π2 Π1 ⊥ Π2
Example 4.2.4
Find the parametric equation of the intersection line of the two planes:
Π1 : x − y + 2z = 3 and Π2 : 2x + 4y − 2z = −6.
Solution:
We
form a non-homogenous
system
to solve for the parametric
equation
of the intersection
line:
1 −1 2 3 r2 −2r1 →r2 1 −1 2 3 16 r2 →r2 1 −1 2 3 r1 +r2 →r1
−−−−−−→ −−−−→ − −−−−−→
2 4 −2 −6 0 6 −6 −12 0 1 −1 −2
1 0 1 1
0 1 −1 −2
Therefore, the reduced system is:
x + z = 1 and y − z = −2.
Example 4.2.5
Find two equations of two planes whose intersection line is the line L:
Solution:
Remark 4.2.4
1. L ⊥ Π ⇐⇒ U //N ⇐⇒ U × N = 0 ⇐⇒ U = c N where c ∈ R,
2. L//Π ⇐⇒ U ⊥ N ⇐⇒ U · N = 0.
N1
N1
U
L
U
Π Π
L⊥Π L//Π
Example 4.2.6
Find a plane that passes through the point (2, 4, −3) and is parallel to the plane −2x + 4y −
5z + 6 = 0.
Solution:
138 Chapter 4. Vectors in Rn
Since the two planes parallel, we can choose the normal vector of the second plane. That is
N = (−2, 4, −5). Thus, the equation of the plane is
Example 4.2.7
Find a line that passes through the point (−2, 5, −3) and is perpendicular to the plane 2x −
3y + 4z + 7 = 0.
Solution:
The line L is perpendicular to our plane. So, it is parallel to its normal vector, so we can choose
the normal vector as U . That is U = (2, −3, 4) and hence the parametric equation of L is
x = −2 + 2t
y = 5 − 3t t∈R
z = −3 + 4t
Example 4.2.8
x−1 −y+4
Show that the plane Π : 6x − 4y + 2z = 0 and the line L : 3
= 2
= z − 5 intersect
orthogonally. Find the intersection point.
Solution:
Then, the normal vector of Π is N = (6, −4, 2) and the directional vector of L is U = (3, −2, 1).
Clearly, N = 2U which implies that N //U ⇐⇒ Π ⊥ L.
The intersection point with respect to L is
x = 1 + 3t
y = 4 − 2t t ∈ R
z = 5 + t
4.2. Planes and Lines in R3 139
Therefore, we get t = 0. Substituting this in the parametric equatio, we get the intersection
point as P (1, 4, 5).
140 Chapter 4. Vectors in Rn
Exercise 4.2.1
Π1 : x + y + z = 3, Π2 : x + 2y − 2z = 2k, and Π3 : x + k 2 z = 2.
Find all values of k for which the intersection of the three planes is a line.
[Hint: Any point on the intersection of the three planes must satisfies the three equa-
tions. This would give a system of three equation. This system must have infinitely many
solutions to describe a line.]
2. Consider the lines:
x+1 y+4 x−3 y−4 z−2
L1 : = = z − 1, and L2 : = = .
3 2 2 −4 2
(a) Show that L1 and L2 are perpendicular and find their point of intersection.
[Hint: (a) Show that U 1 · U 2 = 0 and then find a point satisfying both equations of x, y,
and z in terms of t1 and t2 , for instance. (b) Consider N = U 1 × U 2 .]
3. Let L be the line through the points P1 (−4, 2, −6) and P2 (1, 4, 3).
4. Find the parametric equations for the line L which passes through the points P (2, −1, 4)
and Q(4, 4, −2). For what value of k is the point R(k + 2, 14, −14) on the line L?
5. Find the point of intersection of the line x = 1 − t, y = 1 + t, z = t, and the plane
3x + y + 3z − 1 = 0.
6. Find the equations in symmetric form of line of intersection of planes:
Π1 : x + 2y − z = 2, and Π2 : 3x + 7y + z = 11.
L : x = 1 + 2t, y = 2 − t, z = 4 + 3t.
4.2. Planes and Lines in R3 141
CHAPTER 4 REVISION
Revision of Chapter 4 ... Have Fun :-)
(a) Show that L1 and L2 intersect and find their point of intersection.
(b) Find parametric equations of L3 which is perpendicular to both L1 and L2 and passes
through their point of intersection.
[Hint: (a) Show that U 1 × U 2 6= 0. Point of intersection is P (1, 0, −2). (b) Consider
U 3 = U 1 × U 2 which is orthogonal to both U 1 and U 2 .]
2. Find an equation of the plane Π through the point P (0, 1, 1) and containing the line
x = 1 + t, y = 1 + 2t, and z = −2 + 3t. [Hint: Consider the points Q(1, 1, −2) and
−→ −→
R(2, 3, 1) which are on the line. Then a normal vector of Π is P Q × P R.]
3. Find an equation of the plane Π passing throught the point (6, 0, 2) and is perpendicular
to the line L of intersection of the planes
Π1 : x + y + 2z = 4 and Π2 : 3x − 2y + z = 1.
x + 2y − z − 4 = 0 and 2x + 5y − 3z − 9 = 0.
5. (a) Find parametric equations for the line L1 which passes through the points P (1, 2, 3)
and Q(4, 3, 2).
x−1 y−3 z−2
(b) Does L1 intersect the line L2 : 2
= 1
= 3
? If so, find their point of intersection.
142 Chapter 4. Vectors in Rn
6. (a) Find an equation of the plane Π through the points P (2, 1, −2), Q(−1, 1, 0), and
R(3, −1, −1).
(b) Find all values of k for which the point (1, 1 − 2k, 3k − 1) lies on the plane Π.
7. Let P (2, −2, 1), Q(−1, 0, 3), R(5, −3, 2), and S(7, 17, −6) be points in R3 .
(a) Find an equation of the plane Π through P , Q, and R and show that S does not lie
on Π.
−→
(b) Find the point T on the plane Π such that the vector ST is orthogonal to Π. [Hint:
Find parametric equation for the line through S and perpendicular to Π.]
x−1 y+1 z
L1 : = = and L2 : x = 1 − t, y = 3 − 2t, z = 2 + 3t.
1 2 −3
(a) Find the area of the triangle whose vertices are A, B and C.
(b) Find parametric equations of the line L passing through the points B and C.
−−→
(c) Find an equation of the plane Π containing the point A and orthogonal to BC.
(d) Find the point of intersection, if any, between the line L and the plane Π.
addition inverse
closed, 66 additive, 14
additive
leading entry, 20
identity, 14
line, 132
inverse, 14
parametric equation, 132
adjoint, 56
linear combination, 8, 84
143
144 INDEX
unit, 3 solution
zero, 2 infinite, 22, 24
minor, 53 no, 22, 25
non-trivial, 22, 27
null space, 83, 101
trivial, 22, 26
nullity, 101
unique, 22, 23
parallel gram, 129 space
parallel piped, 129 null, 101
permutation, 43 solution of Ax = 0, 101
even, 43 span, 85
inversion, 43 spanned by, 88
odd, 43 spans, 88
sign, 43 standard form, 134
plane, 132, 134 subspace, 81
general form, 134 trivial, 81
standard form, 134 system
consistent, 27
rank, 103, 106
homogenous, 22, 26, 101
column, 103
inconsistent, 27
row, 103
non-homogenous, 22, 23
real vector space, 77
rearrangement, 43 triangle, 129
reduced row echelon form, 20 Triangle Inequality, 71
row equivalent, 21
vector, 1, 65, 125
row rank, 103
angle, 68
row space, 103
cross product, 125
scalar maltiplication, 5 directional, 132
scalar multiplication distance, 67
closed, 66 dot product, 66
similar, 116 head, 65
singularity, 106 length, 67
INDEX 145
norm, 67
normal, 134
orthogonal, 69
parallel, 69
perpendicular, 69
space, 77
tail, 65
unit, 72, 73