• m8052@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    2 months ago

    Sqrt(-1) is still wrong tho. I’m commuting a sin by writting it. Correct expression is i^2=-1

      • m8052@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        5
        ·
        edit-2
        2 months ago

        Square root definition does not allow a negative number as an input. Only positives and zero. Although it is possible to expand the definition to negative numbers, complex numbers, matrices… So unless you followed a course where you thoroughly defined your expansion of sqrt, it only applies to real, positives number and zero. Its the thing with math, you have to define what you work with.

        In my case, I did prep courses for entrance exam to engineering schools (something like in dead poet society but more modern), using sqrt(-1) somewhere would be an instant 0 mark. Like forgetting a unit in a physics test answer.

      • Opisek@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 months ago

        No. The symbol √ signifies the principal square root of a number. Therefore, √x is always positive. The two roots of x, however, are ±√x. If you therefore have y²=x and you want to find y, you mustn’t write y=√x, but rather y=±√x to be formally correct.

    • msfroh@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 months ago

      But (-i)^2=-1 as well. So we still need a convention to distinguish i from -i.

    • NoneOfUrBusiness@fedia.io
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Nah, sqrt(x) is the principal branch (the one with a positive real part) of x^½, and you can do (-1)^½ because it’s just exponentiation.