Let $f_i : \mathbb{R}^n \setminus \{0\} \to \mathbb{R}$ be a homogeneous function of degree $p \neq -1$ for every $1 \le i \le n$. Namely, $f_i(tx) = t^pf_i(x)$ for every $ x \in\mathbb{R}^n \setminus \{0\}$ and $t >0$.
We define $\omega = \sum_{i=1}^n f_i(x)dx_i$ and assume it is closed.
I want to prove that $\omega = dF$ when $F = \frac{1}{p+1} \sum_{i=1}^n x_if_i(x)$
Basically want we want to show is that $\frac{\partial F}{\partial x_i} = f_i(x)$.
By straightforward deriving I get: $$ \frac{\partial F}{\partial x_i} = \frac{1}{p+1} (\sum_{j=1}^n x_j\frac{\partial f_j(x)}{\partial x_i} + f_i(x))$$
Here I got stuck. I don't know how to continue. I also don't see how the information that $\omega$ is closed (namely, $\frac{\partial f_i(x)}{\partial x_j} = \frac{\partial f_j(x)}{\partial x_i}$ for $i \neq j$) helps me here. I also don't know how to use the fact thar $f_i$ are homogeneous because it is not given that $x_i > 0$.
Help would be appreciated.
Hint: ${d\over{dt}}_{t=1}f_i(tx)={d\over{dt}}_{t=1}t^pf_i(x)=pf_i(x)$.
You can also compute it as follows
${d\over{dt}}_{t=1}f_i(tx)=(\sum_{j=1}^{j=n}x_j{{\partial f_i}\over{\partial x_j}})_{t=1}$
$=\sum_{j=1}^{j=n}x_j{{\partial f_i}\over{\partial x_j}}$.
If you replace the second formula by the first in your computations, you obtain the result.