use the vertical line test. if you can place a vertical line anywhere on a graph without it passing 2 points at once, it is a function. if it passes it 2+ times it is not.