A quadric in $3D$ can be expressed as
$ r^T Q r = 0 $
where $ r = [x, y, z, 1] $ , and $Q $ is a symmetric $4 \times 4 $ matrix.
Suppose I have three quadrics and want to find their intersection points $(x, y, z) $. For that I'd like to use the method of pencils which is demonstrated in the two-dimensional case here
I have a 2D pencil of quadrics in 3D. I represent them algebraically using the 4x4 symmetric matrix.
$$ Q(α,β) = αQ_1 + βQ_2 + γQ_3 $$
In a 1D pencil, it's pretty straight forward to find a rank deficient quadric (e.g. a cone of some sort) that is ruled and makes nice for parameterizing the intersection of conics. You can find a set of quadrics in the pencil using the generalized eigenvalue problem. In 3D, this generates a quartic polynomial:
$$ det(A-λB) = 0 $$
What I know of my 2D space of quadrics is that the three intersect in as many as six points. So the pencil is of all quadrics that share these six points, and my goal is to find these six points of intersection.
If I can find rank 2 quadrics (two zero eigenvalues, two with opposite sign), then I have a pair of planes. These are really easy to intersect with one another or other quadrics in order to discover the common points.
Is there any way to algebraically discover plane pair quadrics in such a pencil? It seems like there must be such quadrics. There are six points in common to the space of quadrics, and three points define a plane. So that is exactly two planes.
There are more details, like my three quadrics are already rank deficient hyperbolic cylinders aligned with the three axes of the coordinate system. How would one go about solving for a quadric with two zero eigenvalues, or otherwise discover a plane pair within this 2D space of quadrics?
Thanks in advance.
As I've worked on the problem, the answer appeared.
For the 2D pencil: $$ (α,β)=α1+β2+3 $$
In order to find plane pairs (matrices with two zero eigevnalues), simply compute the eigenvalues of Q symbolically.
$$ det(Q(α,β) - λI)=0 $$
This generates a quartic polynomial in λ. In order for two of the eigenvalues to be zero, the two lowest order terms in λ must have zero coefficients. This generates a pair of polynomial equations in α, and β with order 4 in the monomials. The problem is now the solution to these two simultaneous polynomial equations. This is something like 16 solutions which includes all the $10=\tfrac12\tbinom{6}{3}$ possible real point plane pairs as well as a 6 imaginary plane pairs with two real intersection points.
To find real planes, the non-zero eigenvalues must have opposite sign. Complex plane pairs quadrics have eigenvalues with the same sign like diag([1,1,0,0]) which is just the z-axis for real points.
The solution to this polynomial system may be simpler if the quadrics are already rank deficient (e.g. cones), so an initial discovery of cone quadrics in the pencil using simple eigenvalue decomposition could simplify this larger polynomial system problem.