Menu

#5178 inconsistent Principal Value message

None
closed
nobody
5
5 days ago
5 days ago
No

Correct:

(%i2) xxx : spherical_bessel_j(1,x)^2;
(%o2) (sin(x)/x-cos(x))^2/x^2

(%i3) integrate(xxx,x,0,inf);
(%o3) %pi/6

Factoring the integrand, Maxima reports a PV integral

(%i4) integrate(factor(xxx),x,0,inf);
Principal Value
(%o4) -((%i*log(2*%i)-%i*log(-(2*%i)))/6)

The answer is correct, but it is not a true PV case.

This is a very minor bug--not worth spending a great deal of time resolving.

Discussion

  • David Scherfgen

    David Scherfgen - 5 days ago
    • labels: principal value --> principal value, limit
    • status: open --> closed
     
  • David Scherfgen

    David Scherfgen - 5 days ago

    This was actually a bug in the limit code.
    Fixed it in commit [6b7db2].

     

    Related

    Commit: [6b7db2]


Log in to post a comment.