Content deleted Content added
m →top: punct., fmt. |
m →Explanation: punct., fmt., style |
||
Line 8:
This explanation considers equations of [[Degree of a polynomial|degree]] four. It is easily generalized to other degrees.
Let the polynomial
: <math>f(x) = x^4 + ax^3 + bx^2 + cx + d
for all ''x''.
The known numbers ''a'', ''b'', ''c'', ''d'' are the [[coefficient]]s.
Let the (complex) numbers ''P'', ''Q'', ''R'', ''S'' be the roots of this polynomial
Then
: <math>f(x) = (x - P)(x - Q)(x - R)(x - S)</math>
for all ''x''.
: <math>P = x - \frac{f(x)}{(x - Q)(x - R)(x - S)}.</math>
So if used as a [[fixed point (mathematics)|fixed
: <math>x_1 := x_0 - \frac{f(x_0)}{(x_0 - Q)(x_0 - R)(x_0 - S)},</math>
it is strongly stable in that every initial point ''x''<sub>0</sub>
delivers after one iteration the root ''P'' = ''x''<sub>1</sub>
Furthermore, if one replaces the zeros ''Q'', ''R'' and ''S''
by approximations ''q'' ≈ ''Q'', ''r'' ≈ ''R'', ''s'' ≈ ''S'',
such that ''q'', ''r'', ''s'' are not equal to ''P'', then ''P''
is still a fixed point of the perturbed fixed
: <math>x_{k+1} := x_k - \frac{f(x_k)}{(x_k - q)(x_k - r)(x_k - s)},</math>
since
: <math>P - \frac{f(P)}{(P - q)(P - r)(P - s)} = P - 0 = P.</math>
Note that the denominator is still different from zero.
This fixed
for ''x'' around ''P''.
The clue to the method now is to combine
the fixed
for ''Q'', ''R'', ''S'' into a simultaneous iteration for all roots.
Initialize ''p'', ''q'', ''r'', ''s'':
: ''p''<sub>0</sub> := (0.4 + 0.9
: ''q''<sub>0</sub> := (0.4 + 0.9
: ''r''<sub>0</sub> := (0.4 + 0.9
: ''s''<sub>0</sub> := (0.4 + 0.9
There is nothing special about choosing 0.4 + 0.9
Make the substitutions for ''n'' = 1, 2, 3,
▲|<math> q_n = q_{n-1} - \frac{f(q_{n-1})}{ (q_{n-1}-p_n)(q_{n-1}-r_{n-1})(q_{n-1}-s_{n-1}) }; </math>
▲|<math> r_n = r_{n-1} - \frac{f(r_{n-1})}{ (r_{n-1}-p_n)(r_{n-1}-q_n)(r_{n-1}-s_{n-1}) }; </math>
▲|<math> s_n = s_{n-1} - \frac{f(s_{n-1})}{ (s_{n-1}-p_n)(s_{n-1}-q_n)(s_{n-1}-r_n) }. </math>
Re-iterate until the numbers ''p'', ''q'', ''r'', ''s''
essentially stop changing relative to the desired precision.
They then have the values ''P'', ''Q'', ''R'', ''S'' in some order
and in the chosen precision. So the problem is solved.
Note that
and that the roots are found simultaneously rather than one at a time.
|