Representing a relationship with an equation