-
[선형대수학] 행렬 연산 문제풀이수학과 공부이야기/선형대수학 2019. 9. 19. 19:45
1. Prove Theorem 2.2(i) : (AB)C=A(BC)(AB)C=A(BC).
pf) Let A=[aij]A=[aij], B=[bjk]B=[bjk], C=[ckl]C=[ckl], and let AB=S=[sik]AB=S=[sik], BC=T=[tjl]BC=T=[tjl]. Then
sik=m∑j=1aijbjksik=m∑j=1aijbjk and tjl=n∑k=1bjkckltjl=n∑k=1bjkckl
Multiplying S=AB by C, the il−entry of (AB)C is
si1c1l+si2c2l+⋯+sincnl=n∑k=1sikckl=n∑k=1m∑j=1(aijbjk)ckl
On the other hand, multiplying A by T=BC, the il−entry of A(BC) is
ai1t1l+ai2t2l+⋯+a∈tnl=m∑j=1aijtjl=m∑j=1n∑k=1aij(bjkckl)
The above sums are equal ; that is, corresponding elements in (AB)C=A(BC) are equal. Thus, (AB)C=A(BC).
2. Prove Theorem 2.2(ii): A(B+C)=AB+AC.
Let A=[aij], B=[bjk], C=[cjk], and let D=B+C=[djk], E=AB=[eik], F=AC=[fik]. Then
djk=bjk+cjk, eik=m∑j=1aijbjk, fik=m∑j=1aijcjk
Thus, the ik−entry of the matrix AB+AC is
eik+fik=m∑j=1aijbjk+m∑j=1aijcjk=m∑j=1aij(bjk+cjk)
On the other hand, the ik−entry of AD=A(B+C) is
ai1d1k+ai2d2k+⋯+aimtmk=m∑j=1aijdjk=m∑j=1aij(bjk+cjk)
Thus, A(B+C)=AB+AC, because the corresponding elements are equal.
3. Prove Theorem 2.3(iv): (AB)T=BTAT.
pf) Let A=[aik] and B=[bkl]. Then the ij−entry of AB is
ai1b1j+ai2b2j+⋯+aimbmj
This is the ji−entry (reverse order) of (AB)T. Now column j of B becomes row j of BT, and row i of A becomes column i of AT. Thus, the ij−entry of BTAT is
[b1j, b2j, ⋯, bmj][ai1, ai2, ⋯, aim]T=b1jai1+b2jai2+⋯+bmjaim
Thus, (AB)T=BTAT on because the corresponding entries are equal.
4. Let A=[134−3]
(a) Find a nonzero column vector u=[xy] such that Au=3u.
(b) Describe all such vectors.
sol)
(a) First set up the matrix equation Au=3u, and then write each side as a single matrix (column vector) as follows:
[134−3][xy]=3[xy] and then [x+3y4x−3y]=[3x3y]
Set the corresponding elements equal to each other to obtain a system of equations:
x+3y=3x4x−3y=3y
or
2x−3y=04x−6y=0
or
2x−3y=0
The system reduces to one nondegenerate linear equation in two unknowns, and so has an infinite number of solutions. To obtain a nonzero solution, let, say, y=2; then x=3. Thus, u=(3, 2)T is a desired nonzero vector.
(b) To find the general solution, set y=t, where t is a parameter. Substitute y=t into 2x−3y=0 to obtain x=32t. Thus, u=(32t, t)T represents all such solutions.
5. Let A and B be invertible matrices (with the same size). Show that AB is also invertible and (AB)−1=B−1A−1. [Thus, by induction, (A1A2⋯Am)−1=A−1m⋯A−12A−11. ]
sol) Using the associativity of matrix multiplication, we get
(AB)(B−1A−1)=A(BB−1)A−1=AIA−1=AA−1=I
(B−1A−1)(AB)=B−1(AA−1)B=B−1IB=B−1B=I
Thus, (AB)−1=B−1A−1
Diagonal and Triangular Matrices
A square matrix D=[dij] is diagonal if its nondiagonal entries are all zero. Such a matrix is sometimes denoted by D=diag(d11,d22,⋯,dnn)
6. Write out the diagonal matrices A=diag(4, −3, 7), B=diag(2, −6).
sol)
A=[4000−30007], B=[200−6]
7. Find a 2×2 matrix A such that A2 is diagonal but not A.
sol) Let A=[123−1]. Then A2=[7007], which is diagonal.
8. Let A=[aij] and B=[bij] upper triangular matrices. Prove that AB is upper triangular with diagonal a11b11, a22b22, ⋯, annbnn.
sol) Let AB=[cij]. Then cij=n∑k=1aikbkj and cii=n∑k=1aikbki. Suppose i>j. Then, for any k, either i>k or k>j, so that either aik=0 or bkj=0. Thus, cij=0, and AB is upper triangular. Suppose i=j. Then, for k<i, we have aik=0; and, for k>i, we have bki=0. Hence, cii=aiibii, as claimed. [This proves one part of Theorem 2.5(i); the statements for A+B and kA are left as exercises.]
9. Determine whether or not each of the following matrices is symmetric—that is, AT=A. or skew-symmetric—.that is, AT=−A:
(a) A=[5−71−78212−4]
(b) B=[04−3−4053−50]
(c) C=[000000]
(sol)
(a) By inspection, the symmetric elements (mirror images in the diagonal) are −7 and 7, 1 and 1, 2 and 2. Thus, A is symmetric, because symmetric elements are equal.
(b) By inspection, the diagonal elements are all 0, and the symmetric elements, 4 and −4, −3 and 3, and 5 and −5, are negatives of each other. Hence, B is skew-symmetric.
(c) Because C is not square, C is neither symmetric nor skew-symmetric.
Orthogonal Matrices
(정의) A real matrix A is orthogonal if AT=A−1. that is, if AAT=ATA=I. Thus, A must necessarily be square and invertible.
Generally speaking, vectors u1, u2, ⋯, um in Rn are said to form an orthonormal set of vectors if the vectors are unit vectors and are orthogonal to each other; that is,
ui⋅uj={0 (i≠j)1(i=j)
In other words, ui⋅uj=δij where δij is the Kronecker delta function:
THEOREM : Let A be a real matrix. Then the following are equivalent:
(a) A is orthogonal.
(b) The rows of A form an orthonormal set.
(c) The columns of A form an orthonormal set.
10. Let A be an arbitrary 2×2 (real) orthogonal matrix.
(a) Prove: If (a, b) is the first row of A, then a2+b2=1 and
A=[ab−ba] or A=[abb−a].
(b) Prove Theorem 2.7: For some real number θ,
A=[cosθsinθ−sinθcosθ] or A=[cosθsinθsinθ−cosθ]
(sol)
(a) Suppose (x, y) is the second row of A. Because the rows of A form an orthonormal set, we get
a2+b2=1, x2+y2=1, ax+by=0
Similarly, the columns form an orthogonal set, so
a2+x2=1, b2+y2=1, ab+xy=0
Therefore, x2=1−a2=b2, whence x=±b.
Case (i): x=b. Then b(a+y)=0, so y=−a.
Case (ii): x=−b. Then b(y−a)=0, so y=a.
This means, as claimed,
A=[ab−ba] or A=[abb−a].
(b) Because a2+b2=1, we have −1≤a≤1. Let a=cosθ. Then b2=1−cos2θ, so b=sinθ. This proves the theorem.
11. Find a 2×2 orthogonal matrix A whose first row is a (positive) multiple of (3, 4).
sol) Normalize (3, 4) to get (35, 45). Then, by Problem beyond,
A=[3545−4535] or A=[354545−35].
12. Find a 3×3 orthogonal matrix P whose first two rows are multiples of u1=(1, 1, 1) and u2=(0, −1, 1), respectively. (Note that, as required, u1 and u2 are orthogonal.)
sol)
First find a nonzero vector u3 orthogonal to u1 and u2 say (cross product) u3=u1×u2=(2, −1, −1). Let A be the matrix whose rows are u1, u2, u3 ; and let P be the matrix obtained from A by normalizing the rows of A. Thus,
A=[1110−112−1−1] and P=[1√31√31√30−1√21√22√6−1√6−1√6]
13. Suppose A is invertible. Show that if AB=AC, then B=C. Give an example of a nonzero matrix A such that AB=AC but B≠C.
(sol)
A=[1212], B=[0011], C=[2200]
14. Find 2×2 invertible matrices A and B such that A+B≠O and A+B is not invertible.
sol)
A=[1203], B=[4330]
15. Show (a) A is invertible if and only if AT is invertible.
(b) The operations of inversion and transpose commute; that is, (AT)−1=(A−1)T .
(c) If A has a zero row or zero column, then A is not invertible.
16. Suppose A is a square matrix. Show that
(a) A+AT is symmetric,
(b) A−AT is skew-symmetric,
(c) A=B+C, where B is symmetric and C is skew-symmetric.
17. Write A=[4513] as the sum of a symmetric matrix B and a skew-symmetric matrix C.
18. Suppose A and B are symmetric. Show that the following are also symmetric:
(a) A+B
(b) kA, for any scalar k
(c) A2
(d) An, for n>0
(e) f(A), for any polynomial f(x).
19. Find a 2×2 orthogonal matrix P whose first row is a multiple of
(a) (1, 2, 3) and (0, −2, 3)
(b) (1, 3, 1) and (1, 0, −1).
sol)
(a) [1/√142/√143/√140−2/√133/√1312/√157−3/√157−2/√157]
(b) [1/√113/√111/√111/√20−1/√23/√223/√223/√22]
20. Suppose A and B are orthogonal matrices. Show that AT, A−1, AB are also orthogonal.
21. Which of the following matrices are normal? A=[3−443], B=[1−223], C=[111011001].
sol) A, C
'수학과 공부이야기 > 선형대수학' 카테고리의 다른 글
[고급수학 중간고사] 증명문제 정리 (1) 2019.09.28 [선형대수학-일차변환] Linear Mappings (0) 2019.09.20 [행렬식] 행렬식의 성질과 문제풀이 (0) 2019.09.20 [선형대수학] 연립방정식과 Echelon Form 문제풀이 (0) 2019.09.19 2. 행렬식 (0) 2019.08.31