Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**Mint****Guest**

What is li(x)?I know it is logarithmic integral function,but how do i find li(x),for instance,what will be li(5)?

**scientia****Member**- Registered: 2009-11-13
- Posts: 222

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 92,930

Hi Mint;

Welcome to the forum.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

**Online**

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,891

You can use the series given at http://en.wikipedia.org/wiki/Logarithmi … esentation

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**Mint****Guest**

That series is a little complex,isn't there a easier way?

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 92,930

Depends on the arguments or how much accuracy you need. There are several ways for each.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

**Online**

**Mint****Guest**

Could you show me some

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 92,930

Yes, but first I need that information from you.

1) Li(x), how big is x?

2)How many digits do you require because the answer is going to be in floating point.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

**Online**

**Mint****Guest**

I just want to know how to find li(x),but you could show an example of your own.

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 92,930

Series are of different types. For small values of x we use Taylor series. For large values we use Asymptotic expansions and Series that are expanded around infinity.

1) You could try to evaluate the integral using Romberg or Gaussian integration.

2) You truncate the various series expansions producing smaller approximations.

3) You look up the values in tables.

I have used the second one to come up with an example:

When x>=500.

Read this:

http://numbers.computation.free.fr/Cons … rimes.html

now you will understand why there are only approximate answers.

**In mathematics, you don't understand things. You just get used to them.**

**Online**