Menu

#2548 Integrate ignores depends declaration

None
open
nobody
None
5
2013-02-16
2013-02-12
Aleksas
No
(%i1) depends(u,x);
(%o1) [u(x)]
 Wrong:
(%i2) integrate(u,x);
(%o2) u*x
(%i3) integrate(u*diff(u,x),x);
(%o3) u*integrate('diff(u,x,1),x)

Aleksas D

Discussion

  • Barton Willis

    Barton Willis - 2013-02-13

    From the integrate user documentation:

     `integrate' works only with functional relations represented
     explicitly with the `f(x)' notation.  `integrate' does not respect
     implicit dependencies established by the `depends' function.
    

    I'd say that this bug report is a feature request, not a true bug. As the documentation
    notes, integrate(u(x),x) is a workaround.

    If I knew how, I'd change this to a feature request....

     
  • Rupert Swarbrick

    • summary: integrate function --> Integrate ignores depends declaration
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,4 @@
    +~~~~
     (%i1) depends(u,x);
     (%o1) [u(x)]
      Wrong:
    @@ -5,5 +6,6 @@
     (%o2) u*x
     (%i3) integrate(u*diff(u,x),x);
     (%o3) u*integrate('diff(u,x,1),x)
    +~~~~
    
     Aleksas D
    
     

Log in to post a comment.