Which of the following best defines a function? a function is a special type of relation for which there is a rule that pairs each input with exactly one output. a function is a relationship that defines the connection between two variables. a function is a set of ordered pairs in which no y-value repeats. a function pairs input and output values with no particular pattern.