For every smooth function $f\in C^\infty (\mathbb{R}^n)$ there are smooth functions $g_i$ such that $f(x)=f(0)+\Sigma x_ig_i(x).$
This is proved by defining $g_i(x) = \int_{0}^{1}\frac{\partial f}{\partial {x_i}}(tx)dt$. I think these $g_i$ are exactly smooth but can't prove it.
How do you prove this? Is there a useful lemma?