Two point raytracing for reflection off a 3D plane |
3. Cubic equations. Equations of third and fourth order are still solvable by algebraic formulas. However, the numerical computations required by the formulas are usually so involved and time-absorbing that we prefer less cumbersome methods which give the roots in approximation only but still close enough for later refinement.
The solution of a cubic equation (with real coefficients) is particularly convenient since one of the roots must be real. After finding this root, the other two roots follow immediately by solving a quadratic equation.
A general cubic equation can be written in the form
. |
Now it is convenient to introduce a new scale factor which will normalize the absolute term to . We put
Now, since is negative and is positive, we know that there must be at least one root between and . We put and evaluate . If is positive, the root must be between 0 and ; if is negative, the root must be between and . Moreover, since
Hence we have reduced our problem to the new problem: find the real root of a cubic equation in the range . We solve this problem in good approximation by taking advantage of the remarkable properties of the Chebyshev polynomials (cf. VII, 9) which enable us to reduce a higher power to lower powers with a small error. In particular, the third Chebyshev polynomial
We now solve this quadratic, retaining only the root between
0
and
.
11. Equations of fourth order. Algebraic equations of fourth order with generally complex roots occur frequently in the stability analysis of airplanes and in problems involving servomechanisms. The historical method of solving algebraic equations of fourth order (also called biquadratic or quartic equations) involves the following steps. By a transformation of the form the coefficient of the cubic term is annihilated. Then an auxiliary cubic equation is solved. The roots of the original equation are constructed with the help of the three roots of the auxiliary cubic. Numerically this method is lengthy and cumbersome. The following modification of the traditional procedure yields the four roots of an arbitrary quartic equation with real coefficients on the basis of a quick and numerically convenient scheme.
Every equation of the form
. |
Two point raytracing for reflection off a 3D plane |