key: cord-0058683-bo9fnvl4 authors: Jiménez-Vilcherrez, Judith Keren title: Calculation of the Differential Geometry Properties of Implicit Parametric Surfaces Intersection date: 2020-08-20 journal: Computational Science and Its Applications - ICCSA 2020 DOI: 10.1007/978-3-030-58808-3_28 sha: b129af0fa37d715bb3d05f67818b9ba333c0b14a doc_id: 58683 cord_uid: bo9fnvl4 Generally, to calculate the Frenet-Serret apparatus of a curve, it is necessary to have a parameterization of it; but when it is difficult to obtain a parameterization of the curve, as is the case of the curves obtained by the intersection of two implicit parametric surfaces, it is necessary to develop new methods that make it possible to know the geometric properties of said curve. This paper describes a new Mathematica package, Frenet, with the objective of calculating the properties of the differential geometry of a curve obtained by the intersection of two implicit parametric surfaces. The presented package allows us to visualize the Frenet-Serret mobile trihedron, to know the curvature and torsion at a given point of the curve obtained by the intersection of two implicit parametric surfaces. Package performance is discussed using several illustrative examples. Provide the user with an important tool for visualization and teaching. In geometry, the study of the differential geometry properties of curves is essential. Generally, to calculate the Frenet-Serret apparatus of a curve, it is necessary to have a parameterization of it [2] [3] [4] ; but when it is difficult to obtain a parameterization of the curve, as is the case of the curves obtained by the intersection of two implicit parametric surfaces, it is necessary to develop new methods that allow knowing the geometric properties of the curve; methods that have been studied in [1] but this calculation becomes a very cumbersome task due to the amount of mathematical operations that must be carried out for this reason this paper describes a new Mathematica package, Frenet, with objective of calculating the properties of the differential geometry of a curve obtained by the intersection of two implicit parametric surfaces. Enabling the calculation of the Frenet-Serret apparatus of a curve without having a parameterization of it. The outputs obtained are consistent with Mathematica notation and results. Package performance is discussed using several illustrative examples. The presented package allows us to visualize the Frenet-Serret mobile trihedron, to know the curvature and torsion at a given point of the curve obtained by the intersection of two implicit parametric surfaces, providing the user with a very useful tool for teaching and visualization. The paper is organized as follows: In Sect. 2, the formulas necessary to calculate the properties of the differential geometry of a curve obtained by the intersection of two implicit parametric surfaces are reviewed. In the Sect. 3 introduces the new Mathematica package, Frenet, and describes the implemented commands. Package performance is also analyzed using three explanatory examples. We finish Sect. 4 with the main conclusions of this paper. Let β : I ⊂ R → R 3 an arbitrary curve with arc-length parametrization, then from the elementary differential geometry, we have where t is the unit tangent vector, n is the unit principal normal vector and k is the curvature vector. The curvature is given by The vectors {t, n, b} are called collectively the Frenet-Serret frame, the Frenet-Serret formulas along β are given by t (s) = κn where τ is the torsion of the curve β. A surface often arises as the locus of a point P which satisfies some restriction, as a consequence of which the coordinates x, y, z of P satisfy a relation of the form This is called the implicit or constraint equation of the surface, assume that f (x, y, z) = 0 is a regular implicit surfaces. In other words ∇f = 0, where ∇f = (f 1 , f 2 , f 3 ) is the gradient vector of the surface f , where f 1 = ∂f ∂x , f 2 = ∂f ∂y and f 3 = ∂f ∂z denote to partial derivatives of the surface f , then the unit surface normal vector field of the surface f is given by A parametric surface in the Euclidean IR 3 is defined by a parametric equation with two parameters. Parametric representation is the most general way to specify a surface. In general, if we take the real parameters u and v, then the surfaces can be defined by the vector-value function, Given a parametric surface of the form r (u, v) = r (r 1 (u, v) , r 2 (u, v) , r 3 (u, v)), supposing that r (u, v) is a regular parametric surface. That is to say r u ×r v = 0, where r u = ∂r ∂u and r v = ∂r ∂v denote to partial derivatives of the surface r. The unit vector normal n at any point on a parametric surfaces is obtained as the first fundamental form given a parametric surface r (u, v), we define the first fundamental form coefficients E = r u · r u , F = r u · r v and G = r v · r v , then the first fundamental form I of the surface is the quadratic expression defined as, the second fundamental form given a parametric surface r (u, v) and its normal vector n, we define the second fundamental form coefficients L = r uu · n, M = r uv · n and N = r vv · n then the second fundamental form of the surface is the quadratic expression defined as II = Ldu 2 + 2Mdudv + Ndv 2 Let r = r (u, v) and f (x, y, z) = 0 two surfaces regular with unit normal vectors given by The intersection curve of these surfaces can be seen as a curve of both surfaces as The surface f can be expressed as Thus the intersection curve is given by We can easily find the first derivative of the intersection curve the tangent vector of the transversal intersection curve β (s) lies on the tangent planes of both surfaces. Therefore it can be obtained as the cross product of the unit normal vectors of the two surfaces at P as the surface curvature vector r (u, v) is given by since we know the unit tangent vector of the intersection curve from Eq. (2), we can find u and v by taking the dot product on both hand sides of Eq. (1) with r u and r v , which leads to a linear system where x , y , z are the three components of t given by Eq. (2) and x , y , z are the three components of k. We can calculate the normal curvature of the implicit surface using the equation consequently, the curvature vector of the intersection curve β (s) at P can be calculated as follows: the curvature of the intersection curve β (s) at P can be calculated using Eq. (4) as follows the unit normal vector and unit binormal vector of the intersection curve β (s) given as the torsion of the intersection curve β (s) is obtained by the values of u , v are obtained by solving the following system of equations In this section we describe the use of the Frenet package, the package works with Mathematica v.11.2 and later versions. Various examples will be used for an introduction to the specific features of the package. First of all, we load the package: << F renet.m The first example is given by the curve obtained by the intersection of the implicit surface f (x, y, z) = z −y 2 −2 = 0 and the parametric surface r (u, v) = (u, uv, v). With the F renet command it is possible to calculate the equations of the Frenet-Serret apparatus at a generic point on the curve. (u 2 +v 2 +1) 3/2 (4y 2 +1) 3/2 (4y 2 +1)v 2 +(1−2uy) 2 (u 2 +v 2 +1)(4y 2 +1) , v(4(1−2uy)y 2 +v) (u 2 +v 2 +1) 3/2 (4y 2 +1) 3/2 (4y 2 +1)v 2 +(1−2uy) 2 (u 2 +v 2 +1)(4y 2 +1) (u 2 +v 2 +1)(4y 2 +1) 3/2 − 4 u 2 + 1 y 2 (2uy − 1) 3 +4uv 6 y 2 (4uy−1)+v 5 (4uy−1) 4 u 2 + 1 y 2 − 2uy + 1 −2v 2 y(2uy− 1) −4yu 3 + 2u 2 + 4y 2 u + u + 8y 3 + 2y + 2uv 4 y 32u 2 y 4 − 24uy 3 + 4 2u u 2 + u + 1 + 1 y 2 − 2(3u(u + 1) + 1)y + 2u + 1) + v 3 (−32u 2 2u 2 + 1 y 5 + 16u 5u 2 + 1 y 4 The following sentences allow us to obtain the Frenet-Serret apparatus of the curve at one point (0, 0, 2). The following sentences allow us to obtain the graphs of the Frenet-Serret apparatus at the point (0,0,2), the red vector represents the tangent vector, the green vector represents the normal vector and the celestial vector represents the binormal vector. The second example is given by the curve obtained by the intersection of the implicit surface (x − 1 2 ) 2 + y 2 = 1 4 and the parametric surface {cos (u) cos (v) , cos (v) sin (u) , sin (v)}. The following sentences allow us to obtain the Frenet-Serret apparatus at the point of the curve 1 2 , 1 2 , 1 The following sentences allow us to obtain the graphs of the Frenet-Serret apparatus at the point { 1 2 , 1 2 , 1 √ 2 }, the red vector represents the tangent vector, the green vector represents the normal vector and the celestial vector represents the binormal vector. The third example is given by the curve obtained by the intersection of the implicit surface x 2 +y 2 = 2 and the parametric surface {u 3 , v 3 , uv}. The following sentences allow us to obtain the Frenet-Serret apparatus at the point of the {1, 1, 1} curve. The following sentences allow us to obtain the graphs of the Frenet-Serret apparatus at the point {1, 1, 1}, the red vector represents the tangent vector, the green vector represents the normal vector and the celestial vector represents the binormal vector. This paper proposes a program implemented in Mathematica v.11.2 software to calculate the differential geometry properties of curves given by the intersection between two implicit parametric surfaces, based on the results obtained in [1, 5] and as a continuation of [6] and [8] whose results coincide with those found in this paper. Demonstrating that it is possible to calculate the Frenet-Serret apparatus of a curve for which it is not necessary to know a parameterization, being of great help when performing operations that can often make said task cumbersome and also provide us with a very useful graphic representation of the problem. Package performance is discussed by means of some illustrative and interesting examples. All of the commands have been implemented in Mathematica v11.2 and are consistent with Mathematica notation and results [7, 9, 10] . The program is shorter and more efficient from my experience. Differential geometry of intersection curves of two surfaces Partial Differential Equations for Geometric Design An Introduction to Differential Geometry. Reprinted. Courier Corporation Modern Differential Geometry of Curves and Surfaces with Mathematica Shape Interrogation for Computer Aided Design and Manufacturing Frenet Serret apparatus calculation of curves given by the intersection of two implicit surfaces in R 3 using Wolfram Mathematica v. 11.2 The Student's Introduction to Mathematica and the Wolfram Language Serret: software para el cálculo del tiedro Frenet Serret de curvas dadas por la intersección de dos superficies paramétricas The Mathematica Book, 5th edn Programming in Mathematica Acknowledgement. This research was carried out thanks to the support of the Research Group in Geometry and Symbolic Calculation of the Universidad Nacional de Piura (GIGYCS-UNP) in charge of professors Robert Ipanaqué Chero and Ricardo Velezmoro León expressing our appreciation for their work in the formation of new researchers. {t, b, n, k, τ } = Simplify FrenetF renet returns the tangent vector, the normal vector, the binormal vector, as well as the curvature and torsion.