I want to understand something about defining tangent space with classes of equivalences of curves. I have the following definition:
A differentiable curve passing through point $x \in M$ (where $M$ is a manifold) is a function $\gamma : (-\epsilon, \epsilon) \to M$ with $\gamma(0) = x$ which is differentiable.
Now, let $\mathcal{C}(x)$ be the set of all curves passing through a point $x \in M$.
Let $\mathcal{F}_x$ to be the set of real-valued functions that are differentiable on open neighbourhoods of $x$. So, if $f_1,f_2:U_i\to \mathbb{R}$ are 2 functions from $\mathcal{F}_x$, then we can define $$f_1+f_2 = f_1\vert_{U_1\cap U_2} + f_2\vert_{U_1 \cap U_2}$$ $$f_1 \cdot f_2=f_1\vert_{U_1 \cap U_2} \cdot f_2\vert_{U_1 \cap U_2}$$
Then, we say that, if $\gamma_1, \gamma_2 \in \mathcal{C}(x)$, then $\gamma_1 \sim \gamma_2 \iff \frac{d(f \circ \gamma_1)}{dt}\vert_{t=0} = \frac{d(f \circ \gamma_2)}{dt}\vert_{t=0}$ for each $f \in \mathcal{F}(x)$.
But I don't understand why functions from $\mathcal{F}(x)$ needs to be real-valued for this to work. What is $f$ and what is the intuition behind this definition. It can't be $\mathbb{R}^n$ instead of $\mathbb{R}$? Thanks!