본문 바로가기

공부를 합니다/수학 (mathematics)

선형대수(HYU)_16 판별식의 공식

4.3 Formulas For the Determinant

첫 번째 formular는 이미 전에 언급이 되었다. Row operation으로 D의 pivot을 구했을 때:

A가 invertible하면 PA=LDU, detP=±1이다.
detA=± detL detD detU=± (product of the pivots)

  • ± 부호는 row exchange의 횟수에 따라 결정된다. (even or odd)
  • Triangular factor는 detL=detU=1이고
  • detD=d1dn

Example

[2112112112]=LDU=L[23/24/3(n+1)/n]U

  • 예시와 같은 matrix를 sparse matrix라고 한다.
  • detA=2(3/2)(4/3)(n+1/n)=n+1

Determinant의 property 1-3으로 부터 일반적으로 잘 알려진 n=2, n=3인 square matrix의 determinant formula를 도출해보자.

  • 우선, matrix의 row를 각 coordinate 방향의 vector로 분해한다.
    [ab]=[a0]+[0b]and[cd]=[c0]+[0d]
  • Property 1 (property of linearity)을 각 row에 적용한다.
    |abcd|=|a0cd|+|0bcd|=|a0c0|+|a00d|+|0bc0|+|0b0d|=adbc
    • 두 개의 row가 동일한 coordinate 방향에 있으면, 즉 column에 zero vector가 있으면 그 matrix의 determinant는 0이 된다.
    • Determinant가 0이 되지 않기 위해서는 nonzero term이 모두 다른 column에 있어야 한다.
  • n개의 nonzero determinant를 배분하는 방법은 n!개이다.
    • Example: 3 by 3 matrix의 경우 3!=6개의 determinants 존재
      |a11a12a13a21a22a23a31a23a33|=|a11a22a33|+|a12a23a31|+|a13a21a32|+|a11a23a32|+|a12a21a33|+|a13a22a31|
  • aij를 factoring out하면,
    |a11a12a13a21a22a23a31a23a33|=a11a22a33|111|+a12a23a31|111|+a13a21a32|111|+a11a23a32|111|+a12a21a33|111|+a13a22a31|111|=α,β,γa1αa2βa3γ(detPα,β,γ)

결과적으로 일반적인 n by n matrix의 determinants는
Big FormuladetA=all Ps(a1αa2βanν)detP

  • n by n matrix의 계산은 number (1,,n)이 이룰 수 있는 모든 n!개의 permutation (α,,ν)을 합산한다.
  • detP는 row exchange 횟수에 따라 짝수번이면 +1, 홀수번이면 1이 된다.

Property 3에 의하면 n by n matrix의 determinant는 first row인 a11,a12,,a1n에 depend하다.

  • 모든 (a1αa2βanν) term중 a11을 포함하는 경우를 생각해보자.

    • 첫 column(α=1)을 제외하면 남은 column은 (2,,n)이 이루는 순열 (β,,ν)이다.
    • 남은 term (a2βanν)을 하나의 coefficient로 합쳐 표현하면 위의 term을 a11C11와 같은 꼴로 나타낼 수 있다.
    • 이 때, a11의 coefficient C11은 row1과 column1이 제거된 sub-matrix의 determinant와 같다.

    Cofactor of a11C11=(a2βanν)detP=det(sub matrix of A)

  • 이와 같은 방식으로 모든 term을 나타내면
    Cofactors along row 1detA=a11C11+a12C12++a1nC1n=j=1naijCij

Example

For 3 by 3 cases

|a11a12a13a21a22a23a31a23a33|=|a11a22a23a23a33|+|a12a21a23a31a33|+|a13a21a22a31a23|=a11(a22a33a23a32)+a12(a23a31a21a33)+a13(a21a32a22a31)


Expansion of detA in Cofactors


  • 동일한 term에서 어떤 row나 column도 두 번 쓰일 수 없다.
  • Cofactor C1j를 만들 때 첫 번째 row와 j번째 column은 이미 aij가 차지하고 있다.
  • 이는 Cofactor C1j는 완전히 다른 column에만 연관(depend)이 있다는 것을 의미한다.
  • Cofactor를 만드는 submatrix M1j는 기존의 matrix에서 row1columnj를 제거해 만든다.

Cofactors of row 1C1j=(1)1+jdetM1j

이를 확장해서 다른 어떤 rowi에도 적용할 수 있다.

  • row 1row i를 exchange해서 증명 가능하다.

detA=ai1ci1+ai2Ci2++ainCinCij=(1)i+jdetMij


Exmaple

A4=[2100121001210012]

계산이 쉽도록 aij=0이 많은 i번째 row를 선택한다. 예시의 경우 row 1

detA4=2|210121012|(1)|110021012|=2|210121012||2112|=2detA3detA2=2(4)3=5

이 matrix에서는 A5,A6,An에서도 동일한 관계가 반복된다.

Recursion by cofactorsdetAn=2(detAn1)detAn2