In numerical analysis, Bairstow's method is an efficient algorithm for finding the roots of a real polynomial of arbitrary degree. The algorithm first appeared in the appendix of the 1920 book "Applied Aerodynamics" by Leonard Bairstow. The algorithm finds the roots in complex conjugate pairs using only real arithmetic.
See root-finding algorithm for other algorithms.
Description of the method.
Bairstow's approach is to use Newton's method to adjust the coefficients "u" and "v" in the quadratic formula_1 until its roots are also roots of the polynomial being solved. The roots of the quadratic may then be determined, and the polynomial may be divided by the quadratic to eliminate those roots. This process is then iterated until the polynomial becomes quadratic or linear, and all the roots have been determined.
Long division of the polynomial to be solved
formula_2 
by formula_1 yields a quotient formula_4 and a remainder formula_5 such that
formula_6
A second division of formula_7 by formula_1 is performed to yield a quotient formula_9 and remainder formula_10 with
formula_11
The variables formula_12, and the formula_13 are functions of formula_14 and formula_15. They can be found recursively as follows.
formula_16
The quadratic evenly divides the polynomial when
formula_17
Values of formula_14 and formula_15 for which this occurs can be discovered by picking starting values and iterating Newton's method in two dimensions
formula_20
until convergence occurs. This method to find the zeroes of polynomials can thus be easily implemented with a programming language or even a spreadsheet.
Example.
The task is to determine a pair of roots of the polynomial
formula_21
As first quadratic polynomial one may choose the normalized polynomial formed from the leading three coefficients of "f"("x"), 
formula_22
The iteration then produces the table
After eight iterations the method produced a quadratic factor that contains the roots −1/3 and −3 within the represented precision. The step length from the fourth iteration on demonstrates the superlinear speed of convergence.
Performance.
Bairstow's algorithm inherits the local quadratic convergence of Newton's method, except in the case of quadratic factors of multiplicity higher than 1, when convergence to that factor is linear. A particular kind of instability is observed when the polynomial has odd degree and only one real root. Quadratic factors that have a small value at this real root tend to diverge to infinity.
The images represent pairs formula_23. Points in the upper half plane "t"  ; 0 correspond to a linear factor with roots formula_24, that is formula_25. Points in the lower half plane "t"  ; 0 correspond to quadratic factors with roots formula_26, that is, formula_27, so in general formula_28. Points are colored according to the final point of the Bairstow iteration, black points indicate divergent behavior.
The first image is a demonstration of the single real root case. The second indicates that one can remedy the divergent behavior by introducing an additional real root, at the cost of slowing down the speed of convergence. One can also in the case of odd degree polynomials first find a real root using Newton's method and/or an interval shrinking method, so that after deflation a better-behaved even-degree polynomial remains. The third image corresponds to the example above.
References.
 ;templatestyles src="Reflist/styles.css" / ;