Part (4) of Theorem 4-10 in Spivak's Calculus on Manifolds says the following:
If $\omega$ is a $k$-form on $\mathbb{R}^m$ and $f: \mathbb{R}^n \rightarrow \mathbb{R}^m$ is differentiable, then $f^{*}(d \omega) = d(f^{*}\omega)$.
In the Proof, Spivak says that it is clear if $\omega$ is a $0$-form. I tried expanding both sides using the definitions, but I'm not getting the desired result even after a lot of effort. I suppose I'm only missing something straightforward. Could anyone please help me out? Thanks in advance.
Edit: Some of what I attempted is as follows:
\begin{align} &\ f^{*} d\omega (p) (v_p)\\ =&\ f^{*} \bigl(d\omega (f(p))\bigr)(v_p)\\ =&\ d\omega \bigl(f(p)\bigr) (f_{*}v_p)\\ =&\ d\omega \bigl(f(p)\bigr) \bigl(Df(p)(v)\bigr)_{f(p)}\\ =&\ D\omega (f(p))(Df(p)(v)) \end{align}
I also tried writing $d\omega$ as $\sum_{i=1}^n \omega_i dx^i$, so that \begin{align} f^{*} d\omega &= f^{*}\left(\sum_{i=1}^n \omega_i dx^i\right)\\ &= \sum_{i=i}^n f^{*}(\omega_i dx^i)\\ &= \sum_{i=1}^n \omega_i \circ f \cdot f^* (dx^i)\\ &= \sum_{i=1}^n \omega_i \circ f \cdot \sum_{j=1}^n D_j f^i \cdot dx^j \end{align}
Then, $d(f^*\omega)(p)(v_p) = D(f^*\omega)(p)(v)$, but I don't know how to connect this with the last line.
As I understand, a $0$-form is just a function from $\mathbb{R}^n$ to $\mathbb{R}$. The operator $d$ takes a $k$-form and converts it into a $k+1$-form.
Notation/definitions:
if $V$ is a vector space, and $V^*$ its dual, in the following write $$\langle \omega,v \rangle = \omega (v),$$ where $\omega \in V^*$, and $v\in V$.
Suppose $g\colon M \to \mathbb R$ is a (nice) function: the $1$-form $dg$ is the unique element in the cotangent-space, (i.e., the dual vector space to the tangent space), such that $$ \langle dg , v \rangle = v (g),$$ where $v$ is an arbitrary tangent vector (dropping 'at a point $p$' and corresponding subscripts for legibility), and $v(g)$ denotes the $v$-directional derivative of $g$, i.e., if $$ \gamma: \mathbb R \to M$$ is a path such that $\gamma ( 0 ) = p$, and $\gamma'(0) = v$, then $$\langle dg, v \rangle= {d\over dt}\Bigg\rvert_{t=0}\, g \circ \gamma.$$
To answer your question:
On the one hand, $$ \langle f^*dg, v\rangle= \langle dg, f_*v\rangle = {d\over dt}\Bigg\rvert_{t=0}\, g \circ (f\circ \gamma) = v (\, g \circ f \,).$$ On the other, $$ \langle d (f^*g), v \rangle = \langle d (g \circ f), v\rangle = {d\over dt}\Bigg\rvert_{t=0}\, (g \circ f) \circ \gamma = v (\, g \circ f \,).$$
Therefore $f^*dg = d (f^* g)$.