How to solve this integral? (something to do with a beta distribution?)

  • #1
Summary:
Solving the integral (in Maple notation): Int(exp(c[0]*ln(y)/a[0]+c[1]*M*ln(M-y)/a[1]), y = 0 .. M);
I have the following integral (in Maple notation):

Int(exp(c[0]*ln(y)/a[0]+c[1]*M*ln(M-y)/a[1]), y = 0 .. M);

with (in Maple notation):

0<a[0], 0<a[1], 0<c[0], 0<c[1], 0<y, y<M, 0<M.

What is the solution of this integral? I suspect that the solution has something to do with a beta distribution.
 

Answers and Replies

  • #2
pasmith
Homework Helper
2,016
649
Simplifying the integrand and substituting [itex]y = Mt[/itex] yields [tex]
\int_0^M \exp\left(
c_0 \frac{\ln(y)}{a_0} + c_1 M \frac{\ln(M - y)}{a_1}
\right)\,dy [/tex]
$$= \int_0^M y^{c_0/a_0}(M - y)^{Mc_1/a_1}\,dy =
M^{(c_0/a_0) + (Mc_1/a_1) + 1} \int_0^1 t^{c_0/a_0} (1 - t)^{c_1/a_1}\,dt
$$ which is indeed a beta function.
 
Last edited by a moderator:
  • #3
Thank you very much. You were of great help.
 
  • #4
If I enter the values ##a_{1}\, = \, 0.7##, ##a_{0}\, = \, 0.4##, ##c_{1}\, = \, 0.9##, ##c_{0}\, = \, 0.5## and ##M\, = \,7## in
$$\int_{0}^{M}\!{y}^{{\frac {c_{0}}{a_{0}}}} \left( M-y \right) ^{{\frac {Mc_{1}}{a_{1}}}}\,{\rm d}y$$
I get ## 17939559.61##. If I enter the same values in
$${M}^{{\frac {c_{0}}{a_{0}}}+{\frac {Mc_{1}}{a_{1}}}+1}\int_{0}^{1}\! \left( 1-x \right) ^{{\frac {c_{1}}{a_{1}}}}{x}^{{\frac {c_{0}}{a_{0}}}}\,{\rm d}x$$
I get ##344821202.1##.
 
  • #5
pasmith
Homework Helper
2,016
649
That should be [tex]
\int_0^M y^{c_0/a_0}(M - y)^{Mc_1/a_1}\,dy =
M^{(c_0/a_0) + (Mc_1/a_1) + 1} \int_0^1 t^{c_0/a_0} (1 - t)^{Mc_1/a_1}\,dt[/tex]
 
  • #6
Again thank you very much. Sorry for my mistake.
 

Related Threads on How to solve this integral? (something to do with a beta distribution?)

  • Last Post
Replies
4
Views
9K
Replies
4
Views
709
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
1
Views
646
  • Last Post
Replies
2
Views
4K
  • Last Post
Replies
4
Views
923
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
9
Views
2K
  • Last Post
Replies
9
Views
3K
R
  • Last Post
Replies
9
Views
685
Top