Proposition (cotangent space as linearisation)

Let $X\subseteq \mathbb{A}^n$ be an irreducible affine variety and $P\in X$. There is a natural isomorphism of $k$-vector spaces $$ \begin{align*} \mathfrak{m}_P/\mathfrak{m}_P^2 &\xrightarrow{\sim} (T_{X,P})^\ast \\ f + \mathfrak{m}_P^2 &\mapsto \d f_P|_{T_{X,P}} \end{align*} $$ where $\mathfrak{m}_P = (x_1 - x_1(P), \ldots, x_n - x_n(P))$ is the maximal ideal in $A(X)$ (or $O_{X,P}$), and $(T_{X,P})^\ast$ is the dual of $T_{X,P}$.

Proof

Defining the tangent space of a projective variety this way does not require taking affine patches as the local ring $O_{X,P}$ does not depend on affine patches.