I have a question that is WAY over my head, and I wanted to ask any kind of help.
Suppose $f_i(x)= 1, · · · , n$ are PDFs. That is, $f_i(x)≥0$ and $\int f_i(x)dx=1$ for all $i=1, · · · , n$. Consider a function $$g(x)=\sum_{i=1}^n p_i f_i(x)$$ where $p_i > 0$ and $\sum_{i=1}^n p_i =1$ .
Show that $g(x)$ is also a PDF.