Skip to content

LogIntegral ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.

Logarithmic integral li(x) = PV ∫₀ˣ dt/ln t = Ei(ln x).

✓ checked against that system · ! checked, with disagreements (hover a chip)WikipediaLogarithmic integral functionMathWorldLogarithmicIntegralWikidataQ1350206nLablogarithmic integral functionFungrimLogIntegralWolfram LanguageLogIntegral✓
LogIntegral(complex | infinity) -> numberAs native, and keeps its digits past a double's for positive real argument (N(LogIntegral(2), 50)).
SageMathlog_integral(complex | infinity)mpmathli(complex | infinity)Juliaenumeratio_ball(log_integral, complex | infinity)
Typed signatures
TypePackageApplies
(complex | infinity) -> numberanalyticreplaces compute-enginealways
(complex | infinity) -> numbercompute-enginealways

Domain: Compute engine

Plot

ComplexPlot
real slice

Examples

Basic #
live ↗
Inli⁡(0)\operatorname{li}(0)Out00
live ↗
InN(li⁡(2))N(\operatorname{li}(2))Out1.045 163 780 117 492 71.045\,163\,780\,117\,492\,7

Known value · mpmath 1.3.0 li

Scope #
live ↗
InN(li⁡(2),50)N(\operatorname{li}(2), 50)Out1.045 163 780 117 492 784 844 588 889 194 613 136 522 615 578 151 21.045\,163\,780\,117\,492\,784\,844\,588\,889\,194\,613\,136\,522\,615\,578\,151\,2
live ↗
Inli⁡(1)\operatorname{li}(1)Out−∞-∞
live ↗
Inli⁡(∞)\operatorname{li}(∞)Out∞∞
live ↗
Indli⁡(x)dx\frac{\mathrm{d}\operatorname{li}(x)}{\mathrm{d}x}Out1ln⁡(x)\frac{1}{\ln(x)}
live ↗
InSeries⁡(li⁡(x),x,2,3)\operatorname{Series}(\operatorname{li}(x), x, 2, 3)Outli⁡(2)+x−2ln⁡(2)−(x−2)24ln⁡(2)2+(2ln⁡(2)+ln⁡(2)2)(x−2)324ln⁡(2)4+O((x−2)4)\operatorname{li}(2)+\frac{x-2}{\ln(2)}-\frac{(x-2)^2}{4\ln(2)^2}+\frac{(2\ln(2)+\ln(2)^2)(x-2)^3}{24\ln(2)^4}+O\left((x-2)^4\right)
About
Examples7
Checked againstWolfram Language 7 agreeSageMath 7 agreempmath 5 agreeJulia 3 agree2 error
CrosswalkWikipediaMathWorldWikidatanLabFungrimWolfram LanguageSageMathmpmathJulia

Implementation

mappedmpmathpackages/oracle/src/mappings.ts
mappedsagepackages/oracle/src/mappings.ts
mappedjuliapackages/oracle/src/mappings.ts