I was wondering whether a function $y=f(x)$ can be defined such that (1) its value $y$ is always constant, no matter what number substitutes $x$, (2) its argument $x$ is limited to a single number? Examples of such function definitions would be greatly appreciated.
2026-03-28 07:00:10.1774681210
Are there functions with a constant output regardless of input, or functions whose input is limited to a single number? (Cartesian coordinates)
103 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
If $X$ and $Y$ are any sets, then a function from $X$ to $Y$ is simply an assignment of an element of $Y$ to each element of $X$. (More formally, it is a subset of the product set $X\times Y$ that satisfies certain conditions.)
So...
For (1), we can define for example a function $f:\Bbb R\rightarrow\Bbb R$ by $f(x)=99$ for all $x\in \Bbb R$.
For (2), we can only define such a function if $X$ consists of a single element. Not very useful!