I'm struggling with the following integral, would anyone have an idea on how to approach it? I solved it for N = 2 but the generalization to any positive integer is more difficult.
$$\int_{(\omega_1, \cdots, \omega_N) \in [0,1]^N \\ \sum_{i=1}^N \omega_i = 1} \sum_{i=1}^N \min{ (\omega_i\cdot E, L_i)}$$
with:
-$E \geqslant 0$
-$\forall i, L_i >0$
-$N > 1$, strictly positive integer
Solution for N = 2:
I found the following for N = 2:
| $E < L_2$ | $E > L_2$ | |
|---|---|---|
| $E< L_1$ | $E$ | $\frac{E}{2} + L_2 - \frac{L_2^2}{2E}$ |
| $E > L_1$ | $\frac{E}{2} + L_1 - \frac{L_1^2}{2E}$ | $L_1 + L_2 - \frac{L_1^2 + L_2^2}{2E}$ |
after having computed $\int_0^1 (\min{(\alpha E, L_1)} + \min{((1 -\alpha) E, L_2)} )\,d\alpha $
What is a bit frustating is to not have a nice formula, even for N=2 (this may exist but I haven't found it).
I have a master's degree in applied mathematics but I'm not that young anymore and a bit rusty so I would really appreciate the help of a fresh mind. (But I accept contributions from older persons ;) ).
Kind regards
This is really a comment, not an answer, but my MathJax isn't good enough to type it in a comment box. For $i=1,2$, let $$ f_i=\begin{cases} \frac E2,&E\leq L_i\\ L_i-\frac{L_i^2}{2E},&E>L_i \end{cases}$$
Then when $N=2$, your answer equals $$\sum_{i=1}^2f_i$$
I would try to generalize this approach. See if you can evaluate the integral for a single summand.