Is a constant function, like $y = 3$, defined for all inputs?
A function is defined at some arbitrary point if it has a value at that point, yes?
And constant functions have values for all inputs, namely the constant.
So they should be defined for all inputs, right?
I'm learning about Maclaurin's series, and it states that the function and its nth derivatives must be defined at $x = 0$.
Would it work with a constant function?
Thank you.
Most of the time, yes. But it can depend on how you define the function. Generally when we write $y = 3$ we mean the function $y : \mathbb{R} \to \{3\}$. In this case, it is defined for all real input.
However, if we defined something like $y : [0,1] \to \{3\}$, then it is not well-defined for all real input.