A single layer computes f(x)=ReLU(Wx), where ReLU is applied entrywise and
W=[13−21]
Take the two inputs
u=[23]v=[1−1]
If f were a linear map, then f(u+v) and f(u)+f(v) would be identical and their difference would be the zero vector. Compute the difference and see what actually happens:
f(u+v)−(f(u)+f(v))