On Thursday, 19 November 2015 15:41:37 UTC, Matt Rissler wrote: > > integrate(x^(3-1)*(1-x)*(3-1),x,0,1) > > Why is this returning 1/6 and not 1/30? > > well you can check by hand that it is 1/6, for you are integrating a polynomial 2*x^2-2*x^3 the antiderivative is 2*(x^3/3-x^4/4), and you get 2*(1/3-1/4)-0=1/6...
perhaps you mean some other function.... > More generally why is > > integrate(x^(ai-1)*(1-x)*(bi-1),x,0,1) > > returning (bi - 1)/(ai^2 + ai) and not beta(ai,bi) as it should? > > Running this on SMC. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.