x -2 -1 0 1 2

y -8 -3 0 1 0

is this linear or nonlinear?

This set of points represents a non-linear relationship. When plotted on a graph, the points do not fall on a straight line.