Relationship between two functions