• TechieDamien@lemmy.ml
    link
    fedilink
    arrow-up
    34
    arrow-down
    2
    ·
    14 days ago

    Don’t know why you are being down voted. You are correct. There is a difference between a square root and the solutions of x2 = n.

    • Acters@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      14 days ago

      Yeah, square root implies absolute numbers. You need to manually multiply by -1 to get the other solution to x^2

    • CommanderCloon@lemmy.ml
      link
      fedilink
      arrow-up
      13
      arrow-down
      6
      ·
      edit-2
      12 days ago

      No?

      In mathematics, a square root of a number x is a number y such that y² = x; in other words, a number y whose square (the result of multiplying the number by itself, or y ⋅ y) is x. For example, 4 and −4 are square roots of 16 because 4² = ( − 4 )² = 16.

      Wikipedia


      Edit: I’m wrong lol, there is a difference between the square root function, which accepts two results, and the square root, or principal square root, which is a unique positive number

      • Opisek@lemmy.world
        link
        fedilink
        arrow-up
        27
        arrow-down
        2
        ·
        edit-2
        14 days ago

        So close yet so far. If only you had read ONE more paragraph.

        Every nonnegative real number x has a unique nonnegative square root, called the principal square root or simply the square root (with a definite article, see below), which is denoted by √x where the symbol “√” is called the radical sign or radix.

        • CommanderCloon@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          12 days ago

          This sentence made no sense to me as it directly contradicted the previous one. But it’s just a confusion on my part between the function called square root, which confusingly outputs two different numbers called “square roots”, and “the” number called square root; I’ve edited my comment. Thanks for correcting me!

          • Opisek@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            12 days ago

            Yeah, I see how that can happen. Very confusing to have the same name for two things differentiated only by the use of a definite or indefinite article.

      • wdx@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        13 days ago

        Look at the inverse of the square root function, f(x)=x² (https://www.desmos.com/calculator/2v5gzbhru8)

        You can get the sqrt of a given y by looking at the x axis. E.g. the value of y=4 has two solutions, x=2 and x=-2. This however does not mean that the sqrt of -4 is also 2! If you look at graph you can see that there are no solutions for y less than 0.

        sqrt(-1) , sqrt(-2) (i ill omit imaginary numbers here) and so on do not have a solution. There is nothing you can replace with such that x × x is < 0 because multiplying two negatives always nets a positive.