- Derivation of the Approximation Function for Real Solutions
- Graphic Representation of the Real-Valued Approximation Function
- Derivation of the Approximation Functions for Complex Solutions

In this section, we will use definitions of the slope of a function to approximate the difference between a solution of the equation, and an estimate of the solution. From this, we will derive the the approximation functions for a single equation.

Suppose that we have an equation describing a quantity named w, and that this equation is restricted to equal zero. Because of the restriction, only certain values of w will make the equation true, and these values are the solutions of the equation:

If the equation were not restricted to equal zero, but were free to equal any number, then it would be called a "function." In general, the quantity described by this function would not be restricted, but could vary freely. Let us define z as this variable, and F(z) as the function:

F(z) = Unrestricted function

If z equals a solution of the restricted equation, then the function would return the number zero. Thus, we could express the equation to be solved as follows:

Example 1. If we were solving w^{4} - 5w^{3} + 11w - 78 = 0, then the unrestricted function would be ^{4} - 5z^{3} + 11z - 78 |

We can assign a value to z as an estimate of solution w. Most likely, our estimate will not be perfect, so F(z) will not equal zero. We will define the difference between z and w as Dz, and the difference between F(z) and F(w) as DF:

Dz = z - w

DF = F(z) - F(w)

Since F(w) = 0, the increment DF is reduced to F(z):

While F(z) is easy to compute, we cannot compute Dz because we don't know solution w. However, we can approximate Dz by considering the slope of F(z). The slope of F(z) is defined by the first derivative dF/dz:

If we replace dF and dz with the increments F(z) and Dz, then we will have an approximation of S(z):

Multiplying both sides of the above by Dz/S(z) gives an approximation of Dz:

Earlier we defined Dz = z - w. We can use this definition to express w as

Substituting the approximation of Dz into the above gives us an approximation of w:

This is the approximation function for computing real solutions of one equation. The function returns a new approximation of w that will be used as the next estimate z, and the computations repeated until z converges.

Example 2. The equation and function defined in Example 1 were ^{4} - 5w^{3} + 11w - 78 = 0
F(z) = z ^{3} - 15 z^{2} + 11The approximation function for computing real solutions of the equation is ^{4} - 5z^{3} + 11z - 78]/[4z^{3} - 15z^{2} + 11]Comment: The formula for dF/dz can be found in this Table of Common Derivatives. |

In this graph, the blue curve represents a function that crosses the z-axis at point [w, 0]. This point is a solution of F(w) = 0.
The green line represents a tangent touching the graph at point The tangent crosses the z-axis at the point |

In the previous section, we found an approximation function for real solutions of one equation,

where w is a solution of the equation, z is an estimate, F(z) is a function based on the equation, and S(z) is the slope of F(z). We will now derive complex approximation functions by allowing w, z, F(z) and S(z) to have complex values:

z = x + *i*y

F(z) = Fr + *i*Fi

S(z) = Sr + *i*Si

Allowing functions F(z) and S(z) to be complex requires that we resolve them into their real and imaginary parts. Substituting the complex quantities into the approximation of w gives us

The last term, (Fr + *i*Fi)/(Sr + *i*Si), is a fraction with a complex denominator. To resolve this fraction, we will multiply both numerator and denominator by the denominator's conjugate, *i*Si):

We will substitute the resolved fraction into the approximation of u + *i*v to get

Finally, we will separate the real and imaginary terms to get approximations for u and v:

v ~ y - (Fi*Sr - Fr*Si)/(Sr^{2} + Si^{2})

These are the approximation functions for computing complex solutions of one equation. The functions return new approximations of u and v to be used as the next estimates x and y. The computations are repeated until x and y converge.

Example 3. The equation, function and slope defined in Examples 1 and 2 were ^{4} - 5w^{3} + 11w - 78 = 0
F(z) = z S(z) = 4 z The functions F(z) and S(z) can be resolved into Fr + Fr = R Fi = R Sr = 4 R Si = 4 R ^{2} + Si^{2})
v ~ y - (Fi*Sr - Fr*Si)/(Sr to compute better approximations of u and v from estimates x and y. Comment: Variables R and q are the absolute value and imaginary argument of z. |

URL http://members.aceweb.com/patrussell/approximations/Theory1.htm

Unpublished Work. © Copyright 2001 Pat Russell. Updated April 17, 2009.