Can functions have multiple inputs?

$\begingroup$

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$$

$\endgroup$

1 Answer

$\begingroup$

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)$.

$\endgroup$ 3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like