Yes it is a function because each input has only one output.
In other words the x is not repeated.
8.4m questions
11.1m answers