1: \begin{abstract}
2: Let $\Gamma$ be a finitely presented group and $G$ a linear algebraic group over $\mathbb{R}$.
3: A representation $\rho:\Gamma\rightarrow G(\mathbb{R})$ can be seen as an $\mathbb{R}$-point of the representation variety
4: $\mathfrak{R}(\Gamma, G)$.
5: It is known from the work of Goldman and Millson that if $\Gamma$ is the fundamental group of a compact Kähler manifold
6: and $\rho$ has image contained in a compact subgroup
7: then $\rho$ is analytically defined by homogeneous quadratic equations in $\mathfrak{R}(\Gamma, G)$.
8: When $X$ is a smooth complex algebraic variety, we study a certain criterion under which
9: this same conclusion holds.
10: \end{abstract}
11: