A function just means that every input has only one output. The simpler way to do these is the vertical line test. Draw a vertical line anywhere on the graph and see if the vertical line is intersected in two places. If the vertical line is crossed twice, the graph isn't a function.