mirror of
https://github.com/janishutz/eth-summaries.git
synced 2025-11-25 02:24:23 +00:00
[NumCS] Start Chapter 6.1, fix some errors
This commit is contained in:
Binary file not shown.
@@ -144,4 +144,11 @@ Moral of the story: Use descriptive variable names and do NOT use $t$, $tt$, $tt
|
|||||||
\input{parts/02_quadrature/06_reduction-of-variance.tex}
|
\input{parts/02_quadrature/06_reduction-of-variance.tex}
|
||||||
|
|
||||||
|
|
||||||
|
% ── Nullstellen ─────────────────────────────────────────────────────
|
||||||
|
\newsection
|
||||||
|
\section{Nullstellensuche}
|
||||||
|
\input{parts/03_zeros/00_intro.tex}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
% ┌ ┐
|
||||||
|
% │ AUTHOR: Janis Hutz<info@janishutz.com> │
|
||||||
|
% └ ┘
|
||||||
|
|
||||||
\newsection
|
\newsection
|
||||||
\subsection{Adaptive Quadratur}
|
\subsection{Adaptive Quadratur}
|
||||||
Der lokale Fehler einer zusammengesetzten Quadraturformel auf dem Gitter $\mathcal{M} := \{ a = x_0 < x_1 < \dots < x_m = b \}$ ist (für $f \in C^2([a, b])$):
|
Der lokale Fehler einer zusammengesetzten Quadraturformel auf dem Gitter $\mathcal{M} := \{ a = x_0 < x_1 < \dots < x_m = b \}$ ist (für $f \in C^2([a, b])$):
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
% ┌ ┐
|
||||||
|
% │ AUTHOR: Janis Hutz<info@janishutz.com> │
|
||||||
|
% └ ┘
|
||||||
|
|
||||||
\newsectionNoPB
|
\newsectionNoPB
|
||||||
\subsection{Quadratur in $\R^d$ und dünne Gitter}
|
\subsection{Quadratur in $\R^d$ und dünne Gitter}
|
||||||
Eine einfache Option wäre natürlich, zwei eindimensionale Quadraturformeln aneinander zu hängen.
|
Eine einfache Option wäre natürlich, zwei eindimensionale Quadraturformeln aneinander zu hängen.
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
% ┌ ┐
|
||||||
|
% │ AUTHOR: Janis Hutz<info@janishutz.com> │
|
||||||
|
% └ ┘
|
||||||
|
|
||||||
\newsection
|
\newsection
|
||||||
\newcommand{\tsigma}{\tilde{\sigma}}
|
\newcommand{\tsigma}{\tilde{\sigma}}
|
||||||
\subsection{Monte-Carlo Quadratur}
|
\subsection{Monte-Carlo Quadratur}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
% ┌ ┐
|
||||||
|
% │ AUTHOR: Janis Hutz<info@janishutz.com> │
|
||||||
|
% └ ┘
|
||||||
|
|
||||||
\newsection
|
\newsection
|
||||||
\subsection{Methoden zur Reduktion der Varianz}
|
\subsection{Methoden zur Reduktion der Varianz}
|
||||||
% NOTE: Mostly from TA slides, as the script is quite convoluted there
|
% NOTE: Mostly from TA slides, as the script is quite convoluted there
|
||||||
|
|||||||
48
semester3/numcs/parts/03_zeros/00_intro.tex
Normal file
48
semester3/numcs/parts/03_zeros/00_intro.tex
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
% ┌ ┐
|
||||||
|
% │ AUTHOR: Janis Hutz<info@janishutz.com> │
|
||||||
|
% └ ┘
|
||||||
|
|
||||||
|
\subsection{Iterative Verfahren}
|
||||||
|
\inlinedef Ein iteratives Verfahren ist ein Algorithmus $\phi_F$, der die Folge $x^{(0)}, x^{(1)}, \ldots$ von approximativen Lösungen $x^{(j)}$ generiert.
|
||||||
|
Die Definition ist dabei rekursiv: $x^{(k)} := \phi_F(x^{(k - 1)})$, sofern $x^{(0)}$ und $\phi$ gegeben sind.
|
||||||
|
|
||||||
|
\setLabelNumber{all}{5}
|
||||||
|
\fancydef{Konvergenz} $\phi_F$ zur Lösung $F(x^*) = 0$ konvergiert, wenn $x^{(k)} \rightarrow x^*$, mit $x^*$ der gesuchte Wert.
|
||||||
|
|
||||||
|
\setLabelNumber{all}{8}
|
||||||
|
\fancydef{Norm}
|
||||||
|
|
||||||
|
\innumpy haben wir \texttt{numpy.linalg.norm}, welches zwei Argumente nimmt. Dabei ist das erste Argument der Vektor und das Zweite die Art der Norm.
|
||||||
|
Ohne zweites Argument wird die Euklidische Norm $||x||_2$, mit Argument $1$ wird die $1$-Norm $||x||_1 := |x_1| + \ldots + |x_n|$
|
||||||
|
und mit mit \texttt{inf} als Argument wird die $\infty$-Norm, bzw die Max-Norm $||x||_\infty := \max\{ |x_1|, \ldots, |x_n| \}$ berechnet.
|
||||||
|
|
||||||
|
\stepLabelNumber{all}
|
||||||
|
\inlinedef Zwei Normen $||\cdot||_1$ und $||\cdot||_2$ sind äquivalent auf $\cV$, falls es Konstanten $\underline{C}$ und $\overline{C}$ gibt so dass
|
||||||
|
\rmvspace
|
||||||
|
\begin{align*}
|
||||||
|
\underline{C} \cdot ||v||_1 \leq ||v||_2 \leq \overline{C} \cdot ||v||_1 \mediumhspace \forall v \in \cV, \text{ mit } \cV \text{ ein linearer Raum}
|
||||||
|
\end{align*}
|
||||||
|
|
||||||
|
\drmvspace
|
||||||
|
\inlinetheorem Falls $\dim(\cV) < \infty$, dann sind alle Normen auf $\cV$ äquivalent
|
||||||
|
|
||||||
|
\stepLabelNumber{all}
|
||||||
|
\fancydef{Lineare Konvergenz} $x^{(k)}$ konvergiert linear gegen $x^*$, falls es ein $L < 1$ gibt, so dass
|
||||||
|
\rmvspace
|
||||||
|
\begin{align*}
|
||||||
|
||x^{(k + 1)} - x^*|| \leq L||x^{(k)} - x^*|| \smallhspace \forall k \geq k_0, \smallhspace L \text{ gennant Konvergenzrate }
|
||||||
|
\end{align*}
|
||||||
|
|
||||||
|
\drmvspace\stepLabelNumber{all}
|
||||||
|
\fancydef{Konvergenzordnung} $p$ für das Verfahren, falls es ein $C > 0$ gibt, so dass
|
||||||
|
\rmvspace
|
||||||
|
\begin{align*}
|
||||||
|
||x^{(k + 1)} - x^*|| \leq C||x^{(k)} - x^*||^p \smallhspace \forall k \in \N \text{ mit } C < 1 \text{ für } p = 1
|
||||||
|
\end{align*}
|
||||||
|
|
||||||
|
\drmvspace
|
||||||
|
Wir nehmen dabei an, dass $||x^{(0)} - x^*|| < 1$, damit wir eine konvergente Folge haben.
|
||||||
|
|
||||||
|
\numberingOff
|
||||||
|
\inlineremark Eine höhere Konvergenzordnung ist in Lin-Log-Skala an einer gekrümmten Konvergenzkurve erkennbar.
|
||||||
|
\numberingOn
|
||||||
Reference in New Issue
Block a user