Lady Windermere's Fan (mathematics)
In mathematics, Lady Windermere's Fan is a telescopic identity employed to relate global and local error of a numerical algorithm. The name is derived from Oscar Wilde's play Lady Windermere's Fan, A Play About a Good Woman.
Lady Windermere's Fan for a function of one variable
Let
be the exact solution operator so that:
with
denoting the initial time and
the function to be approximated with a given
.
Further let
,
be the numerical approximation at time
,
.
can be attained by means of the approximation operator
so that:
with 
The approximation operator represents the numerical scheme used. For a simple explicit forward euler scheme with step witdth
this would be: 
The local error
is then given by:
In abbreviation we write:
Then Lady Windermere's Fan for a function of a single variable
writes as:

with a global error of 
Explanation
![\begin{align}
y_N - y(t_N) &{}=
y_N - \underbrace{\prod_{j=0}^{N-1} \Phi(h_j)\ y(t_0) + \prod_{j=0}^{N-1} \Phi(h_j)\ y(t_0)}_{=0} - y(t_N) \\
&{}= y_N - \prod_{j=0}^{N-1} \Phi(h_j)\ y(t_0) + \underbrace{\sum_{n=0}^{N-1}\ \prod_{j=n}^{N-1} \Phi(h_j)\ y(t_n) - \sum_{n=1}^N\ \prod_{j=n}^{N-1} \Phi(h_j)\ y(t_n)}_{=\prod_{n=0}^{N-1} \Phi(h_n)\ y(t_n)-\sum_{n=N}^{N}\left[\prod_{j=n}^{N-1} \Phi(h_j)\right]\ y(t_n) = \prod_{j=0}^{N-1} \Phi(h_j)\ y(t_0) - y(t_N) } \\
&{}= \prod_{j=0}^{N-1}\Phi(h_j)\ y_0 - \prod_{j=0}^{N-1}\Phi(h_j)\ y(t_0) + \sum_{n=1}^N\ \prod_{j=n-1}^{N-1} \Phi(h_j)\ y(t_{n-1}) - \sum_{n=1}^N\ \prod_{j=n}^{N-1} \Phi(h_j)\ y(t_n) \\
&{}= \prod_{j=0}^{N-1}\Phi(h_j)\ (y_0-y(t_0)) + \sum_{n=1}^N\ \prod_{j=n}^{N-1} \Phi(h_j) \left[ \Phi(h_{n-1}) - E(h_{n-1}) \right] \ y(t_{n-1}) \\
&{}= \prod_{j=0}^{N-1}\Phi(h_j)\ (y_0-y(t_0)) + \sum_{n=1}^N\ \prod_{j=n}^{N-1} \Phi(h_j)\ d_n
\end{align}](../I/m/bc7f55646f3ce10a13b69cc12c084efb.png)
See also
| ||||||||||||||

![d_n:= D(\ h_{n-1},t_{n-1},y(t_{n-1}\ )\ y_{n-1} := \left[ \Phi(\ h_{n-1},t_{n-1},y(t_{n-1})\ ) - E(\ h_{n-1},t_{n-1},y(t_{n-1})\ ) \right]\ y_{n-1}](../I/m/ac46d54acaf51919ea767a68064eeda4.png)


