My real function is based on students and teachers in a 1st period classroom.
A function is a relation of which each input of the domain corresponds with only one output of the range. A relation is a set of ordered pairs.
The independent variable in my function are the students, the x value. While the dependent variable are the teachers, the y value.
The domain are the students- Lauren, Lucy, Nate, and Jack. The range are the teachers- Mr. Jones, Mr. Park, Ms. Taylor, and Ms. Lee.
The graph to the left is a function because it passes the vertical line test- the line only hits one point on the graph. The graph on the right is not a function, but a relation, because it doesn't pass the vertical line test and the line hits more than one point on the graph.