the equation for the aea of a square could be written: A=s^{2}

is this linear or a non linear function

The equation A = s^2 represents a non-linear function. This is because squaring the side length does not result in a linear relationship between the area and the side length.