# Example of a Singular points and its locus

A point $p$ on a quasi-projective variety $V$ is called smooth if $$dimT_p(V)=dim_p(V)$$ otherwise $p\in V$ is singular. Could any one explain me with an example of a singular point and how their locus forms a closed subset of $V$?

-
Take for example $V=Z(y^2-x^3) \subseteq \mathbb{A}^2$. This is a quasiprojective variety, and by the Jacobian criterion (for example), every point on V $\neq (0,0)$ is non-singular. However, the tangent space at the origin is 2-dimensional, whereas the variety is of dimension 1.