
Transactions on Engineering Sciences vol 15, © 1997 WIT Press, www.witpress.com, ISSN 1743-3533 Stereographic projection of plane algebraic curves onto the sphere S. Welke, 7n der Spwelke@aol com 1 Introduction Stereographic projection is a conformal map from the x — y— plane to the unit sphere S* C R^. The geometric definition is: Definition 1 Let P = (x, y, 0) be a point in the x — y— plane, let N = (0, 0, 1) be the North Pole of the unit sphere in R^, and let lp be the unique straight line lp through P and N . The intersection with the unit sphere is a point P' ^ N . The correspondence p : P \ — > P* establishes a one-to-one map p : R^ — > S*\{N} called Stereographic projection. We frequently identify (x,y) £ R% with (x,y, 0) G R^. Note that there is no point P in the entire plane with p(P) = N. Given a point P, the line lp is the set {(0,0,1) +t(x,y,-l) \t £ R} = {(tx,ty,t — 1) \t G R}. Because P' belongs to the unit sphere, its coor- dinates satisfy the following quadratic equation: (tx)* -f (ty)* + (1 — t)* = 1 with solutions ^o = 0 and ti = 1+3.2+3,2 • As ^ = 0 corresponds to TV, only ti leads to a finite point P in the plane. Thus an analytical formula for the Stereographic projection is: If P' = (a/, ?/, z'} G S*\{N} , a similar consideration leads to a formula for the inverse mapping p~^ : Transactions on Engineering Sciences vol 15, © 1997 WIT Press, www.witpress.com, ISSN 1743-3533 492 Innovation In Mathematics x' (2) -y' i- It is obvious that the North Pole cannot be mapped by p~* onto a finite point P £ R^. But if P approaches N on the unit sphere, in the plane P escapes to infinity. This motivates the completion of R^ by a point PQO? the point at infinity. So p : R^ U {Poo} — > S* , p(P^) = N, becomes a bijection. Definition 2 A real plane algebraic curve 7 is the set of all points (x, y) £ R^, whose coordinates satisfy an equation f(x,y) — 0 with a real polynomial f . f is called the polynomial of the curve. Now consider the problem of representing the image ^(7) of an algebraic curve under stereographic projection as a 3D- plot. We use the parabola x* — y — 0 as an example. Figure 2 shows how to proceed: Figure 2 We first embed the plane curve 7 in R^ (left part of fig. 2) and then connect all points P of this curve by straight lines IP with N. The union R := UP<ET I? of these lines is a ruled surface (right part of fig.2). At last we compute the position of P' on each line lp with eqn (1). The resulting set of points is Y := R fl 5^ = ^(7) , the intersection of two surfaces in R^: Transactions on Engineering Sciences vol 15, © 1997 WIT Press, www.witpress.com, ISSN 1743-3533 Innovation In Mathematics 493 This straightforward approach is easy to realize with Mathematica: ImplicitPlot is the appropriate function to plot an algebraic curve. We extract from the resulting Graphics object the Line-part, which represents the curve. Next we compute the coordinates of P' for each single point P of Line. The result is Line[{P{,f%,...,f%}], which can be plotted as a GraphicsSD object. Although this is fairly simple there is a major draw- back: The final 3D-plot depends on the 2D-plot produced by ImplicitPlot, which covers only a finite rectangle of the plane. But a parabola does not fit into a rectangle, so the 3D-image created in this way can never be a complete 3D-plot of the parabola . Thus we shall develop a more sophisti- cated approach, which captures the whole plane into the unit circle. As an additional feature this method applies to a more general situation, namely the intersection of two polynomially defined surfaces. 2 Orthogonal Projection and Groebner Bases Let 7 be a plane algebraic curve and R := \Jp^ IP the corresponding surface as above. First notice that p~* can be extended by eqn (2) to all of If PI and P% are points on the line lp then the vectors NPI = (a?i, 2 and NP<z = (%2,2/2,^2 - 1) are collinear, hence we have Xi X-2 Vl ?/9 and -^— = -^- for ^ ^ 1 and z% 1 I - Zi 1 — 22 I - Zi 1 - Therefore p~* maps the whole punctured line lp\{N} onto P, i.e. R\{N} line by line onto the points of 7 . We have proved the first part of the following theorem: Theorem 3 ^ 6eZ /^ 6e #&e poh/nomW 0/7. 0 p-y(x,y,z} — 0 defines implicitly R. A is obviously a polynomial, we find /%(0, 0, 1) = 0, so the second part is proved too.D The geometric idea behind our second approach is to project each point of the image Y = ^(7) othogonally to the x - %/- plane. We obtain a curve Y := //(Y), where H is orthogonal projection. Next we construct a surface R' := Up^y ZP, where ZP is the line through P perpendicular to the x — y— plane, as in the middle part of th next figure: Transactions on Engineering Sciences vol 15, © 1997 WIT Press, www.witpress.com, ISSN 1743-3533 494 Innovation In Mathematics Figure 4 This seems to be rather fussy, but a polynomial for 7" can be constructed directly from the polynomials of the surfaces R and S* by the use of Groeb- ner Bases. The advantage is that 7" lies completely inside the unit circle wether 7 itself is bounded or not. But everything has its price: Y is possibly only a part but not all of R" D S^, see the right part of figure 4. We perform a shift from geometry to algebra. All polynomials / vanishing on Y form an ideal / in the polynomial ring R[z,%/, z]. / has two generators, namely p^(x,y, z] \— x* + y^ -\- z* — 1 and /^ from theorem 3. In other words: For each / E / there exist two polynomials p\,p<2 E R[x, y,z] with f = Pi'pu + pi- f-y. { Pu, A is called a basis and every ideal has a multitude of different bases. But in contrast to vector spaces, these bases can differ in the number of elements. Particular useful for computational purposes are Groebner Bases. We do not go into details but we have to mention that Groebner Bases depend on a termorder, that is an ordering on the set of monomials in the variables of the polynomial ring. Our plot mechanism for Y depends heavily on the next theorem, which is a simple consequence of The Elimination Theorem, page 114, Cox, Little, O'Shea [1]. Theorem 4 Let G be a Groebner Basis with respect to the lexicographic ordering on {z,x,y} for an ideal < p,q >C R[x, y, z] with two generators. Then there is a polynomial g%y G G Pi M.[x,2/], with only two variables. The interested reader is referred to [1] for details. We consider an example. unitSphere:=x~2+y~2+z~2-l ; parabola:=y-x~2 ; PolySD [exprj : = expr/. Thread [{x,y}->{x,y>/(l-z)]//Together//Numerator parabola3D:=Poly3D [parabola] ; parabolaSD 2 - x y-yz Transactions on Engineering Sciences vol 15, © 1997 WIT Press, www.witpress.com, ISSN 1743-3533 Innovation In Mathematics 495 This is the polynomial of the surface R corresponding to the parabola. Groebner Basis is a built-in function in Mathematica, the ordering of vari- ables can be specified as an optional argument: GroebnerBasis [{parabolaSD , unitSphere} , {z , x , y}] 4 2232 22 32 {x -y(2x -x y - y ) , x - y + y z, x - x y - y + x z, 222 -1+ x +y +z} We see that g^y is the first element in the output-list, and this is always the case, g^y is the polynomial of an algebraic curve 7^ which contains the projection Y' of the space curve Y- In many cases the equality 7^ = 7 holds, but there exist simple examples for inequality. 3 Implementation The results of the previous section can be applied to the general problem of computing the points of a space curve Y, which is the intersection of two poly normally defined surfaces: Let pi and p% be the polynomials of two surfaces /?i, R% C R^, then: • compute the first element g^y of the Groebner Basis of < p\ , p% > • plot the algebraic curve 7*%, defined by g^y • solve for each point P = (a, b) G Trg/ the equation p(a, 6, z) = 0 for z • if a solution Zi of the previous equation satisfies p<i(a,b,Zi) = 0 then (a, ft, z^ is a point of RI fl R%. See the right part of figure 4 . • patch all points obtained in this way together in an appropriate way to obtain Y This raw outline will guide us through the following code. The last step is a bit complicated to manage technically. «graphics//implicit .m ; «graphics//shapes.m ; (* Packages needed *) gbl [polyl_,poly2_] := Part [GroebnerBasis [{polyl ,poly2},{z,x,y}] ,1] //Expand ; (* 1. element of the Groebner Basis *) eqList [poly_] := Module [{w=Factor [poly] , eq= (#==0)6} , If [Head [#] ===Times , eq/@ReplacePart [# , List , 0] , #==0] & @ w] ; Transactions on Engineering Sciences vol 15, © 1997 WIT Press, www.witpress.com, ISSN 1743-3533 496 Innovation In Mathematics A Groebner Basis element is possibly a product of irreducible polynomials, each defining a separate algebraic curve.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-