04 - Copy (2)
04 - Copy (2)
● A matrix B is symmetric if B = B′
○ What are some examples of symmetric matrices?
● Properties of transposes:
○ (A′ )′ = A
○ (A + B)′ = A′ + B′
○ (AB)′ = B′ A′
2 0 4 1 0
Example 2. Let A = [ ] and B = [ ]. Find (AB)′ and B′ A′ .
0 1 9 0 2
1
2 The inverse matrix
● Let’s start with some motivation
● Recall from the homework that we can write the partial market equilibrium model
Qd = Qs Qd − Qs =0
Qd = a − bP ⇔ Qd + bP = a
Qs = −c + dP Qs − dP = −c
using matrices as
⎡ 1 −1 0 ⎤ ⎡Q ⎤ ⎡ 0 ⎤
⎢ ⎥ ⎢ d⎥ ⎢ ⎥
⎢ ⎥⎢ ⎥ ⎢ ⎥
⎢ 1 0 b ⎥ ⎢ Qs ⎥ = ⎢ a ⎥
⎢ ⎥⎢ ⎥ ⎢ ⎥
⎢0 1 −d ⎥ ⎢ P ⎥ ⎢−c ⎥
⎣ ⎦⎣ ⎦ ⎣ ⎦
´¹¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¸¹¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¹ ¶ ´ ¸¹¶ ´¸¶
A x d
● It would be nice if we could write:
○ A−1 is also n × n
○ A−1 satisfies
● Properties of inverses:
2
1 0 1 6 1 0
Example 4. Let A = [ ], B = [ ], and C = [ ]. Test whether any of these matrices is the
12 3 1 8 −4 1/3
inverse of another.
○ (A−1 )−1 = A
○ (AB)−1 = B−1 A−1
○ (A′ )−1 = (A−1 )′
3
3 When is a matrix nonsingular? Linear dependence and independence
−1 1 3
Example 6. Graph the vectors v1 = [ ], v2 = [ ], v3 = [ ].
2 5 1
x2
7
x1
-3 -2 -1 1 2 3 4
-1
● A set of vectors v1 , . . . , v n is linearly dependent if and only if any one of them can be expressed as a
linear combination of the remaining vectors
● Special case: two vectors v1 and v2 are linearly dependent if and only if
4
Example 7. Are the vectors in Example 6 linearly dependent or linearly independent?
● Equivalently,
5
● In general: a square matrix is nonsingular if and only if its rows are linearly independent
○ Also: a square matrix is nonsingular if and only if its columns are linearly independent
⎡4 3 5 ⎤
⎢ ⎥
⎢ ⎥
Example 8. Show that A = ⎢ 1 0 2 ⎥ is singular.
⎢ ⎥
⎢8 6 10⎥
⎣ ⎦
⎡0 2 −1⎤⎥
⎢
⎢ ⎥
Example 9. Show that B = ⎢−3 −9 3 ⎥ is singular.
⎢ ⎥
⎢7 5 1 ⎥⎦
⎣
4 Next lesson...
● A systematic way of determining linear independence/dependence, nonsingularity, and solutions to
systems of linear equations