For example, I have a function, $f\left(x\right)=\sqrt{x}$ where, x >= 0. For an input of x = 4 for example, the square root would be ±2.
Does that not mean there are two answers/outputs, 2 and -2?
But the definition of a function states that every input has exactly one output.
Please tell me what I am missing here. Thanks.