
842 Appendix A Numerical Methods
where
e
20
= β
200
γ
2
010
− γ
100
β
110
γ
010
+ γ
2
100
β
020
e
11
= 2β
200
γ
010
γ
001
− γ
100
(β
110
γ
001
+ β
101
γ
010
) + γ
2
100
β
011
e
02
= β
200
γ
2
001
− γ
100
β
101
γ
001
+ γ
2
100
β
002
e
10
= 2β
200
γ
010
γ
000
− γ
100
(β
110
γ
000
+ β
100
γ
010
) + γ
2
100
β
010
e
01
= 2β
200
γ
001
γ
000
− γ
100
(β
101
γ
000
+ β
100
γ
001
) + γ
2
100
β
001
e
00
= β
200
γ
2
000
− γ
100
β
100
γ
000
+ γ
2
100
β
000
We now have two equations in two unknowns, quadratic equations D(y, z) = 0
and E(y, z) =0. This case was handled in an earlier section. For each solution ( ¯y, ¯z),
a corresponding x-value is computed from Equation A.1, x = a
0
b
1
/(a
2
b
0
− a
1
b
1
).
The linear equation may be used instead to solve for x assuming that the coefficient
of x is not zero.
Example Let F(x, y, z) = x
2
+ y
2
+ z
2
− 1 (a sphere), G(x, y, z) = 4x
2
+ 9y
2
+ 36z
2
− 36
(an ellipsoid), and H(x, y, z) = x + y + z (a plane). The coefficient polynomials
are a
2
= 1, a
1
= 0, a
0
= y
2
+ z
2
− 1, b
2
= 4, b
1
= 0, b
0
= 9y
2
+ 36z
2
− 36, c
1
= 1,
and c
0
= y + z. The intermediate polynomials are D(y, z) = 2y
2
+ 2yz + 2z
2
− 1
and E(y, z) =13y
2
+8yz + 40z
2
−36. Now we are back to two quadratic equations
in two unknowns, a problem solved earlier. The quartic polynomial obtained by
eliminating y is h(z) =−3556z
4
+ 7012z
2
− 3481. This polynomial has no real-
valued solutions, so the polynomial system has no real-valued solutions.
Example Let F(x, y, z) =x
2
+y
2
+z
2
−1, G(x, y, z) =x
2
+16y
2
+36z
2
−4, and H(x, y, z)
=x +y +8z. The coefficient polynomials are a
2
=1, a
1
=0, a
0
=y
2
+z
2
−1, b
2
=1,
b
1
= 0, b
0
= 16y
2
+ 36z
2
− 4, c
1
= 1, and c
0
= y + 8z. The intermediate polynomi-
als are D(y, z) = 2y
2
+ 16yz + 65z
2
− 1 and E(y, z) = 17y
2
+ 16yz + 100z
2
− 4.
The two quadratic equations D(y, z) = 0 and E(y, z) = 0 are reduced to a single
quartic equation 0 = h(z) =−953425z
4
+ 27810z
2
− 81. The roots ¯z are ±0.160893
and ±0.0572877. The ¯y-values are determined using Equation A.2, remembering
that the current problem is in terms of y and z, not x and y. The equation is ¯y =
(−905¯z
2
+ 9)/(240¯z), so the ¯y-values corresponding to the ¯z-values are ∓0.373626
and ±0.438568. The ¯x-values are determined using Equation A.1, ¯x = ( ¯y
2
+¯z
2
−
1)/( ¯y +8¯z). The pair ( ¯y, ¯z) = (−0.373627, 0.160893) leads to ¯x =−0.913520, so the
intersection point is ( ¯x, ¯y, ¯z) = (−0.913520, −0.373627, 0.160893). The other inter-
sections are (0.913520, 0.373627, −0.160893), (−0.89687, 0.438568, 0.0572877), and
(0.89687, −0.438568, −0.0572877). As mentioned in the general discussion, we could
have used the linear equation to solve for ¯x =−( ¯y + 8¯z).