CarlsonRE[x,y]
gives the Carlson's elliptic integral
.
CarlsonRE
CarlsonRE[x,y]
gives the Carlson's elliptic integral
.
Details
- Mathematical function, suitable for both symbolic and numerical manipulation.
- For non-negative arguments,
. - CarlsonRE[x,y] has a branch cut discontinuity at
. - For certain arguments, CarlsonRE automatically evaluates to exact values.
- CarlsonRE can be evaluated to arbitrary numerical precision.
- CarlsonRE automatically threads over lists.
Examples
open all close allBasic Examples (3)
CarlsonRE[3., 5.]Plot3D[CarlsonRE[x, y], {x, 0, 3}, {y, 0, 3}]CarlsonRE is related to Legendre's complete elliptic integral of the second kind:
(Pi/2)CarlsonRE[1, 1 - m] /. m -> 0.75EllipticE[0.75]Scope (12)
Numerical Evaluation (5)
CarlsonRE[1.0, 1 / GoldenRatio]N[CarlsonRE[2, 7], 50]Precision of the output tracks the precision of the input:
CarlsonRE[2, 7.67890123456789012345]CarlsonRE[2, 7.678901234567890123456789012345]Evaluate for complex arguments:
CarlsonRE[2. + 0.5 I, 2. - 0.5I]Evaluate efficiently at high precision:
Timing[CarlsonRE[11, 3`500]]Timing[Precision[CarlsonRE[11, 3`100000]]]CarlsonRE threads elementwise over lists:
CarlsonRE[{1, 2, 3, 4, 5}, {5., 4., 3., 2., 1.}]Specific Values (1)
Differentiation and Integration (2)
Functional Representation (1)
TraditionalForm formatting:
CarlsonRE[x, y]//TraditionalFormFunction Identities and Simplifications (3)
CarlsonRE satisfies the Euler–Poisson partial differential equation:
(x - y)Subscript[∂, xy]CarlsonRE[x, y] + (1/2) Subscript[∂, y]CarlsonRE[x, y] - (1/2)Subscript[∂, x]CarlsonRE[x, y] == 0//FunctionExpand//FullSimplifyCarlsonRE satisfies Euler's homogeneity relation:
x Subscript[∂, x]CarlsonRE[x, y] + y Subscript[∂, y]CarlsonRE[x, y] == (1/2) CarlsonRE[x, y]//FunctionExpand//FullSimplifyA partial differential equation satisfied by CarlsonRE:
Subscript[∂, x]CarlsonRE[x, y] + Subscript[∂, y]CarlsonRE[x, y] == (1/2) CarlsonRK[x, y]//FunctionExpand//FullSimplifyApplications (3)
Total arc length of an ellipse:
With[{a = Sqrt[2], b = 1},
N[2π CarlsonRE[a^2, b^2], 20]]Compare with the result of ArcLength:
With[{a = Sqrt[2], b = 1},
ArcLength[{a Cos[t], b Sin[t]}, {t, 0, 2π}, WorkingPrecision -> 20]]Expectation value of the square root of a quadratic form, relative to a normal distribution:
MatrixForm[mat = HilbertMatrix[2]]NExpectation[Sqrt[{u, v}.mat.{u, v} / 2], {u, v}BinormalDistribution[0]]//QuietCompare with the closed-form result in terms of CarlsonRE:
N[Gamma[(3/2)](CarlsonRE@@Eigenvalues[mat]), 25]Visualize the intersection of a cylinder and a ball:
R = 1 / 6;r = 5 / 9;b = 5 / 11;
cyl = Cylinder[{{0, 0, 0}, {0, 0, 2r}}, R];
ball = Ball[{b, 0, r}, r];Show@{
Graphics3D[{Opacity[1 / 2], cyl, ball}], Region[RegionIntersection[cyl, ball], PlotTheme -> "Web"]}Volume of cylinder-ball intersection expressed in terms of Carlson integrals:
N[(2π/9 )(2R(3 R (2 r^2 - R^2) - b (b^2 - 4 r^2 + 5 b R + 7 R^2) + (3 r^4/b - R))CarlsonRK[(b - r + R) (b + r + R), 4b R] +
(b^2 - 4 r^2 + 7 R^2)CarlsonRE[(b - r + R) (b + r + R), 4b R] +
6b R r^4(b + r - R) (b + R) (b - r - R)CarlsonRM[(b - R)^2 (b - r + R) (b + r + R), 4 b R(b - R)^2, 4 b R r^2]), 20]Compare with the result of Volume:
Volume[RegionIntersection[cyl, ball], WorkingPrecision -> 20]Properties & Relations (2)
CarlsonRE is invariant under a permutation of its arguments:
CarlsonRE[x, y] == CarlsonRE[y, x]CarlsonRE and CarlsonRK satisfy Legendre's relation:
CarlsonRE[y - x, y]CarlsonRK[x, y] + CarlsonRE[x, y]CarlsonRK[y - x, y] - y CarlsonRK[x, y]CarlsonRK[y - x, y] == (2/π) /. {{x -> 5`50, y -> 7`50}, {x -> 5`50, y -> 3`50}}Related Guides
History
Text
Wolfram Research (2021), CarlsonRE, Wolfram Language function, https://reference.wolfram.com/language/ref/CarlsonRE.html.
CMS
Wolfram Language. 2021. "CarlsonRE." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CarlsonRE.html.
APA
Wolfram Language. (2021). CarlsonRE. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CarlsonRE.html
BibTeX
@misc{reference.wolfram_2026_carlsonre, author="Wolfram Research", title="{CarlsonRE}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CarlsonRE.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_carlsonre, organization={Wolfram Research}, title={CarlsonRE}, year={2021}, url={https://reference.wolfram.com/language/ref/CarlsonRE.html}, note=[Accessed: 12-June-2026]}