# y^2=x vs y=sqrt(x).  Is they is or is they ain't the same thing.

**URL:** <https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352>\
**Category:** Factual Questions\
**Created:** [February 2, 2014, 4:01pm UTC](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352 "2014-02-02T16:01:07Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [February 3, 2014, 3:11am UTC](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352/21 "2014-02-03T03:11:12Z")

</div>

> [@leahcim](#):
>
> The important thing to be clear on is that the arbitrariness is _necessary_ because it would be impossible to have a function from **R** to **R** return both. It is the nature of functions that for each input in their domain they return exactly one output. Even though for any x, there are two possible values of y such that y^2 = x, the sqrt function _must_ pick and return only one of them in order to be a valid function from **R** to **R**.
> 
> The human conceit that positive numbers are preferable to negative ones makes the choice easy, but basic math demands that a choice must be made.

Well, to be fair, the fact that we assume it should be a function from R to R is kind of arbitrary and biased too. Admittedly for good reason, since R is kind of nice to work in, but still arbitrary. There’s no reason it can’t be a non-function **mapping** to some finite deterministic set of values in R; or even a function from R to some space I’ll randomly call P (for pair!), which I’ll define as { (x,y) | x,y in R; y = -x}. So sqrt(0) uniquely maps to (0,0) and sqrt(1) uniquely maps to (1,-1) and so on.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [February 4, 2014, 11:11pm UTC](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352/22 "2014-02-04T23:11:02Z")

</div>

Or a function from positive reals to positive reals…

Speaking of which, 1 doesn’t have just 2 square roots. It has 4… in the split-complex numbers. Or in the integers modulo 8. Of course, it has just 1 in the positive reals. (While a value like 3 also has 2 square roots in the reals, 4 in the split-complex numbers, and 1 in the positive reals, but 0 in the integers modulo 8 or in the rationals).

Everything is always context-dependent.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [February 4, 2014, 11:21pm UTC](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352/23 "2014-02-04T23:21:45Z")

</div>

(And for me… Dinah Washington.)

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [February 5, 2014, 3:17am UTC](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352/24 "2014-02-05T03:17:41Z")

</div>

> [@leahcim](#):
>
> The human conceit that positive numbers are preferable to negative ones makes the choice easy, but basic math demands that a choice must be made.

The choice looks a lot less arbitrary when you look at the general power equation x[sup]n[/sup] = k. In that case, the roots are laid out in the complex plane on the vertices of a regular polygon, and the only place where you’ll always find one is on the positive real line. That’s why we take the positive solution to be the principal root.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [February 5, 2014, 4:13pm UTC](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352/25 "2014-02-05T16:13:38Z")

</div>

That is, if k is itself a positive real. It’s not well-defined to say which of the square roots of -1 is the principle one. Or rather, we claim without any particular support that one of them is the principle one, and use that in all of our other definitions.

[Previous page](https://boards.straightdope.com/t/y-2-x-vs-y-sqrt-x-is-they-is-or-is-they-aint-the-same-thing/680352.md?page=1)
