[Math] Can functions have multiple inputs

functions

Now bear with me here, I'm not the best at math. I'm just trying to find out something that I never really learned. I was wondering, can a function have multiple inputs such as this one below?

$$f(x,y) = x \cdot y$$

Best Answer

Short answer: Yes.

Long answer: Yes, but using the Cartesian product, you can consider multiple inputs as being a single input, where the single input is an ordered pair. So with your example, $f(x,y)=xy$, you can either consider it as a bivariate function with two inputs, $x$ and $y$; or as a univariate function with a single input, the pair $(x,y)$.

Related Question