Nonlinear Equations
Root Finding
Bisection Method
The bisection method, when applied in the interval $\left[a, b\right]$ to a function $f \in C^0 \left( \left[a, b\right] \right)$ with ${f(a)f(b) < 0}$
Bisect the interval into two subintervals $\left[a, c\right]$ and $\left[c, b\right]$ such that ${a < c < b}$.
- If $f(c) = 0$ or is sufficiently close, then $c$ is a root
- Else, if $f(c)f(a) < 0$ continue in the interval $[a, c]$
- Else, if $f(c)f(b) < 0$ continue in the interval $[c, b]$
Newton’s Method
Let $f \in C^1\left( \left[ a, b\right] \right)$, with
- $f(a)f(b) < 0$
- $f^\prime\left(x\right) \ne 0$ for all $x \in \left( a, b \right)$
- $f^{\prime\prime}\left(x\right) $ exists, is continuous and either ${f^{\prime\prime}\left(x\right) > 0}$ or ${f^{\prime\prime}\left(x\right) < 0}$ for all ${x \in \left( a, b \right)}$.
Then $f(x)=0$ has exactly one root, $r$, in the interval and the sequence generated by Newton iterations converges to the root when the initial guess is chosen according to
- if $f(a) < 0$ and $f^{\prime\prime}(a) < 0$ or $f(a) > 0$ and $f^{\prime\prime}(a) > 0$ then $x \in \left[ a, r \right]$
or
- if $f(a) < 0$ and $f^{\prime\prime}(a) > 0$ or $f(a) > 0$ and $f^{\prime\prime}(a) < 0$ then $x \in \left[ r, b \right]$.
Let $f \in C^1\left( \left[ a, b\right] \right)$, with
- $f(a)f(b) < 0$
- $f^\prime\left( x \right) \ne 0$ for all $x \in \left( a, b \right)$
- $f^{\prime\prime}\left( x \right)$ exists and is continuous, i.e. ${f\left( x \right) \in C^2\left( \left[ a, b \right]\right)}$
Then, if $x_0$ is close enough to the root $r$, Newton’s method converges quadratically.
Secant Methods
Then there exists a $\delta > 0$ such that when ${\left\| r - x_0 \right\| < \delta}$ and ${\left\| r - x_1 \right\| < \delta}$, then the following holds:
- $\lim\limits_{n\rightarrow\infty} \left\| r - x_n \right\| = 0 \Leftrightarrow \lim\limits_{n\rightarrow\infty} x_n = r$, and
- $\left\| r - x_{n+1} \right\| \le \mu \left\| r - x_{n} \right\|^{\alpha}$ with ${\alpha =\dfrac{1+\sqrt{5}}{2} }.$
Convergence
Thus a sequence is said to converge quadratically when ${q=2}$ and exhibit cubic convergence when $q=3$.
Method | Regularity | Proximity to $r$ | Initial points | Function calls | Convergence |
---|---|---|---|---|---|
Bisection | $\mathcal{C}^{0}$ | No | 2 | 1 | Linear |
Newton | $\mathcal{C}^{2}$ | Yes | 1 | 2 | Quadratic |
Secant | $\mathcal{C}^{2}$ | Yes | 1 | 1 | Superlinear |
Systems of Nonlinear Equation
the Jacobian matrix is defined as
$$ \begin{equation*} J = \left( \begin{array}{cccc} \dfrac{\partial f_1 }{\partial x_1} & \dfrac{\partial f_1 }{\partial x_2} & \cdots & \dfrac{\partial f_1 }{\partial x_n} \\\ \dfrac{\partial f_2 }{\partial x_1} & & & \vdots \\\ \vdots & & & \vdots \\\ \dfrac{\partial f_n }{\partial x_1} & \dfrac{\partial f_n }{\partial x_2} & \cdots & \dfrac{\partial f_n }{\partial x_n} \end{array} \right) \in \mathbb{R}^{n \times n}. \end{equation*} $$$$ x_{m+1} = x_m - J^{-1} \left( x_m \right) f\left( x_m \right) $$$$ J \left( x_m \right) \left( x_{m+1} - x_m \right) = -f \left( x_m \right) $$is solved for the unknown vector $x_{m+1} - x_m$ and then $x_{m+1}$ is found.