Bugs in the Integration Function

Issue #64 resolved
Former user created an issue

I have found these bugs while trying to implement the library, and verified them by using the Online Demo. I will state what commands would be needed to be entered into the Demo in order to replicate the bugs as well as the results.

#1 Input : Integrate(e^(x^2+2x+3)(2x+2),x) Expected Output: x^2+2x+3 Actual Output: Error: The function: Delete[1/4Log[e],iv$3] has wrong argument iv$3 at position:2: Trying to convert the argument into the integer range: -2147483648 - 2147483647

#2 Input: Integrate((x^2+1)/(x^3+3x),x) Expected Output: 1/3log(x^2+3) + 1/3log(x) Actual Output: 1/3log(x)

Comments (4)

  1. Axel Kramer repo owner

    Depends on issue 65.

    Rubi rules use the (not yet implemented) assignments:

    Plus()=0
    

    and

    Times()=1
    
  2. Axel Kramer repo owner

    Actually the second evaluation works and the first will be unevaluated:

    >>> Integrate((x^2+1)/(x^3+3x),x)
    Log(3+x^2)/3+Log(3*x)/3
    
    >>> Integrate(E^(x^2+2x+3)(2x+2),x)
    Integrate(E^((x^2+2*x+3)*(2+2*x)),x)
    
  3. Log in to comment