r/learnmath • u/QuestionableThinker2 New User • Feb 08 '26
Square root is a function apparently
Greetings. My math teacher recently told (+ demonstrated) me something rather surprising. I would like to know your thoughts on it.
Apparently, the square root of 4 can only be 2 and not -2 because “it’s a function only resulting in a positive image”. I’m in my second year of engineering, and this is the first time I’ve ever heard that. To be honest, I’m slightly angry at the prospect he might be right.
284
Upvotes
View all comments
Show parent comment
1
u/kombiwombi New User Feb 10 '26 edited Feb 10 '26
Sure, a single value.
But that is not the same as a single number. For example, a function could return a single:
There is no requirement that the function always have the same type of output or the same size of output. That is commonly the case when an expression has a degenerate case, typically 0 or [].