Question: is x the dependent variable?
Answer: In single variable calculus, a function is typically graphed with the horizontal axis representing the independent variable and the vertical axis representing the dependent variable. In this function, y is the dependent variable and x is the independent variable.