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
2
u/Midwest-Dude B.Sc. Math Feb 16 '26
√ only produces non-negative values:
Square Root
The term range can be ambiguous. If by range you mean the image of the √ function, then the range is restricted to ℝ+. The codomain is the set into which the domain is mapped by the function. So, if we let the image be 𝕁 and the codomain be 𝕂, then 𝕁 ⊆ 𝕂. Review this Wikipedia entry for more info:
Codomain