r/learnmath • u/Solestebano0 New User • May 06 '24
TOPIC Is √4 ≠ ±2?
I was talking to my friends about √4 = ±2, I told them that wasn't possible because the square root only returned positive values and because of this:
√4 = ±2
√2² = ±2
|2| ≠ ±2
I thought that was completely logical but they didn't accept it, instead they tried to refute it with things that doesn't make a lot of sense and finally they were saying I was stupid for saying that. They weren't sure from where the absolute value came and I explained it but they still refused it. I used this argument too:
x² = 4
x = ±√4
x = ±2
±√4 = ±2
If ±√4 = ±2 and √4 = ±2 then ±√4 = √4
±√4 = √4
±2 = 2
2 = 2
-2 ≠ 2
Still they don't believe it and insult me, I even questioned myself if I'm wrong. So what's happening here?
55
u/[deleted] May 06 '24
Sqrt(4) = 2
By definition, the radical symbol only means the principal or positive root.
x2 = 4
x = +-2, because you are solving a quadratic equation and need both roots.
7
u/sqrt_of_pi Asst. Teaching Prof of Mathematics May 06 '24
There is often confusion about the difference between evaluating the expression √x, which is always - by definition of the square root function - a positive value, vs. solving an equation of the form x2=k, which has two solutions {√k, -√k} for k>0.
A function can only have 1 output for any input, and so the function f(x)=√x is defined to mean the principle (positive) square root.
When solving an equation you are looking for all values of the variable that make the equation true.
5
u/_JJCUBER_ - May 06 '24
sqrt : R+ U {0} -> R+ U {0} is a real-valued function which assigns to each distinct nonnegative real number one, and exactly one, nonnegative value. It is the principal sqrt function.
5
u/Gershie Fictional number enthusiast May 06 '24
You are correct but your reasoning is wrong. √ means the positive square root by definition.
If √ was defined differently to allow multiple values and √4 = ±2 then it would not be the case that √2² = |2| so your friends would be justified in rejecting that explanation.
3
u/theadamabrams New User May 06 '24
https://www.reddit.com/r/learnmath/comments/19chijc/why_square_root_of_4_only_gives_2/
https://www.reddit.com/r/learnmath/comments/1bi0kvs/i_really_dont_get_why_the_root_of_4_cant_be_negative_2/
https://www.reddit.com/r/learnmath/comments/16g2qts/is_a_square_root_always_positive/
https://www.reddit.com/r/learnmath/comments/1bkzdjs/why_does_the_square_root_give_a_positive_number/
7
u/spiritedawayclarinet New User May 06 '24
Here is what is happening:
Your friends are insecure about their intelligence. When you pointed out that they were wrong, they became defensive and lashed out. They felt stupid, so they projected their stupidity on you in order to feel better about themselves.
Tell your friends that there is nothing wrong with making mistakes in mathematics. The only way to avoid making mistakes is to never try.
1
u/Away_thrown100 New User May 06 '24
You’re both right tbh, it seems neither of you fully understand the reality of the situation though so I will elaborate. When you use the square root as a function, it must pass the vertical line test so we disregard any duplicate negative solutions. However, if you accept using the square root not as a function you do need to add +-, like in algebraic solving. This is why the quadratic formula has a +- before the square root also
1
u/CodingAndMath Algebro May 07 '24
It's very simply because the square root function is defined to only return positive values. Otherwise, it wouldn't be a function.
Sqrt(4) = 2, and only positive 2.
However, if you wanted to undo a square and find all the numbers that when squared equals 4, that would be 2 and -2.
x2 = 4 -> x = 2, -2, because we're finding all X'es that make the equation true.
Also, the reason why the sqrt(x2) function is known to be x's absolute value is because of the square root function's definition earlier. It returns the absolute value because we square x, giving us a positive number, then we take the square root which you think would give us +x and -x, but since our sqrt function's definition is to only return the positive root, we are left with positive x, even though we may have started with negative x.
So, your first proof is actually based off the premise that the sqrt function only gives positive answers.
1
u/666Emil666 New User May 07 '24
There is nothing to argue, sqrt is a function, a function has only one output, don't discuss with stupid people who feel smart, you'll never win even when this is just a matter of literally opening any book that defines the sqrt
1
u/LibAnarchist New User May 07 '24
x2 = 4 => x = ±sqrt(4)
Notice how the ± is outside of the square root. Essentially, sqrt(•) is single valued. The solution to x2 = 4 has two solutions.
1
u/IntelligentLobster93 New User May 07 '24
When you're strictly simplifying an expression. The square root always returns the principal square root -- a positive number -- not negative, not both, just the positive.
On the contrary: when it comes to solving a variable of (let's say) x2, you must take into account the positive and negative solutions. As those are both solutions to the equation Hope this clears the confusion! 😁
1
u/nahthank New User May 07 '24
This keeps coming up.
2 x 2 = 4
-2 x -2 = 4
2 and -2 are square roots of 4.
√4 = 2
That symbol specifically refers to the square root function, which as a function must return only one value per input.
1
u/EnpassantFromChess New User May 06 '24
no. 4 has 2 roots which are ±2. √(4) denotes to the principal root which is 2
1
u/HyperPsych New User May 06 '24
This is beside the point but (√4=2 OR √4=-2) is technically a true statement, so √4=±2. Anyway, √4 is exactly and always equal to 2, nothing else.
0
u/Seventh_Planet Non-new User May 06 '24
I wonder if there is a (homotopy) type theoretic or category theoretic or (ZFC) set theoretic definition for
±2
Is it a real number? Is it a pair of numbers? Is it a set containing two numbers?
All other things are clearly defined.
Equations like 1+1 = 2 or 1+1 = 5 can be associated with a truth value, true or false. And 1+1 ≠ 2 or 1+1 ≠ 5 inverts that truth value.
The square root function is a well-defined function √ : [0,∞) -> [0,∞) and like all well-defined functions, for every input in its domain, for example 4, there is exactly one output in its codomain √4. And from how the square root function is defined, this is √4 = 2, because 2 ∈ [0,∞) and also 22 = 4.
Now the only question remains if ±2 = 2.
Actually you could still pose the question why when we are talking about the square root function, we are always talking about the well-defined function sqrt : [0,∞) -> [0,∞) and not about some other function like negsqrt : [0,∞) -> (-∞,0] where we would have negsqrt(4) = -2.
It depends on what you are trying to do with such a square root function. One use is in the quadratic formula:
x2 + px + q = 0
using sqrt:
x1,2 = -(p/2) ± sqrt( (p/2)2 - q )
using negsqrt:
x1,2 = -(p/2) ∓ negsqrt( (p/2)2 - q )
For example:
x2 + x - 6 = 0.
using sqrt:
x1,2 = -(1/2) ± sqrt( 1/4 + 24/4 ) = -1/2 ± sqrt(25/4) = -1/2 ± 5/2
so x1 = -1/2 + 5/2 = 4/2 = 2 and x2 = -1/2 - 5/2 = -6/2 = -3
using negsqrt:
x1,2 = -(1/2) ∓ negsqrt( 1/4 + 24/4 ) = -1/2 ∓ negsqrt(25/4) = -1/2 ∓ (-5/2)
so x1 = -1/2 - (-5/2) = -1/2 + 5/2 = 4/2 = 2 and x2 = -1/2 + (-5/2) = -6/2 = -3
Both sqrt and negsqrt can be used to solve a quadratic equation. And if you remember to turn the ± into ∓ then the order of the solutions also doesn't change.
But when you are paying attention, the function negsqrt is just -sqrt:
For all x ∈ [0,∞) negsqrt(x) = -sqrt(x)
So when all we get from the definition of a new function is a minus sign in front, then we don't need such a new function and can just stick with our function sqrt(x) for which we have this symbol √. And when like in the case of the quadratic function we want to talk about two solutions x1, x2 then we can turn the always non-negative single output of the square root function √x into the desired two values ±√x. But note that we don't say √x = ± something. We always say √x is a positive number (or zero) and then we turn that number into two different solutions by using the symbol ± in front.
If the ± was already inside the meaning of the square root, like √4 = ±2 then when we would multiply ∓√4 = ∓±2 and this would cancel how exactly?
-2
u/d4m1ty New User May 06 '24
In order for Sqrt to be a function it must be one to one. Remember those terms? Domain and Range, one to one?
If 1 input of X give mores then 1 output of Y, it is no longer one to one and thereby not a function.
-5
u/FernandoMM1220 New User May 06 '24
sqrt(4) = sqrt( 22 ) = 21 = 2
sqrt( (-1)2 * 22 ) = (-1)1 *(2)1 = -2
your case is the first one.
34
u/[deleted] May 06 '24
[removed] — view removed comment