Thanks for debugging my code.  Should have been (1-x)^(3-1).  I'm blaming 
that on having a one-week old at home.

On Thursday, November 19, 2015 at 10:31:10 AM UTC-6, Dima Pasechnik wrote:
>
>
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to