You may have looked at only the first few ordered pairs in this function. The set of input values does not match the given domain, and the set of output values does not match the given range.