Approximation methods

Discrete equation open_in_new

Discrete solution of a differential equation open_in_new

Consider discretising the equation at points $\se{x_n}$ spaced by $h$ and take $y_n = y(x_n)$. We can estimate the derivative by the forward Euler scheme $$ \frac{dy}{dx}\Big|_{x_n} \approx \frac{y_{n+1} - y_n}{h}. $$

For second-order derivative, $$\begin{align*} \frac{d^2y}{dx^2}\Big|_{x_n} &\approx \frac{dy/dx\big|_{x_{n+1}} - dy/dx\big|_{x_n}}{h} \\ &= \frac{y_{n+2} - 2y_{n+1} + y_n}{h^2}. \end{align*}$$

Example of a discrete solution

Second-order linear discrete equations with constant coefficients open_in_new

Consider the equation $$ ay_{n+2} + by_{n+1} + cy_n = f_n. $$

The complementary function has the form $y_n^{(c)} = k^n$ where the characteristic equation is $$ ak^2 + bk + c = 0. $$

  • If the roots $k_1 \neq k_2$, then $$ y_n^{(c)} = Ak_1^n + Bk_2^n. $$

  • If the roots $k_1 = k_2 = k$, then $$ y_n^{(c)} = (A + Bn) k^n. $$

Example (Fibonacci sequence)

For particular integral, guess the following:

$f_n$

$y_n^{(p)}$

$k^n$

$Ak^n$ if not complementary

$k^n$

$Ank^n$ if complementary

$n^p$

degree $p$ polynomial in $n$

Series solution open_in_new

We may focus on looking for solutions that can be written as a power series $$ y(x) = \sum_{n=0}^\infty a_n x^n. $$

Example of a series solution

Series solution of second-order linear ODE open_in_new

For $$ p(x) y'' + q(x) y' + r(x) y = 0, $$ we seek for a series solution around $x_0$.

Classification of singular points open_in_new

Definition (ordinary and singular point) open_in_new

If $q(x)/p(x)$ and $r(x)/p(x)$ are analytic at $x=x_0$, i.e. have Taylor series around $x=x_0$, then $x=x_0$ is called an ordinary point. Otherwise it is a singular point.

Definition (regular and irregular singular point) open_in_new

Suppose $x=x_0$ is a singular point. If the equation can be written as $$ P(x) (x-x_0)^2 y'' + Q(x) (x-x_0) y' + R(x) y = 0 $$ where $Q(x)/P(x)$ and $R(x)/P(x)$ are analytic at $x=x_0$, then $x=x_0$ is a regular singular point. Otherwise it is an irregular singular point.

Equivalently, $x=x_0$ is a regular singular point iff $$ \frac{(x-x_0) q(x)}{p(x)}\quad\text{and}\quad\frac{(x-x_0)^2 r(x)}{p(x)} $$ are analytic at $x=x_0$.

Example (regular singular point), Example (irregular singular point)

Theorem (Fuchs' theorem) open_in_new

If $x=x_0$ is an...

then there are...

solutions

convergent in some neighbourhood of $x_0$.

ordinary point

two linearly independent

power series solutions $$ y(x) = \sum_{n=0}^\infty a_n(x-x_0)^n $$

regular singular point

at least one

Frobenius series solution $$\begin{align*} y(x) &= \sum_{n=0}^\infty a_n(x-x_0)^{n+\sigma} \\ &= (x-x_0)^\sigma\sum_{n=0}^\infty a_n(x-x_0)^n \end{align*}$$ where $\sigma\in\R$ and $a_0\neq 0$

Example of series solution about ordinary point

Method of Frobenius open_in_new

This method applies for solutions about a regular singular point.

The solutions depend on the roots $\sigma_1, \sigma_2$ of the indicial equation:

  • If $\sigma_2 - \sigma_1\not\in \Z$, then we have two linearly independent Frobenius series solution, $$ y_1(x) = (x - x_0)^{\sigma_1} \sumi n0\infty a_n(x-x_0)^n, $$ $$ y_2(x) = (x - x_0)^{\sigma_2} \sumi n0\infty b_n(x-x_0)^n. $$

  • If $\sigma_2 - \sigma_1 \in\Z$, suppose $\sigma_1 \leq \sigma_2$. Then we have one Frobenius series solution $$ y_1(x) = (x-x_0)^{\sigma_2} \sumi n0\infty a_n(x-x_0)^n $$ and another solution involving $\ln$, $$ y_2(x) = (x-x_0)^{\sigma_1} \sumi n0\infty b_n(x-x_0)^n + cy_1(x)\ln(x-x_0). $$ for some constant $c$ determined by $b_0$.

Example of series solution about regular singular point