is x^5 a function?

yes. each value of x provides a unique value of y.