Step 1Originally, we had(or rather, the incorrect ), and I answered using that; I edited this to account for the correction made to the question.It depends on what kind of animal x is and what you mean by . (In other words: don't believe everything Google tells you). For example, saythenso is , whereasAnd, no matter how you interpret the square root, it is certainly not true that is equal to i.Step 2If x is a real number, then is nonnegative, so that is asking you to take the square root of a negative real number.But when dealing with complex numbers, we really do need to keep in mind that the square root function has two ''branches'';you may remember that in the real number case, one starts with the function , which is not one-to-one (does not pass the horizontal line test);in order to get an inverse, we restrict the domain to so that the resulting restricted function is one-to-one, and is defined to be the inverse of this function. In particular, only accepts nonnegative numbers as inputs, and only gives nonnegative numbers as outputs. Because is always nonnegative, it has some nice properties (chief among them: it is a function;also,if a and b are both nonnegative real numbers).Step 3Once you go to complex numbers things get more complicated, because there no longer is, in general, a good way of selecting which of the two solutions to you want to call ''the'' square root of a. This means that we really do need to keep track of both solutions, otherwise things get really messy and you end up with nonsense (as you will see below).So when dealing with square roots of complex numbers we really have what is sometimes called a ''multi-valued function'', or a function with ''two branches'': there are really two possible values for when a is a complex number. This includes real numbers when you allow negative ones as inputs.If x is a real number, then is nonnegative. Then the two the two complex square roots of are and ;in fact, you can just take ix and , because if then and this is what you get, and if then,soand.To verify these are the two values of the (multi-valued) square root, square both and you'll see that that they both give . So one branch gives you the value ix (or ), and the other branch gives you the value (or ).Note well: You have to be careful with the complex square root function: in particular, it is no longer true thatalways holds: for instance, putting,you would get silly things like:If x is a nonreal complex number, though, you have to be more careful. If you write complex numbers in polar form, then multiplication and square roots are easy. If z and w are complex numbers, you can always find nonnegative real numbers and , and angles and (in radians) such thatIf you do that, then it is easy to check that;Above, is the nonnegative real number whose square is equal to (remember that is a real number greater than or equal to 0).Step 4So, if, then(I used the fact thatand the formulas above). So the two values of the square root are
Vasquez
Expert2022-01-18Added 669 answers
Step 1
First, if a and b are nonnegative real numbers
To deal with a square root of a negative real number, say
Note that the first rule required that the two numbers were nonnegative, so
is not equal to
Second, note that for
For example,
Now, for
and .
So,
alenahelenash
Expert2022-01-24Added 556 answers
Step 1
The original question asked why . This is false in general, as I answered below. Here I just address the new version of the question (using what I wrote below).
Note that we have, from what I wrote below, that \(\sqrt{-x^{2}=\pm xi\) for all x, with the choice of + or - depending on where x is in the plane. if x happens to be real, where or , and the above is just
If x is not real, the equality fails.
Step 2
This is essentially a matter of definitions. If x is a complex number, and , we can write for some positive real number r and some real number . There are many choices of , but the principal argument is defined so
.
Here,
.
We define as where is the (real) positive square root of r, and is the prinicipal argument. Also, we define i as , which according to the conventions just described, gives us: so
Then . Now, if (i.e., if x is in the first quadrant), then is the principal argument of , and
However, this identity does not always hold (Google notwithstanding) if x is not in the first quadrant. For example, if , then while . The reason is that if , then is not the principal argument of , the principal argument will be or , whichever lands us again in the range .
In the first case, we always get a failure of the identity:
In the second, we get another instance where the identity holds:
Finally, note that we are in the first case above iff , i.e., iff (i.e., if where a,b are real, and either or ), while we are in the second case iff .