2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/Numerik/Klausur1/Aufgabe3.tex

179 lines
3.7 KiB
TeX
Raw Normal View History

2013-09-10 05:50:43 +02:00
\section*{Aufgabe 3}
2013-09-18 22:58:26 +02:00
Die Jacobi-Matrix von $f$ lautet:
\[f' (x,y) = \begin{pmatrix}
3 & \cos y\\
3 x^2 & e^y
\end{pmatrix}\]
2013-09-18 22:58:26 +02:00
Hierfür wurde in in der ersten Spalte nach $x$ abgeleitet und in der
zweiten Spalte nach $y$.
2013-09-19 16:31:39 +02:00
\subsection*{Lösungsvorschlag 1 (Numerische Lösung)}
2013-09-19 16:01:17 +02:00
Eine Iteration des Newton-Verfahren ist durch
2013-09-19 15:31:31 +02:00
\begin{align}
x_{k+1}&=x_{k}-f'(x_k)^{-1}\cdot f(x_k)
\end{align}
2013-09-19 16:01:17 +02:00
gegeben (vgl. Skript, S. 35).
2013-09-19 15:31:31 +02:00
2013-09-19 16:01:17 +02:00
Zur praktischen Durchführung lösen wir
2013-09-19 16:31:39 +02:00
\begin{align}
f'(x_0, y_0)\Delta x &= -f(x_0,y_0)\\
L \cdot \underbrace{R \cdot \Delta x}_{=: c} &= -f(x_0, y_0)
\end{align}
2013-09-19 16:01:17 +02:00
mit Hilfe der LR Zerlegung nach $\Delta x$ auf:
2013-09-19 15:31:31 +02:00
\begin{align}
%
f'(x_0,y_0) &= L \cdot R \\
2013-09-19 16:01:17 +02:00
\Leftrightarrow f'(-\nicefrac{1}{3}, 0) &= L \cdot R \\
2013-09-19 15:31:31 +02:00
\Leftrightarrow \begin{pmatrix}
3 & 1\\
\frac{1}{3} & 1
\end{pmatrix}
&=
\overbrace{\begin{pmatrix}
1 & 0\\
\frac{1}{9} & 1
2013-09-19 16:01:17 +02:00
\end{pmatrix}}^{=: L} \cdot
2013-09-19 15:31:31 +02:00
\overbrace{\begin{pmatrix}
3 & 1\\
0 & \frac{8}{9}
2013-09-19 16:01:17 +02:00
\end{pmatrix}}^{=: R}\\
2013-09-19 15:31:31 +02:00
%
L \cdot c &= -f(x_0,y_0) \\
\Leftrightarrow
\begin{pmatrix}
1 & 0\\
\frac{1}{9} & 1
\end{pmatrix}
\cdot c
2013-09-19 16:31:39 +02:00
&= -
2013-09-19 15:31:31 +02:00
\begin{pmatrix}
2013-09-19 16:31:39 +02:00
2\\
2013-09-19 15:31:31 +02:00
\frac{26}{27}
\end{pmatrix}\\
\Rightarrow
2013-09-19 16:01:17 +02:00
c &= \begin{pmatrix}
2013-09-19 15:31:31 +02:00
-2\\
2013-09-19 16:31:39 +02:00
-\frac{26}{27}
2013-09-19 16:01:17 +02:00
\end{pmatrix}\footnotemark\\
2013-09-19 15:31:31 +02:00
%
R\cdot \Delta x &= c\\
\Leftrightarrow
\begin{pmatrix}
3 & 1\\
0 & \frac{8}{9}
\end{pmatrix}
\cdot \Delta x &=
\begin{pmatrix}
-2\\
2013-09-19 16:31:39 +02:00
-\frac{26}{27}
2013-09-19 15:31:31 +02:00
\end{pmatrix}\\
2013-09-19 16:31:39 +02:00
\Rightarrow \Delta x &= \frac{1}{36}
2013-09-19 15:31:31 +02:00
\begin{pmatrix}
2013-09-19 16:31:39 +02:00
-11\\
-39
2013-09-19 15:31:31 +02:00
\end{pmatrix}
\end{align}
2013-09-19 16:01:17 +02:00
\footnotetext{Dieser Schritt wird durch Vorwärtssubsitution berechnet.}
2013-09-19 15:31:31 +02:00
Anschließend berechnen wir
\begin{align}
\begin{pmatrix}
x_1\\
y_1
\end{pmatrix} &=
\begin{pmatrix}
x_0\\
y_0
\end{pmatrix}+\Delta x \\
\Leftrightarrow\begin{pmatrix}
x_1\\
y_1
\end{pmatrix} &=
\begin{pmatrix}
2013-09-19 16:31:39 +02:00
-\frac{1}{3}\\
2013-09-19 15:31:31 +02:00
0
\end{pmatrix} +
2013-09-19 16:31:39 +02:00
\frac{1}{36}
2013-09-19 15:31:31 +02:00
\begin{pmatrix}
2013-09-19 16:31:39 +02:00
-11\\
-39
2013-09-19 15:31:31 +02:00
\end{pmatrix} \\
\Leftrightarrow\begin{pmatrix}
x_1\\
y_1
\end{pmatrix} &=
\begin{pmatrix}
2013-09-19 16:31:39 +02:00
-\nicefrac{23}{36}\\
-\nicefrac{39}{36}
2013-09-19 15:31:31 +02:00
\end{pmatrix}
\end{align}
2013-09-19 16:31:39 +02:00
\subsection*{Lösungsvorschlag 2 (Analytische Lösung)}
2013-09-18 22:58:26 +02:00
Und jetzt die Berechnung %TODO: Was ist hiermit gemeint?
2013-09-18 22:58:26 +02:00
\[f'(x, y) \cdot (x_0, y_0) = f(x,y)\] %TODO: Was ist hiermit gemeint?
2013-09-13 18:51:12 +02:00
LR-Zerlegung für $f'(x, y)$ kann durch scharfes hinsehen durchgeführt
werden, da es in $L$ nur eine unbekannte (links unten) gibt. Es gilt
also ausführlich:
\begin{align}
2013-09-13 18:51:12 +02:00
\begin{pmatrix}
3 & \cos y\\
3 x^2 & e^y
\end{pmatrix}
&=
\overbrace{\begin{pmatrix}
1 & 0\\
l_{12} & 1
\end{pmatrix}}^L \cdot
\overbrace{\begin{pmatrix}
r_{11} & r_{12}\\
0 & r_{22}
\end{pmatrix}}^R\\
\Rightarrow r_{11} &= 3\\
\Rightarrow r_{12} &= \cos y\\
\Rightarrow \begin{pmatrix}
3 & \cos y\\
3 x^2 & e^y
\end{pmatrix}
&=
\begin{pmatrix}
1 & 0\\
l_{12} & 1
\end{pmatrix} \cdot
\begin{pmatrix}
3 & \cos y\\
0 & r_{22}
\end{pmatrix}\\
\Rightarrow 3x^2 &\stackrel{!}{=} l_{12} \cdot 3 + 1 \cdot 0\\
\Leftrightarrow l_{12} &= x^2\\
\Rightarrow e^y &\stackrel{!}{=} x^2 \cdot \cos y + 1 \cdot r_{22}\\
\Leftrightarrow r_{22} &= -x^2 \cdot \cos y + e^y\\
\Rightarrow \begin{pmatrix}
3 & \cos y\\
3 x^2 & e^y
\end{pmatrix}
&=
\begin{pmatrix}
1 & 0\\
x^2 & 1
\end{pmatrix} \cdot
\begin{pmatrix}
3 & \cos y\\
0 & -x^2 \cdot \cos y + e^y
\end{pmatrix}\\
2013-09-19 16:31:39 +02:00
P &= I_2
2013-09-18 22:58:26 +02:00
\end{align}
2013-09-19 16:31:39 +02:00
TODO: Eigentlich sollten sich ab hier die Lösungsvorschläge gleichen\dots
2013-09-18 22:58:26 +02:00
Es folgt:
\begin{align}
-f ( \nicefrac{-1}{3}, 0) &= \begin{pmatrix} -2\\ -\frac{26}{27}\end{pmatrix}\\
2013-09-19 16:31:39 +02:00
c &= \begin{pmatrix} 2\\ \nicefrac{82}{27} \end{pmatrix}\\ %TODO: Was ist c?
(x_1, y_1) &= \begin{pmatrix} \nicefrac{5}{3}\\ \nicefrac{82}{27}\end{pmatrix}
\end{align}