Although we develop and use the notion of expression trees in the context of numerical expressions, the concept is more general.
if we allow leaves of expression trees to represent variables, we can express algebraic expressions and equations in this framework.