What is the result for SQRT(-4) * SQRT(-9)?
This was posted on Brilliant, tweeted, and went viral, with thousands of views. Yet, even if it looks very simple (or impossible), you need to know complex numbers to answer this question. I won't post the solution, let's see how our members answer it, and see if the majority (among the answers) corresponds to the solution.
For other stories that went viral, click here. For mathematical challenges, click here. And here is a very difficult question: does digit 1 appear infinitely many times in the decimals of Pi? Nobody has ever answered that question with a mathematical proof.
Tags:
For the question about the decimals of pi. Am assuming that you mean pi expressed in base 2 digits, composed of the numbers zero and one only, and the numbers going to infinity. I recall hearing from a colleague that the digit sequence can be predicted for the base 2 case, and it is infinite, so evidently, the numerals zero and one appear infinitely many times.
Amen, bro.
Maiia Bakhova said:
Hello,
If you consider complex numbers then both SQRT(-4) and SQRT(-9) are not single-valued unless it is specified that we're to use only their primary roots.
SQRT(-4) can be 2i or -2i, and SQRT(-9) can be 3i or -3i. Only the first values in each pair are primary roots.
Hence their product is not single valued as well. It can be 6 or -6.
Look at the reference at Brilliant: it is implied that the answer is only one. Therefore they consider primary roots only, and it must be 6.
MATLAB's sqrt returns only the principal value, which under MATLAB's convention is defined to be
"For negative and complex numbers z = u + i*w
, the complex square root sqrt(z)
returns
sqrt(r)*(cos(phi/2) + 1i*sin(phi/2))
where r = abs(z)
is the radius and phi = angle(z)
is the phase angle on the closed interval -pi <= phi <= pi
."
Michael Brock said:
According to Matlab, the answer is -6. But you probably already know that, so I'm wondering if you might be posing a more general question. I work with complex numbers (digital filter design).
© 2019 Data Science Central ® Powered by
Badges | Report an Issue | Privacy Policy | Terms of Service
Most Popular Content on DSC
To not miss this type of content in the future, subscribe to our newsletter.
Other popular resources
Archives: 2008-2014 | 2015-2016 | 2017-2019 | Book 1 | Book 2 | More
Most popular articles