Question: is x input or output?
Answer: You'll also see functions in the form of one variable (often y) equal to an expression involving another variable (x). A simple example is y = x2 (which you can also write f(x) = x2). In such cases, x is the input and y is the output.