WeierstrassP

WeierstrassP[u,{g2,g3}]

gives the Weierstrass elliptic function .

Details

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • gives the value of for which .
  • For certain special arguments, WeierstrassP automatically evaluates to exact values.
  • WeierstrassP can be evaluated to arbitrary numerical precision.

Examples

open allclose all

Basic Examples  (4)

Evaluate numerically:

Plot over a subset of the reals:

Plot over a subset of the complexes:

Series expansion at the origin:

Scope  (20)

Numerical Evaluation  (4)

Evaluate numerically:

Evaluate to high precision:

The precision of the output tracks the precision of the input:

Complex number input:

Evaluate efficiently at high precision:

Specific Values  (3)

Find the first positive minimum of WeierstrassP[x,1/2,1/2]:

WeierstrassP automatically evaluates to simpler functions for certain parameters:

Find a few singular points of WeierstrassP[x,{1/2,1/2}]:

Visualization  (2)

Plot the WeierstrassP function for various parameters:

Plot the real part of TemplateBox[{z, 1, 2}, WeierstrassP]:

Plot the imaginary part of TemplateBox[{z, 1, 2}, WeierstrassP]:

Function Properties  (4)

Real domain of WeierstrassP:

WeierstrassP is an even function with respect to x:

WeierstrassP threads elementwise over lists in its first argument:

TraditionalForm formatting:

Differentiation  (2)

First derivative with respect to :

Higher derivatives with respect to :

Plot the higher derivatives with respect to :

Integration  (3)

Compute the indefinite integral using Integrate:

Verify the anti-derivative:

Definite integral:

More integrals:

Series Expansions  (2)

Find the Taylor expansion using Series:

Plots of the first three approximations around :

Taylor expansion at a generic point:

Applications  (3)

Express roots of a cubic through WeierstrassP:

Uniformization of a generic elliptic curve :

The parametrized uniformization:

Check the correctness of the uniformization:

Special solution of the Kortewegde Vries equation:

The Kortewegde Vries equation:

A highprecision check of the solution:

Plot of the solution:

Properties & Relations  (5)

Derivatives:

Integrate expressions involving WeierstrassP:

WeierstrassP is closely related to the EllipticExp function:

Compare numerical values:

WeierstrassP is periodic, with periods equal to twice the half-periods:

WeierstrassP values at its half-periods:

Possible Issues  (1)

Machine-precision input is insufficient to give a correct result:

Use arbitraryprecision arithmetic to obtain a correct result:

Neat Examples  (1)

Plot a doubly periodic function over the complex plane:

Introduced in 1988
 (1.0)
 |
Updated in 1996
 (3.0)