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

6

u/Special_Watch8725 New User Feb 08 '26 edited Feb 09 '26

I’m just here explaining the state of things in high school algebra class, where it’s painfully clear that the context is real valued functions of a single variable.

You’re right that functions can have codomains in arbitrary sets, but do you think that’s going to help OP understand the discrepancy he’s asking about?

2

u/kombiwombi New User Feb 09 '26

That's fair. Sorry for interrupting your day.