2
$\begingroup$

I want to integrate below form

x5^b*(1 - x5)^c*(e + d*x5^0.5 + f*x5)

1./Integrate[x5^b*(1 - x5)^c*(e + d*x5^0.5 + f*x5), {x5, 0, 1}, 
  Assumptions -> {{b, c, e, d, f} \[Element] Reals, c > -1, b > -1}]

and the Mathematica answer is

1./(Gamma[
  1 + c] ((e Gamma[1 + b])/Gamma[2 + b + c] + (1. d Gamma[1.5 + b])/
   Gamma[2.5 + b + c] + (f Gamma[2 + b])/Gamma[3 + b + c]))

but I want see this answer in form of Beta function what should I do?

$\endgroup$
0

1 Answer 1

4
$\begingroup$
foo[arg_] := arg /. {Gamma[p_] Gamma[q_] :> Gamma[p + q] Beta[p, q]}

FullSimplify[1./(Gamma[1 + c] ((e Gamma[1 + b])/Gamma[2 + b + c] + (1. d Gamma[1.5 + b])/
   Gamma[2.5 + b + c] + (f Gamma[2 + b])/Gamma[3 + b + c])), 
   TransformationFunctions -> {Automatic, foo}]
 1./(e Beta[1 + b, 1 + c] + 1. d Beta[1.5 + b, 1 + c] + f Beta[2 + b, 1 + c])
$\endgroup$
2
  • $\begingroup$ @rasher Thanks, but it was wikipedia, because I could not remember the relationship :D $\endgroup$
    – Sektor
    Feb 7, 2014 at 10:59
  • 1
    $\begingroup$ dear Sektor, thank you so much for your help. you kinda save my life. again thank you $\endgroup$
    – asal
    Feb 7, 2014 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.