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

Ad VanderVen
Messages
169
Reaction score
13
TL;DR
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.
 
Physics news on Phys.org
Simplifying the integrand and substituting [itex]y = Mt[/itex] yields [tex] \int_0^M \exp\left(<br /> c_0 \frac{\ln(y)}{a_0} + c_1 M \frac{\ln(M - y)}{a_1}<br /> \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:
Thank you very much. You were of great help.
 
  • Like
Likes   Reactions: berkeman
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##.
 
That should be [tex] \int_0^M y^{c_0/a_0}(M - y)^{Mc_1/a_1}\,dy =<br /> 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]
 
Again thank you very much. Sorry for my mistake.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K