  We address the question of identifying non-smooth points in affine real
algebraic varieties. A simple algebraic criterion will be formulated and
proven. As an application we can answer several questions about the
configuration spaces of some class of planar linkages.
