# Microeconomics theory and integration by parts (proof).

I understand this part: $\int x^\prime (z)F(z) dz+\int x(z)f(z)dz=\int zf(z)dz \rightarrow \int \frac {dx}{dz} F(z) dz+\int x(z)\frac {dF(z)}{dz} dz=\int zf(z)dz \rightarrow x(z)F(z)= \int_{0}^z tf(t)dt$

Then, the author says obtain the following solution by integration by parts. $x(z)=z-\frac {\int_0^zF(t)dt}{F(z)}$

I don't know which term should I integrate so that I get to that result.

Integrate the $f(t)$ (a primitive of which is $F(t)$) and differentiate the $t$. This yields
Dividing by $F(z)$ on both sides yields the result.