Comparing two relations
Think of a vending machine. You press one button, and you get exactly one snack — never two snacks for the same button.
That's the rule for a function: every input is paired with exactly one output.
Let's check Relation A. The inputs are one, two, three, and four. The outputs are two, four, six, and eight.
Each input is connected to one output: one to two, two to four, three to six, four to eight.
Look at every input. Does each one have exactly one arrow leaving it? Yes!
Relation A is a function.
Now Relation B. The inputs are one, two, and three. The outputs are two, four, five, and six.
Here are the pairings: one goes to two, two goes to four, two also goes to five, and three goes to six.
Wait — look at input two. It has two arrows leaving it, going to two different outputs.
That breaks the rule. Relation B is not a function.
Remember: one input, exactly one output. That's what makes a relation a function.