# Uniformization of a genus 3 trigonal curve

**URL:** <https://community.wolfram.com/t/uniformization-of-a-genus-3-trigonal-curve/24462>\
**Category:** Staff Picks\
**Tags:** algebra, geometry, graphics-and-visualization, numerical-computation, symbolic-computations, staff-pick, publication-materials\
**Created:** [August 21, 2024, 3:56am UTC](https://community.wolfram.com/t/uniformization-of-a-genus-3-trigonal-curve/24462 "2024-08-21T03:56:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliabernatska](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/juliabernatska/32/17039_2.png) [@juliabernatska](https://community.wolfram.com/u/juliabernatska)\
**Post date:** [August 21, 2024, 3:56am UTC](https://community.wolfram.com/t/uniformization-of-a-genus-3-trigonal-curve/24462/1 "2024-08-21T03:56:47Z")

</div>

![2834Hero.jpg](https://global.discourse-cdn.com/wolfram/original/3X/9/5/959e14417c7b4c20b6ec34700db64f2c7fc5509b.jpeg)

**ABSTRACT (original article)**: Numerical tools for computation of ℘-functions, also known as Kleinian, or multiply periodic, are proposed. In this connection, computation of periods of the both first and second kinds is reconsidered. An analytical approach to constructing the Reimann surface of a plane algebraic curves of low gonalities is used. The approach is based on explicit radical solutions to quadratic, cubic, and quartic equations, which serve for hyperelliptic, trigonal, and tetragonal curves, respectively. The proposed analytical construction of the Riemann surface gives a full control over computation of the Abel image of any point on a curve. Therefore, computation of ℘-functions on given divisors can be done directly. An alternative computation with the help of the Jacobi inversion problem is used for verification. Hyperelliptic and trigonal curves are considered in detail, and illustrated by examples. **CITATION (original article):** Julia Bernatska, Computation of ℘-functions on plane algebraic curves, arXiv:2407.05632. [[2407.05632] Computation of $\wp$-functions on plane algebraic curves](https://doi.org/10.48550/arXiv.2407.05632)

* * *

See first part here: [Uniformization of a genus 4 hyperelliptic curve with arbitrary complex branch points](https://wolfram.discourse.group/t/24410/1)

* * *

## Introduction

In this discussion Example 3 from [arXiv:2407.05632](https://arxiv.org/abs/2407.05632) is considered in detail.  
The present discussion can be considered as a continuation of discussion  
[Uniformization of a genus 4 hyperelliptic curve with arbitrary complex branch points](https://wolfram.discourse.group/t/24410/1)

A genus g=3 trigonal curve \mathcal{C} in the canonical (3,4)-form, accurately defined below, serves as an example. A solution of the Jacobi inversion problem on this curve \mathcal{C} is obtained from the system

\mathcal{R}\_6(x,y;u) = x^2 - y\, \wp\_{1,1}(u) - x\, \wp\_{1,2}(u) - \wp\_{1,5}(u)

\mathcal{R}\_7(x,y;u) = 2 x y - y\, \big(\wp\_{1,2}(u) - \wp\_{1,1,1}(u)\big) \qquad\quad

\qquad\qquad\qquad\qquad\quad - x \big(\wp\_{2,2}(u) - \wp\_{1,1,2}(u) \big) - \big(\wp\_{2,5}(u) - \wp\_{1,1,5}(u)\big).

That is, given a point u = (u\_1, u\_2, u\_5) \in \mathrm{Jac}(\mathcal{C}),  
which corresponds to a class of non-special divisors, one can find a reduced divisor D, which represents the class, such that u=\mathcal{A}(D). This positive divisor D of degree g=3  
serves as a common divisor of zeros of the two entire rational (polynomial in x and y) functions \mathcal{R}\_6  
and \mathcal{R}\_7.

Multiply periodic \wp-functions, which arise in the definition of functions \mathcal{R}\_6  
and \mathcal{R}\_7 are defined through the modular invariant entire function \sigma:

\wp\_{i,j}(u) = - \dfrac{\partial^2}{\partial u\_i \partial u\_j} \log \sigma(u),\qquad \wp\_{i,j,k}(u) = - \dfrac{\partial^3}{\partial u\_i \partial u\_j \partial u\_k} \log \sigma(u).

In fact, uniformization is given by six functions which serve as coefficients of \mathcal{R}\_6  
and \mathcal{R}\_7. Namely:

\wp\_{1,1}(u),\quad \wp\_{1,2}(u),\quad \wp\_{1,5}(u),

\wp\_{1,2}(u)-\wp\_{1,1,1}(u),\quad \wp\_{2,2}(u)-\wp\_{1,1,2}(u),\quad \wp\_{2,5}(u) - \wp\_{1,1,5}(u).

These six functions uniquely define a class of divisors linearly equivalent to D such that u=\mathcal{A}(D).

## Trigonal curve

We consider the simplest trigonal curve in the canonical form, known as (3,4)-curve, namely

0 = f(x,y) = -y^3 + y \mathcal{Q}(x) + \mathcal{P}(x)

= -y^3 + y (\lambda\_2 x^2 + \lambda\_5 x + \lambda\_{8}) + x^4 + \lambda\_3 x^3 + \lambda\_6 x^2 + \lambda\_9 x + \lambda\_{12}. 

At every x there exist three values of y, if the point is not a ramification point.  
We solve the equation of the curve for y by the Cardano formula. Let

\Delta(x) = \mathcal{P}(x) ^2 - \tfrac{4}{27} \mathcal{Q}(x) ^3

be the discriminant of the curve, and

\upsilon(x) = \tfrac{1}{2} \big( \mathcal{P}(x) + \sqrt{\Delta(x)} \big).

Let q\_1, q\_2, q\_3 denote three cubic roots of \upsilon:

q\_a (x) = \upsilon(x)^{1/3} \mathrm{e}^{2(a-1) \imath \pi/3},\quad a=1,2,3,

where \upsilon^{1/3} is defined as follows

\upsilon(x)^{1/3} = \left\{ \begin{array}{ll} |\upsilon(x)| \, \mathrm{e}^{(\imath/3) \arg \upsilon(x) } & \text{if } \arg \upsilon(x) \geqslant 0, \\ |\upsilon(x)| \, \mathrm{e}^{(\imath/3) \arg \upsilon(x) + \imath 2\pi / 3} & \text{if } \arg \upsilon(x) \< 0; \end{array} \right. 

and \sqrt{\Delta} is defined as

\sqrt{\Delta(x)} = \left\{ \begin{array}{ll} |\Delta(x)| \, \mathrm{e}^{(\imath/2) \arg \Delta(x) } & \text{if } \arg \Delta(x) \geqslant 0, \\ |\Delta(x)| \, \mathrm{e}^{(\imath/2) \arg \Delta(x) + \imath \pi } & \text{if } \arg \Delta(x) \< 0. \end{array} \right. 

Finally,

y\_a (x) = q\_a(x) + \tfrac{1}{3} \mathcal{Q}(x)\, q\_a^{-1},\quad a=1,2,3.

With the definition of \upsilon^{1/3} introduced above, every y\_a has discontinuity over the contour \Upsilon = \{x \mid \arg \upsilon(x)=0\}, and the analytic continuation of y\_a is  
given by y\_b, where a \mapsto b according to a cyclic permutation (123) or (132).

The definition of \sqrt{\Delta} introduces the contour \Gamma = \{x \mid \arg \Delta(x)=0\}, composed of segments \Gamma\_i, each starts at e\_i and goes to infinity. Here e\_i is  
the x-coordinate of a branch point B\_i = (e\_i,h\_i) such that h\_i = y\_a (e\_i) = y\_b (e\_i ).  
Then y\_a and  
y\_b have discontinuity over the contour \Gamma, and  
y\_b serves as the analytic  
continuation of y\_a on the other side  
of \Gamma\_i, and vice versa.

## Curve in Example 3

More precisely,

f(x,y) = -y^3 + y (4 x^2 + 5 x + 11) + x^4 + 3 x^3 + 7 x^2 + 16 x + 9. 

The curve has eight finite branch points:

\begin{array}{llll} B\_1 : & e\_1 \approx -4.58931,& h\_1 \approx -4.9092 & 2\text{-}3 \\ B\_2 : & e\_2 \approx -1.17922 - 0.934455 \imath,& h\_2 \approx 1.60505 + 0.430221 \imath& 1\text{-}3 \\ B\_3 : & e\_3 \approx -1.17922 + 0.934455 \imath,& h\_3 \approx 1.60505 - 0.430221 \imath &1\text{-}3 \\ B\_4 : & e\_4 \approx -0.431732 - 2.20256 \imath,& h\_4 \approx 0.309255 - 1.83532 \imath& 2\text{-}3\\ B\_5 : & e\_5 \approx -0.431732 + 2.20256 \imath,& h\_5 \approx 0.309255 + 1.83532 \imath& 1\text{-}2\\ B\_6 : & e\_6 \approx 0.499118 - 1.57527 \imath,& h\_6 \approx -1.80047 + 1.31135 \imath& 1\text{-}2 \\ B\_7 : & e\_7 \approx 0.499118 + 1.57527 \imath,& h\_7 \approx -1.80047 - 1.31135 \imath& 2\text{-}3 \\ B\_8 : & e\_8 \approx 0.812986,& h\_8 \approx -2.42959& 2\text{-}3 \end{array} 

In the right column the corresponding pair ‘a\text{-}b’ is indicated, that is the pair of solutions y\_a  
and y\_b which coincide at e\_i.  
On the figure below, the contour \Upsilon is marked in green, and the direction in which y\_a, a=1,2,3, connect according to the cyclic permutation (123)  
is indicated by green arrows. The contour \Gamma is marked in blue, and a pair ‘a\text{-}b’ in blue indicates which solutions y\_a  
and y\_b connect along each segment of the contour.  
Some segments \Gamma\_i are intersected by  
the contour \Upsilon. At the points of such an intersection the pair ‘a\text{-}b’ changes  
according to the cyclic permutation of y\_a, a=1,2,3, along \Upsilon.

 ![C34-contours.png](https://global.discourse-cdn.com/wolfram/original/3X/7/4/74272f1c6053a231bbb2491c5a7b7441995f8ef8.png)

## Riemann surface

A trigonal curve has three sheets, which we denote Sheet A, Sheet B, and Sheet C.  
Two sheets join at every branch points, and all three sheets join at infinity.

The corresponding Riemann surface is obtained by making g+1=4 cuts along which two sheets are connected. Cuts are made between pairs of points:

- from B\_2 to B\_3 on sheets with solutions y\_1 and y\_3,
- from B\_4 to B\_5 on sheets with solutions y\_1 and y\_2 in the vicinity of B\_5 which change  
consequently into the pair 1-3 and then 2-3 when approaching B4,
- from B\_6 to B\_7 on sheets with solutions y\_2 and y\_3 in the vicinity of B\_7 which change into the pair 1-2 when approaching B\_6.
- from B\_8 to infinity, and then to B\_1.

Further computations require the knowledge how y\_a, a=1,2,3, change on each sheet. For this purpose, we draw a continuous path \tilde{\gamma} on the x-plane from -\infty to \infty through all points e\_i. The figure below shows this path, marked by orange. The path through all points e\_i is displayed by dashed lines between e\_2 and e\_8. The path \tilde{\gamma} can be continuously deformed into a simpler path \gamma, displayed by solid lines.  
The both paths are polygonal, and go below points e\_i,  
cuts are rounded counter-clockwise.

 ![C34-PathL.png](https://global.discourse-cdn.com/wolfram/original/3X/3/b/3b2155f87ea69e241ebd99fb1464b3035e302174.png)

The path \widetilde{\gamma} marks sheets as follows

\begin{array}{cccccccc} &\ \{a\_{0-,1}, & a\_{1,2}, & a\_{2,3}, & a\_{3,4}, & a\_{4,5}, & a\_{5,6}, & a\_{6,7}, & a\_{7,8}, & a\_{8,0+} \} =\\ \text{Sheet A:} & \{\ \ 1, \ \ \ & 1, & 3, & 3\text{-}1, & 1\text{-}2\text{-}3,& 3\text{-}2,& 1\text{-}2, & 2, & 3\ \ \ \}, \\ &\ \{b\_{0-,1}, & b\_{1,2}, & b\_{2,3}, & b\_{3,4}, & b\_{4,5}, & b\_{5,6}, & b\_{6,7}, & b\_{7,8}, & b\_{8,0+} \} =\\ \text{Sheet B:} & \{\ \ 2, \ \ \ & 2, & 2, & 2\text{-}3, & 2\text{-}3\text{-}1,& 1\text{-}3,& 3\text{-}1, & 1, & 1\ \ \ \}, \\ &\ \{c\_{0-,1}, & c\_{1,2}, & c\_{2,3}, & c\_{3,4}, & c\_{4,5}, & c\_{5,6}, & c\_{6,7}, & c\_{7,8}, & c\_{8,0+} \} = \\ \text{Sheet C:} & \{\ \ 3, \ \ \ & 3, & 1, & 1\text{-}2, & 3\text{-}1\text{-}2,& 2\text{-}1,& 2\text{-}3, & 3, & 2\ \ \ \}. \end{array}

By a\_{i,j} the value a of y\_a on segment [e\_i,e\_j] is denoted on Sheet A,  
then by b\_{i,j} and c\_{i,j} similar values are denoted on Sheet B, and Sheet C, respectively.  
An expression of the form ‘a-b-c’ means that over the corresponding segment  
the value a\_{i,j} in y\_{a\_{i,j}}  
changes consequently from a to b, then from b to c.

Connection of solutions y\_1,y\_2,y\_3 on each sheet is shown on the figure

 ![6250C34-RiemannSurf.jpg](https://global.discourse-cdn.com/wolfram/original/2X/2/2dda8f8fd12a3260c4eb1069edcffc8790fa6fd8.jpeg)

The x-plane is marked by three colors: yellow, light green, and sky blue, each shows where the areas of y\_1,y\_2, and y\_3, correspondingly, are located. Every picture represents one sheet.

Note that all cuts can be reached on Sheet C, as well as all branch points.

## Canonical homology basis

Let \mathfrak{a}-cycles encircle cuts between finite branch points counter-clockwise:

- \mathfrak{a}\_1 encircles [B\_2,B\_3]
- \mathfrak{a}\_2 encircles [B\_4,B\_5]
- \mathfrak{a}\_3 encircles [B\_6,B\_7]

All \mathfrak{a}-cycles are located on Sheet C.

Let \mathfrak{b}\_k-cycle emerges from the cut  
[B\_8,\infty)\cup (\infty,B\_1] and enters the cut [B\_{2k},B\_{2k+1}].  
Then \mathfrak{b}\_1-cycle goes through Sheets C and A, \mathfrak{b}\_2 through Sheets C and B, \mathfrak{b}\_3 through Sheets C and A.

 ![1621C34-cycles.jpg](https://global.discourse-cdn.com/wolfram/original/2X/e/edbe5ef2e39ab85f9eec673084e06f7d04d62763.jpeg)

On the figure, \mathfrak{a}-cycles are marked in grey,  
and \mathfrak{b}-cycles are marked in brown. Solid line stands for y\_1, dashed for y\_2, and dotted for y\_3.

## First and second kind differentials

A (3,4)-curve possesses the gap  
sequence \{1,2,5\},  
and the first kind differentials have the form

\mathrm{d} u = \begin{pmatrix} \mathrm{d} u\_1 \\ \mathrm{d} u\_2 \\ \mathrm{d} u\_5 \end{pmatrix} = \begin{pmatrix} y \\ x \\ 1 \end{pmatrix} \frac{\mathrm{d} x}{-3 y^2+\mathcal{Q}(x)}. 

Second kind differentials associated with the first ones on the curve are defined as follows

\mathrm{d} r = \begin{pmatrix} \mathrm{d} r\_1 \\ \mathrm{d} r\_2 \\ \mathrm{d} r\_5 \end{pmatrix} = \begin{pmatrix} x^2 \\ 2 x y \\ \mathcal{R}\_{5} \end{pmatrix} \frac{\mathrm{d} x}{-3 y^2+\mathcal{Q}(x)}, 

\mathcal{R}\_{5} = 5x^2 y + 3 \lambda\_3 x y + \tfrac{2}{3}\lambda\_2^2 x^2 + \lambda\_6 y + \tfrac{2}{3} \lambda\_2 \lambda\_5 x.

## First kind integrals

Let \mathcal{A}^{[a]}\_{i,j} denote the first kind integral between branch points e\_i and e\_j  
computed with y = y\_a(x):

\mathcal{A}^{[a]}\_{i,j} = \int\_{e\_i}^{e\_j} \mathrm{d} u^{[a]}.

Integrals are computed with the help of **NIntegrate**.

In order to verify, that the model of Riemann surface given above is constructed correctly, we  
compute first kind integrals along the path \tilde{\gamma} on all Sheets. That is

\mathcal{A}^{[n\_{0,1}]}\_{0,1} = \int\_{-\infty-\imath \epsilon}^{e\_1} \mathrm{d} u^{[n\_{0,1}]}, \quad \mathcal{A}\_{i,i+1}^{[n\_{i,i+1}]} = \int\_{e\_{i}}^{e\_{i+1}} \mathrm{d} u^{[n\_{i,i+1}]},\ i=1,\dots,7,\quad \mathcal{A}^{[n\_{8,0}]}\_{8,0} = \int\_{e\_8}^{\infty+\imath \epsilon} \mathrm{d} u^{[n\_{8,0}]},

where n\_{i,j}=a\_{i,j}, or b\_{i,j}, or c\_{i,j}, depending on the sheet.  
The integrand of \mathcal{A}\_{i,j}^{[n\_{i,j}]}   
is taken with  
y =y\_{ n\_{i,j} }(x) , and is a function of x. Note, that the path in \mathcal{A}^{[n\_{0,1}]}\_{0,1}  
starts below the real axis, and the path in \mathcal{A}^{[n\_{8,0}]}\_{8,0} ends above the real axis.  
This is essential for the relations presented below.

A lift of the continuous path to each sheet, closed by a semi-circle around infinity,  
is homotopic to zero, an so relations hold

\mathcal{A}^{[n\_{0,1}]}\_{0,1} + \sum\_{i=1}^{7} \mathcal{A}\_{i,i+1}^{[n\_{i,i+1}]} + \mathcal{A}^{[n\_{8,0}]}\_{8,0} = 0, \qquad n = a,\, b,\, c,

which serve for verification. In fact, a simpler path \gamma is used.  
And relations acquire the form

\mathcal{A}^{[1]}\_{0,1} + \mathcal{A}^{[1]}\_{1,2} + \mathcal{A}^{[3\text{-}1]}\_{2,4} + \mathcal{A}^{[1\text{-}2]}\_{4,6} + \mathcal{A}^{[1\text{-}2]}\_{6,8} + \mathcal{A}^{[3]}\_{8,0} = 0,\\ \mathcal{A}^{[2]}\_{0,1} + \mathcal{A}^{[2]}\_{1,2} + \mathcal{A}^{[2\text{-}3]}\_{2,4} + \mathcal{A}^{[2\text{-}3]}\_{4,6} + \mathcal{A}^{[3\text{-}1]}\_{6,8} + \mathcal{A}^{[1]}\_{8,0} = 0,\\ \mathcal{A}^{[3]}\_{0,1} + \mathcal{A}^{[3]}\_{1,2} + \mathcal{A}^{[1\text{-}2]}\_{2,4} + \mathcal{A}^{[3\text{-}1]}\_{4,6} + \mathcal{A}^{[2\text{-}3]}\_{6,8} + \mathcal{A}^{[2]}\_{8,0} = 0,

At the same time, another path homotopic to zero on each sheet exists,  
and so produces another set of relations:

\mathcal{A}^{[3]}\_{0,8} + \mathcal{A}^{[2]}\_{8,7} + \mathcal{A}^{[3]}\_{7,5} + \mathcal{A}^{[3]}\_{5,3} + \mathcal{A}^{[1]}\_{3,1} + \mathcal{A}^{[1]}\_{1,0} = 0,\\ \mathcal{A}^{[2]}\_{0,8} + \mathcal{A}^{[3]}\_{8,7} + \mathcal{A}^{[2]}\_{7,5} + \mathcal{A}^{[1]}\_{5,3} + \mathcal{A}^{[3]}\_{1,3} +\mathcal{A}^{[2]}\_{1,0} = 0,\\ \mathcal{A}^{[1]}\_{0,8} + \mathcal{A}^{[1]}\_{8,7} + \mathcal{A}^{[1]}\_{7,5} + \mathcal{A}^{[2]}\_{5,3} + \mathcal{A}^{[2]}\_{3,1} + \mathcal{A}^{[3]}\_{1,0} = 0.

Evidently, \mathcal{A}^{[n\_{i,j}]}\_{i,j} = - \mathcal{A}^{[n\_{j,i}]}\_{j,i}, and  
\mathcal{A}^{[a\_{i,j}]}\_{i,j}+\mathcal{A}^{[b\_{i,j}]}\_{i,j}+\mathcal{A}^{[c\_{i,j}]}\_{i,j} = 0.

In fact, only integrals with one change of y-values are computed. The point where this change occurs on a line segment is found as a point of discontinuity of each y\_a. Thus, integrals \mathcal{A}^{[n\_{2,4}]}\_{2,4}, \mathcal{A}^{[n\_{4,6}]}\_{4,6}, \mathcal{A}^{[n\_{6,7}]}\_{6,7}, \mathcal{A}^{[n\_{6,8}]}\_{6,8} are computed with two different values of y\_a. For example, on Sheet A

\mathcal{A}^{[3\text{-}1]}\_{2,4} = \int\_{e\_{2}}^{d} \mathrm{d} u^{[3]} + \int\_{d}^{e\_{4}} \mathrm{d} u^{[1]},

where d denotes the point of intersection of the line segment [e\_2,e\_4] with the contour \Upsilon.

Reducing the number of intersections with \Upsilon, we replace \mathcal{A}^{[n\_{4,5}]}\_{4,5} with the sum \mathcal{A}^{[n\_{4,6}]}\_{4,6}+\mathcal{A}^{[n\_{6,5}]}\_{6,5}.

## First kind periods

Periods are calculated according to the picture of homology cycles. Namely,

\begin{array}{l} \omega\_1 = \mathcal{A}^{[1]}\_{2,3} + \mathcal{A}^{[3]}\_{3,2},\\ \omega\_2 = \mathcal{A}^{[3\text{-}1\text{-}2]}\_{4,5} + \mathcal{A}^{[1\text{-}3\text{-}2]}\_{5,4} = \mathcal{A}^{[3\text{-}1]}\_{4,6} + \mathcal{A}^{[1\text{-}2]}\_{6,5} + \mathcal{A}^{[1]}\_{5,2} + \mathcal{A}^{[1\text{-}2]}\_{2,4},\\ \omega\_3 = \mathcal{A}^{[2\text{-}3]}\_{6,7} + \mathcal{A}^{[2\text{-}1]}\_{7,6},\\ \omega'\_1 = \mathcal{A}^{[3]}\_{8,7} + \mathcal{A}^{[2]}\_{7,5} + \mathcal{A}^{[1]}\_{5,3} + \mathcal{A}^{[3\text{-}2]}\_{3,6} + \mathcal{A}^{[1\text{-}2]}\_{6,8}, \\ \omega'\_2 = \mathcal{A}^{[3]}\_{1,2} + \mathcal{A}^{[1\text{-}2]}\_{2,4} +\mathcal{A}^{[3\text{-}2]}\_{4,2} + \mathcal{A}^{[2]}\_{2,1}, \\ \omega'\_3 = \mathcal{A}^{[3]}\_{8,7} + \mathcal{A}^{[2]}\_{7,8}. \end{array}

Here \omega\_k denotes the k-th column of \mathfrak{a}-period matrix \omega,  
and \omega'\_k denotes the k-th column of \mathfrak{b}-period matrix \omega'.  
These first kind period matrices are not normalized.

The Riemann period matrix is obtained by

\tau = \omega^{-1} \omega',

and is supposed to be a symmetric matrix with positive imaginary part. The latter serves for verification.

## Second kind integrals and periods

A second kind integral  
\mathcal{B}^{[a]}\_{i,j}   
between e\_i and  
e\_j with  
y = y\_a(x)   
is computed by

\mathcal{B}^{[a]}\_{i,j} = \int\_{e\_i}^{e\_j} \mathrm{d}r^{[a]}.

These integrals are used in computation of second kind periods, with respect to the same homology cycles. Namely,

\begin{array}{l} \eta\_1 = \mathcal{B}^{[1]}\_{2,3} + \mathcal{B}^{[3]}\_{3,2},\\ \eta\_2 = \mathcal{B}^{[3\text{-}1\text{-}2]}\_{4,5} + \mathcal{B}^{[1\text{-}3\text{-}2]}\_{5,4} = \mathcal{B}^{[3\text{-}1]}\_{4,6} + \mathcal{B}^{[1\text{-}2]}\_{6,5} + \mathcal{B}^{[1]}\_{5,2} + \mathcal{B}^{[1\text{-}2]}\_{2,4},\\ \eta\_3 = \mathcal{B}^{[2\text{-}3]}\_{6,7} + \mathcal{B}^{[2\text{-}1]}\_{7,6},\\ \eta'\_1 = \mathcal{B}^{[3]}\_{8,7} + \mathcal{B}^{[2]}\_{7,5} + \mathcal{B}^{[1]}\_{5,3} + \mathcal{B}^{[3\text{-}2]}\_{3,6} + \mathcal{B}^{[1\text{-}2]}\_{6,8}, \\ \eta'\_2 = \mathcal{B}^{[3]}\_{1,2} + \mathcal{B}^{[1\text{-}2]}\_{2,4} +\mathcal{B}^{[3\text{-}2]}\_{4,2} + \mathcal{B}^{[2]}\_{2,1}, \\ \eta'\_3 = \mathcal{B}^{[3]}\_{8,7} + \mathcal{B}^{[2]}\_{7,8}. \end{array}

Here \eta\_k denotes the k-th column of \mathfrak{a}-period matrix \eta,  
and \eta'\_k denotes the k-th column of \mathfrak{b}-period matrix \eta'.  
These second kind period matrices together with first kind period matrices \omega, \omega'  
satisfy the Legendre relations, see [2](https://wolfram.discourse.group/t/24410/1) for more details.

We also compute the symmetric matrix \varkappa required in the definition of \sigma-function:

\varkappa = \eta \omega^{-1}.

Its symmetric property serves for verification.

## Computation of \wp-functions

\wp-Functions are defined through \sigma-function, and the latter can  
be defined as a modification of the Riemann \theta-function:

\sigma(u) = C \exp \big({-} \tfrac{1}{2} u^t \varkappa u \big) \theta [K] (\omega^{-1}u; \omega^{-1} \omega').

The characteristic [K] of the vector of Riemann constants is found as a half-integer characteristic  
where \theta-function at u=0 has the maximal order of vanishing. This order is computed with respect to the Sato weight, which is \mathrm{wgt}\, x = n = 3, \mathrm{wgt}\, y = s = 4 on this curve.  
Also \mathrm{wgt}\,\mathrm{d} u\_i = -i, and \mathrm{wgt}\,\mathrm{d} r\_i = i, and numbers i coincide with elements of the Weierstrass gap sequence.

It is known from [BEL1999], that on an (n,s)-curve

\mathrm{wgt}\ \sigma(u) = - \frac{1}{24} (n^2-1)(s^2-1).

Let \mathfrak{d} = - \mathrm{wgt}\ \sigma, then

\frac{\partial^{\mathfrak{d}-1} \theta[K](\omega^{-1} u)}{\partial u\_1^{\mathfrak{d}-1}} =0,\qquad \frac{\partial^{\mathfrak{d}} \theta[K](\omega^{-1} u)}{\partial u\_1^{\mathfrak{d}}} \neq 0.

On the (3,4)-curve with the canonical homology basis defined above, we have

[K]= \begin{pmatrix} 1 & 0 & 1\\ 0 & 1 & 1 \end{pmatrix}. 

\wp-Functions can be computed in terms of \theta-function, see [2](https://wolfram.discourse.group/t/24410/1) for more details.

## Example 3a

Let a divisor D be composed of 3 points:

\begin{array}{ll} P\_1 &= \big(e\_3 - 0.5-0.5 \imath, y\_1(e\_3 - 0.5-0.5 \imath)\big) \\ &\approx (-1.679223 + 0.434455 \imath, 3.431176 - 0.582699 \imath), \\ P\_2 &= \big(e\_5 + 0.5-1.5 \imath, y\_1(e\_5 + 0.5-1.5 \imath)\big) \\ &\approx (0.068268 + 0.702564 \imath, 3.555003 + 0.889027 \imath),\\ P\_3 &= \big(e\_6 +1, y\_1(e\_6 +1)\big) \\ &\approx (1.499118 - 1.575269 \imath, -4.191263 + 1.058317 \imath). \end{array}

On the figure x-coordinates of the points are marked in orange, red, and magenta,  
as well as paths to them.

 ![C34-Ex3a.jpg](https://global.discourse-cdn.com/wolfram/original/3X/1/0/101f1796b1a2c710773e25e20a096b63dc98e0ce.jpeg)

The points P\_1 and P\_3 are located on Sheet A, and P\_2 on Sheet B.  
A path to each point starts at -\infty - \imath \epsilon on Sheet C. Below paths to each point are described in detail.

P\_1 is close to the branch point B\_3 on Sheet A. The path to P\_1 which we choose goes from -\infty below B\_1 to B\_3 on Sheet C, then enters the cut [B\_2,B\_3] and emerges on Sheet A, and finally reaches P\_1:

\mathcal{A}(P\_1) = \mathcal{A}\_{0-,1}^{[3]} + \mathcal{A}\_{1,3}^{[3]} + \int\_{e\_3}^{P\_1} \mathrm{d} u^{[1]}.

P\_2 is close to B\_5 on Sheet B. A path to P\_2 goes on Sheet C  
from -\infty below B\_1 and B\_2 to B\_4. Here the path enters the cut [B\_4,B\_5] and emerges on Sheet B, then goes to (e\_2,y\_2(e\_2)) and to B\_5,  
rounds B\_5 from the above, and  
reaches P\_2 on Sheet$\ $B:

\mathcal{A}(P\_2) = \mathcal{A}\_{0-,1}^{[3]} + \mathcal{A}\_{1,2}^{[3]} + \mathcal{A}\_{2,4}^{[1\text{-}2]} + \mathcal{A}\_{4,2}^{[3\text{-}2]} + \mathcal{A}\_{2,5}^{[2]} + \int\_{e\_5}^{P\_2} \mathrm{d} u^{[1]}.

P\_3 is close to B\_6 on Sheet A. A path to P\_3 goes on Sheet C  
from -\infty below B\_1, B\_2 and B\_4 to B\_6. Then the path enters the cut [B\_6,B\_7] and emerges on Sheet A, where it reaches P\_3:

\mathcal{A}(P\_3) = \mathcal{A}\_{0-,1}^{[3]} + \mathcal{A}\_{1,2}^{[3]} + \mathcal{A}\_{2,4}^{[1\text{-}2]} + \mathcal{A}\_{4,6}^{[3\text{-}1]} + \int\_{e\_6}^{P\_3} \mathrm{d} u^{[1]}.

Here we use first kind integrals computed before. Integrals to points are computed with the help of **NIntegrate**.

Then the Abel image of D is obtained by

\mathcal{A}(D) = \mathcal{A}(P\_1) + \mathcal{A}(P\_2) + \mathcal{A}(P\_3).

The divisor D is uniquely represented by the values of six \wp-functions at  
u = \mathcal{A}(D):

\wp\_{1,1}(u),\quad \wp\_{1,2}(u),\quad \wp\_{1,5}(u),

\wp\_{1,2}(u)-\wp\_{1,1,1}(u),\quad \wp\_{2,2}(u)-\wp\_{1,1,2}(u),\quad \wp\_{2,5}(u) - \wp\_{1,1,5}(u),

which serve as coefficients of the two polynomial functions \mathcal{R}\_6 and  
\mathcal{R}\_7 defining a solution of the Jacobi inversion problem.

On the other hand, these two functions are computed from coordinates of the points of D:

\mathcal{R}\_6 = \frac{\begin{vmatrix} 1 & x & y & x^2 \\ 1 & x\_1 & y\_1 & x\_1^2 \\ 1 & x\_2 & y\_2 & x\_2^2 \\ 1 & x\_3 & y\_3 & x\_3^2 \end{vmatrix}} {\begin{vmatrix} 1 & x\_1 & y\_1 \\ 1 & x\_2 & y\_2 \\ 1 & x\_3 & y\_3 \end{vmatrix}},\qquad \mathcal{R}\_7 = \frac{\begin{vmatrix} 1 & x & y & x y \\ 1 & x\_1 & y\_1 & x\_1 y\_1 \\ 1 & x\_2 & y\_2 & x\_2 y\_2 \\ 1 & x\_3 & y\_3 & x\_3 y\_3 \end{vmatrix}} {\begin{vmatrix} 1 & x\_1 & y\_1 \\ 1 & x\_2 & y\_2 \\ 1 & x\_3 & y\_3 \end{vmatrix}}.

The coefficients of \mathcal{R}\_6 and  
\mathcal{R}\_7 obtained in these two ways  
coincide with an accuracy of 10^{-11}. This proves that the Abel images of the points are computed correctly.

## Example 3b

Now we slightly modify the divisor D by choosing different y-coordinates:

\begin{array}{ll} P\_1 &= \big(e\_3 - 0.5-0.5 \imath, y\_2(e\_3 - 0.5-0.5 \imath)\big) \\ &\approx (-1.679223 + 0.434455 \imath, -3.855009 + 0.446784 \imath), \\ P\_2 &= \big(e\_5 + 0.5-1.5 \imath, y\_3(e\_5 + 0.5-1.5 \imath)\big) \\ &\approx (0.068268 + 0.702564 \imath, -0.916997 - 0.935049 \imath),\\ P\_3 &= \big(e\_6 +1, y\_3(e\_6 +1)\big) \\ &\approx (1.499118 - 1.575269 \imath, 5.701625 - 3.318255 \imath). \end{array}

 ![C34-Ex3b.jpg](https://global.discourse-cdn.com/wolfram/original/3X/e/f/efdf32062e465d66b3f6b2b9f11c173d108cc338.jpeg)

The points P\_1 and P\_3 are located on Sheet B, and P\_2 on Sheet A.  
A path to every point starts at -\infty - \imath \epsilon on Sheet C.

A path to P\_1 goes above B\_1 and B\_3 to B\_5 on Sheet C, then enters  
the cut [B\_4,B\_5], emerges on Sheet B, goes to the point  
(e\_3, y\_2(e\_3)),  
and reaches P\_1:

\mathcal{A}(P\_1) = \mathcal{A}\_{0-,1}^{[3]} + \mathcal{A}\_{1,3}^{[3]} + \mathcal{A}\_{3,5}^{[1]} + \mathcal{A}\_{5,3}^{[2]} + \int\_{e\_3}^{P\_1} \mathrm{d} u^{[2]}.

A path to P\_2 goes above B\_1 B\_3 and B\_5 to B\_7 on Sheet C, then enters  
the cut [B\_6,B\_7], emerges on Sheet A, goes to  
(e\_5, y\_3(e\_5)),  
and reaches P\_2:

\mathcal{A}(P\_2) = \mathcal{A}\_{0-,1}^{[3]} + \mathcal{A}\_{1,3}^{[3]} + \mathcal{A}\_{3,5}^{[1]} + \mathcal{A}\_{5,7}^{[2]} + \mathcal{A}\_{7,5}^{[3]} + \int\_{e\_5}^{P\_2} \mathrm{d} u^{[3]}.

A path to P\_3 goes below B\_1 and B\_2 to B\_4 on Sheet C,  
enters the cut [B\_4,B\_5], emerges on Sheet B, goes to  
(e\_6, y\_3 ( e\_6 ))  
and reaches P\_3:

\mathcal{A}(P\_3) = \mathcal{A}\_{0-,1}^{[3]} + \mathcal{A}\_{1,2}^{[3]} + \mathcal{A}\_{2,4}^{[1\text{-}2]} + \mathcal{A}\_{4,6}^{[2\text{-}3]} + \int\_{e\_6}^{P\_3} \mathrm{d} u^{[3]}.

Then we compute the six \wp-functions, which serve as coefficients of  
\mathcal{R}\_6 and  
\mathcal{R}\_7 and define the given divisor D uniquely.  
By computing the functions \mathcal{R}\_6 and  
\mathcal{R}\_7 from coordinates  
of the points of D we verify that the Abel images are found correctly.

## References

[BEL1999] Buchstaber V. M., Enolskii V. Z., Leykin D. V., Rational analogs of abelian functions,  
Functional Analysis and Its Applications, **33** :2 (1999) pp.83-94

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/afca52a9-6713-4e8e-aca5-ee08b65c64da)

[AMap-C34-Exmpl3-Publ.nb](https://community.wolfram.com/uploads/short-url/tTU8sYUzgH7XXSfZG7cQFOEiJeH.nb) (6.62 MB)

---

<div class="post-metadata">

**Author:** ![wolframcommunity](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/wolframcommunity/32/8335_2.png) [@wolframcommunity](https://community.wolfram.com/u/wolframcommunity)\
**Post date:** [August 21, 2024, 3:43pm UTC](https://community.wolfram.com/t/uniformization-of-a-genus-3-trigonal-curve/24462/2 "2024-08-21T15:43:34Z")

</div>

![news-congrads-kkluyshnik-02-04-19.jpg](https://global.discourse-cdn.com/wolfram/original/3X/6/a/6a310c2d0904616faf4e6e148260c9f29ab9f4eb.jpeg) – you have earned _ **Featured Contributor Badge** _ ![2015-11-02_10-07-11.png](https://global.discourse-cdn.com/wolfram/original/3X/5/0/50e59c9ead62f729e7130d3ea1482555a75602b6.png)  
Your exceptional post has been selected for our editorial columns _ **Staff Picks** _ [http://wolfr.am/StaffPicks](http://wolfr.am/StaffPicks) and _ **Publication Materials** _ [https://wolfr.am/PubMat](https://wolfr.am/PubMat) and [Your Profile](http://community.wolfram.com/web/juliabernatska) is now distinguished by a _ **Featured Contributor Badge** _ and is displayed on the [Featured Contributor Board](https://community.wolfram.com/people). Thank you!
