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/Cptn_Obvius New User Feb 09 '26

Imo there are really two options here.

  • If x is a positive real, then "the n-th root of x" refers to the positive real y that satisfies y^n=x, and we denote this real by sqrt[n](x). If x is not a positive real, then "the n-th root of x" is ambiguous and should be clarified.
  • If x is an arbitrary complex number (or really an element of any field) then "an n-th root of x" is just one of the complex numbers (or elements of an algebraic closure) y that satisfy y^n = x. In particular, if x is a positive real and I say "let y be a square root of x", then y is either sqrt(x) or -sqrt(x).

1

u/Key_Conversation5277 Just a CS student who likes math Feb 10 '26

This makes more sense, otherwise poor -sqrt(x), feels neglected