Aufgabe1.tex 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. \section*{Aufgabe 1}
  2. \subsection*{Teilaufgabe a}
  3. \textbf{Gegeben:}
  4. \[A =
  5. \begin{pmatrix}
  6. 3 & 15 & 13 \\
  7. 6 & 6 & 6 \\
  8. 2 & 8 & 19
  9. \end{pmatrix}\]
  10. \textbf{Aufgabe:} LR-Zerlegung von $A$ mit Spaltenpivotwahl
  11. \textbf{Lösung:}
  12. \begin{align*}
  13. &
  14. &
  15. A^{(0)} &= \begin{gmatrix}[p]
  16. 3 & 15 & 13 \\
  17. 6 & 6 & 6 \\
  18. 2 & 8 & 19
  19. \rowops
  20. \swap{0}{1}
  21. \end{gmatrix}
  22. &\\
  23. P^{(1)} &= \begin{pmatrix}
  24. 0 & 1 & 0\\
  25. 1 & 0 & 0\\
  26. 0 & 0 & 1
  27. \end{pmatrix},
  28. &
  29. A^{(1)} &= \begin{gmatrix}[p]
  30. 6 & 6 & 6 \\
  31. 3 & 15 & 13 \\
  32. 2 & 8 & 19
  33. \rowops
  34. \add[\cdot (-\frac{1}{2})]{0}{1}
  35. \add[\cdot (-\frac{1}{3})]{0}{2}
  36. \end{gmatrix}
  37. &\\
  38. L^{(1)} &= \begin{pmatrix}
  39. 1 & 0 & 0\\
  40. -\frac{1}{2} & 1 & 0\\
  41. -\frac{1}{3} & 0 & 1
  42. \end{pmatrix},
  43. &
  44. A^{(2)} &= \begin{gmatrix}[p]
  45. 6 & 6 & 6 \\
  46. 0 & 12 & 10 \\
  47. 0 & 6 & 17
  48. \rowops
  49. \add[\cdot (-\frac{1}{2})]{1}{2}
  50. \end{gmatrix}
  51. &\\
  52. L^{(2)} &= \begin{pmatrix}
  53. 1 & 0 & 0\\
  54. 0 & 1 & 0\\
  55. 0 & -\frac{1}{2} & 1
  56. \end{pmatrix},
  57. &
  58. A^{(3)} &= \begin{gmatrix}[p]
  59. 6 & 6 & 6 \\
  60. 0 & 12 & 10 \\
  61. 0 & 0 & 12
  62. \end{gmatrix}
  63. \end{align*}
  64. Es gilt:
  65. \begin{align}
  66. L^{(2)} \cdot L^{(1)} \cdot \underbrace{P^{(1)}}_{=: P} \cdot A^{0} &= \underbrace{A^{(3)}}_{=: R}\\
  67. \Leftrightarrow P A &= (L^{(2)} \cdot L^{(1)})^{-1} \cdot R \\
  68. \Rightarrow L &= (L^{(2)} \cdot L^{(1)})^{-1}\\
  69. &= \begin{pmatrix}
  70. 1 & 0 & 0\\
  71. \frac{1}{2} & 1 & 0\\
  72. \frac{1}{3} & \frac{1}{2} & 1
  73. \end{pmatrix}
  74. \end{align}
  75. Nun gilt: $P A = L R = A^{(1)}$ (Kontrolle mit \href{http://www.wolframalpha.com/input/?i=%7B%7B1%2C0%2C0%7D%2C%7B0.5%2C1%2C0%7D%2C%7B1%2F3%2C0.5%2C1%7D%7D*%7B%7B6%2C6%2C6%7D%2C%7B0%2C12%2C10%7D%2C%7B0%2C0%2C12%7D%7D}{Wolfram|Alpha})
  76. \subsection*{Teilaufgabe b}
  77. \textbf{Gegeben:}
  78. \[A =
  79. \begin{pmatrix}
  80. 9 & 4 & 12 \\
  81. 4 & 1 & 4 \\
  82. 12 & 4 & 17
  83. \end{pmatrix}\]
  84. \textbf{Aufgabe:} $A$ auf positive Definitheit untersuchen, ohne Eigenwerte zu berechnen.
  85. \textbf{Vorüberlegung:}
  86. Eine Matrix $A \in \mathbb{R}^{n \times n}$ heißt positiv definit $\dots$
  87. \begin{align*}
  88. \dots & \Leftrightarrow \forall x \in \mathbb{R}^n \setminus \Set{0}: x^T A x > 0\\
  89. & \Leftrightarrow \text{Alle Eigenwerte sind größer als 0}
  90. \end{align*}
  91. Falls $A$ symmetrisch ist, gilt:
  92. \begin{align*}
  93. \text{$A$ ist positiv definit} & \Leftrightarrow \text{alle führenden Hauptminore von $A$ sind positiv}\\
  94. & \Leftrightarrow \text{es gibt eine Cholesky-Zerlegung $A=GG^T$}\\
  95. \end{align*}
  96. \subsubsection*{Lösung 1: Hauptminor-Kriterium}
  97. \begin{align}
  98. \det(A_1) &= 9 > 0\\
  99. \det(A_2) &=
  100. \begin{vmatrix}
  101. 9 & 4 \\
  102. 4 & 1 \\
  103. \end{vmatrix} = 9 - 16 < 0\\
  104. &\Rightarrow \text{$A$ ist nicht positiv definit}
  105. \end{align}
  106. \subsubsection*{Lösung 2: Cholesky-Zerlegung}
  107. \begin{align}
  108. l_{11} &= \sqrt{a_{11}} = 3\\
  109. l_{21} &= \frac{a_{21}}{l_{11}} = \frac{4}{3}\\
  110. l_{31} &= \frac{a_{31}}{l_{11}} = \frac{12}{3} = 4\\
  111. l_{22} &= \sqrt{a_{22} - {l_{21}}^2} = \sqrt{1 - \frac{16}{9}}= \sqrt{-\frac{7}{9}} \notin \mathbb{R}\\
  112. & \Rightarrow \text{Es ex. keine Cholesky-Zerlegung, aber $A$ ist symmetrisch}\\
  113. & \Rightarrow \text{$A$ ist nicht positiv definit}
  114. \end{align}