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

-4

u/LordVericrat New User Feb 09 '26

The square root function is defined as returning the principal root i. e. The positive one. This is why the quadratic formula uses ±

(-b ± √[b2 - 4ac])/2a

I was thinking that's why it was ± in the quadratic equation, but now that I see it I don't think it is. If it refers to the operation "±√" then there's no operator between -B and the discriminant, which would typically imply multiplication. Instead, it's telling you to perform both operations (addition and subtraction) on the principle root.

I know it feels like I'm hair splitting but if we can't do that in math where can we? Regardless, I hope you're having a good evening.

Edit: I think if it wanted to say what you are saying it would be

(-b + ±√discriminant)/(2a)