<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Logarithmic_integral_function</id>
	<title>Logarithmic integral function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Logarithmic_integral_function"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Logarithmic_integral_function&amp;action=history"/>
	<updated>2026-05-05T17:34:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Logarithmic_integral_function&amp;diff=632441&amp;oldid=prev</id>
		<title>imported&gt;Eric Kvaalen: The 3D graph doesn&#039;t correstpond to the real function between 0 and 1. The series should not take the absolute value of u in the meromorphic case.</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Logarithmic_integral_function&amp;diff=632441&amp;oldid=prev"/>
		<updated>2025-06-18T07:33:34Z</updated>

		<summary type="html">&lt;p&gt;The 3D graph doesn&amp;#039;t correstpond to the real function between 0 and 1. The series should not take the absolute value of u in the meromorphic case.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Previous revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:33, 18 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Redirect|Li(x)|the polylogarithm denoted by Li&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;(&amp;#039;&amp;#039;z&amp;#039;&amp;#039;)|Polylogarithm}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Redirect|Li(x)|the polylogarithm denoted by Li&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;(&amp;#039;&amp;#039;z&amp;#039;&amp;#039;)|Polylogarithm}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Use American English|date = January 2019}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Use American English|date = January 2019}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D.svg|alt=Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D|thumb|Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;created with Mathematica 13.1 function ComplexPlot3D&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D.svg|alt=Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D|thumb|Plot &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of the absolute value &lt;/ins&gt;of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;showing the argument (the angle around the complex plane)&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;logarithmic integral function&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;integral logarithm&amp;#039;&amp;#039;&amp;#039; li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) is a [[special function]]. It is relevant in problems of [[physics]] and has [[number theory|number theoretic]] significance. In particular, according to the [[prime number theorem]], it is a very good [[approximation]] to the [[prime-counting function]], which is defined as the number of [[prime numbers]] less than or equal to a given value {{mvar|x}}. [[Image:Logarithmic integral function.svg|thumb|right|300px|Logarithmic integral function plot]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;logarithmic integral function&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;integral logarithm&amp;#039;&amp;#039;&amp;#039; li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) is a [[special function]]. It is relevant in problems of [[physics]] and has [[number theory|number theoretic]] significance. In particular, according to the [[prime number theorem]], it is a very good [[approximation]] to the [[prime-counting function]], which is defined as the number of [[prime numbers]] less than or equal to a given value {{mvar|x}}. [[Image:Logarithmic integral function.svg|thumb|right|300px|Logarithmic integral function plot]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here, {{math|ln}} denotes the [[natural logarithm]]. The function {{math|1/(ln &amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} has a [[mathematical singularity|singularity]] at {{math|1=&amp;#039;&amp;#039;t&amp;#039;&amp;#039; = 1}}, and the integral for {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039; &amp;gt; 1}} is interpreted as a [[Cauchy principal value]],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here, {{math|ln}} denotes the [[natural logarithm]]. The function {{math|1/(ln &amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} has a [[mathematical singularity|singularity]] at {{math|1=&amp;#039;&amp;#039;t&amp;#039;&amp;#039; = 1}}, and the integral for {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039; &amp;gt; 1}} is interpreted as a [[Cauchy principal value]],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt; \operatorname{li}(x) = \lim_{\varepsilon \to 0+} \left( \int_0^{1-\varepsilon} \frac{dt}{\ln t} + \int_{1+\varepsilon}^x \frac{dt}{\ln t} \right).&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt; \operatorname{li}(x) = \lim_{\varepsilon \to 0+} \left( \int_0^{1-\varepsilon} \frac{dt}{\ln t} + \int_{1+\varepsilon}^x \frac{dt}{\ln t} \right).&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;However, the logarithmic integral can also be taken to be a [[meromorphic]] complex-valued function in the complex domain. In this case it is multi-valued with branch points at 0 and 1, and the values between 0 and 1 defined by the above integral are not compatible with the values beyond 1. The complex function is shown in the figure above. The values on the real axis beyond 1 are the same as defined above, but the values between 0 and 1 are offset by iπ so that the absolute value at 0 is π rather than zero. The complex function is also defined (but multi-valued) for numbers with negative real part, but on the negative real axis the values are not real.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Offset logarithmic integral ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Offset logarithmic integral ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which is valid for &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;gt;&amp;amp;nbsp;0. This identity provides a series representation of li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) as&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;which is valid for &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;gt;&amp;amp;nbsp;0. This identity provides a series representation of li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) as&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt; \operatorname{li}(e^u) = \hbox{Ei}(u) =  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt; \operatorname{li}(e^u) = \hbox{Ei}(u) =  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\gamma + \ln |u| + \sum_{n=1}^\infty {u^{n}\over n \cdot n!}  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\gamma + \ln |u| + \sum_{n=1}^\infty {u^{n}\over n \cdot n!}  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\quad \text{ for } u \ne 0 \, , &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\quad \text{ for } u \ne 0 \, , &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &#039;&#039;γ&#039;&#039; ≈ 0.57721 56649 01532 ... {{OEIS2C|id=A001620}} is the [[Euler–Mascheroni constant]]. A more rapidly convergent series by [[Srinivasa Ramanujan|Ramanujan]]  &amp;lt;ref&amp;gt;{{MathWorld | urlname=LogarithmicIntegral | title=Logarithmic Integral}}&amp;lt;/ref&amp;gt; is&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &#039;&#039;γ&#039;&#039; ≈ 0.57721 56649 01532 ... {{OEIS2C|id=A001620}} is the [[Euler–Mascheroni constant]]. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For the complex function the formula is&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &amp;lt;math&amp;gt; \operatorname{li}(e^u) = \hbox{Ei}(u) = &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\gamma + \ln u + \sum_{n=1}^\infty {u^{n}\over n \cdot n!} &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\quad \text{ for } u \ne 0 \, , &amp;lt;/math&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(without taking the absolute value of u).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A more rapidly convergent series by [[Srinivasa Ramanujan|Ramanujan]]  &amp;lt;ref&amp;gt;{{MathWorld | urlname=LogarithmicIntegral | title=Logarithmic Integral}}&amp;lt;/ref&amp;gt; is&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  \operatorname{li}(x) =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  \operatorname{li}(x) =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Berndt, B. C. Ramanujan&amp;#039;s Notebooks, Part IV. New York: Springer-Verlag, pp. 126–131, 1994.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Berndt, B. C. Ramanujan&amp;#039;s Notebooks, Part IV. New York: Springer-Verlag, pp. 126–131, 1994.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Again, for the meromorphic complex function the term &amp;lt;math&amp;gt;\ln|\ln u|&amp;lt;/math&amp;gt; must be replaced by &amp;lt;math&amp;gt;\ln\ln u.&amp;lt;/math&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Asymptotic expansion ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Asymptotic expansion ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The asymptotic behavior for &amp;lt;math&amp;gt;x\to\infty&amp;lt;/math&amp;gt; is&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The asymptotic behavior &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;both &lt;/ins&gt;for &amp;lt;math&amp;gt;x\to\infty&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;x\to 0^+&lt;/ins&gt;&amp;lt;/math&amp;gt; is&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt; \operatorname{li}(x) = O \left( \frac{x }{\ln x} \right) . &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;lt;math&amp;gt; \operatorname{li}(x) = O \left( \frac{x }{\ln x} \right) . &amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &amp;lt;math&amp;gt;O&amp;lt;/math&amp;gt; is the [[big O notation]]. The full [[asymptotic expansion]] is&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &amp;lt;math&amp;gt;O&amp;lt;/math&amp;gt; is the [[big O notation]]. The full [[asymptotic expansion]] is&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Eric Kvaalen</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Logarithmic_integral_function&amp;diff=31459&amp;oldid=prev</id>
		<title>174.95.118.245: /* Asymptotic expansion */</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Logarithmic_integral_function&amp;diff=31459&amp;oldid=prev"/>
		<updated>2025-04-24T00:01:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Asymptotic expansion&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Special function defined by an integral}}&lt;br /&gt;
{{Redirect|Li(x)|the polylogarithm denoted by Li&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;(&amp;#039;&amp;#039;z&amp;#039;&amp;#039;)|Polylogarithm}}&lt;br /&gt;
{{Use American English|date = January 2019}}&lt;br /&gt;
[[File:Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D.svg|alt=Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D|thumb|Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D]]&lt;br /&gt;
In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;logarithmic integral function&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;integral logarithm&amp;#039;&amp;#039;&amp;#039; li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) is a [[special function]]. It is relevant in problems of [[physics]] and has [[number theory|number theoretic]] significance. In particular, according to the [[prime number theorem]], it is a very good [[approximation]] to the [[prime-counting function]], which is defined as the number of [[prime numbers]] less than or equal to a given value {{mvar|x}}. [[Image:Logarithmic integral function.svg|thumb|right|300px|Logarithmic integral function plot]]&lt;br /&gt;
&lt;br /&gt;
== Integral representation ==&lt;br /&gt;
The logarithmic integral has an integral representation defined for all positive [[real number]]s {{mvar|x}}&amp;amp;nbsp;≠&amp;amp;nbsp;1 by the [[integral|definite integral]]&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(x) = \int_0^x \frac{dt}{\ln t}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, {{math|ln}} denotes the [[natural logarithm]]. The function {{math|1/(ln &amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}} has a [[mathematical singularity|singularity]] at {{math|1=&amp;#039;&amp;#039;t&amp;#039;&amp;#039; = 1}}, and the integral for {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039; &amp;gt; 1}} is interpreted as a [[Cauchy principal value]],&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(x) = \lim_{\varepsilon \to 0+} \left( \int_0^{1-\varepsilon} \frac{dt}{\ln t} + \int_{1+\varepsilon}^x \frac{dt}{\ln t} \right).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Offset logarithmic integral ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;offset logarithmic integral&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Eulerian logarithmic integral&amp;#039;&amp;#039;&amp;#039; is defined as&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{Li}(x) = \int_2^x \frac{dt}{\ln t} = \operatorname{li}(x) - \operatorname{li}(2). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As such, the integral representation has the advantage of avoiding the singularity in the domain of integration.&lt;br /&gt;
&lt;br /&gt;
Equivalently,&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(x) = \int_0^x \frac{dt}{\ln t} = \operatorname{Li}(x) + \operatorname{li}(2). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Special values ==&lt;br /&gt;
The function li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) has a single positive zero; it occurs at &amp;#039;&amp;#039;x&amp;#039;&amp;#039; ≈ 1.45136 92348 83381 05028 39684 85892 02744 94930... {{OEIS2C|A070769}}; this number is known as the [[Ramanujan–Soldner constant]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\operatorname{li}(\text{Li}^{-1}(0)) = \text{li}(2)&amp;lt;/math&amp;gt; ≈ 1.045163 780117 492784 844588 889194 613136 522615 578151... {{OEIS2C|A069284}}&lt;br /&gt;
&lt;br /&gt;
This is &amp;lt;math&amp;gt;-(\Gamma(0,-\ln 2) + i\,\pi)&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;\Gamma(a,x)&amp;lt;/math&amp;gt; is the [[incomplete gamma function]]. It must be understood as the [[Cauchy principal value]] of the function.&lt;br /&gt;
&lt;br /&gt;
== Series representation ==&lt;br /&gt;
The function li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) is related to the &amp;#039;&amp;#039;[[exponential integral]]&amp;#039;&amp;#039; Ei(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) via the equation&lt;br /&gt;
: &amp;lt;math&amp;gt;\operatorname{li}(x)=\hbox{Ei}(\ln x) ,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is valid for &amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;gt;&amp;amp;nbsp;0. This identity provides a series representation of li(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;) as&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(e^u) = \hbox{Ei}(u) = &lt;br /&gt;
\gamma + \ln |u| + \sum_{n=1}^\infty {u^{n}\over n \cdot n!} &lt;br /&gt;
\quad \text{ for } u \ne 0 \, , &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;#039;&amp;#039;γ&amp;#039;&amp;#039; ≈ 0.57721 56649 01532 ... {{OEIS2C|id=A001620}} is the [[Euler–Mascheroni constant]]. A more rapidly convergent series by [[Srinivasa Ramanujan|Ramanujan]]  &amp;lt;ref&amp;gt;{{MathWorld | urlname=LogarithmicIntegral | title=Logarithmic Integral}}&amp;lt;/ref&amp;gt; is&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
 \operatorname{li}(x) =&lt;br /&gt;
 \gamma&lt;br /&gt;
 + \ln |\ln x|&lt;br /&gt;
 + \sqrt{x} \sum_{n=1}^\infty&lt;br /&gt;
                \left( \frac{ (-1)^{n-1} (\ln x)^n}  {n! \, 2^{n-1}}&lt;br /&gt;
                \sum_{k=0}^{\lfloor (n-1)/2 \rfloor} \frac{1}{2k+1} \right).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;!-- cribbed from Mathworld, which cites&lt;br /&gt;
Berndt, B. C. Ramanujan&amp;#039;s Notebooks, Part IV. New York: Springer-Verlag, pp. 126–131, 1994.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Asymptotic expansion ==&lt;br /&gt;
The asymptotic behavior for &amp;lt;math&amp;gt;x\to\infty&amp;lt;/math&amp;gt; is&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(x) = O \left( \frac{x }{\ln x} \right) . &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;O&amp;lt;/math&amp;gt; is the [[big O notation]]. The full [[asymptotic expansion]] is&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(x) \sim \frac{x}{\ln x} \sum_{k=0}^\infty \frac{k!}{(\ln x)^k} &amp;lt;/math&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
: &amp;lt;math&amp;gt; \frac{\operatorname{li}(x)}{x/\ln x}  \sim  1 + \frac{1}{\ln x} + \frac{2}{(\ln x)^2} + \frac{6}{(\ln x)^3} + \cdots. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the following more accurate asymptotic behaviour:&lt;br /&gt;
: &amp;lt;math&amp;gt; \operatorname{li}(x) - \frac{x}{ \ln x} = O \left( \frac{x}{(\ln x)^2} \right) . &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an asymptotic expansion, this series is [[divergent series|not convergent]]: it is a reasonable approximation only if the series is truncated at a finite number of terms, and only large values of &amp;#039;&amp;#039;x&amp;#039;&amp;#039; are employed. This expansion follows directly from the asymptotic expansion for the [[exponential integral]].&lt;br /&gt;
&lt;br /&gt;
This implies e.g. that we can bracket li as:&lt;br /&gt;
: &amp;lt;math&amp;gt; 1+\frac{1}{\ln x} &amp;lt; \operatorname{li}(x) \frac{\ln x}{x} &amp;lt; 1+\frac{1}{\ln x}+\frac{3}{(\ln x)^2} &amp;lt;/math&amp;gt;&lt;br /&gt;
for all &amp;lt;math&amp;gt;\ln x \ge 11&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Number theoretic significance ==&lt;br /&gt;
The logarithmic integral is important in [[number theory]], appearing in estimates of the number of [[prime number]]s less than a given value. For example, the [[prime number theorem]] states that:&lt;br /&gt;
: &amp;lt;math&amp;gt;\pi(x)\sim\operatorname{li}(x)&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\pi(x)&amp;lt;/math&amp;gt; denotes the number of primes smaller than or equal to &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Assuming the [[Riemann hypothesis]], we get the even stronger:&amp;lt;ref&amp;gt;Abramowitz and Stegun, p.&amp;amp;nbsp;230, 5.1.20&amp;lt;/ref&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;|\operatorname{li}(x)-\pi(x)| = O(\sqrt{x}\log x)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In fact, the [[Riemann hypothesis]] is equivalent to the statement that:&lt;br /&gt;
: &amp;lt;math&amp;gt;|\operatorname{li}(x)-\pi(x)| = O(x^{1/2+a})&amp;lt;/math&amp;gt; for any &amp;lt;math&amp;gt;a&amp;gt;0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For small &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\operatorname{li}(x)&amp;gt;\pi(x)&amp;lt;/math&amp;gt; but the difference changes sign an infinite number of times as &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; increases, and the [[Skewes&amp;#039;s number|first time that this happens]] is somewhere between 10&amp;lt;sup&amp;gt;19&amp;lt;/sup&amp;gt; and {{val|1.4|e=316}}.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Jørgen Pedersen Gram]]&lt;br /&gt;
* [[Skewes&amp;#039; number]]&lt;br /&gt;
* [[List of integrals of logarithmic functions]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
* {{AS ref|5|228}} &lt;br /&gt;
* {{dlmf|id=6|title=Exponential, Logarithmic, Sine, and Cosine Integrals|first=N. M. |last=Temme}}&lt;br /&gt;
&lt;br /&gt;
{{Nonelementary Integral}}&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Special hypergeometric functions]]&lt;br /&gt;
[[Category:Integrals]]&lt;/div&gt;</summary>
		<author><name>174.95.118.245</name></author>
	</entry>
</feed>