In mathematics, an elliptic curve is a smooth, projective, algebraic curve of genus one, on which there is a specified point . An elliptic curve is defined over a field and describes points in , the Cartesian product of with itself. If the field's characteristic is different from 2 and 3, then the curve can be described as a plane algebraic curve which consists of solutions for: formula_1 for some coefficients and in . The curve is required to be non-singular, which means that the curve has no cusps or self-intersections. (This is equivalent to the condition , that is, being square-free in .) It is always understood that the curve is really sitting in the projective plane, with the point being the unique point at infinity. Many sources define an elliptic curve to be simply a curve given by an equation of this form. (When the coefficient field has characteristic 2 or 3, the above equation is not quite general enough to include all non-singular cubic curves; see below.) An elliptic curve is an abelian variety – that is, it has a group law defined algebraically, with respect to which it is an abelian group – and serves as the identity element. If , where is any polynomial of degree three in with no repeated roots, the solution set is a nonsingular plane curve of genus one, an elliptic curve. If has degree four and is square-free this equation again describes a plane curve of genus one; however, it has no natural choice of identity element. More generally, any algebraic curve of genus one, for example the intersection of two quadric surfaces embedded in three-dimensional projective space, is called an elliptic curve, provided that it is equipped with a marked point to act as the identity. Using the theory of elliptic functions, it can be shown that elliptic curves defined over the complex numbers correspond to embeddings of the torus into the complex projective plane. The torus is also an abelian group, and this correspondence is also a group isomorphism. Elliptic curves are especially important in number theory, and constitute a major area of current research; for example, they were used in Andrew Wiles's proof of Fermat's Last Theorem. They also find applications in elliptic curve cryptography (ECC) and integer factorization. An elliptic curve is "not" an ellipse in the sense of a projective conic, which has genus zero: see elliptic integral for the origin of the term. However, there is a natural representation of real elliptic curves with shape invariant as ellipses in the hyperbolic plane formula_2. Specifically, the intersections of the Minkowski hyperboloid with quadric surfaces characterized by a certain constant-angle property produce the Steiner ellipses in formula_2 (generated by orientation-preserving collineations). Further, the orthogonal trajectories of these ellipses comprise the elliptic curves with , and any ellipse in formula_2 described as a locus relative to two foci is uniquely the elliptic curve sum of two Steiner ellipses, obtained by adding the pairs of intersections on each orthogonal trajectory. Here, the vertex of the hyperboloid serves as the identity on each trajectory curve. Topologically, a complex elliptic curve is a torus, while a complex ellipse is a sphere. Elliptic curves over the real numbers. Although the formal definition of an elliptic curve requires some background in algebraic geometry, it is possible to describe some features of elliptic curves over the real numbers using only introductory algebra and geometry. In this context, an elliptic curve is a plane curve defined by an equation of the form formula_1 after a linear change of variables ( and are real numbers). This type of equation is called a Weierstrass equation, and said to be in Weierstrass form, or Weierstrass normal form. The definition of elliptic curve also requires that the curve be non-singular. Geometrically, this means that the graph has no cusps, self-intersections, or isolated points. Algebraically, this holds if and only if the discriminant, formula_6, is not equal to zero. formula_7 The discriminant is zero when formula_8. The real graph of a non-singular curve has "two" components if its discriminant is positive, and "one" component if it is negative. For example, in the graphs shown in figure to the right, the discriminant in the first case is 64, and in the second case is −368. Following the convention at Conic section#Discriminant, "elliptic" curves require that the discriminant is negative. Group law. When working in the projective plane, the equation in homogeneous coordinates becomes formula_9 This equation is not defined on the line at infinity, but we can multiply by formula_10 to get one that is: formula_11 This resulting equation is defined on the whole projective plane, and the curve it defines projects onto the elliptic curve of interest. To find its intersection with the line at infinity, we can just posit formula_12. This implies formula_13, which in a field means formula_14. formula_15 on the other hand can take any value, and thus all triplets formula_16 satisfy the equation. In projective geometry this set is simply the point formula_17, which is thus the unique intersection of the curve with the line at infinity. Since the curve is smooth, hence continuous, it can be shown that this point at infinity is the identity element of a group structure whose operation is geometrically described as follows: Since the curve is symmetric about the axis, given any point , we can take to be the point opposite it. We then have formula_18, as formula_19 lies on the plane, so that formula_20 is also the symmetrical of formula_19 about the origin, and thus represents the same projective point. If and are two points on the curve, then we can uniquely describe a third point in the following way. First, draw the line that intersects and . This will generally intersect the cubic at a third point, . We then take to be , the point opposite . This definition for addition works except in a few special cases related to the point at infinity and intersection multiplicity. The first is when one of the points is . Here, we define , making the identity of the group. If , we only have one point, thus we cannot define the line between them. In this case, we use the tangent line to the curve at this point as our line. In most cases, the tangent will intersect a second point , and we can take its opposite. If and are opposites of each other, we define . Lastly, if is an inflection point (a point where the concavity of the curve changes), we take to be itself, and is simply the point opposite itself, i.e. itself. Let be a field over which the curve is defined (that is, the coefficients of the defining equation or equations of the curve are in ) and denote the curve by . Then the -rational points of are the points on whose coordinates all lie in , including the point at infinity. The set of -rational points is denoted by . is a group, because properties of polynomial equations show that if is in , then is also in , and if two of , , are in , then so is the third. Additionally, if is a subfield of , then is a subgroup of . Algebraic interpretation. The above groups can be described algebraically as well as geometrically. Given the curve over the field (whose characteristic we assume to be neither 2 nor 3), and points and on the curve, assume first that (case "1"). Let be the equation of the line that intersects and , which has the following slope: formula_22 The line equation and the curve equation intersect at the points , , and , so the equations have identical values at these values. formula_23 which is equivalent to formula_24 Since , , and are solutions, this equation has its roots at exactly the same values as formula_25 and because both equations are cubics, they must be the same polynomial up to a scalar. Then equating the coefficients of in both equations formula_26 and solving for the unknown , formula_27 follows from the line equation formula_28 and this is an element of , because is. If , then there are two options: if (case "3"), including the case where (case "4"), then the sum is defined as 0; thus, the inverse of each point on the curve is found by reflecting it across the  axis. If , then and (case "2" using as ). The slope is given by the tangent to the curve at ("x""P", "y""P"). formula_29 A more general expression for formula_30 that works in both case 1 and case 2 is formula_31 as formula_32, then formula_33, so formula_34. The functional equation is formula_35 As we are only interested in the behaviour of formula_36, we can use a reduced zeta function formula_37 formula_38 and so formula_39 which leads directly to the local L-functions formula_40 The Sato–Tate conjecture is a statement about how the error term formula_41 in Hasse's theorem varies with the different primes "q", if an elliptic curve E over Q is reduced modulo q. It was proven (for almost all such curves) in 2006 due to the results of Taylor, Harris and Shepherd-Barron, and says that the error terms are equidistributed. Elliptic curves over finite fields are notably applied in cryptography and for the factorization of large integers. These algorithms often make use of the group structure on the points of "E". Algorithms that are applicable to general groups, for example the group of invertible elements in finite fields, F*"q", can thus be applied to the group of points on an elliptic curve. For example, the discrete logarithm is such an algorithm. The interest in this is that choosing an elliptic curve allows for more flexibility than choosing "q" (and thus the group of units in F"q"). Also, the group structure of elliptic curves is generally more complicated. Elliptic curves over a general field. Elliptic curves can be defined over any field "K"; the formal definition of an elliptic curve is a non-singular projective algebraic curve over "K" with genus 1 and endowed with a distinguished point defined over "K". If the characteristic of "K" is neither 2 nor 3, then every elliptic curve over "K" can be written in the form formula_42 after a linear change of variables. Here "p" and "q" are elements of "K" such that the right hand side polynomial "x"3 − "px" − "q" does not have any double roots. If the characteristic is 2 or 3, then more terms need to be kept: in characteristic 3, the most general equation is of the form formula_43 for arbitrary constants "b"2, "b"4, "b"6 such that the polynomial on the right-hand side has distinct roots (the notation is chosen for historical reasons). In characteristic 2, even this much is not possible, and the most general equation is formula_44 provided that the variety it defines is non-singular. If characteristic were not an obstruction, each equation would reduce to the previous ones by a suitable linear change of variables. One typically takes the curve to be the set of all points ("x","y") which satisfy the above equation and such that both "x" and "y" are elements of the algebraic closure of "K". Points of the curve whose coordinates both belong to "K" are called "K"-rational points. Many of the preceding results remain valid when the field of definition of "E" is a number field "K", that is to say, a finite field extension of Q. In particular, the group "E(K)" of "K"-rational points of an elliptic curve "E" defined over "K" is finitely generated, which generalizes the Mordell–Weil theorem above. A theorem due to Loïc Merel shows that for a given integer "d", there are (up to isomorphism) only finitely many groups that can occur as the torsion groups of "E"("K") for an elliptic curve defined over a number field "K" of degree "d". More precisely, there is a number "B"("d") such that for any elliptic curve "E" defined over a number field "K" of degree "d", any torsion point of "E"("K") is of order less than "B"("d"). The theorem is effective: for "d" > 1, if a torsion point is of order "p", with "p" prime, then formula_45 As for the integral points, Siegel's theorem generalizes to the following: Let "E" be an elliptic curve defined over a number field "K", "x" and "y" the Weierstrass coordinates. Then there are only finitely many points of "E(K)" whose "x"-coordinate is in the ring of integers "O""K". The properties of the Hasse–Weil zeta function and the Birch and Swinnerton-Dyer conjecture can also be extended to this more general situation. Elliptic curves over the complex numbers. The formulation of elliptic curves as the embedding of a torus in the complex projective plane follows naturally from a curious property of Weierstrass's elliptic functions. These functions and their first derivative are related by the formula formula_46 Here, and are constants; is the Weierstrass elliptic function and its derivative. It should be clear that this relation is in the form of an elliptic curve (over the complex numbers). The Weierstrass functions are doubly periodic; that is, they are periodic with respect to a lattice ; in essence, the Weierstrass functions are naturally defined on a torus . This torus may be embedded in the complex projective plane by means of the map formula_47 This map is a group isomorphism of the torus (considered with its natural group structure) with the chord-and-tangent group law on the cubic curve which is the image of this map. It is also an isomorphism of Riemann surfaces from the torus to the cubic curve, so topologically, an elliptic curve is a torus. If the lattice is related by multiplication by a non-zero complex number to a lattice , then the corresponding curves are isomorphic. Isomorphism classes of elliptic curves are specified by the -invariant. The isomorphism classes can be understood in a simpler way as well. The constants and , called the modular invariants, are uniquely determined by the lattice, that is, by the structure of the torus. However, all real polynomials factorize completely into linear factors over the complex numbers, since the field of complex numbers is the algebraic closure of the reals. So, the elliptic curve may be written as formula_48 One finds that formula_49 and formula_50 with {{mvar|j}}-invariant {{math|"j"("τ")}} and {{math|"λ"("τ")}} is sometimes called the modular lambda function. For example, let {{math|1="τ" = 2"i"}}, then {{math|1="λ"(2"i") = (−1 + {{sqrt|2}})4}} which implies {{math|"g"{{prime}}2}}, {{math|"g"{{prime}}3}}, and therefore {{math|"g"{{prime}}2{{su|p=3}} − 27"g"{{prime}}3{{su|p=2}}}} of the formula above are all algebraic numbers if {{mvar|τ}} involves an imaginary quadratic field. In fact, it yields the integer {{math|1="j"(2"i") = 663 = {{val|287496}}}}. In contrast, the modular discriminant formula_51 is generally a transcendental number. In particular, the value of the Dedekind eta function {{math|"η"(2"i")}} is formula_52 Note that the uniformization theorem implies that every compact Riemann surface of genus one can be represented as a torus. This also allows an easy understanding of the torsion points on an elliptic curve: if the lattice {{math|Λ}} is spanned by the fundamental periods {{math|"ω"1}} and {{math|"ω"2}}, then the {{mvar|n}}-torsion points are the (equivalence classes of) points of the form formula_53 for integers {{mvar|a}} and {{mvar|b}} in the range {{math|0 ≤ ("a", "b") < "n"}}. If formula_54 is an elliptic curve over the complex numbers and formula_55 then a pair of fundamental periods of {{mvar|E}} can be calculated very rapidly by formula_56 Over the complex numbers, every elliptic curve has nine inflection points. Every line through two of these points also passes through a third inflection point; the nine points and 12 lines formed in this way form a realization of the Hesse configuration. The dual isogeny. Given an isogeny formula_57 of elliptic curves of degree formula_58, the dual isogeny is an isogeny formula_59 of the same degree such that formula_60 Here formula_61 denotes the multiplication-by-formula_58 isogeny formula_63 which has degree formula_64 Construction of the dual isogeny. Often only the existence of a dual isogeny is needed, but it can be explicitly given as the composition formula_65 where formula_66 is the group of divisors of degree 0. To do this, we need maps formula_67 given by formula_68 where formula_19 is the neutral point of formula_70 and formula_71 given by formula_72 To see that formula_73, note that the original isogeny formula_74 can be written as a composite formula_75 and that since formula_74 is of degree formula_58, formula_78 is multiplication by formula_58 on formula_80 Alternatively, we can use the smaller Picard group formula_81, a quotient of formula_82 The map formula_67 descends to an isomorphism, formula_84 The dual isogeny is formula_85 Note that the relation formula_73 also implies the conjugate relation formula_87 Indeed, let formula_88 Then formula_89 But formula_90 is surjective, so we must have formula_91 Algorithms that use elliptic curves. Elliptic curves over finite fields are used in some cryptographic applications as well as for integer factorization. Typically, the general idea in these applications is that a known algorithm which makes use of certain finite groups is rewritten to use the groups of rational points of elliptic curves. For more see also: References. Serge Lang, in the introduction to the book cited below, stated that "It is possible to write endlessly on elliptic curves. (This is not a threat.)" The following short list is thus at best a guide to the vast expository literature available on the theoretical, algorithmic, and cryptographic aspects of elliptic curves. | author = Ian Blake |author2=Gadiel Seroussi |author3=Nigel Smart | author-link3=Nigel Smart (cryptographer) | year = 2000 | title = Elliptic Curves in Cryptography | series=LMS Lecture Notes | publisher = Cambridge University Press | isbn=0-521-65374-6 | author = Richard Crandall |author2=Carl Pomerance | year = 2001 | title = Prime Numbers: A Computational Perspective | publisher = Springer-Verlag | edition = 1st | isbn=0-387-94777-9 | chapter = Chapter 7: Elliptic Curve Arithmetic | pages = 285–352 |author2-link=Carl Pomerance |author-link=Richard Crandall | first=John | last=Cremona | year = 1997 | edition=2nd | title = Algorithms for Modular Elliptic Curves | publisher = Cambridge University Press | url = http://www.warwick.ac.uk/staff/J.E.Cremona//book/fulltext/index.html | isbn=0-521-59820-6 | author = Darrel Hankerson, Alfred Menezes and Scott Vanstone | year = 2004 | title = Guide to Elliptic Curve Cryptography | publisher = Springer | isbn = 0-387-95273-X | url = http://www.cacr.math.uwaterloo.ca/ecc/ | first=Dale | last=Husemöller | author-link=Dale Husemoller | year = 2004 | title = Elliptic Curves | edition = 2nd | series = Graduate Texts in Mathematics | volume=111 | publisher = Springer | isbn=0-387-95490-2 | author1= Kenneth Ireland |author2=Michael I. Rosen | author-link2 =Michael Rosen (mathematician) | year = 1998 | title = A Classical Introduction to Modern Number Theory | volume=84 | series=Graduate Texts in Mathematics | publisher = Springer | edition = 2nd revised | chapter = Chapters 18 and 19 | isbn=0-387-97329-X | first = Anthony W. |last=Knapp | author-link = Anthony W. Knapp | orig-year = 1992 |year=2018 |url=https://books.google.com/books?id=Xf9ZDwAAQBAJ | title = Elliptic Curves | series = Mathematical Notes | volume=40 | publisher = Princeton University Press |isbn=9780691186900 | last = Koblitz |first=Neal | author-link = Neal Koblitz | year = 1993 | edition=2nd | title = Introduction to Elliptic Curves and Modular Forms | series = Graduate Texts in Mathematics | volume=97 | publisher = Springer-Verlag | isbn=0-387-97966-2 | last = Koblitz |first = Neal | author-link = Neal Koblitz | year = 1994 | title = A Course in Number Theory and Cryptography | series = Graduate Texts in Mathematics | volume=114 | publisher = Springer-Verlag | edition = 2nd | isbn = 0-387-94293-9 | chapter = Chapter 6 |title=Elliptic curves: function theory, geometry and arithmetic | last = Silverman | first=Joseph H. | author-link=Joseph H. Silverman | year = 1986 | title = The Arithmetic of Elliptic Curves | series = Graduate Texts in Mathematics | volume=106 | publisher = Springer-Verlag | isbn=0-387-96203-4 | author = Joseph H. Silverman | author-link=Joseph H. Silverman | year = 1994 | title = Advanced Topics in the Arithmetic of Elliptic Curves | series = Graduate Texts in Mathematics | volume=151 | publisher = Springer-Verlag | isbn=0-387-94328-5 | author = Joseph H. Silverman | author-link=Joseph H. Silverman |author2=John Tate | year = 1992 | title = Rational Points on Elliptic Curves | publisher = Springer-Verlag | isbn=0-387-97825-9 | author2-link=John Tate (mathematician) | author = Lawrence Washington | author-link=Lawrence C. Washington | year = 2003 | title = Elliptic Curves: Number Theory and Cryptography | url = https://archive.org/details/ellipticcurvesnu0000wash | url-access = registration | publisher = Chapman & Hall/CRC | isbn=1-58488-365-0