0
$\begingroup$

I have an integral

 NIntegrate[1/(x - x*Log[x]), {x, 0, E}, Method -> "PrincipalValue", 
  Exclusions -> {0, E}, PrecisionGoal -> 10, WorkingPrecision -> 13];

and I can't solve it. Can anyone take a look and show me how to do it?

$\endgroup$
6
  • $\begingroup$ I get $58.605...$. Do you have any reason to doubt that answer? $\endgroup$ Commented Mar 28, 2018 at 18:14
  • $\begingroup$ @David G. Stork: Yes, I do. The answer in version 11.3 is supplied with NIntegrate obtained \ 61.6898965566571980569209393874979487231066384596339583582607001 and \ 1.87176935662578407544374941801080191407846253122765831122636127 for \ the integral and error estimates $\endgroup$
    – user64494
    Commented Mar 28, 2018 at 18:27
  • $\begingroup$ @user64494 MMA 11.2 returns an answer $61.68...$, together with warnings about slow convergence. Can you explain exactly what your problem is though? $\endgroup$
    – MarcoB
    Commented Mar 28, 2018 at 18:34
  • $\begingroup$ @MarcoB: Could you kindly look at my comment to the Sungmin's answer? $\endgroup$
    – user64494
    Commented Mar 28, 2018 at 18:41
  • 1
    $\begingroup$ I'm voting to close this question as off-topic because the issue it raises is not really a Mathematica issue but a matter of the OP not having grasped the mathematics involved. $\endgroup$
    – m_goldberg
    Commented Apr 3, 2018 at 12:30

2 Answers 2

3
$\begingroup$

Your integral can be done symbolically:

Integrate[1/(x-x Log[x]), {x, 0, E}, PrincipalValue->True]

$\endgroup$
1
  • $\begingroup$ Integrate[1/(x - x Log[x]), {x, 0, E}] says Integrate::idiv: Integral of 1/(x-x Log[x]) does not converge on {0,E}. $\endgroup$
    – user64494
    Commented Mar 28, 2018 at 20:29
2
$\begingroup$

This is more or less a comment. It seems that the integral diverges.

f[x_] = Integrate[ 1/(x - x*Log[x]), x]
r = Assuming[ {\[Epsilon] > 0},
    Series[ f[E - \[Epsilon]] - f[\[Epsilon]], {\[Epsilon], 0, 1}]
]
r // Normal // ReplaceAll[\[Epsilon] -> 0]
(* \[Infinity] *)
$\endgroup$
2
  • $\begingroup$ Yes, the singularity at $x=0$ causes the divergence in view of Series[1/(x - x*Log[x]), {x, 0, 2}] which outputs $$\frac{1}{x (1-\log (x))}+O\left(x^4\right). $$ $\endgroup$
    – user64494
    Commented Mar 28, 2018 at 18:40
  • $\begingroup$ Can you tell me why some integrals, for instance NIntegral of x^-0.5 from 0 to 1 is converging. Although there is singularity in 0? $\endgroup$
    – user57225
    Commented Mar 28, 2018 at 19:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.