Algebraic expressions involving variables