I am taking a course on smooth manifolds. We have just defined a tangent space of a manifold $M$ at a point $p\in M$ using paths $\gamma:\mathbb{R}\to M$, $\gamma(0)=p$. So $T_pM:=\{\gamma:\mathbb{R}\to M\;|\;\gamma(0)=p\}/\sim$, where $\sim$ is the equivalence relation of two paths having the same speed. That is, for two paths $\gamma_1,\gamma_2$ and a chart $\phi$,
$$\left.\frac{d}{dt}\phi\circ\gamma_1\right|_{t=0}=\left.\frac{d}{dt}\phi\circ\gamma_2\right|_{t=0}\iff\text{$\gamma_1$ and $\gamma_2$ have the same speed.}$$
We defined addition and scalar multiplication of paths as follows:
$$[\gamma_1]+\lambda[\gamma_2]:=[\phi^{-1}(\phi\circ\gamma_1+\lambda\phi\circ\gamma_2)],$$
where $\phi$ is a chart.
Now there's an exercise that I really don't know how to do. Given a smooth function $f:\mathbb{R}^m\to\mathbb{R}^n$, compute $f_*:T_p\mathbb{R}^m\to T_{f(p)}\mathbb{R}^n$ in the basis given by the coordinate vectors. Here $f_*$ is the function defined by $f_*:[\gamma]\mapsto[f\circ\gamma]$.
I am not even sure where to start. I have already shown that $f_*$ is linear.
EDIT:
I think this works. Write $f=(f_1,\ldots,f_n)$ where $f_i:\mathbb{R}^m\to\mathbb{R}$ and let $\gamma:\mathbb{R}\to\mathbb{R}^m$ be a path with $\gamma(0)=p=(p_1,\ldots,p_m)\in\mathbb{R}^m$. Let $\tilde{\gamma}_i(t):=(p_1,\ldots,p_{i-1},p_i+t,p_{i+1},\ldots,p_m)$ be the path along the $i$th basis vector in $\mathbb{R}^m$ through $p$. Then we have $\lambda_i\in\mathbb{R}$ such that $\gamma=\sum_{i=1}^m\lambda_i\tilde{\gamma}_i$. We have
$$\begin{aligned}
f_*[\gamma]&=f_*\left[\sum_{i=1}^n\lambda_i\tilde{\gamma}_i\right]\\
&=\sum_{i=1}^m\lambda_if_*[\tilde{\gamma}_i]\\
&=\sum_{i=1}^m\lambda_i[f\circ\tilde{\gamma}_i]\\
&=\sum_{i=1}^m\lambda_i\left.\frac{d}{dt}f\circ\tilde{\gamma}_i(t)\right|_{t=0}\\
&=\sum_{i=1}^m\lambda_iDf(\tilde{\gamma}_i(0))\left.\frac{d}{dt}\tilde{\gamma}_i(t)\right|_{t=0}\\
&=\sum_{i=1}^m\lambda_iDf(p)\left.\frac{d}{dt}\tilde{\gamma}_i(t)\right|_{t=0}\\
&=Df(p)\sum_{i=1}^m\left.\frac{d}{dt}\lambda_i\tilde{\gamma}_i\right|_{t=0}\\
&=Df(p)[\gamma].
\end{aligned}$$
So this yields that the matrix of $f_*$ is $Df$ at $p$.
Is this correct?