Only the graph in figure A represents a function. Figure B does not represent a function since several x-values (for example x = 2) has two corresponding y-values (namely 0 and 4).