Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanvanLeeuwen committed Feb 12, 2024
1 parent c94aa40 commit 1ee8770
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
Binary file modified _images/what_is_1_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 21 additions & 21 deletions _sources/what_is.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions _sources/what_is.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ A typical seismic image depicting various earth layers.
The simplest example is when the underlying physics can be described by a simple scalar wave equation:

$$
p_{tt}(t,x) - c(x) \nabla p(t,x) = q(t,x), \quad x \in\Omega, \quad t\in [0,T]
\partial_t^2 p(t,x) - c(x) \nabla_x p(t,x) = q(t,x), \quad x \in\Omega, \quad t\in [0,T]
$$

where $p(t,x)$ denotes the *wavefield*, $c(x)$ is related the soundspeed and density of the medium and $q$ is a source term. The measurements are given by
where $p(t,x)$ denotes the *wave field*, $c(x)$ is related the sound speed and density of the medium and $q$ is a source term. The measurements are given by

$$
f_i(t) = p(t,x_i), \quad i \in \{1, 2, \ldots, m\}.
Expand Down Expand Up @@ -550,7 +550,7 @@ It is readily verified that we can find a (unique) solution by differentiation:

$$\|g\|_{L^{\infty}([0,1])} = \sup_{x\in[0,1]} |g(x)|.$$

1. Show that the *forward error* $f - f^{\delta}$ is bounded in the $L^{\infty}$ norm, in particular $\|f - f^{\delta}\|_{L^{\infty}([0,1])} = \delta$.
1. Show that the *forward error* $f - f^{\delta}$ is bounded in the $L^{\infty}$ norm, in particular $\|f - f^{\delta}\|_{L^{\infty}([0,1])} \leq \delta$.
2. Show that the *backward error* $u - u^{\delta}$ can be arbitrarily large, even if $\delta\downarrow 0$: $\|u - u^{\delta}\|_{L^{\infty}([0,1])} = k$.
3. Is the inverse problem ill-posed?

Expand All @@ -559,7 +559,7 @@ $$\|g\|_{L^{\infty}([0,1])} = \sup_{x\in[0,1]} |g(x)|.$$
1. Since $|\sin(\cdot)| \leq 1$ we immediately get the desired result.
2. By linearity we have $u - u^\delta = k \sin(k x)$ and we immediately find the desired result.
2. By linearity we have $u - u^\delta = k \cos(k x/\delta)$ and we immediately find the desired result.
3. This shows that the problem is *ill-conditioned*; a small forward error does not guarantee a small backward error, implying that the inverse map is not continuous.
```
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions what_is.html
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,9 @@ <h3><span class="section-number">1.1.4. </span>Seismic inversion<a class="header
<p>The simplest example is when the underlying physics can be described by a simple scalar wave equation:</p>
<div class="math notranslate nohighlight">
\[
p_{tt}(t,x) - c(x) \nabla p(t,x) = q(t,x), \quad x \in\Omega, \quad t\in [0,T]
\partial_t^2 p(t,x) - c(x) \nabla_x p(t,x) = q(t,x), \quad x \in\Omega, \quad t\in [0,T]
\]</div>
<p>where <span class="math notranslate nohighlight">\(p(t,x)\)</span> denotes the <em>wavefield</em>, <span class="math notranslate nohighlight">\(c(x)\)</span> is related the soundspeed and density of the medium and <span class="math notranslate nohighlight">\(q\)</span> is a source term. The measurements are given by</p>
<p>where <span class="math notranslate nohighlight">\(p(t,x)\)</span> denotes the <em>wave field</em>, <span class="math notranslate nohighlight">\(c(x)\)</span> is related the sound speed and density of the medium and <span class="math notranslate nohighlight">\(q\)</span> is a source term. The measurements are given by</p>
<div class="math notranslate nohighlight">
\[
f_i(t) = p(t,x_i), \quad i \in \{1, 2, \ldots, m\}.
Expand Down Expand Up @@ -1009,15 +1009,15 @@ <h3><span class="section-number">1.5.3. </span>Differentiation I<a class="header
<div class="math notranslate nohighlight">
\[\|g\|_{L^{\infty}([0,1])} = \sup_{x\in[0,1]} |g(x)|.\]</div>
<ol class="simple">
<li><p>Show that the <em>forward error</em> <span class="math notranslate nohighlight">\(f - f^{\delta}\)</span> is bounded in the <span class="math notranslate nohighlight">\(L^{\infty}\)</span> norm, in particular <span class="math notranslate nohighlight">\(\|f - f^{\delta}\|_{L^{\infty}([0,1])} = \delta\)</span>.</p></li>
<li><p>Show that the <em>forward error</em> <span class="math notranslate nohighlight">\(f - f^{\delta}\)</span> is bounded in the <span class="math notranslate nohighlight">\(L^{\infty}\)</span> norm, in particular <span class="math notranslate nohighlight">\(\|f - f^{\delta}\|_{L^{\infty}([0,1])} \leq \delta\)</span>.</p></li>
<li><p>Show that the <em>backward error</em> <span class="math notranslate nohighlight">\(u - u^{\delta}\)</span> can be arbitrarily large, even if <span class="math notranslate nohighlight">\(\delta\downarrow 0\)</span>: <span class="math notranslate nohighlight">\(\|u - u^{\delta}\|_{L^{\infty}([0,1])} = k\)</span>.</p></li>
<li><p>Is the inverse problem ill-posed?</p></li>
</ol>
<div class="hint dropdown admonition">
<p class="admonition-title">Answer</p>
<ol class="simple">
<li><p>Since <span class="math notranslate nohighlight">\(|\sin(\cdot)| \leq 1\)</span> we immediately get the desired result.</p></li>
<li><p>By linearity we have <span class="math notranslate nohighlight">\(u - u^\delta = k \sin(k x)\)</span> and we immediately find the desired result.</p></li>
<li><p>By linearity we have <span class="math notranslate nohighlight">\(u - u^\delta = k \cos(k x/\delta)\)</span> and we immediately find the desired result.</p></li>
<li><p>This shows that the problem is <em>ill-conditioned</em>; a small forward error does not guarantee a small backward error, implying that the inverse map is not continuous.</p></li>
</ol>
</div>
Expand Down

0 comments on commit 1ee8770

Please sign in to comment.