login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : (unknown) at: 2007-11-17T22:03:19-08:00 (17 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

(new) differentiating sums with respect to a bound is wrong --Bill Page, Wed, 22 Jun 2005 13:55:51 -0500 reply
Update of bug #9216 (project axiom):

Status: None => transferred

Example of code trigerring the bug:

fricas
(1) -> f:=operator 'f

\label{eq1}f(1)
Type: BasicOperator?
fricas
D(sum(f(i),i=a..x),x)

\label{eq2}{\%defsum_{, 5}}\left({{f \left({\%B}\right)}, \: \%B , \: i , \: a , \: x}\right)(2)
Type: Expression(Integer)

is nonsense. The problem is in COMBF/dvdsum:

fricas
dvdsum(l, x) ==
  x = retract(y := third l)@SE => 0
  k := retract(d := second l)@K
  differentiate(h := third rest rest l,x) * eval(f := first l, k, h)
  - differentiate(g := third rest l, x) * eval(f, k, g)
  + opdsum [differentiate(f, x), d, y, g, h]
Type: Void

Although this:

d/dx \sum_i^x f(i) = f(x) 

is a nice try, it is wrong. It seems that the order of magnitude is roughly correct, but that's about it.

Unfortunately, I do not know how to return the thing unevaluated, so I cannot fix the bug yet

Continued in Bug #180 --kratt6, Thu, 23 Jun 2005 02:18:19 -0500 reply
Category: => Axiom Compiler Severity: => critical Status: => duplicate




  Subject:   Be Bold !!
  ( 15 subscribers )  
Please rate this page: