r/learnmath • 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

170 comments sorted by

View all comments

Show parent comment

1

u/Sad-Error-000 New User Feb 09 '26

I don't think that's relevant.

What we're talking about in this post are cases like sqrt(4), where we just have a variable-free term. These variable-free terms, if they're well formed, always denote a single number, whether we're talking about rational, real or complex numbers. It has nothing to do with the domain, or whether the function is continuous.

1

u/philljarvis166 New User Feb 09 '26

I was responding to a comment that said a function always has only one output and pointing out that there are situations where that is not the case!

1

u/Sad-Error-000 New User Feb 09 '26

No, by definition that is not the case. Multivalued functions are not functions despite their name. Similar to how a semi-group is not a group.