Question: what is the difference between musical meaning and function?
Answer: "Function" means "role" or "responsibility"; it's closer to the ordinary meaning, different from the specialized math term which means "mapping between two sets". Western music theory works by identifying and classifying certain recurring patterns in music, such as certain chord cadences.