Für Vorlesungen, bitte die Webseite verwenden. https://flavigny.de/lecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
6.5KB

  1. \documentclass[uebung]{../../../lecture}
  2. \usepackage{gauss}
  3. \begin{document}
  4. \author{Leon Burgard, Christian Merten}
  5. \title{Einführung in die Numerik: Übungsblatt 3}
  6. \punkte
  7. \begin{aufgabe}
  8. \begin{enumerate}[a)]
  9. \item Einheitssphäre
  10. \begin{figure}[h!]
  11. \centering
  12. \begin{tikzpicture}[scale=2]
  13. \draw (-1.5,0) edge[-latex] (1.5,0) (0,-1.5) edge[-latex] (0,1.5);
  14. \draw (1, 0.1) -- (1, -0.1);
  15. \node at (1, -0.2) {$1$};
  16. \draw (0.1, 1) -- (-0.1, 1);
  17. \node at (-0.2, 1) {$1$};
  18. \draw[red] (0,0) circle (1);
  19. \draw[blue, rotate around={45:(0,0)}] (-1/1.41,-1/1.41) rectangle (1/1.41, 1/1.41);
  20. \draw[green, fill] (1,0) circle (0.02);
  21. \draw[green, fill] (0,1) circle (0.02);
  22. \draw[green, fill] (-1,0) circle (0.02);
  23. \draw[green, fill] (0,-1) circle (0.02);
  24. \node at (1.5, -0.2) {$x_1$};
  25. \node at (-0.2, 1.5) {$x_2$};
  26. \end{tikzpicture}
  27. \caption{Blau: $\Vert \cdot \Vert_1$, Rot: $\Vert \cdot \Vert_2$, Grün:
  28. $\Vert \cdot \Vert_{\infty}$}
  29. \end{figure}
  30. \item Sei $x \in \R^{n}$ beliebig. Dann ist
  31. \begin{align*}
  32. \Vert x \Vert_1 = \sum_{k=1}^{n} |x_k \cdot 1|
  33. \quad &\stackrel{\text{C.S.U.}}{\le } \quad
  34. \Vert x \Vert_2 \cdot \Vert 1 \Vert_2 = \sqrt{n} \Vert x \Vert_2 \\
  35. \Vert x \Vert_2 = \sqrt{\sum_{k=1}^{n} |x_k|^2}
  36. &\le \sqrt{\sum_{k=1}^{n} \Vert x_{\infty}\Vert^2}
  37. = \sqrt{n \Vert x\Vert_\infty^2} = \sqrt{n} \Vert x \Vert_{\infty}
  38. .\end{align*}
  39. Außerdem ist
  40. \begin{align*}
  41. &\Vert x \Vert_1 = \sum_{k=1}^{n} |x_k|
  42. = \Vert x \Vert_2 \left( \sum_{k=1}^{n} \underbrace{\frac{|x_k|}{\Vert x \Vert_2}}_{\le 1} \right)
  43. \ge \Vert x \Vert_2 \left( \sum_{k=1}^{n} \frac{|x_k|^{2}}{\Vert x \Vert_2^2} \right)
  44. = \Vert x \Vert_2 \frac{\Vert x \Vert_2^2}{\Vert_x \Vert_2^2} = \Vert x \Vert_2 \\
  45. &\Vert x \Vert_2 = \sqrt{\sum_{k=1}^{n} |x_k|^2} \ge \sqrt{\Vert x \Vert_{\infty}^2}
  46. = \Vert x \Vert_{\infty}
  47. .\end{align*}
  48. Damit folgt
  49. \begin{align*}
  50. &\Vert x \Vert_2 \le \Vert x \Vert_1 \le \sqrt{n} \Vert x \Vert_2 \\
  51. &\Vert x \Vert_\infty \le \Vert x \Vert_2 \le \sqrt{n} \Vert x \Vert_\infty
  52. .\end{align*}
  53. Die anderen Kombinationen folgen durch Multiplikation mit $\frac{1}{\sqrt{n}}$.
  54. Für $n \to \infty$ ist $\sqrt{n} \to \infty$.
  55. \end{enumerate}
  56. \end{aufgabe}
  57. \begin{aufgabe}
  58. \[
  59. f(x) = \frac{1 - \cos x}{x}
  60. .\]
  61. \begin{enumerate}[a)]
  62. \item Es ist
  63. \[
  64. \frac{\d f}{\d x} = \frac{x \sin x - 1 + \cos x}{x^2}
  65. .\] Damit folgt
  66. \[
  67. k = \frac{x \sin x - 1 + \cos x}{1 - \cos x}
  68. .\] Für $x = \frac{\pi}{2} + 2\pi k$ ist
  69. \[
  70. k = \frac{x - 1}{1} = x - 1 \xrightarrow{k \to \infty} \infty
  71. ,\] also $f$ schlecht konditioniert.
  72. \end{enumerate}
  73. \end{aufgabe}
  74. \begin{aufgabe}
  75. \begin{enumerate}[a)]
  76. \item Die Matrix ist eine $N-1\times N-1$ Matrix, da eine Gleichung für jeden Knoten
  77. bis auf den Referenzknoten existiert.
  78. \item Jeder Knoten hat entweder 2 (Ecken), 3 (Außenkanten) oder 4 (im Inneren) ein oder
  79. ausgehende Kanten. Die mit der Pumpe verbundenen Knoten, haben jeweils eine Kante mehr.
  80. Die zugehörigen Zeilen haben damit immer $1$ $+$ Anzahl der verbundenen Kanten Einträge ungleich
  81. $0$.
  82. \item Die Matrix ist quadratisch und hat vollen Rang und hat damit eine eindeutige Lösung, wenn
  83. $q_p \neq 0$.
  84. \item
  85. \begin{align*}
  86. \begin{pmatrix}
  87. 3 & -1 & 0 & -1 & 0 & 0 & 0 & 0 \\
  88. -1 & 2 & 0 & 0 & -1 & 0 & 0 & 0 \\
  89. 0 & 0 & 3 & -1 & 0 & -1 & 0 & 0 \\
  90. -1 & 0 & -1 & 4 & -1 & 0 & -1 & 0 \\
  91. 0 & -1 & 0 & -1 & 3 & 0 & 0 & -1 \\
  92. 0 & 0 & -1 & 0 & 0 & 2 & -1 & 0 \\
  93. 0 & 0 & 0 & -1 & 0 & -1 & 3 & -1 \\
  94. 0 & 0 & 0 & 0 & -1 & 0 & -1 & 2
  95. \end{pmatrix}
  96. \begin{pmatrix} p_1 \\ p_2 \\ p_3 \\ p_4 \\ p_5 \\ p_6 \\ p_7 \\ p_8 \end{pmatrix}
  97. =
  98. \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ q_p \end{pmatrix}
  99. .\end{align*}
  100. \end{enumerate}
  101. \end{aufgabe}
  102. \begin{aufgabe}
  103. \begin{enumerate}[a)]
  104. \item Sei $x \in \R^{n} \setminus \{0\}$. Dann ist
  105. \begin{align*}
  106. (A_s x, x)_2 &= \left( \frac{1}{2}Ax + \frac{1}{2}A^{T}x, x \right)_2
  107. = \frac{1}{2} (Ax, x) + \frac{1}{2} (A^{T}x, x)
  108. = \frac{1}{2} x^{T}A^{T}x + \frac{1}{2} x^{T}Ax \\
  109. &= \frac{1}{2} x^{T} A^{T} x + \frac{1}{2} \left( x^{T} (Ax) \right)^{T}
  110. = \frac{1}{2} x^{T}A^{T}x + \frac{1}{2} x^{T}A^{T}x
  111. = x^{T}A^{T}x
  112. = (Ax, x)_2
  113. .\end{align*}
  114. Damit folgt die Behauptung.
  115. \item Sei $X \subseteq \{1, 2, \ldots, n\} $ beliebig und $A_X$ nicht positiv definit. Dann
  116. ex. ein $\widetilde{x} \in \R^{|x|} \setminus \{0\} $ mit $A_X x \le 0$. Dann
  117. ergänze $\widetilde{x}$ zu $x \in \R^{n}$ mit
  118. \[
  119. x_i := \begin{cases}
  120. x_i & i \in X \\
  121. 0 & \text{sonst}
  122. \end{cases}
  123. .\] Dann ist $x^{T}Ax = \widetilde{x}^{T}A_X\widetilde{x} \le 0$, also ist $A$ nicht positiv
  124. definit.
  125. \item Mit (a) folgt: $A$ g.d. positiv definit, wenn
  126. \[
  127. A_S = \begin{pmatrix} 2 & - \frac{\alpha}{2} \\ - \frac{\alpha}{2} & 2 \end{pmatrix}
  128. .\] positiv definit ist. Dies ist mit dem Hauptminorenkriterium für symmetrische
  129. Matrizen g.d der Fall, wenn
  130. \begin{align*}
  131. &\begin{gmatrix}[v]
  132. 2 & - \frac{\alpha}{2} \\ - \frac{\alpha}{2} & 2
  133. \end{gmatrix}
  134. = 4 - \frac{\alpha^2}{4} > 0
  135. \\
  136. \iff &16 - \alpha^2 > 0 \\
  137. \iff &|\alpha| < 4
  138. .\end{align*}
  139. \end{enumerate}
  140. \end{aufgabe}
  141. \end{document}