Algebraic varieties in the symmetric algebra