Aufgabe3.tex 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. \section*{Aufgabe 3}
  2. Die Jacobi-Matrix von $f$ lautet:
  3. \[f' (x,y) = \begin{pmatrix}
  4. 3 & \cos y\\
  5. 3 x^2 & e^y
  6. \end{pmatrix}\]
  7. Hierfür wurde in in der ersten Spalte nach $x$ abgeleitet und in der
  8. zweiten Spalte nach $y$.
  9. Eine Iteration des Newton-Verfahren ist durch
  10. \begin{align}
  11. x_{k+1}&=x_{k}\underbrace{-f'(x_k)^{-1}\cdot f(x_k)}_{\Delta x}
  12. \end{align}
  13. gegeben (vgl. Skript, S. 35).
  14. Zur praktischen Durchführung lösen wir
  15. \begin{align}
  16. f'(x_0, y_0)\Delta x &= -f(x_0,y_0)\\
  17. L \cdot \underbrace{R \cdot \Delta x}_{=: c} &= -f(x_0, y_0)
  18. \end{align}
  19. mit Hilfe der LR Zerlegung nach $\Delta x$ auf.
  20. \subsection*{Lösungsvorschlag 1 (Numerische Lösung)}
  21. \begin{align}
  22. %
  23. f'(x_0,y_0) &= L \cdot R \\
  24. \Leftrightarrow f'(-\nicefrac{1}{3}, 0) &= L \cdot R \\
  25. \Leftrightarrow \begin{pmatrix}
  26. 3 & 1\\
  27. \frac{1}{3} & 1
  28. \end{pmatrix}
  29. &=
  30. \overbrace{\begin{pmatrix}
  31. 1 & 0\\
  32. \frac{1}{9} & 1
  33. \end{pmatrix}}^{=: L} \cdot
  34. \overbrace{\begin{pmatrix}
  35. 3 & 1\\
  36. 0 & \frac{8}{9}
  37. \end{pmatrix}}^{=: R}\\
  38. %
  39. L \cdot c &= -f(x_0,y_0) \\
  40. \Leftrightarrow
  41. \begin{pmatrix}
  42. 1 & 0\\
  43. \frac{1}{9} & 1
  44. \end{pmatrix}
  45. \cdot c
  46. &= -
  47. \begin{pmatrix}
  48. 2\\
  49. \frac{26}{27}
  50. \end{pmatrix}\\
  51. \Rightarrow
  52. c &= \begin{pmatrix}
  53. -2\\
  54. -\frac{20}{27}
  55. \end{pmatrix}\footnotemark\\
  56. %
  57. R\cdot \Delta x &= c\\
  58. \Leftrightarrow
  59. \begin{pmatrix}
  60. 3 & 1\\
  61. 0 & \frac{8}{9}
  62. \end{pmatrix}
  63. \cdot \Delta x &=
  64. \begin{pmatrix}
  65. -2\\
  66. -\frac{20}{27}
  67. \end{pmatrix}\\
  68. \Rightarrow \Delta x &= \frac{1}{18}
  69. \begin{pmatrix}
  70. -7\\
  71. -15
  72. \end{pmatrix}
  73. \end{align}
  74. \footnotetext{Dieser Schritt wird durch Vorwärtssubsitution berechnet.}
  75. Anschließend berechnen wir
  76. \begin{align}
  77. \begin{pmatrix}
  78. x_1\\
  79. y_1
  80. \end{pmatrix} &=
  81. \begin{pmatrix}
  82. x_0\\
  83. y_0
  84. \end{pmatrix}+\Delta x \\
  85. \Leftrightarrow\begin{pmatrix}
  86. x_1\\
  87. y_1
  88. \end{pmatrix} &=
  89. \begin{pmatrix}
  90. -\frac{1}{3}\\
  91. 0
  92. \end{pmatrix} +
  93. \frac{1}{18}
  94. \begin{pmatrix}
  95. -7\\
  96. -15
  97. \end{pmatrix} \\
  98. \Leftrightarrow\begin{pmatrix}
  99. x_1\\
  100. y_1
  101. \end{pmatrix} &=
  102. \begin{pmatrix}
  103. -\nicefrac{13}{18}\\
  104. -\nicefrac{15}{18}
  105. \end{pmatrix}
  106. \end{align}
  107. \subsection*{Lösungsvorschlag 2 (Analytische Lösung)}
  108. LR-Zerlegung für $f'(x, y)$ kann durch scharfes hinsehen durchgeführt
  109. werden, da es in $L$ nur eine Unbekannte links unten gibt. Es gilt
  110. also ausführlich:
  111. \begin{align}
  112. \begin{pmatrix}
  113. 3 & \cos y\\
  114. 3 x^2 & e^y
  115. \end{pmatrix}
  116. &=
  117. \overbrace{\begin{pmatrix}
  118. 1 & 0\\
  119. l_{12} & 1
  120. \end{pmatrix}}^L \cdot
  121. \overbrace{\begin{pmatrix}
  122. r_{11} & r_{12}\\
  123. 0 & r_{22}
  124. \end{pmatrix}}^R\\
  125. \Rightarrow r_{11} &= 3\\
  126. \Rightarrow r_{12} &= \cos y\\
  127. \Rightarrow \begin{pmatrix}
  128. 3 & \cos y\\
  129. 3 x^2 & e^y
  130. \end{pmatrix}
  131. &=
  132. \begin{pmatrix}
  133. 1 & 0\\
  134. l_{12} & 1
  135. \end{pmatrix} \cdot
  136. \begin{pmatrix}
  137. 3 & \cos y\\
  138. 0 & r_{22}
  139. \end{pmatrix}\\
  140. \Rightarrow 3x^2 &\stackrel{!}{=} l_{12} \cdot 3 + 1 \cdot 0\\
  141. \Leftrightarrow l_{12} &= x^2\\
  142. \Rightarrow e^y &\stackrel{!}{=} x^2 \cdot \cos y + 1 \cdot r_{22}\\
  143. \Leftrightarrow r_{22} &= -x^2 \cdot \cos y + e^y\\
  144. \Rightarrow \begin{pmatrix}
  145. 3 & \cos y\\
  146. 3 x^2 & e^y
  147. \end{pmatrix}
  148. &=
  149. \begin{pmatrix}
  150. 1 & 0\\
  151. x^2 & 1
  152. \end{pmatrix} \cdot
  153. \begin{pmatrix}
  154. 3 & \cos y\\
  155. 0 & -x^2 \cdot \cos y + e^y
  156. \end{pmatrix}\\
  157. P &= I_2
  158. \end{align}