[Math] How to a function have multiple outputs

functionsvectors

Quoting Wikipedia (from
this page)-

Functions with multiple outputs are often written as vector-valued functions.

How is it possible for a function to give multiple outputs?

Best Answer

One such function is $f: \Bbb R \to \Bbb R^2\\ x \to (3x+2,4x-1)$

It is important to note that when one says multiple outputs, it is not that there are several alternative outputs, there is a set or ordered sequence of outputs. You can view the output as a single sequence or as several numbers. When you talk of multiple outputs you are viewing it as several numbers. When you talk about a vector valued function, you view the output as one sequence. That is the spirit of the comments you have received.

Related Question