{
  "id": "j-invariant",
  "title": "j-Invariant",
  "lang": "en",
  "source_lang": "en",
  "summary": "The j-invariant classifies elliptic curves over algebraically closed fields and is the fundamental modular function for the full modular group.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Klein’s j-invariant",
    "modular j-invariant",
    "absolute invariant"
  ],
  "generated_at": "2026-11-06",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/j-invariant/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/j-invariant/",
      "json": "https://aiwiki.page/zh/j-invariant.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The j-invariant is a numerical invariant of an elliptic curve that completely determines its isomorphism class over an algebraically closed field. Over the complex numbers, it is also a distinguished function of a variable in the upper half-plane, invariant under the modular group. These algebraic and analytic descriptions connect the geometry of elliptic curves with number theory, complex analysis, and the theory of modular forms.\n\nThe standard normalization gives the special values \\(j(i)=1728\\) and \\(j(e^{2\\pi i/3})=0\\), and a Fourier expansion beginning \\(q^{-1}+744+\\cdots\\). Some literature instead uses the normalized invariant \\(J=j/1728\\); distinguishing these conventions is essential when comparing formulas."
    },
    {
      "heading": "Algebraic definition",
      "text": "Let \\(E\\) be an elliptic curve over a field \\(K\\) of characteristic different from \\(2\\) and \\(3\\). It can be expressed by a short Weierstrass equation\n\n\\[E:\\qquad y^2=x^3+Ax+B,\\]\n\nwhere\n\n\\[4A^3+27B^2\\ne 0.\\]\n\nThis condition ensures that the curve is nonsingular. Its j-invariant is\n\n\\[j(E)=1728\\,\\frac{4A^3}{4A^3+27B^2}.\\]\n\nEquivalently, define\n\n\\[c_4=-48A,\\qquad \\Delta_E=-16(4A^3+27B^2).\\]\n\nThen\n\n\\[j(E)=\\frac{c_4^3}{\\Delta_E}.\\]\n\nHere \\(\\Delta_E\\) is the discriminant of the Weierstrass equation. The denominator is nonzero precisely when the equation defines an elliptic curve rather than a singular cubic.\n\nThe invariance follows from the transformation laws for these quantities. Under the substitution\n\n\\[x=u^2x',\\qquad y=u^3y',\\qquad u\\ne0,\\]\n\nthe new coefficients are \\(A'=u^{-4}A\\) and \\(B'=u^{-6}B\\). Consequently, \\(c_4'=u^{-4}c_4\\) and \\(\\Delta_E'=u^{-12}\\Delta_E\\), so their ratio \\(c_4^3/\\Delta_E\\) is unchanged.\n\nGeneral Weierstrass equations\n\nThe definition extends to every characteristic using a general Weierstrass equation\n\n\\[y^2+a_1xy+a_3y =x^3+a_2x^2+a_4x+a_6.\\]\n\nSet\n\n\\[\\begin{aligned} b_2&=a_1^2+4a_2,\\\\ b_4&=a_1a_3+2a_4,\\\\ b_6&=a_3^2+4a_6,\\\\ b_8&=a_1^2a_6+4a_2a_6-a_1a_3a_4 +a_2a_3^2-a_4^2. \\end{aligned}\\]\n\nThen\n\n\\[c_4=b_2^2-24b_4\\]\n\nand\n\n\\[\\Delta_E =-b_2^2b_8-8b_4^3-27b_6^2+9b_2b_4b_6.\\]\n\nFor a nonsingular equation, the same definition\n\n\\[j(E)=\\frac{c_4^3}{\\Delta_E}\\]\n\napplies. This formulation is necessary in characteristics \\(2\\) and \\(3\\), where a short Weierstrass equation need not be available."
    },
    {
      "heading": "Classification of elliptic curves",
      "text": "Over an algebraically closed field \\(k\\), two elliptic curves are isomorphic if and only if they have the same j-invariant:\n\n\\[E_1\\cong E_2 \\quad\\Longleftrightarrow\\quad j(E_1)=j(E_2).\\]\n\nMoreover, every element of \\(k\\) occurs as the j-invariant of some elliptic curve over \\(k\\).\n\nOver a field that is not algebraically closed, the conclusion requires qualification. Equal j-invariants imply isomorphism over an algebraic closure, but not necessarily over the original field. Different forms of the same geometric curve are called twists. Thus the j-invariant alone does not classify elliptic curves over the rational numbers or over a specified finite field.\n\nFor example, in characteristic different from \\(2\\), a quadratic twist of\n\n\\[y^2=x^3+Ax+B\\]\n\ncan be written\n\n\\[y^2=x^3+d^2Ax+d^3B.\\]\n\nIt has the same j-invariant as the original curve and becomes isomorphic to it after adjoining \\(\\sqrt d\\), but need not be isomorphic over the starting field.\n\nIn algebraic geometry, this classification is expressed by saying that the affine j-line is the coarse moduli space of elliptic curves. “Coarse” is important: the coordinate \\(j\\) records geometric isomorphism classes but does not retain all information about automorphisms or families of curves."
    },
    {
      "heading": "Complex lattices and the modular group",
      "text": "Every complex elliptic curve is analytically isomorphic to a quotient\n\n\\[\\mathbb C/\\Lambda,\\]\n\nwhere \\(\\Lambda\\) is a lattice generated by two real-linearly independent complex numbers. After scaling and choosing an oriented basis, the lattice can be written\n\n\\[\\Lambda_\\tau=\\mathbb Z+\\mathbb Z\\tau, \\qquad \\tau\\in\\mathbb H,\\]\n\nwhere\n\n\\[\\mathbb H=\\{\\tau\\in\\mathbb C:\\operatorname{Im}\\tau>0\\}\\]\n\nis the upper half-plane.\n\nDifferent lattice bases give the transformations\n\n\\[\\tau\\longmapsto \\frac{a\\tau+b}{c\\tau+d}, \\qquad a,b,c,d\\in\\mathbb Z,\\qquad ad-bc=1.\\]\n\nThese form the action of the modular group \\(\\mathrm{SL}_2(\\mathbb Z)\\); its central elements \\(\\pm I\\) act identically on \\(\\mathbb H\\).\n\nDefining\n\n\\[j(\\tau)=j(\\mathbb C/\\Lambda_\\tau)\\]\n\ntherefore yields\n\n\\[j\\!\\left(\\frac{a\\tau+b}{c\\tau+d}\\right)=j(\\tau).\\]\n\nThe function separates modular-group orbits:\n\n\\[j(\\tau_1)=j(\\tau_2) \\quad\\Longleftrightarrow\\quad \\tau_2=\\gamma\\tau_1\\]\n\nfor some \\(\\gamma\\in\\mathrm{SL}_2(\\mathbb Z)\\).\n\nLattice formula\n\nFor a lattice \\(\\Lambda\\), define the absolutely convergent sums\n\n\\[g_2(\\Lambda)=60\\sum_{\\omega\\in\\Lambda\\setminus\\{0\\}}\\omega^{-4}, \\qquad g_3(\\Lambda)=140\\sum_{\\omega\\in\\Lambda\\setminus\\{0\\}}\\omega^{-6}.\\]\n\nThe associated Weierstrass elliptic function gives the equation\n\n\\[y^2=4x^3-g_2x-g_3.\\]\n\nIts invariant is\n\n\\[j(\\Lambda) =1728\\,\\frac{g_2^3}{g_2^3-27g_3^2}.\\]\n\nScaling the lattice changes \\(g_2\\) and \\(g_3\\) by factors of weights \\(4\\) and \\(6\\), respectively, leaving this ratio unchanged."
    },
    {
      "heading": "Modular forms and Fourier expansion",
      "text": "Let\n\n\\[q=e^{2\\pi i\\tau}.\\]\n\nThe normalized Eisenstein series of weights \\(4\\) and \\(6\\) are\n\n\\[E_4(\\tau)=1+240\\sum_{n\\ge1}\\sigma_3(n)q^n,\\]\n\n\\[E_6(\\tau)=1-504\\sum_{n\\ge1}\\sigma_5(n)q^n,\\]\n\nwhere\n\n\\[\\sigma_r(n)=\\sum_{d\\mid n}d^r.\\]\n\nThe modular discriminant is the modular form\n\n\\[\\Delta(\\tau) =q\\prod_{n\\ge1}(1-q^n)^{24} =\\frac{E_4(\\tau)^3-E_6(\\tau)^2}{1728}.\\]\n\nThis analytic normalization should be distinguished from the discriminant of an arbitrarily chosen Weierstrass equation.\n\nThe j-function is\n\n\\[j(\\tau)=\\frac{E_4(\\tau)^3}{\\Delta(\\tau)} =1728\\,\\frac{E_4(\\tau)^3} {E_4(\\tau)^3-E_6(\\tau)^2}.\\]\n\nIts Fourier expansion, equivalently a Laurent expansion in \\(q\\), begins\n\n\\[j(\\tau) =q^{-1}+744+196884q+21493760q^2 +864299970q^3+\\cdots.\\]\n\nAll coefficients are integers.\n\nThe function is holomorphic on \\(\\mathbb H\\), but has a simple pole at the cusp \\(q=0\\). Every modular function for the full modular group that is meromorphic at the cusp is a rational function of \\(j\\). In this sense, \\(j\\) is the fundamental modular function for that group."
    },
    {
      "heading": "Geometry and special values",
      "text": "The quotient of the upper half-plane by the modular group becomes a compact Riemann surface after adding its cusp. This is the modular curve \\(X(1)\\). The j-function identifies \\(X(1)\\) with the complex projective line, sending the cusp to infinity.\n\nTwo values reflect elliptic curves with additional symmetries:\n\n\\[j(i)=1728,\\qquad j(\\rho)=0,\\qquad \\rho=e^{2\\pi i/3}.\\]\n\nThe square lattice, represented by \\(\\tau=i\\), corresponds to curves such as\n\n\\[y^2=x^3-x.\\]\n\nThe hexagonal lattice, represented by \\(\\tau=\\rho\\), corresponds to curves such as\n\n\\[y^2=x^3+1.\\]\n\nOver an algebraically closed field of characteristic zero, the automorphism groups fixing the identity have orders \\(4\\) and \\(6\\) in these two cases, rather than the generic order \\(2\\).\n\nAs a function on the upper half-plane, \\(j\\) has a zero of order \\(3\\) at \\(\\rho\\), while \\(j-1728\\) has a zero of order \\(2\\) at \\(i\\). These multiplicities arise from the stabilizers of those points under the modular-group action; they do not prevent \\(j\\) from being a coordinate on the quotient."
    },
    {
      "heading": "Complex multiplication and algebraic values",
      "text": "An elliptic curve has complex multiplication when its ring of endomorphisms is larger than the integers. Over \\(\\mathbb C\\), this occurs precisely when its lattice parameter \\(\\tau\\) is imaginary quadratic: it satisfies a quadratic equation with integer coefficients and has positive imaginary part.\n\nAt such parameters, \\(j(\\tau)\\) is an algebraic integer. These special values are called singular moduli. Their arithmetic is a central part of complex multiplication theory.\n\nFor a negative quadratic discriminant \\(D\\), the product\n\n\\[H_D(X)=\\prod_{[\\mathfrak a]} \\bigl(X-j(\\mathbb C/\\mathfrak a)\\bigr),\\]\n\ntaken over ideal classes of the imaginary quadratic order of discriminant \\(D\\), has integer coefficients. It is commonly called a Hilbert class polynomial, or a ring class polynomial for a nonmaximal order. Its degree is the class number of that order.\n\nTogether with the relevant imaginary quadratic field, these j-values generate class fields. This supplies explicit links between complex analysis, Galois theory, and algebraic number theory.\n\nA famous exact value is\n\n\\[j\\!\\left(\\frac{1+\\sqrt{-163}}2\\right)=-640320^3.\\]\n\nSince the corresponding parameter satisfies\n\n\\[q=-e^{-\\pi\\sqrt{163}},\\]\n\nthe leading terms of the j-expansion explain why\n\n\\[e^{\\pi\\sqrt{163}} \\approx640320^3+744\\]\n\nis extraordinarily close to an integer, though not equal to one."
    },
    {
      "heading": "Isogenies and computational uses",
      "text": "An isogeny is a nonconstant morphism of elliptic curves preserving their identity elements. Curves related by an isogeny need not have equal j-invariants.\n\nFor each positive integer \\(N\\), a modular polynomial\n\n\\[\\Phi_N(X,Y)\\in\\mathbb Z[X,Y]\\]\n\nencodes cyclic isogenies of degree \\(N\\). Over \\(\\mathbb C\\),\n\n\\[\\Phi_N(j(E),j(E'))=0\\]\n\nif and only if \\(E\\) and \\(E'\\) are connected by such an isogeny.\n\nModular polynomials and class polynomials are used in algorithms for constructing elliptic curves, studying isogeny graphs, and counting points over finite fields. In arithmetic applications, \\(j\\) provides a compact description of the geometric isomorphism class, while additional data distinguish twists and determine arithmetic properties."
    },
    {
      "heading": "Historical and representation-theoretic connections",
      "text": "The j-invariant emerged from nineteenth-century work on elliptic functions and modular equations and is particularly associated with Felix Klein. Its role joins two descriptions of the same objects: elliptic curves given by algebraic equations and complex tori given by lattices.\n\nIn the twentieth century, the Fourier coefficients acquired an unexpected connection with representation theory. The equality\n\n\\[196884=196883+1\\]\n\nrelates the first positive-power coefficient of \\(j\\) to dimensions of representations of the Monster finite simple group. Further coefficient identities form part of monstrous moonshine. In that setting, the shifted function\n\n\\[j(\\tau)-744 =q^{-1}+196884q+21493760q^2+\\cdots\\]\n\nappears as the graded dimension of the moonshine module."
    }
  ],
  "links": [
    "elliptic-curve",
    "isomorphism",
    "complex-number",
    "number-theory",
    "complex-analysis",
    "field-mathematics",
    "rational-number",
    "finite-field",
    "algebraic-geometry",
    "fourier-series",
    "riemann-surface",
    "galois-theory",
    "felix-klein",
    "representation-theory"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}